{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"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":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"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":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"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":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"DM4","name":"Rich vs anemic domain model","shortDescription":{"text":"Rich vs anemic domain model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"id":"ES1","name":"Fold determinism","shortDescription":{"text":"Fold determinism"},"helpUri":"https://codehealth.canine.dev/dimensions/ES1"},{"id":"ES2","name":"Immutable events","shortDescription":{"text":"Immutable events"},"helpUri":"https://codehealth.canine.dev/dimensions/ES2"},{"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":"P8","name":"Schema migrations","shortDescription":{"text":"Schema migrations"},"helpUri":"https://codehealth.canine.dev/dimensions/P8"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"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":"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":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"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":"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":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"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":"App::handle_event (cyclomatic 724): App::handle_event has cyclomatic complexity 724 (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":"codex-rs/tui/src/app/event_dispatch.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d80a50db687b78a954ff64b77f1247eeeb747f4c6b754db6635285b9d48157"}},{"ruleId":"D1","level":"warning","message":{"text":"App::run (cyclomatic 231): App::run has cyclomatic complexity 231 (threshold 15). Of this number, 230 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/startup.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f8cc736bfa5564bc1d3b84d59a85340de44f2a48bf95c9d982d1ba778a6a7f"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_cloud_tasks::run_cloud (cyclomatic 221): codex_cloud_tasks::run_cloud has cyclomatic complexity 221 (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":"codex-rs/cloud-tasks/src/lib.rs"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"610de7b3d5cc54c9c3b608752efb7ec375465e6ee2ee8596066ffc0085ec0860"}},{"ruleId":"D1","level":"warning","message":{"text":"MessageProcessor::handle_initialized_client_request (cyclomatic 195): MessageProcessor::handle_initialized_client_request has cyclomatic complexity 195 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/message_processor.rs"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"8964c44fe7d0f77fd2cb5ee7bb8a37f4b1c7fd69554a2f38897613f783df561e"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::startup_orchestration::run_main_inner (cyclomatic 147): codex_tui::startup_orchestration::run_main_inner has cyclomatic complexity 147 (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":"codex-rs/tui/src/startup_orchestration.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"af691779e7be7c8676f900d11a2fdba324e01c50378109763379b61445d66c6c"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core::session::turn::try_run_sampling_request (cyclomatic 130): codex_core::session::turn::try_run_sampling_request has cyclomatic complexity 130 (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":"codex-rs/core/src/session/turn.rs"},"region":{"startLine":2869}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0d63f5343a87debdedd7851d2fdab81437840ef9e738efc1bcedc398d09e70"}},{"ruleId":"D1","level":"warning","message":{"text":"App::handle_tui_event (cyclomatic 125): App::handle_tui_event has cyclomatic complexity 125 (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":"codex-rs/tui/src/app.rs"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ced2ef51a4c38a08eedbd6d094b75f8b2c92950ef3752ce3b2bd88b1cbf1a4"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::run_ratatui_app (cyclomatic 122): codex_tui::run_ratatui_app has cyclomatic complexity 122 (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":"codex-rs/tui/src/lib.rs"},"region":{"startLine":1239}}}],"partialFingerprints":{"codehealthFindingId/v1":"31348f04690695434e369a84a22fe46b66da91af4982b787f5b041c74c0f63d3"}},{"ruleId":"D1","level":"warning","message":{"text":"Config::load_config_with_layer_stack (cyclomatic 117): Config::load_config_with_layer_stack has cyclomatic complexity 117 (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":"codex-rs/core/src/config/mod.rs"},"region":{"startLine":3392}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7837357bc0e5dd9adc8a29d91d8a91a5c5eb3940e39bb60d30f62ec2251d90"}},{"ruleId":"D1","level":"warning","message":{"text":"Session::new (cyclomatic 113): Session::new has cyclomatic complexity 113 (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":"codex-rs/core/src/session/session.rs"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"411ab2c35022b3ae1d734b240074d7ddb4aceacc48362a3e97a47fbb264fb4ac"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_app_server::run_main_with_transport_options (cyclomatic 112): codex_app_server::run_main_with_transport_options has cyclomatic complexity 112 (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":"codex-rs/app-server/src/lib.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"765c8c4bb4284d241f971b7c1ea3fe51cd2658978dcde4b626bda0073ff7965e"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_app_server::bespoke_event_handling::apply_bespoke_event_handling (cyclomatic 106): codex_app_server::bespoke_event_handling::apply_bespoke_event_handling has cyclomatic complexity 106 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/bespoke_event_handling.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e45ff478143e29a715e958ad3ff14ed4d3df4894d76fc885b7a8b1f03b793a0"}},{"ruleId":"D1","level":"warning","message":{"text":"ThreadRequestProcessor::thread_fork_inner (cyclomatic 102): ThreadRequestProcessor::thread_fork_inner has cyclomatic complexity 102 (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":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":5297}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb78e212af7fb4bf856d34c038e928b345c35157ea6862c42f7624c8d790d30"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_cli::dispatch_cli (cyclomatic 102): codex_cli::dispatch_cli has cyclomatic complexity 102 (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":"codex-rs/cli/src/main.rs"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f735c9012b6b9735fbd71639f090625c351c26aa0abc769c59e20025c7bc7f6"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfigRequirementsWithSources::merge_unset_fields (cyclomatic 102): ConfigRequirementsWithSources::merge_unset_fields has cyclomatic complexity 102 (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":"codex-rs/config/src/config_requirements.rs"},"region":{"startLine":1414}}}],"partialFingerprints":{"codehealthFindingId/v1":"89672df82ff405c6e21bc2f1806bda0d47e16c95a0bbd1e3114fdb8cb175d272"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::handle_server_notification (cyclomatic 97): ChatWidget::handle_server_notification has cyclomatic complexity 97 (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":"codex-rs/tui/src/chatwidget/protocol.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"11fcca95ca649eefacf9b8419dcd762f9d42212b75cc8c1b610436938f1cdaab"}},{"ruleId":"D1","level":"warning","message":{"text":"McpConnectionSet::new (cyclomatic 96): McpConnectionSet::new has cyclomatic complexity 96 (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":"codex-rs/codex-mcp/src/connection_manager.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e92539630a9da18c336bc36e4713a3b7327bfe512ef77d2625f020c656a4f1"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_shell_command::shell_snapshot_literals::literal_words_with_quoting (cyclomatic 96): codex_shell_command::shell_snapshot_literals::literal_words_with_quoting has cyclomatic complexity 96 (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":"codex-rs/shell-command/src/shell_snapshot_literals.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4782274fbb4252389b0904a152ddd8a3669eeb97b771b1f9215391c066f5baf"}},{"ruleId":"D1","level":"warning","message":{"text":"App::handle_owned_transcript_event (cyclomatic 96): App::handle_owned_transcript_event has cyclomatic complexity 96 (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":"codex-rs/tui/src/app/owned_transcript.rs"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15bb67c2725fe286d486550e40a87015bf2267f6ddbe21a69da0c33f839dfaa"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::dispatch_command_from_source (cyclomatic 93): ChatWidget::dispatch_command_from_source has cyclomatic complexity 93 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/slash_dispatch.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b75c718640aeba59ec2c0aceb06a686f79b16a4450d86cde2f83d8a513efc0"}},{"ruleId":"D1","level":"warning","message":{"text":"App::attach_agents_overview_thread (cyclomatic 84): App::attach_agents_overview_thread has cyclomatic complexity 84 (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":"codex-rs/tui/src/app/agents_overview.rs"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30524b23cb683b997c9fdb10f9e93c7b215d213fb091568c13880ec4d6a3189"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::analytics::normalize::history (cyclomatic 82): codex_tui::analytics::normalize::history has cyclomatic complexity 82 (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":"codex-rs/tui/src/analytics/normalize.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"80481bae92f79bba1f8e9ba7defef3fe0330d0caf8c669e9a66e98158c0382e6"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::dynamic_tools::execute_inner (cyclomatic 81): codex_tui::dynamic_tools::execute_inner has cyclomatic complexity 81 (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":"codex-rs/tui/src/dynamic_tools.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e21487261b03df41d8453518b84ee423508c6bfa4bf572cf5679ae5b4f58afe"}},{"ruleId":"D1","level":"warning","message":{"text":"App::handle_server_notification_event (cyclomatic 78): App::handle_server_notification_event has cyclomatic complexity 78 (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":"codex-rs/tui/src/app/app_server_events.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e03f58c24eb9be070975396be7a45006d2a72517f8fa432e97690e65068596"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_app_server::request_processors::thread_lifecycle::start_listener (cyclomatic 75): codex_app_server::request_processors::thread_lifecycle::start_listener has cyclomatic complexity 75 (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":"codex-rs/app-server/src/request_processors/thread_lifecycle.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"38671ee6d903522d079f4f766a3cb34616649636d4942ee116fc78d015e06174"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecutedToolCalls::attach_pending_to_prompt_with_state (cyclomatic 75): ExecutedToolCalls::attach_pending_to_prompt_with_state has cyclomatic complexity 75 (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":"codex-rs/core/src/tools/executed_tool_calls/request_metadata.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65ebe5b7a865bb9f3744de6b271f26219645738d517a4d561cd612987f0d414"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::dispatch_prepared_command_with_args (cyclomatic 74): ChatWidget::dispatch_prepared_command_with_args has cyclomatic complexity 74 (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":"codex-rs/tui/src/chatwidget/slash_dispatch.rs"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"1644adfa0a5f60bb345639f01df24016f64025a7271078639449e5637ed12c31"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core::session::turn::run_turn (cyclomatic 73): codex_core::session::turn::run_turn has cyclomatic complexity 73 (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":"codex-rs/core/src/session/turn.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0fae2deb10df5bbe5157cfdc53fc34f57044aa012363cfc4ecd2958f62e7fd"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::submit_user_message_with_prepared_images (cyclomatic 73): ChatWidget::submit_user_message_with_prepared_images has cyclomatic complexity 73 (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":"codex-rs/tui/src/chatwidget/input_submission.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"739230d8eb68de44067037e21ccd82b00b03ea0baca00ad31e66fd89e7da6fcb"}},{"ruleId":"D1","level":"warning","message":{"text":"App::handle_key_event (cyclomatic 71): App::handle_key_event has cyclomatic complexity 71 (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":"codex-rs/tui/src/app/input.rs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"1abbae61bf6d513c519bcd0656608bdf6aa656842f32bd5d2fcc534bdcf31978"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatComposer::render_with_options (cyclomatic 70): ChatComposer::render_with_options has cyclomatic complexity 70 (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":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":4659}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad6a49c5d54d7bc1df68cdea477243fb157535f5cc3441d100fc313350622b2"}},{"ruleId":"D1","level":"warning","message":{"text":"ThreadRequestProcessor::thread_resume_inner (cyclomatic 69): ThreadRequestProcessor::thread_resume_inner has cyclomatic complexity 69 (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":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":3959}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45a2f8c5ae9634c411411bd7666196772643c92b613e88d10eaa4817c046df6"}},{"ruleId":"D1","level":"warning","message":{"text":"App::change_working_directory_with_managed (cyclomatic 69): App::change_working_directory_with_managed has cyclomatic complexity 69 (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":"codex-rs/tui/src/app/working_directory.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"0280117c1f50cf6fb5fcc4128d39a615b2b0c4abf46891fec2f26fc61ba04ed0"}},{"ruleId":"D1","level":"warning","message":{"text":"CredentialBroker::virtualize_env (cyclomatic 67): CredentialBroker::virtualize_env has cyclomatic complexity 67 (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":"codex-rs/network-proxy/src/credential_broker.rs"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fba7908364c820f5f17cd129006ddb7e9313234b000886b14bf77d2f1baf834"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_exec_server::noise_relay::harness::noise_harness_connection_from_websocket_with_readiness (cyclomatic 66): codex_exec_server::noise_relay::harness::noise_harness_connection_from_websocket_with_readiness has cyclomatic complexity 66 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/noise_relay/harness.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee03dd913ee4c255de7bef5a59880d454fe9aae580aa791edd2d070066907c3"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_shell_command::parse_command::summarize_main_tokens (cyclomatic 65): codex_shell_command::parse_command::summarize_main_tokens has cyclomatic complexity 65 (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":"codex-rs/shell-command/src/parse_command.rs"},"region":{"startLine":2290}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e9dcb06a69a385ba55f91ddbdc624746e00a1d5ff62714896362bf98962214"}},{"ruleId":"D1","level":"warning","message":{"text":"App::handle_sidebar_input (cyclomatic 65): App::handle_sidebar_input has cyclomatic complexity 65 (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":"codex-rs/tui/src/app/side_focus.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c4f102c6c9e04cf3e5b8c95c1bb0852b0c6add90b5e0e04ee6646173ea60204"}},{"ruleId":"D1","level":"warning","message":{"text":"ThreadManagerState::spawn_thread (cyclomatic 63): ThreadManagerState::spawn_thread has cyclomatic complexity 63 (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":"codex-rs/core/src/thread_manager.rs"},"region":{"startLine":2491}}}],"partialFingerprints":{"codehealthFindingId/v1":"910d78c79b542586ba66bb5fc77c4fb61f406b542a4d57577bb31228b707744c"}},{"ruleId":"D1","level":"warning","message":{"text":"ContextManager::reconstruct_rollout (cyclomatic 62): ContextManager::reconstruct_rollout has cyclomatic complexity 62 (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":"codex-rs/core/src/session/rollout_reconstruction.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b2eb6dfa192cde9ba81a1503d62df9b65fba4845f95651c128838e6ae61086"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_mermaid::relations::parse (cyclomatic 62): codex_mermaid::relations::parse has cyclomatic complexity 62 (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":"codex-rs/mermaid/src/relations.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df36d8f2bcc4ab843befe10d2f1e3896b9c2723dc0b2c589e844f1c299fe653"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core::session::handlers::submission_loop (cyclomatic 61): codex_core::session::handlers::submission_loop has cyclomatic complexity 61 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/handlers.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb41b8437f41c438a0428b0fdcc8f07cf210543f47b43bae4ddc3408e7d052f1"}},{"ruleId":"D1","level":"warning","message":{"text":"App::handle_side_focus_key (cyclomatic 61): App::handle_side_focus_key has cyclomatic complexity 61 (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":"codex-rs/tui/src/app/side_focus.rs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5b1b0daa8e58db76c4edec740fbc911501bd81feca279a6393c1e5826bf7ab"}},{"ruleId":"D1","level":"warning","message":{"text":"MathMarkdown::new (cyclomatic 61): MathMarkdown::new has cyclomatic complexity 61 (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":"codex-rs/tui/src/markdown_render/math.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"205489cfd9decdd482be8afbb435145799d02d3cd731e9d8e950ebca587fc362"}},{"ruleId":"D1","level":"warning","message":{"text":"AnalyticsView::handle_key (cyclomatic 59): AnalyticsView::handle_key has cyclomatic complexity 59 (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":"codex-rs/tui/src/analytics.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab23baba6e9b36db1ac25d4c6e444358036a10fb5023d82f49dd8ce12468aa0"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentsOverviewView::handle_key_event (cyclomatic 59): AgentsOverviewView::handle_key_event has cyclomatic complexity 59 (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":"codex-rs/tui/src/app/agents_overview_view.rs"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f81456fea474f8e76cc8fefc38e81298bf6c4fbe28639332036c00058ce747"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_api::api_bridge::map_api_error_details (cyclomatic 58): codex_api::api_bridge::map_api_error_details has cyclomatic complexity 58 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-api/src/api_bridge.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"268fc260c6ff1b2d4fb60d8715e2c1e4e8a53275facf57d989525acdc221ee2e"}},{"ruleId":"D1","level":"warning","message":{"text":"AnalyticsView::history_lines (cyclomatic 58): AnalyticsView::history_lines has cyclomatic complexity 58 (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":"codex-rs/tui/src/analytics/chart.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a748270c0c4bf2a72560498a859ac7aa6684965904d2c780071ba91d50f685"}},{"ruleId":"D1","level":"warning","message":{"text":"RequestUserInputOverlay::handle_key_event (cyclomatic 56): RequestUserInputOverlay::handle_key_event has cyclomatic complexity 56 (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":"codex-rs/tui/src/bottom_pane/request_user_input/mod.rs"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a41232e6cbf372a3d86c45ce17b0f0a614bbd30506f0457e9185499b4c68dcf"}},{"ruleId":"D1","level":"warning","message":{"text":"run_codex_compliance._required_regression_checks (cyclomatic 56): run_codex_compliance._required_regression_checks has cyclomatic complexity 56 (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":"scripts/mcp_conformance/run_codex_compliance.py"},"region":{"startLine":1459}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd38684cf57d603a1bb46ca282ea6603bd408e71129d028c39e20e6c7724d70"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core::agent::history::prepare_forked_history (cyclomatic 55): codex_core::agent::history::prepare_forked_history has cyclomatic complexity 55 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/agent/history.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd37bff63eb05d76c0d61948a01ed4da43642afe1b4f8eecabaf227119389dad"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_thread_store::local::update_thread_metadata::apply_metadata_update (cyclomatic 55): codex_thread_store::local::update_thread_metadata::apply_metadata_update has cyclomatic complexity 55 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/update_thread_metadata.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"9983ef07ba7216bdf19eb0f9676984dca9bf4c25581f821f9eda77f11df767b0"}},{"ruleId":"D1","level":"warning","message":{"text":"RuntimeKeymap::resolve (cyclomatic 55): RuntimeKeymap::resolve has cyclomatic complexity 55 (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":"codex-rs/tui/src/keymap.rs"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e19dffdb43fb5981bdce70dc4f36b6096d300d970374d933fb370d746aa8cb"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_connectors::merge_directory_app (cyclomatic 54): codex_connectors::merge_directory_app has cyclomatic complexity 54 (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":"codex-rs/connectors/src/lib.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26621b1db259480ff55901993c76019b96c2cb52f56b844ae87a2698bc0c63b"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_app_server::in_process::start_uninitialized (cyclomatic 53): codex_app_server::in_process::start_uninitialized has cyclomatic complexity 53 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/in_process.rs"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"265884c24fba256d309db24bc3271a281f8f211da82b667c7723c75d53de5a00"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentsOverviewView::render_center_rows (cyclomatic 53): AgentsOverviewView::render_center_rows has cyclomatic complexity 53 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/agent_center/rows.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6a2cca12957eb8fa811563af22251821a1e6236cd5ca8dfac17aebb5276c75"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_exec_server::relay::run_multiplexed_environment (cyclomatic 52): codex_exec_server::relay::run_multiplexed_environment has cyclomatic complexity 52 (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":"codex-rs/exec-server/src/relay.rs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a88decaf71a9df9e966f24515392a7199d68706c0699b1558a2c2e32d36ca0"}},{"ruleId":"D1","level":"warning","message":{"text":"TranscriptView::handle_select_mode_key (cyclomatic 52): TranscriptView::handle_select_mode_key has cyclomatic complexity 52 (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":"codex-rs/tui/src/transcript_view/select_mode.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab491b89f7c5e3ea60c6b085880315a86a0c272d1f9e08c3f3606ffc4d02c41b"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolOrchestrator::run (cyclomatic 51): ToolOrchestrator::run has cyclomatic complexity 51 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/orchestrator.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"535bee82e07dd27e8467a93bd043ff1cf3015bf2cbb2099c684d6d6673d6c1bc"}},{"ruleId":"D1","level":"warning","message":{"text":"UnifiedExecRuntime::run (cyclomatic 51): UnifiedExecRuntime::run has cyclomatic complexity 51 (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":"codex-rs/core/src/tools/runtimes/unified_exec.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff89ecfd820322fe151d04a103d2db18157c4f07b640de6aed7bcdc71300df4b"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::markdown_copy::render_selection (cyclomatic 51): codex_tui::markdown_copy::render_selection has cyclomatic complexity 51 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/markdown_copy.rs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"695d432e7d8680a387cf712585a8a278003c38bd4471e0cd30d35780fe2519f1"}},{"ruleId":"D1","level":"warning","message":{"text":"AnalyticsReducer::ingest (cyclomatic 50): AnalyticsReducer::ingest has cyclomatic complexity 50 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/analytics/src/reducer.rs"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"7737bef260858f9eb6996c11cf4c3f1fdaaf30a131a4b725d0b92b48657ce89f"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_exec::run_main (cyclomatic 49): codex_exec::run_main has cyclomatic complexity 49 (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":"codex-rs/exec/src/lib.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"732594ff90eb38ae8497abb5f5bd1e92a2f63e6d34bc8b1e62d7a3f0187e1a49"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_shell_command::shell_snapshot_credentials::prepare_snapshot_credentials (cyclomatic 49): codex_shell_command::shell_snapshot_credentials::prepare_snapshot_credentials has cyclomatic complexity 49 (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":"codex-rs/shell-command/src/shell_snapshot_credentials.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d26477cb003827e27f415c30404fde933011107145078f03880d7147f1281e4"}},{"ruleId":"D1","level":"warning","message":{"text":"Session::build_world_state_for_step (cyclomatic 48): Session::build_world_state_for_step has cyclomatic complexity 48 (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":"codex-rs/core/src/session/world_state.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e132ffb230faae7e1c088b17dbf6e9833c1cb24916368ce13abff37dfbb824a"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_exec::run_exec_session (cyclomatic 48): codex_exec::run_exec_session has cyclomatic complexity 48 (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":"codex-rs/exec/src/lib.rs"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52443df30875b16bfcc12ff2ba253d85c6cbe800ac9c1407a39a982c0e9f573"}},{"ruleId":"D1","level":"warning","message":{"text":"ListSelectionView::handle_key_event (cyclomatic 48): ListSelectionView::handle_key_event has cyclomatic complexity 48 (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":"codex-rs/tui/src/bottom_pane/list_selection_view.rs"},"region":{"startLine":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f72f70d01a725280b3dd8484cec1c0b008675621cf5329ddc9be213f8edfa31"}},{"ruleId":"D1","level":"warning","message":{"text":"NetworkApprovalService::handle_inline_policy_request (cyclomatic 47): NetworkApprovalService::handle_inline_policy_request has cyclomatic complexity 47 (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":"codex-rs/core/src/tools/network_approval.rs"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a93db7f2a9737d0bc74cdd1f01661729db46ee0d3b886a10f74bcd1decd45f"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core::config::edit::document_helpers::serialize_mcp_server_table (cyclomatic 47): codex_core::config::edit::document_helpers::serialize_mcp_server_table has cyclomatic complexity 47 (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":"codex-rs/core/src/config/edit/document_helpers.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"31278ee9e0da1466d29978bced7dd4e1948ea942ceb790b5410fed1b1659eeea"}},{"ruleId":"D1","level":"warning","message":{"text":"TextArea::apply_vim_editor_action (cyclomatic 47): TextArea::apply_vim_editor_action has cyclomatic complexity 47 (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":"codex-rs/tui/src/bottom_pane/textarea/vim_commands.rs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"13bc3585cab3280810afca2c7d3d0e97a349f2a2934fa80852d0a9402cd1ea4e"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::handle_key_event_with_activation_key (cyclomatic 47): ChatWidget::handle_key_event_with_activation_key has cyclomatic complexity 47 (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":"codex-rs/tui/src/chatwidget/interaction.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4b586ef7f015fb18fab14cb354e6ae6f4d3aae0e40d726496d9242bf29633a"}},{"ruleId":"D1","level":"warning","message":{"text":"PickerState::handle_key (cyclomatic 47): PickerState::handle_key has cyclomatic complexity 47 (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":"codex-rs/tui/src/resume_picker.rs"},"region":{"startLine":1615}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f32ada976177e8553fbd344a178bf4e60f4d20094c2b04d1d09b1fd7edb41c8"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_code_mode_runtime::cell_actor::run_cell (cyclomatic 46): codex_code_mode_runtime::cell_actor::run_cell has cyclomatic complexity 46 (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":"codex-rs/code-mode-runtime/src/cell_actor/mod.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b76380d72770deba3b5eb7753966bf7a6acfd9975a48cb2e2a87762a6f68704"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_protocol::permission_profile_intersection::intersect_effective_permission_profiles (cyclomatic 46): codex_protocol::permission_profile_intersection::intersect_effective_permission_profiles has cyclomatic complexity 46 (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":"codex-rs/protocol/src/permission_profile_intersection.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0afe49a0bb12f732f2425b1461e63b1552bc6f59b3d57e33569b1a66ffb3173"}},{"ruleId":"D1","level":"warning","message":{"text":"StartupDraftPump::handle_event (cyclomatic 46): StartupDraftPump::handle_event has cyclomatic complexity 46 (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":"codex-rs/tui/src/startup_draft_input.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"295da42a13acc3637965e7b6508b8d12ead2fdb7ad636e56f7e9e6f376977ea6"}},{"ruleId":"D1","level":"warning","message":{"text":"LinkPreview::scan (cyclomatic 46): LinkPreview::scan has cyclomatic complexity 46 (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":"codex-rs/tui/src/streaming/prose_preview.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91ded25d386dc483ed31fd4a20d513f9be8671676e41b9acffea3b93f8d2ee6"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::text_formatting::center_truncate_path (cyclomatic 46): codex_tui::text_formatting::center_truncate_path has cyclomatic complexity 46 (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":"codex-rs/tui/src/text_formatting.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"e583ff7dbdcbe538dbdea930324f6b85a0f746016599ec5766366bbaf0019783"}},{"ruleId":"D1","level":"warning","message":{"text":"StreamingPatchParser::process_line (cyclomatic 45): StreamingPatchParser::process_line 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/apply-patch/src/streaming_parser.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f31af707f7929ad33c82452a2539a491cb4cd768bbf2aefaf3983e62cb1cef"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core::shell_snapshot::capture_snapshot (cyclomatic 45): codex_core::shell_snapshot::capture_snapshot has cyclomatic complexity 45 (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":"codex-rs/core/src/shell_snapshot.rs"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ca42dd4f380bcf39565fe28f7a356111596ee0207a663b92a2fed69a409ae0"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_mermaid::sequence::render (cyclomatic 45): codex_mermaid::sequence::render 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/mermaid/src/sequence.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4541d71a5021801b1ecbdaeba77bee661068f46fbad5390533fe356e6e2a67dd"}},{"ruleId":"D1","level":"warning","message":{"text":"App::finish_reconnect (cyclomatic 45): App::finish_reconnect 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/reconnect.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4cbfc0b60c85ecd00a62ed377935e5c1bf0f41dcc5fb29a85d38f768f54152"}},{"ruleId":"D1","level":"warning","message":{"text":"MathParser::command (cyclomatic 45): MathParser::command has cyclomatic complexity 45 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: codex_tui::markdown_render::math::render::symbol (cyclomatic 124) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/markdown_render/math/render.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb809a1154c56316f41dd5c2fbf6eeb2726af181826a2bba477ab71d9ac0e02f"}},{"ruleId":"D1","level":"warning","message":{"text":"review_regressions._required_review_checks (cyclomatic 45): review_regressions._required_review_checks 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mcp_conformance/review_regressions.py"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac62b8823599e1146c00418ffd049bb6894b00c529a17482109639437ddffc5"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalAgentControl::ensure_v2_agent_loaded (cyclomatic 44): LocalAgentControl::ensure_v2_agent_loaded has cyclomatic complexity 44 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/agent/control/spawn.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"85502aebc28023a8aea9da80f8b868350795ad91b4dbf4708d731eb53bff3012"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::resume_picker::sources::spawn (cyclomatic 44): codex_tui::resume_picker::sources::spawn has cyclomatic complexity 44 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/resume_picker/sources.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7c66431e4e331f7da4fb0470c51aacb190e499887c316fc051f72fe39568b9"}},{"ruleId":"D1","level":"warning","message":{"text":"AnalyticsReducer::ingest_notification (cyclomatic 43): AnalyticsReducer::ingest_notification has cyclomatic complexity 43 (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":"codex-rs/analytics/src/reducer.rs"},"region":{"startLine":2068}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f472c69d493b6f671678ce547d1b7b8461621316c1638df25e3f2a52021746"}},{"ruleId":"D1","level":"warning","message":{"text":"McpConnectionSet::capture_binding_with_metadata (cyclomatic 43): McpConnectionSet::capture_binding_with_metadata has cyclomatic complexity 43 (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":"codex-rs/codex-mcp/src/connection_manager/tool_catalog.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f691cfb94495e38c07842dc190a5dc9e90d711bd58b67a2c28f5f56b946e15"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_guardian_context::transcript::collect_transcript_for_review (cyclomatic 43): codex_guardian_context::transcript::collect_transcript_for_review has cyclomatic complexity 43 (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":"codex-rs/guardian-context/src/transcript.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f697c543041f2a2b5d0b732c15ff1504f6b1e3a9ef0a04ab4c746216ee3c7a5"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_memories_write::rollout_input::serialize_tiered_input (cyclomatic 43): codex_memories_write::rollout_input::serialize_tiered_input has cyclomatic complexity 43 (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":"codex-rs/memories/write/src/rollout_input.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ebc15a245951e5aa8acbdf5033b989233c21f8b837adab97c2757ad54dd2c9"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_shell_command::shell_snapshot_literals::decode_ansi_c_bytes (cyclomatic 43): codex_shell_command::shell_snapshot_literals::decode_ansi_c_bytes has cyclomatic complexity 43 (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":"codex-rs/shell-command/src/shell_snapshot_literals.rs"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4bb2774abc128ac54ce8ac98803548da808b4c2efbc58ed122314c66fb1904"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_thread_store::local::update_thread_metadata::update_thread_metadata (cyclomatic 43): codex_thread_store::local::update_thread_metadata::update_thread_metadata has cyclomatic complexity 43 (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":"codex-rs/thread-store/src/local/update_thread_metadata.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d47611f927c85af6937503f78175bb63a67031834c95e1674a220d41f62e78f"}},{"ruleId":"D1","level":"warning","message":{"text":"sandbox_smoketests.main (cyclomatic 43): sandbox_smoketests.main has cyclomatic complexity 43 (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":"codex-rs/windows-sandbox-rs/sandbox_smoketests.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc98dcbf75646dca011c0eae1a59a28380c931b494ed891bce9b70a6c391b230"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_api::endpoint::responses_websocket::run_websocket_response_stream (cyclomatic 42): codex_api::endpoint::responses_websocket::run_websocket_response_stream has cyclomatic complexity 42 (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":"codex-rs/codex-api/src/endpoint/responses_websocket.rs"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b8868b868aac695be2978496087d356b6495045fafcce6e0a330ab6b4a142e"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_config::requirements_layers::stack::populate_merged_regular_fields_with_sources (cyclomatic 42): codex_config::requirements_layers::stack::populate_merged_regular_fields_with_sources has cyclomatic complexity 42 (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":"codex-rs/config/src/requirements_layers/stack.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"38fbefbf0b5e9952f115ff2cea5a47d3855b6eb770baa3827f67c2d7ac8779c3"}},{"ruleId":"D1","level":"warning","message":{"text":"App::workspace_hud (cyclomatic 42): App::workspace_hud has cyclomatic complexity 42 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/workspace_hud.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"8440dcc975c4ebd89ce5ef4f56d009f12ccd0d5170df316ca9e131a792710ea1"}},{"ruleId":"D1","level":"warning","message":{"text":"PluginRequestProcessor::plugin_list_response (cyclomatic 41): PluginRequestProcessor::plugin_list_response has cyclomatic complexity 41 (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":"codex-rs/app-server/src/request_processors/plugins.rs"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"666a95cbe515d107c8d47e27d89eea71d23894c19eea7df763b16165b9ac4fa3"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_cli::doctor::mcp_check_from_servers (cyclomatic 41): codex_cli::doctor::mcp_check_from_servers has cyclomatic complexity 41 (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":"codex-rs/cli/src/doctor.rs"},"region":{"startLine":1534}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea32e7752cdd3d64426a715d9801814840571403f4e327a57096349d186c0c3"}},{"ruleId":"D1","level":"warning","message":{"text":"CollectedContext::compose_prepared (cyclomatic 41): CollectedContext::compose_prepared has cyclomatic complexity 41 (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":"codex-rs/guardian-context/src/composition.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"785c27d953084b437f964d0e223b5d67d924bed96f75ed99fd5adeb63edb4dc4"}},{"ruleId":"D1","level":"warning","message":{"text":"App::enqueue_thread_notification (cyclomatic 41): App::enqueue_thread_notification has cyclomatic complexity 41 (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":"codex-rs/tui/src/app/thread_routing.rs"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae46586e358033758d705895e6d083b3599fd346d30629bb056bc5672ccb35f2"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncQuestions::handle_key_event (cyclomatic 41): AsyncQuestions::handle_key_event has cyclomatic complexity 41 (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":"codex-rs/tui/src/bottom_pane/async_questions/input.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2fe755e8e2e4b2712681e452e6446b1f3960610e4be4b66dc2ba75ee0459165"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::on_realtime_transcript_done (cyclomatic 41): ChatWidget::on_realtime_transcript_done has cyclomatic complexity 41 (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":"codex-rs/tui/src/chatwidget/realtime.rs"},"region":{"startLine":1460}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e3e71cb5a12fc769d5c12b3f7426cf5f1a9cffe2ef1c260b37c6aa818d4f4b"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexExec.run (cyclomatic 41): CodexExec.run has cyclomatic complexity 41 (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":"sdk/typescript/src/exec.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0621f574d108945dd63dc262ea2ad010c7a376c2ebc35acf1b46c6086d587c"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_app_server_daemon::prepare_install::prepare_from_package (cyclomatic 40): codex_app_server_daemon::prepare_install::prepare_from_package has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-daemon/src/prepare_install.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a944ec06523312212b691454096c6f8f165b008c5a006fa2bdbde669b8e8e42f"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalAgentControl::spawn_agent_internal (cyclomatic 40): LocalAgentControl::spawn_agent_internal has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/agent/control/spawn.rs"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3ef8c13d0a453b5f4e11d340576b89286bb1e7de490c7630a32076c73a48a0"}},{"ruleId":"D1","level":"warning","message":{"text":"ShellSnapshotCache::prepare (cyclomatic 40): ShellSnapshotCache::prepare has cyclomatic complexity 40 (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":"codex-rs/exec-server/src/shell_snapshot.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"2104103cfcc7916f2c33284a8b19da9da741d606a2e8e90eb4bc08d2cd094c20"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_linux_sandbox::bwrap::create_filesystem_args (cyclomatic 40): codex_linux_sandbox::bwrap::create_filesystem_args has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/linux-sandbox/src/bwrap.rs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"4360fefbe7d6a3697b2342609f13aaabda2fa08d89f7052bd2abec37cef2aaab"}},{"ruleId":"D1","level":"warning","message":{"text":"StreamableHttpClientAdapter::post_message (cyclomatic 40): StreamableHttpClientAdapter::post_message has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/http_client_adapter.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"adcd9806ed30b92e064b25fe5b076c0b2deb08dda0dc2d234beaf09680fb2d8f"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatComposer::handle_input_basic_with_time (cyclomatic 40): ChatComposer::handle_input_basic_with_time has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":3740}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bbff18d8642ab6cd4cd9abaa8246ea2b994f8d321ed4c5b4f72e76f7effc31c"}},{"ruleId":"D1","level":"warning","message":{"text":"MathParser::grid (cyclomatic 40): MathParser::grid has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/markdown_render/math/render/structured.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"af894568f00323e625b958b12d6b368b24cb17f84fbcecc4058f917911fae01c"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_app_server_client::cloud_backend::run_worker_with_prepared (cyclomatic 39): codex_app_server_client::cloud_backend::run_worker_with_prepared has cyclomatic complexity 39 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-client/src/cloud_backend/mod.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e572f61e68bffa2667cccf8c8cbbbc1b4f06f4890a22f7cc66b943a44274c9b"}},{"ruleId":"D1","level":"warning","message":{"text":"PidBackend::start_inner (cyclomatic 39): PidBackend::start_inner 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":"codex-rs/app-server-daemon/src/backend/pid_start.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c47748c820bffb5e09165c1a5a8f6ecc6510a06dbd7999480f6094cf66c4d52b"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_git_utils::apply::parse_git_apply_output (cyclomatic 39): codex_git_utils::apply::parse_git_apply_output has cyclomatic complexity 39 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/git-utils/src/apply.rs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc2cb2b980e9b7c406f6436eb0df86494b07e527823a627acc9ab89f2ba5b64"}},{"ruleId":"D1","level":"warning","message":{"text":"ContextProfile::prepare_transcript_for_budgeting (cyclomatic 39): ContextProfile::prepare_transcript_for_budgeting has cyclomatic complexity 39 (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":"codex-rs/guardian-context/src/preparation/transcript.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6da9b202292d365113b63b2322962f7bbbd5cbcc487ac9560d2061d4296edd"}},{"ruleId":"D1","level":"warning","message":{"text":"App::switch_to_new_backend_session (cyclomatic 39): App::switch_to_new_backend_session 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":"codex-rs/tui/src/app/backend_selection.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5872ce885b3ec98ca19233f9780997965833332b6cb83054912cfab90cdd6a5"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_cli::doctor::sandbox::sandbox_check (cyclomatic 38): codex_cli::doctor::sandbox::sandbox_check has cyclomatic complexity 38 (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":"codex-rs/cli/src/doctor/sandbox.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f339231c448897bf1adc9847110339f4b410c8340b93b8ce1ae4d4446b83ec6"}},{"ruleId":"D1","level":"warning","message":{"text":"Session::assemble_initial_context (cyclomatic 38): Session::assemble_initial_context has cyclomatic complexity 38 (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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":5124}}}],"partialFingerprints":{"codehealthFindingId/v1":"d367d3e7dd201a5232cf27f0f52cd972c9ad98c7ee07d6f223ff08bc689e9098"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolRegistry::dispatch_any_with_state (cyclomatic 38): ToolRegistry::dispatch_any_with_state has cyclomatic complexity 38 (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":"codex-rs/core/src/tools/registry.rs"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"197f5211b2d4865721d3810f515c71fc80f4d9765eac2ca6b4aa163e8ce37844"}},{"ruleId":"D1","level":"warning","message":{"text":"Classification::run (cyclomatic 38): Classification::run has cyclomatic complexity 38 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/guardian-v2/src/async_scorer/classification.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3512b80624500c4692cf52d957644da488cfa3ed878967d5e3b189f93f332ff"}},{"ruleId":"D1","level":"warning","message":{"text":"App::handle_server_request_event (cyclomatic 38): App::handle_server_request_event has cyclomatic complexity 38 (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":"codex-rs/tui/src/app/app_server_events.rs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc006e777b1c70209fbdd9b5b4d35d077cf3210bfbae07970f0cebe2abcd7c64"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::status_line_value_for_item (cyclomatic 38): ChatWidget::status_line_value_for_item has cyclomatic complexity 38 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/status_surfaces.rs"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc5be882c86baa224a6a95526a05d688aeccb1ae5643c6e4325d82dbc585597"}},{"ruleId":"D1","level":"warning","message":{"text":"TranscriptView::move_copy_target (cyclomatic 38): TranscriptView::move_copy_target has cyclomatic complexity 38 (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":"codex-rs/tui/src/transcript_view/copy_mode.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b556db058dc489310381dfc9cc1e832151f58edc8b7695620731b72057f5073"}},{"ruleId":"D1","level":"warning","message":{"text":"FeedbackRequestProcessor::feedback_response (cyclomatic 37): FeedbackRequestProcessor::feedback_response has cyclomatic complexity 37 (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":"codex-rs/app-server/src/request_processors/feedback_processor.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a523d9016d22a3fab0b65fa67f0a19112824a03e8115be8d7928cf438e2e24"}},{"ruleId":"D1","level":"warning","message":{"text":"GuardianV2Extension::score_tool (cyclomatic 37): GuardianV2Extension::score_tool has cyclomatic complexity 37 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/guardian-v2/src/async_scorer/observation.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"e463fae27ce6b4b44a77a845d4210945dce2af5649391fe1e9ea9698ec7ae0bd"}},{"ruleId":"D1","level":"warning","message":{"text":"SamplingExecution::run (cyclomatic 37): SamplingExecution::run has cyclomatic complexity 37 (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":"codex-rs/ext/guardian-v2/src/async_scorer/sampler/execution.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6ba356af1d75b6f909cc655d563a71ab82b318cdf77646bd556fe478359b25"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_linux_sandbox::linux_run_main::run_main (cyclomatic 37): codex_linux_sandbox::linux_run_main::run_main has cyclomatic complexity 37 (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":"codex-rs/linux-sandbox/src/linux_run_main.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a454272f1e81841a75d665708df26acfe33d36bc47c926ad43029ff8603f00"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::on_guardian_assessment (cyclomatic 37): ChatWidget::on_guardian_assessment has cyclomatic complexity 37 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/tool_requests.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"23023c4003dd8316767ce5831b278a79dda42f9193164e46aa0d64b49e5a304c"}},{"ruleId":"D1","level":"warning","message":{"text":"BedrockState::render (cyclomatic 37): BedrockState::render has cyclomatic complexity 37 (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":"codex-rs/tui/src/onboarding/bedrock.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"818422ccb338d5ae5985ad1d4e629fc7f938a62dd485496e54fc34c508278b79"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::onboarding::onboarding_screen::run_onboarding_screen_inner (cyclomatic 37): codex_tui::onboarding::onboarding_screen::run_onboarding_screen_inner has cyclomatic complexity 37 (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":"codex-rs/tui/src/onboarding/onboarding_screen.rs"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d64316986d04d1037ef4fb7bf7e7c7e1bfed9225890fa51f58fbb179f2406f"}},{"ruleId":"D1","level":"warning","message":{"text":"run_codex_compliance.main (cyclomatic 37): run_codex_compliance.main has cyclomatic complexity 37 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mcp_conformance/run_codex_compliance.py"},"region":{"startLine":2108}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f68c0f90e0704fae3aa9216211f8b5a73a0947e10c956adfa305a64da1af780"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfigRequirements::try_from (cyclomatic 36): ConfigRequirements::try_from has cyclomatic complexity 36 (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":"codex-rs/config/src/config_requirements.rs"},"region":{"startLine":2195}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1b852a1cd99d2a74dcb05c795fa583547f16d25ba6fd5d1ab393a70f4eeec9"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core::session::mcp::review_guardian_mcp_elicitation (cyclomatic 36): codex_core::session::mcp::review_guardian_mcp_elicitation has cyclomatic complexity 36 (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":"codex-rs/core/src/session/mcp.rs"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"664dc4c4bbf5c4342e66368617fc97ba25a77bf57bd734c1448db6af1b04ab36"}},{"ruleId":"D1","level":"warning","message":{"text":"RollbackPlanner::observe (cyclomatic 36): RollbackPlanner::observe has cyclomatic complexity 36 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/rollout_migration/rollback_plan.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe17e53e267fbcc92383f4431811dba883fbff6a1d34bf789594c78bd59a8c9"}},{"ruleId":"D1","level":"warning","message":{"text":"App::activate_prepared_session_after_clear (cyclomatic 36): App::activate_prepared_session_after_clear has cyclomatic complexity 36 (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":"codex-rs/tui/src/app/session_lifecycle.rs"},"region":{"startLine":1833}}}],"partialFingerprints":{"codehealthFindingId/v1":"6710f5669babe7a39ae027b61e193dbda02cfe5bc925356a972596a48ddd0883"}},{"ruleId":"D1","level":"warning","message":{"text":"BottomPane::renderable_for_views (cyclomatic 36): BottomPane::renderable_for_views has cyclomatic complexity 36 (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":"codex-rs/tui/src/bottom_pane/mod.rs"},"region":{"startLine":2466}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f016aafda9403c117c36cbcb9ed911e6673da1017f9f884a355b2b6632d78a"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::on_session_configured_with_display_and_fork_parent_title (cyclomatic 36): ChatWidget::on_session_configured_with_display_and_fork_parent_title 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":"codex-rs/tui/src/chatwidget/session_flow.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"372fc5ff5e5f0a5c6a14685ac4cca887f2003473c736417fc96222192a8c597d"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_voice_host::run (cyclomatic 36): codex_voice_host::run has cyclomatic complexity 36 (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":"codex-rs/voice-host/src/main.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"616cc7ced85c477235ad5667e44e338615a73f43029e76f7b752b1e22e0dd1bf"}},{"ruleId":"D1","level":"warning","message":{"text":"ThreadRequestProcessor::resume_running_thread (cyclomatic 35): ThreadRequestProcessor::resume_running_thread has cyclomatic complexity 35 (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":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":4669}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ee35c8509b07bac723d2d3e9087c4c5485548f5ccfee445d7d615ff5422f18"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_app_server_protocol::protocol::event_mapping::item_event_to_server_notification (cyclomatic 35): codex_app_server_protocol::protocol::event_mapping::item_event_to_server_notification has cyclomatic complexity 35 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/event_mapping.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"80df929cde048247de83f4cdfaae2c1a80fc68464c65a785490c36de17e9f1a8"}},{"ruleId":"D1","level":"warning","message":{"text":"EventProcessorWithJsonOutput::map_item_with_id (cyclomatic 35): EventProcessorWithJsonOutput::map_item_with_id has cyclomatic complexity 35 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec/src/event_processor_with_jsonl_output.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"d055e976ed7d4fa8f82961520449e3610dfd004330e0a34c63c6adbc15ee617b"}},{"ruleId":"D1","level":"warning","message":{"text":"ReadTool::handle (cyclomatic 35): ReadTool::handle has cyclomatic complexity 35 (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":"codex-rs/ext/skills/src/tools/read.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"77bcecb0a9efa83950218c0bdcd236c2095bb85c9db43d495b6a8309e4ac0f26"}},{"ruleId":"D1","level":"warning","message":{"text":"App::apply_agents_overview_thread_refresh (cyclomatic 35): App::apply_agents_overview_thread_refresh has cyclomatic complexity 35 (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":"codex-rs/tui/src/app/agents_overview.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e544868a7eb912fabb09437082f284b4aeb3dc38c1e54a73328bf3a766c04e8c"}},{"ruleId":"D1","level":"warning","message":{"text":"App::start_agents_overview_refresh (cyclomatic 35): App::start_agents_overview_refresh has cyclomatic complexity 35 (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":"codex-rs/tui/src/app/agents_overview_threads.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20b71312fb74be5bdcb50e429aa3b174e3872bdf2b6427d0e8c34dbc90f75d5"}},{"ruleId":"D1","level":"warning","message":{"text":"StatusHistoryCell::content_lines (cyclomatic 35): StatusHistoryCell::content_lines has cyclomatic complexity 35 (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":"codex-rs/tui/src/status/card.rs"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb81a6d4b8efa3eaf718868ac98fae551474c706d1c872bdf0213d5cbf084c3"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeChild::spawn (cyclomatic 35): NativeChild::spawn has cyclomatic complexity 35 (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":"codex-rs/utils/pty/src/posix_child.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ffef886e810cdf8df816a2e5d0801800566626bbd5f2b7e791847690556cb4"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_windows_sandbox::setup_provisioning::run_setup_full (cyclomatic 35): codex_windows_sandbox::setup_provisioning::run_setup_full has cyclomatic complexity 35 (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":"codex-rs/windows-sandbox-rs/src/setup_provisioning.rs"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"40bbcdd253101feb0b3cccfe857be67850d29da60b6c67c7fc8b28385147b785"}},{"ruleId":"D1","level":"warning","message":{"text":"AccountRequestProcessor::read_account (cyclomatic 34): AccountRequestProcessor::read_account has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/account_processor/workspace_routing.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b30885dc3af6cd6d8d5078bbf96a9082dd657e5c9d66e7e1f5c06e2d57445c2"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_api::sse::responses::process_responses_event (cyclomatic 34): codex_api::sse::responses::process_responses_event has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-api/src/sse/responses.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32a2065a73d5b24e2e2dba1420cfb10bd8a81df5b4113eebe8d69fb4bd913c0"}},{"ruleId":"D1","level":"warning","message":{"text":"Session::initialize (cyclomatic 34): Session::initialize has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"897b16069e08ff42ebae95f819cb870d419738e0d77050a8bbd8f878721b9130"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_network_proxy::credential_broker::matching::virtualize_text (cyclomatic 34): codex_network_proxy::credential_broker::matching::virtualize_text has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/credential_broker/matching.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c4c0702facd84c8ef8f1c04f494fdb474315bf7d4e8615d972c651f31b4b5d"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalThreadStore::migrate_rollout_path (cyclomatic 34): LocalThreadStore::migrate_rollout_path has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/rollout_migration.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c18d10fc56c98ddc60d031afbfbe26920166524bf7fb1f027ddfe2764909201"}},{"ruleId":"D1","level":"warning","message":{"text":"App::render_owned_transcript (cyclomatic 34): App::render_owned_transcript has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/owned_transcript.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"0982e0ed6cb0b19a55fa81d551d318ac4a5db3192d46c502eb9b6cd18504509a"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatComposer::handle_key_event_without_popup (cyclomatic 34): ChatComposer::handle_key_event_without_popup has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":3586}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4c829c51723a5a578c5472b77ba0744a78854c56a3f56f4d7e699007121260"}},{"ruleId":"D1","level":"warning","message":{"text":"run_codex_compliance._print_human_report (cyclomatic 34): run_codex_compliance._print_human_report has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mcp_conformance/run_codex_compliance.py"},"region":{"startLine":1840}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c7cb624e0ca021a11a442f324249a7a93675a356b934dec1203cd6196cc394"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecServerClient::spawn_rpc_reader (cyclomatic 33): ExecServerClient::spawn_rpc_reader has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/client_recovery.rs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03cee3fc974393c85995f36bf44d08f10fc4da4555b3596720791ffdaee9153"}},{"ruleId":"D1","level":"warning","message":{"text":"DirectFileSystem::sync_walk (cyclomatic 33): DirectFileSystem::sync_walk has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/local_file_system.rs"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"710654e8a774e5496ea3ace03548210b416be73ff6c6a933d1b3754abf5c3524"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_hooks::engine::discovery::append_matcher_groups (cyclomatic 33): codex_hooks::engine::discovery::append_matcher_groups has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/hooks/src/engine/discovery.rs"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"93df271f763e293573c70ebe4c55a9c1b1f93e5e880df889b419c370ad38538e"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_mermaid::draw::render (cyclomatic 33): codex_mermaid::draw::render has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/mermaid/src/draw.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"9462d83426e3a7d855dd8201e504d2a60d25980003dc75da424039132935e5c2"}},{"ruleId":"D1","level":"warning","message":{"text":"TraceReducer::apply_event (cyclomatic 33): TraceReducer::apply_event has cyclomatic complexity 33 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout-trace/src/reducer/mod.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"d467d71d862eb382d32406b4c7b56edcdc6eb37f7115b4b09a3a2b627a12c5e9"}},{"ruleId":"D1","level":"warning","message":{"text":"ThreadMetadata::diff_fields (cyclomatic 33): ThreadMetadata::diff_fields has cyclomatic complexity 33 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/state/src/model/thread_metadata.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"0515c3da8d33b4ac4454543ba4ea985fb8f3aa89ace901336b33e043b16e978c"}},{"ruleId":"D1","level":"warning","message":{"text":"App::route_key_chord_event (cyclomatic 33): App::route_key_chord_event has cyclomatic complexity 33 (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":"codex-rs/tui/src/app/input.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f8b0326933b03259472585160429d59fe4bf29d547bbbca1e1ffe9af6852f2"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::markdown::unwrap_markdown_fences_with_sources (cyclomatic 33): codex_tui::markdown::unwrap_markdown_fences_with_sources has cyclomatic complexity 33 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 15 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":"codex-rs/tui/src/markdown.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6842fcafc9f8479f7a98df032b8c9234f11c1635c9410a9d6140f910984914a"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core::guardian::review_session::run_review_on_session (cyclomatic 32): codex_core::guardian::review_session::run_review_on_session has cyclomatic complexity 32 (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":"codex-rs/core/src/guardian/review_session.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d7fdac80e1526baa04b85b7acd59fcfda3da741b1e5b7ceb90958726e5a10b"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_guardian_context::preparation::prepare_sections (cyclomatic 32): codex_guardian_context::preparation::prepare_sections has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/guardian-context/src/preparation/mod.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"088c24d4e94ccc6b894a1619e822bc848ce9716b0b9423acb94e7f09843f04c7"}},{"ruleId":"D1","level":"warning","message":{"text":"CredentialBrokerState::register (cyclomatic 32): CredentialBrokerState::register has cyclomatic complexity 32 (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":"codex-rs/network-proxy/src/credential_broker.rs"},"region":{"startLine":1612}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6f8cfde37a32ce82c1bf2c28b238217f69c39b16e6356fcced2fa9b0dbef29"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_network_proxy::state::validate_policy_against_constraints (cyclomatic 32): codex_network_proxy::state::validate_policy_against_constraints has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/state.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"f25a400294e2970e6d262f2f32dc66665556b40346f109650286eafc4b0dd369"}},{"ruleId":"D1","level":"warning","message":{"text":"AnalyticsView::plan_lines (cyclomatic 32): AnalyticsView::plan_lines has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/analytics/plan_panel.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d34fcc95b5a6f71ce949a7a01bd56c9ff0cef8fe252100ef4b3be1b47736b7"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::handle_question_key (cyclomatic 32): ChatWidget::handle_question_key has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/questions.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8639d5d2861cebf8d25d80c67a86df1cc7834f94b4ce576b194e67c106e1149"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::handle_thread_item (cyclomatic 32): ChatWidget::handle_thread_item has cyclomatic complexity 32 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/replay.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"48272d183da1f300edc77010da53e3aa2368e077e31d177023f73d9f0db99aa8"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::app::user_turn_submission::try_submit_user_turn (cyclomatic 32): codex_tui::app::user_turn_submission::try_submit_user_turn has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/user_turn_submission.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4825b18b5c0860e80092b02fc9362aa9ecf595e1f0bc2f995fd95d7e0478349"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_config::loader::load_config_layers_state (cyclomatic 31): codex_config::loader::load_config_layers_state has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/loader/mod.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b4e052d586e3c1f6ce8568e366ffbe430db044a8167a0b5c1291b21b46f3ac"}},{"ruleId":"D1","level":"warning","message":{"text":"ExternalAgentConfigService::import (cyclomatic 31): ExternalAgentConfigService::import has cyclomatic complexity 31 (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":"codex-rs/external-agent-migration/src/service.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d6f5df398a0fd467e4e4d06d6668ac4299d19523840a86c5f32598f1477002"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_rollout::metadata::backfill_sessions_with_lease (cyclomatic 31): codex_rollout::metadata::backfill_sessions_with_lease has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout/src/metadata.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f252e5547fad441cb26f4ea0d298c68fa4da7e48dc13e9ea0442599a725511"}},{"ruleId":"D1","level":"warning","message":{"text":"App::update_feature_flags (cyclomatic 31): App::update_feature_flags has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/config_persistence.rs"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"007335b08d5ddebdea7082838fbe7858266388c5de3415e84aa17ea6b07b4ceb"}},{"ruleId":"D1","level":"warning","message":{"text":"App::try_submit_active_thread_op_via_app_server (cyclomatic 31): App::try_submit_active_thread_op_via_app_server has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/thread_routing.rs"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"784895a2269748ef43cd864b29b52c237177a1de0655170a462af1618b4ce2ce"}},{"ruleId":"D1","level":"warning","message":{"text":"BottomPane::handle_key_event_with_activation_key (cyclomatic 31): BottomPane::handle_key_event_with_activation_key has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/mod.rs"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97a0248d635fce131d80e6236999cada0181c8e29a279fdac9c283adff2d55c"}},{"ruleId":"D1","level":"warning","message":{"text":"TextArea::handle_vim_normal (cyclomatic 31): TextArea::handle_vim_normal has cyclomatic complexity 31 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/textarea.rs"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c5d81f968ca07b9f6fe15e9a135bb79099b94b181e815e9e0a111ebdd01a4b"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::on_rate_limit_snapshot_from (cyclomatic 31): ChatWidget::on_rate_limit_snapshot_from has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/rate_limits.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"074572823f323e9f083d54188bfd8c29bbfc7654aa85c5e8923ef128e6a55056"}},{"ruleId":"D1","level":"warning","message":{"text":"TranscriptView::handle_mouse_with_mode (cyclomatic 31): TranscriptView::handle_mouse_with_mode has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/transcript_view/input.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8871e2b32611d4190f432f98a3cc2b8155a8e70f35195650a77423f086b385"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::bottom_pane::chat_composer::completion_target::current_prefixed_token_range_with_dollar_predicate (cyclomatic 31): codex_tui::bottom_pane::chat_composer::completion_target::current_prefixed_token_range_with_dollar_predicate has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/chat_composer/completion_target.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f903e80833cadccd5d34c0618bc29299f46da1b6bcb2ca88367d19a8c94711f"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::sidebar_chooser::paint (cyclomatic 31): codex_tui::sidebar_chooser::paint has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/sidebar_chooser.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd617f92bd5be8e840f8024b72225a140074571cc0ce615b018ba1f133b387a0"}},{"ruleId":"D1","level":"warning","message":{"text":"run_codex_compliance._exercise_app_server (cyclomatic 31): run_codex_compliance._exercise_app_server has cyclomatic complexity 31 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mcp_conformance/run_codex_compliance.py"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c52d56d8e76232960aabb3d269fadd8ead8f94491d8dccc8740f529563029d2"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_cli::debug_sandbox::run_command_under_sandbox (cyclomatic 30): codex_cli::debug_sandbox::run_command_under_sandbox has cyclomatic complexity 30 (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":"codex-rs/cli/src/debug_sandbox.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"7604736813a8f63a4cbac889e8082a87f5a897d1c0492be78a4151e9883657d1"}},{"ruleId":"D1","level":"warning","message":{"text":"RealtimeHistoryState::observe (cyclomatic 30): RealtimeHistoryState::observe 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":"codex-rs/core/src/realtime_history.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec1336d5a7d4be5ebb1507f39de4ad80f35bbf053e87c8572c8b9270c8d1294"}},{"ruleId":"D1","level":"warning","message":{"text":"EventProcessorWithHumanOutput::process_server_notification (cyclomatic 30): EventProcessorWithHumanOutput::process_server_notification has cyclomatic complexity 30 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec/src/event_processor_with_human_output.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71136234a946ca006b705ccba87587cc1d6e43f6aa3a8586e3d7b2a2613fdbe"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_network_proxy::http_proxy::http_plain_proxy (cyclomatic 30): codex_network_proxy::http_proxy::http_plain_proxy has cyclomatic complexity 30 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce411ad6be27179952900e69f018b8e7b4d57acb6bf6be79435592a64b2898b5"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_shell_command::command_safety::powershell_tree_sitter::source_is_covered_by_commands (cyclomatic 30): codex_shell_command::command_safety::powershell_tree_sitter::source_is_covered_by_commands 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":"codex-rs/shell-command/src/command_safety/powershell_tree_sitter.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"a93c6ea50c0f748348b8d4a9bd4e8674803def916022d902645b1eb4ffc590b9"}},{"ruleId":"D1","level":"warning","message":{"text":"App::select_mode_owns_chord (cyclomatic 30): App::select_mode_owns_chord has cyclomatic complexity 30 (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":"codex-rs/tui/src/app/input/select_mode.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ea8e306824fc05ca0b65f3ebaa0fb3b2afda3002fbc6f438eb909725936ef3"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatComposer::handle_key_event_with_slash_popup (cyclomatic 30): ChatComposer::handle_key_event_with_slash_popup 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":"codex-rs/tui/src/bottom_pane/chat_composer/slash_input.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b01a58f314e9d6fdce68d82b0413467adff1e87bf02017def81e6e4132ec5a7"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::finish_thread_usage_refresh (cyclomatic 30): ChatWidget::finish_thread_usage_refresh 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":"codex-rs/tui/src/chatwidget/thread_usage.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"b781cb75a3835febe5e8fa4f5c8a4bc36e9e2995a449144d54bf458cdcb9700c"}},{"ruleId":"D1","level":"warning","message":{"text":"TranscriptView::paint_rows (cyclomatic 30): TranscriptView::paint_rows 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":"codex-rs/tui/src/transcript_view.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a0a487ad44450339d6ee6bb4e3123c34f1aacb7857a768d05952dd1770e92f"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::assistant_directives::parse_assistant_directive_with_budget (cyclomatic 30): codex_tui::assistant_directives::parse_assistant_directive_with_budget 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":"codex-rs/tui/src/assistant_directives.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ed410a63dc5b36b4fdaf3c98df493d21bd2bd6742cb1384d3acf5f5b673845"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::markdown_copy::table::render (cyclomatic 30): codex_tui::markdown_copy::table::render has cyclomatic complexity 30 (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":"codex-rs/tui/src/markdown_copy/table.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa462e8e149718791b7ae51a7a283f26d4c9a701d390c6c55944476ac873510"}},{"ruleId":"D1","level":"warning","message":{"text":"ElicitationRequestManager::make_sender (cyclomatic 29): ElicitationRequestManager::make_sender 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":"codex-rs/codex-mcp/src/elicitation.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3c39df1f711e96f3b7b554d700bab8ecf841be20640b35785202691b2370d4"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_config::loader::sanitize_project_config (cyclomatic 29): codex_config::loader::sanitize_project_config 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":"codex-rs/config/src/loader/mod.rs"},"region":{"startLine":1345}}}],"partialFingerprints":{"codehealthFindingId/v1":"027051086247bb3e61de4f31dd200848c78e00e77744249af71a2aa7a8c21dc8"}},{"ruleId":"D1","level":"warning","message":{"text":"McpManager::runtime_config_with_context (cyclomatic 29): McpManager::runtime_config_with_context 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":"codex-rs/core/src/mcp.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d31f764a98961299689ce5c0420493f74257b4bd806cfcbda5427c14e75160f"}},{"ruleId":"D1","level":"warning","message":{"text":"UnifiedExecProcess::spawn_exec_server_output_task (cyclomatic 29): UnifiedExecProcess::spawn_exec_server_output_task 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":"codex-rs/core/src/unified_exec/process.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ee673137fde7da82681c0160a9abc20bd77345b21a803011991e38d092f0f5"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core::tools::runtimes::maybe_wrap_shell_lc_with_snapshot (cyclomatic 29): codex_core::tools::runtimes::maybe_wrap_shell_lc_with_snapshot has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/runtimes/mod.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3588b43b75fd7077e2b362c53f4151b1acc3a3dfd8207a1e5928f1b86a8ca80"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_exec::should_process_notification (cyclomatic 29): codex_exec::should_process_notification has cyclomatic complexity 29 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec/src/lib.rs"},"region":{"startLine":1752}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4b05b3b09195d7e3d164381ecbe51b9dc36a522292e62502b837b0417f213c"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_exec_server::shell_snapshot_credentials::prepare (cyclomatic 29): codex_exec_server::shell_snapshot_credentials::prepare has cyclomatic complexity 29 (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":"codex-rs/exec-server/src/shell_snapshot_credentials.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"feab332777f80f7b4d99426195967390df12754c86da1535c7793de66cde0200"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_guardian_v2::async_scorer::approval::cached_evidence (cyclomatic 29): codex_guardian_v2::async_scorer::approval::cached_evidence 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":"codex-rs/ext/guardian-v2/src/async_scorer/approval.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"c86a719e1404e51a79a451bbc87f5a752b6475ed775d5d64304618fdf376ac3c"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_rollout::list::read_head_summary (cyclomatic 29): codex_rollout::list::read_head_summary 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":"codex-rs/rollout/src/list.rs"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f8c29329890b1acf4a1dc73b783231a469cb4507e6bed63b3caea0be61570e"}},{"ruleId":"D1","level":"warning","message":{"text":"LegacyRolloutCanonicalizer::process_line (cyclomatic 29): LegacyRolloutCanonicalizer::process_line 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":"codex-rs/thread-store/src/local/rollout_migration/canonicalizer.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e647dd14447bd547c039216a270d1f1e76d5deb1a7b1ff4894b0ea02d784727"}},{"ruleId":"D1","level":"warning","message":{"text":"ThreadMetadataPatch::merge (cyclomatic 29): ThreadMetadataPatch::merge has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/types.rs"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b9f47899921237ec4fa1d53b7f3cbbb4cf7637c160f56e06d02bc0a4aa4eae"}},{"ruleId":"D1","level":"warning","message":{"text":"App::select_session_model (cyclomatic 29): App::select_session_model 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":"codex-rs/tui/src/app/model_defaults.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"75267b8299ae978cb5969586b7017c8605e1539ab4baa5fc5b181dd91eb052a1"}},{"ruleId":"D1","level":"warning","message":{"text":"App::open_agent_picker (cyclomatic 29): App::open_agent_picker 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":"codex-rs/tui/src/app/session_lifecycle.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41c9d6be2837c1d2cc46c3983615acb81bffffd6a50faa11ea0645928339d98"}},{"ruleId":"D1","level":"warning","message":{"text":"TranscriptView::footer_with_navigation (cyclomatic 29): TranscriptView::footer_with_navigation 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":"codex-rs/tui/src/transcript_view/footer.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef17124de0b95d2b24c449c2b4a0c66a2e87334863e92178d62fbcae9a965759"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::empty_state_animation::geometry::field (cyclomatic 29): codex_tui::empty_state_animation::geometry::field has cyclomatic complexity 29 (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":"codex-rs/tui/src/empty_state_animation/geometry.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d13bcdba66f4d425aacde28b0c8564814568a4f12a3b8a2a997c1490a594e7"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_conformance_adapter.run_adapter (cyclomatic 29): codex_conformance_adapter.run_adapter 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":"scripts/mcp_conformance/codex_conformance_adapter.py"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"911f1b761e09a71f95a9a0182783eb359c2621998f3a0a537ea5980991c67aae"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfigManager::persist_user_edits (cyclomatic 28): ConfigManager::persist_user_edits 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":"codex-rs/app-server/src/config_manager_service.rs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"20693db86ca42a7d03662d1e41b8f1504f03ce1343efd23e0388a5f6b8e72fe0"}},{"ruleId":"D1","level":"warning","message":{"text":"PluginRequestProcessor::plugin_search_response (cyclomatic 28): PluginRequestProcessor::plugin_search_response 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":"codex-rs/app-server/src/request_processors/plugins/search.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad4602329b44e07ab5714933a2dd4d0ae5f47c7934ac45955caf82483bcafbe"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_app_server::request_processors::thread_lifecycle::handle_pending_thread_resume_request (cyclomatic 28): codex_app_server::request_processors::thread_lifecycle::handle_pending_thread_resume_request 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":"codex-rs/app-server/src/request_processors/thread_lifecycle.rs"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9c7e2afc43ca099bac5906c3dc8db73dddce6a852b32cee5973a7c3062d2f6"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteAppServerClient::connect_with_stream (cyclomatic 28): RemoteAppServerClient::connect_with_stream 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":"codex-rs/app-server-client/src/remote.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36413bb896f27bb67b57bc44e891bab96a0e2212dff696ee572e19cce793f77"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonSchemaTypeRenderer::render_map (cyclomatic 28): JsonSchemaTypeRenderer::render_map 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":"codex-rs/code-mode-protocol/src/json_schema_types.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d4599d234a95d2728d686bb0b9c41415c743c66b06a9bea1a374aa0466630b"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_api::files::upload_openai_file (cyclomatic 28): codex_api::files::upload_openai_file 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":"codex-rs/codex-api/src/files.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"81292d08d8b737a919ca06864aeaf9c7c4cbbbaf30a1a0ddb6ec43ce216099f9"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfigDocument::apply (cyclomatic 28): ConfigDocument::apply has cyclomatic complexity 28 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/config/edit.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ec2e9d6fc88fc86ee9f21160badf618066a7d1da727ed53d753d95a9d1bdc0"}},{"ruleId":"D1","level":"warning","message":{"text":"Session::on_task_finished (cyclomatic 28): Session::on_task_finished has cyclomatic complexity 28 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tasks/mod.rs"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e94998bd8d2067f6afb104bb904420aebac22353ff88fc6d64e16942953c062"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core::client::map_response_events (cyclomatic 28): codex_core::client::map_response_events 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":"codex-rs/core/src/client.rs"},"region":{"startLine":2788}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f98c47240b26b42eb13acac41e28cc50c423babf114ca0aab9a000870c0899"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core::guardian::recorded_tool_call::review_tool_call (cyclomatic 28): codex_core::guardian::recorded_tool_call::review_tool_call has cyclomatic complexity 28 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/guardian/recorded_tool_call.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb5df7da61f492282997b6afd7818364b1b288ec6528955b49f7d3bd3e592b5"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core::realtime_conversation::handle_handoff_output (cyclomatic 28): codex_core::realtime_conversation::handle_handoff_output has cyclomatic complexity 28 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/realtime_conversation.rs"},"region":{"startLine":2648}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e379d112b344ecb91462970404e040a00fab8b04a5516826c4eb331e3a3a71"}},{"ruleId":"D1","level":"warning","message":{"text":"EventProcessorWithJsonOutput::collect_thread_events (cyclomatic 28): EventProcessorWithJsonOutput::collect_thread_events has cyclomatic complexity 28 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec/src/event_processor_with_jsonl_output.rs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6f1d12a57ec5353020149c26628909131383df63d11f176d9df5cf13767f1d"}},{"ruleId":"D1","level":"warning","message":{"text":"SandboxManager::transform (cyclomatic 28): SandboxManager::transform has cyclomatic complexity 28 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/sandboxing/src/manager.rs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9cde0d240269f34ac03078275ddd65e6e3a93547d2a8500170d7a2e43bdb790"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_state::runtime::threads::push_thread_filters_with_preview (cyclomatic 28): codex_state::runtime::threads::push_thread_filters_with_preview has cyclomatic complexity 28 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/state/src/runtime/threads.rs"},"region":{"startLine":1563}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27da88468ff49bc7936e28e30f9a6bf18cd1e0a049c20770c167487ee84a390"}},{"ruleId":"D1","level":"warning","message":{"text":"ThreadMetadataSync::observe_items_with_update (cyclomatic 28): ThreadMetadataSync::observe_items_with_update 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":"codex-rs/thread-store/src/thread_metadata_sync.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed334e97543ea7df93ec06d755775cd747fdf11c1df8df40634ec4f7785e5227"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tools::json_schema::sanitize_json_schema (cyclomatic 28): codex_tools::json_schema::sanitize_json_schema 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":"codex-rs/tools/src/json_schema.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"8801d2ff2bd0787858c98a609aba778df7370c3a7627b561c1680fb54256c090"}},{"ruleId":"D1","level":"warning","message":{"text":"AnalyticsView::summary_lines (cyclomatic 28): AnalyticsView::summary_lines 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":"codex-rs/tui/src/analytics/summary_panel.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba14493c5e43e27d6d6e8ca581604d7ebfd041f85d5a4efac7c030b679e44c50"}},{"ruleId":"D1","level":"warning","message":{"text":"App::commit_thread_selection (cyclomatic 28): App::commit_thread_selection has cyclomatic complexity 28 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/session_lifecycle.rs"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2efc3fdfcddc6e16d061f4204156f39416cc0dbe45dfcb8d4a01746f336a96"}},{"ruleId":"D1","level":"warning","message":{"text":"McpServerElicitationOverlay::handle_key_event (cyclomatic 28): McpServerElicitationOverlay::handle_key_event 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":"codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs"},"region":{"startLine":1519}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa99ca31ff36a938f3f18e9287fb27660a293385eaacfc16194adc02cd1c6eae"}},{"ruleId":"D1","level":"warning","message":{"text":"TranscriptView::handle_disclosure_key (cyclomatic 28): TranscriptView::handle_disclosure_key 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":"codex-rs/tui/src/transcript_view/disclosure.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"6037bd1cdfe3681d257e6253c11c3abd42bc945f7d80060b17ed27e035de8616"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::debug_config::render_debug_config_lines (cyclomatic 28): codex_tui::debug_config::render_debug_config_lines has cyclomatic complexity 28 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/debug_config.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"42df107181b0e25183a9278847e140746d61309d727c26ffb65ab3e84742f502"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::history_cell::mcp::new_mcp_tools_output_from_statuses (cyclomatic 28): codex_tui::history_cell::mcp::new_mcp_tools_output_from_statuses 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":"codex-rs/tui/src/history_cell/mcp.rs"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"8892196f7832d298c2dbd84af84e70ff8f7cc3c7a32e43e114e3967e3a5bd3ea"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::history_cell::spoken_artifacts::annotate_spoken_artifacts (cyclomatic 28): codex_tui::history_cell::spoken_artifacts::annotate_spoken_artifacts 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":"codex-rs/tui/src/history_cell/spoken_artifacts.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba1bf79eb310da746c5173f2b5ac3920f39114d8153c79be6afa405c5e86aa5"}},{"ruleId":"D1","level":"warning","message":{"text":"server.validate_modern_http_headers (cyclomatic 28): server.validate_modern_http_headers 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":"scripts/mcp_conformance/server.py"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a32d6e0b0b8a450987ba18b7f67c6c3b52dd371c9d5687de02f193451373d4"}},{"ruleId":"D1","level":"warning","message":{"text":"CommandExecRequestProcessor::exec_one_off_command_inner (cyclomatic 27): CommandExecRequestProcessor::exec_one_off_command_inner has cyclomatic complexity 27 (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":"codex-rs/app-server/src/request_processors/command_exec_processor.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdfe20f8dabcca4ac5220aee0d496da12bc6803a66e8fe5738ed10701ebfa4ce"}},{"ruleId":"D1","level":"warning","message":{"text":"SampleTask::run (cyclomatic 27): SampleTask::run has cyclomatic complexity 27 (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":"codex-rs/app-server/src/thread_sample.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a252ae2d3f0991bd74f1a77f68865af7dbf82710e09b5dc33bda1be5359538"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_app_server_daemon::update_loop::run_with_http (cyclomatic 27): codex_app_server_daemon::update_loop::run_with_http has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-daemon/src/update_loop.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99ee491d41d60d140d798565680a1c4839f99ea26ce510579d6e20f5af38964"}},{"ruleId":"D1","level":"warning","message":{"text":"ConnectionDriver::complete_request (cyclomatic 27): ConnectionDriver::complete_request has cyclomatic complexity 27 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/code-mode/src/remote_session/connection/driver/responses.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"542389b2ec60eebd2f44352c17a403e471131317ea8eb43fb47b2e116047cd7d"}},{"ruleId":"D1","level":"warning","message":{"text":"RequestPluginInstallHandler::handle_call (cyclomatic 27): RequestPluginInstallHandler::handle_call has cyclomatic complexity 27 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/handlers/request_plugin_install.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b11985b35bf8dde4ab5447d68edb815ae6fad3bf813f4f973e3e431c12e7d47"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalProcess::start_process (cyclomatic 27): LocalProcess::start_process has cyclomatic complexity 27 (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":"codex-rs/exec-server/src/local_process.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5f6a5bd4a8a147d733e41c43fbcb7b377fc734f2850b139edf009d8dab0a85"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_exec_server::capability_discovery::discover_root (cyclomatic 27): codex_exec_server::capability_discovery::discover_root has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/capability_discovery.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b7dde40a54f32b3d7829061996655f0c1f76c312c4cb393a33bd4f7e25b9df"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_guardian_reviewer::completion::complete_review (cyclomatic 27): codex_guardian_reviewer::completion::complete_review has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/guardian-reviewer/src/completion.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca6ccbe4746df2106e292850429b9adaeccb500e5540538c5ce42b520f9b6dc"}},{"ruleId":"D1","level":"warning","message":{"text":"GuardianApprovalReviewer::decide_request (cyclomatic 27): GuardianApprovalReviewer::decide_request has cyclomatic complexity 27 (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":"codex-rs/ext/guardian-v2/src/async_scorer/approval.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"8476d245e4c68537861c9d1788c4d45956adb7978a5a660b3037e9429600aa69"}},{"ruleId":"D1","level":"warning","message":{"text":"QueuedItemService::watch_external_messages (cyclomatic 27): QueuedItemService::watch_external_messages has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/queue/src/service.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"18aafcb7532f0d16a13d3a606833491e6bac9dc32260ddc611cd4005da27b904"}},{"ruleId":"D1","level":"warning","message":{"text":"ComposedContext::enforce_budget (cyclomatic 27): ComposedContext::enforce_budget has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/guardian-context/src/enforcement.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8a6e35047e1b3e8d7017dd6da3dd6025925b1bbfc66347b58f31407c9b6ff7"}},{"ruleId":"D1","level":"warning","message":{"text":"CredentialBroker::configure (cyclomatic 27): CredentialBroker::configure has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/credential_broker.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"72632ce118e704e2d6df895d316952d8b1f50753c9dfcc36bd5fdd340048bd6c"}},{"ruleId":"D1","level":"warning","message":{"text":"OAuthHttpClientAdapter::execute_request (cyclomatic 27): OAuthHttpClientAdapter::execute_request has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/oauth_http_client.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"edea4366abc2c4f3fb4d8f36a80ef5e3f31cda3f739c6392bac8766e547be1d8"}},{"ruleId":"D1","level":"warning","message":{"text":"App::run_agents_overview_action (cyclomatic 27): App::run_agents_overview_action has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/agents_overview_actions.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"3532908bd78612d98abe35add349b71487c776a2454404bdeae5f000eb835f1d"}},{"ruleId":"D1","level":"warning","message":{"text":"App::track_agents_overview_notification (cyclomatic 27): App::track_agents_overview_notification has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/agents_overview_threads.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"29caec64bfa951d7bd6f4d0e023fa17dd49a3f5291c31fe7e9cbeab25956356d"}},{"ruleId":"D1","level":"warning","message":{"text":"ListSelectionView::render (cyclomatic 27): ListSelectionView::render has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/list_selection_view.rs"},"region":{"startLine":1617}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed4cc92c21ba8e11a94208bf90338e3741f99f7371248d42ec386c9deaeb445"}},{"ruleId":"D1","level":"warning","message":{"text":"KeymapContextSet::contains_action (cyclomatic 27): KeymapContextSet::contains_action has cyclomatic complexity 27 (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":"codex-rs/tui/src/keymap/chords.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2ae806448d240bb70a9287e6fce99176d846b7ff7fcd9a442d6d6cce60ab75"}},{"ruleId":"D1","level":"warning","message":{"text":"TurnDetails::index_turn (cyclomatic 27): TurnDetails::index_turn has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/transcript_view/turn_details.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"050a006f34e49fb3883359edfefb0560e3beeda45ec1c96ececf81c41e7b2963"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::bottom_pane::textarea::wrapping::wrapped_lines (cyclomatic 27): codex_tui::bottom_pane::textarea::wrapping::wrapped_lines has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/textarea/wrapping.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"afdc42f03f9191b87b817e277013f4bf593b603dc159c0eb3b595aea57ffb1be"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::chatwidget::safety_recourse::metadata::parse (cyclomatic 27): codex_tui::chatwidget::safety_recourse::metadata::parse has cyclomatic complexity 27 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/safety_recourse/metadata.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ac897b83b8cf703d78e338193229df29fe777455c1dea2c0c6f1f4e4859dc6"}},{"ruleId":"D1","level":"warning","message":{"text":"review_regressions.main (cyclomatic 27): review_regressions.main has cyclomatic complexity 27 (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":"scripts/mcp_conformance/review_regressions.py"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"138b27db76d2ac5f1c5e55d2a1815f488ec1668eb574e7dcefbf85a48564469d"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_app_server::mcp_refresh::reload_mcp_config_with_policy (cyclomatic 26): codex_app_server::mcp_refresh::reload_mcp_config_with_policy 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":"codex-rs/app-server/src/mcp_refresh.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0eb7cbb27be3c906fcb3413a518523a0e1a90cb9d8ffd1ea7e576a173ad78a"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_cli::doctor::stored_auth_issues (cyclomatic 26): codex_cli::doctor::stored_auth_issues 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":"codex-rs/cli/src/doctor.rs"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba0778aeaea164412fb2ad971067238608140dfa21a963cf4c7a46f9e40219c"}},{"ruleId":"D1","level":"warning","message":{"text":"McpCatalogBuilder::build (cyclomatic 26): McpCatalogBuilder::build 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":"codex-rs/codex-mcp/src/catalog.rs"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"5caaf7afb6c8275dc19e0bc32bdb8e3f8382bd2e982c535bd06b949ff9f72966"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelClientSession::stream_responses_websocket (cyclomatic 26): ModelClientSession::stream_responses_websocket 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":"codex-rs/core/src/client.rs"},"region":{"startLine":2186}}}],"partialFingerprints":{"codehealthFindingId/v1":"52440d3d4164b00d440469747a736c6fbae91828c7b32f68d72e2ec888d8026a"}},{"ruleId":"D1","level":"warning","message":{"text":"UnifiedExecProcessManager::write_stdin_inner (cyclomatic 26): UnifiedExecProcessManager::write_stdin_inner 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":"codex-rs/core/src/unified_exec/process_manager.rs"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"060c03b28f428d2fae1be794b959354e49bb207a4075a92d3fe52c9877eb6367"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core::context_manager::media_availability::replace_unresolvable_media_files (cyclomatic 26): codex_core::context_manager::media_availability::replace_unresolvable_media_files 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":"codex-rs/core/src/context_manager/media_availability.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5183965c781a59b47a020172309180fdbec3be7e3482352768cc934743d0adb"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core::guardian::input_budget::finalize (cyclomatic 26): codex_core::guardian::input_budget::finalize has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/guardian/input_budget.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd81dd1974c0cf0236c29cd103f2b0b546c6a9ee634feef623cf1c3c7add7a02"}},{"ruleId":"D1","level":"warning","message":{"text":"ExternalAgentConfigService::detect_migrations (cyclomatic 26): ExternalAgentConfigService::detect_migrations 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":"codex-rs/external-agent-migration/src/detect/mod.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26b718d4a60652ca5138e51a59167c8d2a603d6f451aaa9e4d89de089d9edb3"}},{"ruleId":"D1","level":"warning","message":{"text":"Features::apply_map (cyclomatic 26): Features::apply_map has cyclomatic complexity 26 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/features/src/lib.rs"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ab4a342844a23ae7ffc2d9fd10e7873546495cb5e3bd300fee613653c65dc9"}},{"ruleId":"D1","level":"warning","message":{"text":"BoardTool::execute (cyclomatic 26): BoardTool::execute has cyclomatic complexity 26 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/message-board/src/tools.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d96e7c48469c2dc55d0306ca96fbb61f867711e02f3c7ad3d99fc6593bfc2f9"}},{"ruleId":"D1","level":"warning","message":{"text":"FileSystemSandboxPolicy::to_legacy_sandbox_policy_with_projection (cyclomatic 26): FileSystemSandboxPolicy::to_legacy_sandbox_policy_with_projection 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":"codex-rs/protocol/src/permissions.rs"},"region":{"startLine":1888}}}],"partialFingerprints":{"codehealthFindingId/v1":"6201b7dea9acee43480b27ffd9cfdab1071ee5ecd50b4afccacc55d7dbcf2c85"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_sandboxing::seatbelt::seatbelt_regex_for_glob (cyclomatic 26): codex_sandboxing::seatbelt::seatbelt_regex_for_glob 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":"codex-rs/sandboxing/src/seatbelt.rs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c60528bdade5f339d70c604a50223bc156474271d7bd5e22805d44d96d0062"}},{"ruleId":"D1","level":"warning","message":{"text":"AnalyticsView::chat_lines (cyclomatic 26): AnalyticsView::chat_lines 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":"codex-rs/tui/src/analytics/chat_panel.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c462ad30e34724f763fd47b37995b5168f8bf8670e5255fc1c18e4fba69e836"}},{"ruleId":"D1","level":"warning","message":{"text":"ThreadEventStore::snapshot (cyclomatic 26): ThreadEventStore::snapshot has cyclomatic complexity 26 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/thread_events.rs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"6996bb8b213e2e02088d8a23ad748d54b1697facfb8193e64bd01099b961d4cc"}},{"ruleId":"D1","level":"warning","message":{"text":"App::retain_inactive_realtime_transcript (cyclomatic 26): App::retain_inactive_realtime_transcript 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":"codex-rs/tui/src/app/realtime_delivery.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d225cd7bdc7c36f0cce02f2742878e551d01bc255e6316ab1a7606694b50b7"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::handle_permission_shortcut (cyclomatic 26): ChatWidget::handle_permission_shortcut 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":"codex-rs/tui/src/chatwidget/permission_shortcuts.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f6bf7aa74c437b28190f2227cb3aff89a3aff006bd9c6106d7ec3515c76f3d"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::replay_thread_turns (cyclomatic 26): ChatWidget::replay_thread_turns 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":"codex-rs/tui/src/chatwidget/replay.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"62171f02d9ad46817b6d7d5cc78135e628040a053580f8166d24f288b1949c6b"}},{"ruleId":"D1","level":"warning","message":{"text":"Writer::start_tag (cyclomatic 26): Writer::start_tag has cyclomatic complexity 26 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/markdown_render.rs"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"3463d04830d5d0a0adc6d12f32c869b08b52eaa16a87cf4f047952bc9a4240ae"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::diff_render::render_change_with_preview (cyclomatic 26): codex_tui::diff_render::render_change_with_preview 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":"codex-rs/tui/src/diff_render.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"9288f68484de6f18098850135f18c4a407f01ab878fcca714b469f0b9b008e84"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::dynamic_tools::turn_summary (cyclomatic 26): codex_tui::dynamic_tools::turn_summary has cyclomatic complexity 26 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/dynamic_tools.rs"},"region":{"startLine":1383}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2295b85a12dd86db40ae9a210354310dcfbc00cc8e18d764f4905fec9bb83d"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::named_session_lookup::lookup (cyclomatic 26): codex_tui::named_session_lookup::lookup 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":"codex-rs/tui/src/named_session_lookup.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cde1a6e0ba100204006fd349925c5868c329bb910af4a6a290c0e663682033d"}},{"ruleId":"D1","level":"warning","message":{"text":"review_regressions._run_catalog_boundary_checks (cyclomatic 26): review_regressions._run_catalog_boundary_checks has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mcp_conformance/review_regressions.py"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2726ad5af3f9b397e7b33623e6b0e7899bbcd6b27768728525ac3922bb344e4"}},{"ruleId":"D1","level":"warning","message":{"text":"AppsRequestProcessor::apps_list_response (cyclomatic 25): AppsRequestProcessor::apps_list_response has cyclomatic complexity 25 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/apps_processor.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"9494755d794b1ba06686cdfc7f6738e3d101f4dff4217ec26ecf6d14ff5706bf"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_app_server::request_processors::thread_processor::collect_resume_override_mismatches (cyclomatic 25): codex_app_server::request_processors::thread_processor::collect_resume_override_mismatches has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76494f9806645008ba89472da4a9271ecb5826a69dd75115b44d65a5fa25f68"}},{"ruleId":"D1","level":"warning","message":{"text":"Requests::handle (cyclomatic 25): Requests::handle has cyclomatic complexity 25 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-client/src/cloud_backend/requests.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d074047a40b57c3f1f97028dc2a9adb5b479ec79c75bd2a56c4314df728b7d4c"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_app_server_daemon::update_loop::update_once (cyclomatic 25): codex_app_server_daemon::update_loop::update_once 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":"codex-rs/app-server-daemon/src/update_loop.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"0692df6d83208dd4a4040956ade615b1cbe5f1c04f2ffe0d02c60f48853aaa34"}},{"ruleId":"D1","level":"warning","message":{"text":"Session::refresh_config (cyclomatic 25): Session::refresh_config 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":"codex-rs/core/src/session/config_refresh.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"97bc40885b41aa60e777dc72e0384e1f650045550bc80201fd6a96aef6a1f807"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core::compact_remote_v2::select_retained_items (cyclomatic 25): codex_core::compact_remote_v2::select_retained_items 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":"codex-rs/core/src/compact_remote_v2.rs"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"9acc67e5e2f421972748920d84ef9d18750033385ad9b1bba2df459cbb70d3ba"}},{"ruleId":"D1","level":"warning","message":{"text":"RemotePluginMeasurementCache::prepare (cyclomatic 25): RemotePluginMeasurementCache::prepare has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/plugin_measurement_references.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0564442b8b2bf2f4b144f6eef55c9f691861d71e73dc782c0438966a0e48725"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_exec::resolve_resume_thread_id (cyclomatic 25): codex_exec::resolve_resume_thread_id 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":"codex-rs/exec/src/lib.rs"},"region":{"startLine":1993}}}],"partialFingerprints":{"codehealthFindingId/v1":"04807d83d7b1331836754a4479bd176e093f8b27b61a275ebad4822544090ae7"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_external_agent_migration::detect::sessions::cur::decode_cur_project_path (cyclomatic 25): codex_external_agent_migration::detect::sessions::cur::decode_cur_project_path 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":"codex-rs/external-agent-migration/src/detect/sessions/cur.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef28ed6ab7f3acc70f930987a0d5b3ee5b15bd6d7f24db9f8df6901f59cd9e3"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_guardian_context::preparation::root::prepare_root_context (cyclomatic 25): codex_guardian_context::preparation::root::prepare_root_context 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":"codex-rs/guardian-context/src/preparation/root.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70b696f12d58af105c03acd519caf1ef4cb25d7ae3b0b8f3576e679268bc141"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_linux_sandbox::daemon_mounts::check_mounts (cyclomatic 25): codex_linux_sandbox::daemon_mounts::check_mounts 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":"codex-rs/linux-sandbox/src/daemon_mounts.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e25edc38e057bcd5e85905e839126f62989c81774afcc277b0d5bebb6484e1"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_mermaid::syntax::statements (cyclomatic 25): codex_mermaid::syntax::statements has cyclomatic complexity 25 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/mermaid/src/syntax.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b976a20cd8b7663411e7d1d6303b89d3df4e769c47b36f308579334eef51e6"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_network_proxy::credential_broker::matching::known_credential_matches (cyclomatic 25): codex_network_proxy::credential_broker::matching::known_credential_matches has cyclomatic complexity 25 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/credential_broker/matching.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b323475dab56b08add6237d33ccaa1775c04716eb99111f879314c96bb46cd0"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_network_proxy::socks5::handle_socks5_tcp (cyclomatic 25): codex_network_proxy::socks5::handle_socks5_tcp has cyclomatic complexity 25 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/socks5.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4cdbe09d7feb01a24f5b5bcae97f15140d8138400a52f26407d6d432f449fe"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_shell_command::parse_command::parse_shell_script (cyclomatic 25): codex_shell_command::parse_command::parse_shell_script 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":"codex-rs/shell-command/src/parse_command.rs"},"region":{"startLine":1997}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81ebd43c0865f7cfdec78cf77d7e50d205279e52378ee13130e007563f17cbc"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_thread_store::local::thread_history_materialization::read_projection_batches (cyclomatic 25): codex_thread_store::local::thread_history_materialization::read_projection_batches 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":"codex-rs/thread-store/src/local/thread_history_materialization.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"7790374733cacf0f955aa011dd7b71277acfb08622b24b1e0215e0a4e6e448cd"}},{"ruleId":"D1","level":"warning","message":{"text":"AppServerSession::submit_user_message (cyclomatic 25): AppServerSession::submit_user_message 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":"codex-rs/tui/src/app_server_session/user_message_submission.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"a455d683fb5ffc689829b60eedc4356310805fbbccef9f7985003bfe8fc9f1a6"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::handle_turn_completed_notification (cyclomatic 25): ChatWidget::handle_turn_completed_notification 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":"codex-rs/tui/src/chatwidget/protocol.rs"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71a85f4586a3488c4d9b4726a6f4b4d524e63c7ff806f0e93c2d3e384d9a6ff"}},{"ruleId":"D1","level":"warning","message":{"text":"ProtocolServer._call_tool (cyclomatic 25): ProtocolServer._call_tool has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mcp_conformance/server.py"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"414c33f2f4d9dbdeddd94e3b3c05f9db925bab8957c2ce90163c687842591c7d"}},{"ruleId":"D1","level":"warning","message":{"text":"sign_macos_cli_package.main (cyclomatic 25): sign_macos_cli_package.main 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":".github/scripts/macos-signing/sign_macos_cli_package.py"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"995f003def72ac8f87875b7741f9d51fc5e311035975a88175f900ed94d85f5c"}},{"ruleId":"D1","level":"warning","message":{"text":"ThreadRequestProcessor::thread_list_response_inner (cyclomatic 24): ThreadRequestProcessor::thread_list_response_inner has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":2753}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeafbbd109ae1fd591020af3d609eadce371bcc026327df5ab08ac12db7b0862"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_app_server::request_processors::thread_processor::validate_dynamic_tools (cyclomatic 24): codex_app_server::request_processors::thread_processor::validate_dynamic_tools has cyclomatic complexity 24 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 12 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":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2914776d6d51626e4bf7ae53d294bb7feeccd86ad56e1af943287c5bdfd4a56"}},{"ruleId":"D1","level":"warning","message":{"text":"HeadTailOutput::trim (cyclomatic 24): HeadTailOutput::trim 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":"codex-rs/code-mode-runtime/src/output/output_collection.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3853f6fee8ea52c0e284167f64626ffb3f19b5779d6816fcb5c159e89bef3d1"}},{"ruleId":"D1","level":"warning","message":{"text":"Session::capture_step_context_inner (cyclomatic 24): Session::capture_step_context_inner has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":4340}}}],"partialFingerprints":{"codehealthFindingId/v1":"59fe19d666b11679d7e421238ccf95231a9bb1565d744be2aeba683efa88e43c"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolCallRuntime::handle_tool_call_with_source (cyclomatic 24): ToolCallRuntime::handle_tool_call_with_source has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/parallel.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"478debba0935c9c5de3f5869a61b9875c84a17c7647889bfc902925cbd73be94"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core::realtime_context::build_current_thread_section (cyclomatic 24): codex_core::realtime_context::build_current_thread_section 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":"codex-rs/core/src/realtime_context.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11099c921f06d61fe1af048b1f806258c2c1a1367b0f66c1bb426e31068a015"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core::realtime_conversation::handle_realtime_server_event (cyclomatic 24): codex_core::realtime_conversation::handle_realtime_server_event has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/realtime_conversation.rs"},"region":{"startLine":2864}}}],"partialFingerprints":{"codehealthFindingId/v1":"60da24824488598f4e781a5579f8c73c7f4c15e212aa90e9c285f4a8603aab61"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_exec_server::relay::harness_connection_from_websocket (cyclomatic 24): codex_exec_server::relay::harness_connection_from_websocket has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/relay.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5bb09026c39ea5824ce0590bab719131c4915062db1e5b647ed18047c63c25"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecServerCommand::run (cyclomatic 24): ExecServerCommand::run 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":"codex-rs/exec-server-cli/src/command.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57565d7815961ab9603276fb8fee88a380e9694625ac3a4c3dd5728ce6a384a"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillsExtension::contribute (cyclomatic 24): SkillsExtension::contribute 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":"codex-rs/ext/skills/src/extension.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ed0b824e3bc7386f37d176d9690b356532456535f88a39ecc235c5f6a7132a"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_skills_extension::host_roots::repo_agents_skill_roots (cyclomatic 24): codex_skills_extension::host_roots::repo_agents_skill_roots 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":"codex-rs/ext/skills/src/host_roots.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea99f1bc9e19f70df6c70b55ff8ff04273e726bd7d9b1b2fb1fd8c9bd731aa19"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_hooks::events::stop::parse_completed (cyclomatic 24): codex_hooks::events::stop::parse_completed 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":"codex-rs/hooks/src/events/stop.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ba95df4b1951cb9407203918c55b3d9c68d52f6e73645f719a01a77464a44a"}},{"ruleId":"D1","level":"warning","message":{"text":"RolloutRecorder::list_threads_with_db_fallback (cyclomatic 24): RolloutRecorder::list_threads_with_db_fallback 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":"codex-rs/rollout/src/recorder.rs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3fd0be6365b5ba40a62ad93f6a5bd21ad0cd4c50b14abcc1c6da1dcb60ea91"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_shell_command::parse_command::is_small_formatting_command (cyclomatic 24): codex_shell_command::parse_command::is_small_formatting_command has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/shell-command/src/parse_command.rs"},"region":{"startLine":2128}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b700608e30273c18c481c2be6c2bec1095eb223552a84c533a814ce4a604e4"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_thread_store::local::thread_history::segment_paging::page_item_rows (cyclomatic 24): codex_thread_store::local::thread_history::segment_paging::page_item_rows 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":"codex-rs/thread-store/src/local/thread_history/segment_paging.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"1501ca0019eb457ea82c4d852e5e9403b2caa7c07522f4fab27412b2179c88c6"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::handle_item_started_notification (cyclomatic 24): ChatWidget::handle_item_started_notification has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/protocol.rs"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b31c1400fef3056476e918d32a6e623423b7bba36e8e8e822252ecaa4ccc7b"}},{"ruleId":"D1","level":"warning","message":{"text":"ManagedWorktreeTools::execute_inner (cyclomatic 24): ManagedWorktreeTools::execute_inner 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":"codex-rs/tui/src/managed_worktree_tools.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf954d92d6235118ff766d18b7b1ee53322e231b4d47ba135cc022ede15f15a"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::keymap_setup::key_parts_to_config_key_spec (cyclomatic 24): codex_tui::keymap_setup::key_parts_to_config_key_spec has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/keymap_setup.rs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"d448d73f4c94a3eada21cdc08c70958e76e8d7ad9def8a23b24d0b5f1a8cd55f"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::terminal_hyperlinks::trailing_url_end (cyclomatic 24): codex_tui::terminal_hyperlinks::trailing_url_end has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/terminal_hyperlinks.rs"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"1066fac3f20c218d41be980070fb3185434e6da7a8cb93086500ff354f7c2c01"}},{"ruleId":"D1","level":"warning","message":{"text":"CaptureWorker::service (cyclomatic 24): CaptureWorker::service 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":"codex-rs/voice-host/src/capture_worker.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9eee668561d7f20ed672a7054c19cef64d89588bca297c8cba197bee1a8b7b"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_windows_sandbox::bin::command_runner::win::main (cyclomatic 24): codex_windows_sandbox::bin::command_runner::win::main has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-rs/src/bin/command_runner/win.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5dc7091b0493caa56112eb5b118d03681b98480d7ca7c3da12a35d1dc88de6f"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_conformance_adapter._exercise_auth_scenario (cyclomatic 24): codex_conformance_adapter._exercise_auth_scenario 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":"scripts/mcp_conformance/codex_conformance_adapter.py"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"a04ab0822cc651d6c8ee58664cb2979cd814fd1b5c5889fedcc943720da0bda6"}},{"ruleId":"D1","level":"warning","message":{"text":"ExternalAgentSessionImporter::persist_session (cyclomatic 23): ExternalAgentSessionImporter::persist_session has cyclomatic complexity 23 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/external_agent_migration/session_importer.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58e5306b771cd55e1b8961bf7fdc618e896d80a4579f7b0945a0427187dbb1a"}},{"ruleId":"D1","level":"warning","message":{"text":"InitializeRequestProcessor::initialize (cyclomatic 23): InitializeRequestProcessor::initialize has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/initialize_processor.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f196d160ec5f2c809df6944fb4ec366006a752d8ae16bd6e8dd3bb42a70e40fc"}},{"ruleId":"D1","level":"warning","message":{"text":"ScanState::observe (cyclomatic 23): ScanState::observe 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":"codex-rs/app-server-protocol/src/export.rs"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"d870dafd1c9b13fd55dd1cc3d950946846bbd583a07dde09396a518bf4ed8e71"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteControlWebsocket::run_server_writer_inner (cyclomatic 23): RemoteControlWebsocket::run_server_writer_inner 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":"codex-rs/app-server-transport/src/transport/remote_control/websocket.rs"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bef62d7ebbc51ff3592ad750ba58f090c8e667ca35db5138a83f13255215c1e"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_apply_patch::seek_sequence::seek_sequence (cyclomatic 23): codex_apply_patch::seek_sequence::seek_sequence has cyclomatic complexity 23 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/apply-patch/src/seek_sequence.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0c7d06d35a56925f309c6d163d30c9dc9ef1560bf94ac38c54909adcb52601"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfigDocument::set_skill_config (cyclomatic 23): ConfigDocument::set_skill_config 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":"codex-rs/core/src/config/edit.rs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"16bea4d654dae6e2a3c37651bf273e6b429d1d605cdb99c9dde92bfc2c94c056"}},{"ruleId":"D1","level":"warning","message":{"text":"Config::resolve_runtime_refresh (cyclomatic 23): Config::resolve_runtime_refresh 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":"codex-rs/core/src/config/runtime_refresh.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f125df7ee1d060196b303addd349dea82538bb5e89ef440a8c1e57a3693206"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core::realtime_conversation::build_realtime_session_config (cyclomatic 23): codex_core::realtime_conversation::build_realtime_session_config has cyclomatic complexity 23 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/realtime_conversation.rs"},"region":{"startLine":1692}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d69d9d13e6a273f42777380ea61575cd5285685f386086a61417d085e2a00b4"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionState::recover_events (cyclomatic 23): SessionState::recover_events has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/client_recovery.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"01144d3845081342bf11eb26c1378c58957d5c9874c415eb7fe9162603f25989"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_exec_server::server::missing_watch::watch_missing (cyclomatic 23): codex_exec_server::server::missing_watch::watch_missing has cyclomatic complexity 23 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/server/missing_watch.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec3c81e5dbbaa3d26d0fff48a89eb38b51c7a04900e993e601079b74f8a8029"}},{"ruleId":"D1","level":"warning","message":{"text":"CodexAuth::from_auth_dot_json (cyclomatic 23): CodexAuth::from_auth_dot_json 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":"codex-rs/login/src/auth/manager.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a80fce4c66651b02ad62fa0cb31a9bb1c9b5e87204ec4e6660834668a2c1549"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_network_proxy::credential_broker::registry::select_credentials (cyclomatic 23): codex_network_proxy::credential_broker::registry::select_credentials 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":"codex-rs/network-proxy/src/credential_broker/registry.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"44bde5b3c83b3711bc935946c30b2762c1a2324a4c63e2a747285dde9b9550fd"}},{"ruleId":"D1","level":"warning","message":{"text":"CapturedSnapshot::parse (cyclomatic 23): CapturedSnapshot::parse 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":"codex-rs/shell-command/src/shell_snapshot_capture.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3e563b235b13f1725869838ac7c866818330bf28f2cb040ad395f13397a2d5"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_thread_store::local::search_threads::search_threads (cyclomatic 23): codex_thread_store::local::search_threads::search_threads 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":"codex-rs/thread-store/src/local/search_threads.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f975bce03283582834c445df06fc8e58b6b574ea3a2d327aeb04d21081cf19"}},{"ruleId":"D1","level":"warning","message":{"text":"AnalyticsView::render_controls (cyclomatic 23): AnalyticsView::render_controls 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":"codex-rs/tui/src/analytics/controls.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9fbc92e23399bd4413a835d19bb662b753e8bad6baf0f898227aa02aec97e1"}},{"ruleId":"D1","level":"warning","message":{"text":"App::continue_misalignment (cyclomatic 23): App::continue_misalignment 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":"codex-rs/tui/src/app/misalignment_policy.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f682256c7bf319a8f8f19fc2763b0a4a2fd426dcb950f92794a7e14df1ff1c6"}},{"ruleId":"D1","level":"warning","message":{"text":"AppServerSession::fork_thread_at_with_presentation (cyclomatic 23): AppServerSession::fork_thread_at_with_presentation has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app_server_session.rs"},"region":{"startLine":1423}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b332098aa90383c9d3826b12dfe20894d01a756a660fe5211bd1b105d75732"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatComposer::passive_hints (cyclomatic 23): ChatComposer::passive_hints has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/chat_composer/passive_hints.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c74db5c603fd2012ff837844a5c62f169194e438114385229124289416adc29"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::on_realtime_transcript_delta (cyclomatic 23): ChatWidget::on_realtime_transcript_delta has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/realtime.rs"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d70c7a6132b23770ad6ad3171bc57f2e792cc60f240610751d2034a00ad72df"}},{"ruleId":"D1","level":"warning","message":{"text":"review_regressions._run_normal_review_checks (cyclomatic 23): review_regressions._run_normal_review_checks has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mcp_conformance/review_regressions.py"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c452a3b6c66de9cf69284d9ef31ef7897f5f43141d8c3f75130cb53388d491d"}},{"ruleId":"D1","level":"warning","message":{"text":"resolve_python_cli_release.resolve_release (cyclomatic 23): resolve_python_cli_release.resolve_release has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/resolve_python_cli_release.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1885a6ed32fe8318ba81abbf3130f89b18ee81492b2b3fa63449d097f209c86"}},{"ruleId":"D1","level":"warning","message":{"text":"verify_cargo_workspace_manifests.manifest_errors (cyclomatic 23): verify_cargo_workspace_manifests.manifest_errors 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":".github/scripts/verify_cargo_workspace_manifests.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e192a619e70c0933891c15bd5e2d9c49bf8968c5c591075e2697564aaaac53"}},{"ruleId":"D1","level":"warning","message":{"text":"AnalyticsReducer::ingest_server_request (cyclomatic 22): AnalyticsReducer::ingest_server_request 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":"codex-rs/analytics/src/reducer.rs"},"region":{"startLine":1768}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a52b18b2e8a2448dccb8f5926efb2ded437c9f3f8f2452fd6eebf1b17aadc7"}},{"ruleId":"D1","level":"warning","message":{"text":"ThreadRequestProcessor::thread_revert_response (cyclomatic 22): ThreadRequestProcessor::thread_revert_response 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":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":2262}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac39590cc88a7f7cfe315087d61355a4274c903e193c8045b2d332752d03f4dc"}},{"ruleId":"D1","level":"warning","message":{"text":"ClientSegmentReassembler::observe (cyclomatic 22): ClientSegmentReassembler::observe has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-transport/src/transport/remote_control/segment.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8f3e416474bf4579e54a5f30bdcd595f7d04dbcfb9a92bf94d54c0f646933c"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteControlWebsocket::connect (cyclomatic 22): RemoteControlWebsocket::connect 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":"codex-rs/app-server-transport/src/transport/remote_control/websocket.rs"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"59912aa138db67ebe1c65d10c076f8777b068beb7441f8f3e8336e0a372ea7c0"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_cli::mcp_cmd::run_get (cyclomatic 22): codex_cli::mcp_cmd::run_get has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/mcp_cmd.rs"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc1066b041bb70bd827c74ea08455fd312bad114335c78f2879864c77d2c048"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalAgentControl::maybe_start_completion_watcher (cyclomatic 22): LocalAgentControl::maybe_start_completion_watcher 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":"codex-rs/core/src/agent/control.rs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"170ee9b19e3282246986c18bf0ea78dec820f7fdd5f45c8a31dbb2476dc22cae"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelClient::build_responses_request (cyclomatic 22): ModelClient::build_responses_request 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":"codex-rs/core/src/client.rs"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c8fe5fdb13f72c67610e8f8582dda66dbbe856fc9daece972eb20dc94b2202"}},{"ruleId":"D1","level":"warning","message":{"text":"UnifiedExecProcessManager::exec_command_inner (cyclomatic 22): UnifiedExecProcessManager::exec_command_inner 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":"codex-rs/core/src/unified_exec/process_manager.rs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"1047b51294333e254f9857daab5c96ba609a67dea933c980c8aff169a89fd7cd"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core::realtime_conversation::sideband::spawn_webrtc_sideband_input_task (cyclomatic 22): codex_core::realtime_conversation::sideband::spawn_webrtc_sideband_input_task 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":"codex-rs/core/src/realtime_conversation/sideband.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"082bb7b38c4d2e7f405696ccaa8264bcda8351b31e6e35620a48356fe15bc11d"}},{"ruleId":"D1","level":"warning","message":{"text":"EventProcessorWithHumanOutput::render_item_completed (cyclomatic 22): EventProcessorWithHumanOutput::render_item_completed has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec/src/event_processor_with_human_output.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bdb55326c6166c96c6f74ddd7c24db80fbd559576666bcc658745a958a8ffce"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_external_agent_migration::hooks_cla::append_convertible_hook_groups_cla (cyclomatic 22): codex_external_agent_migration::hooks_cla::append_convertible_hook_groups_cla 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":"codex-rs/external-agent-migration/src/hooks_cla.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"9542cba45ee3bfbf1797d2109ba28bf7a0a19278a11fe1a2223b3fc44bc7806a"}},{"ruleId":"D1","level":"warning","message":{"text":"Discovery::handle_reply (cyclomatic 22): Discovery::handle_reply has cyclomatic complexity 22 (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":"codex-rs/rmcp-client/src/local_stdio_transport.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"094f51e38bbf2125ece3e534d7b359a1866584daaea229d3417737f7a73eedcb"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_thread_store::local::thread_history::realtime_stream::read_page (cyclomatic 22): codex_thread_store::local::thread_history::realtime_stream::read_page has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/thread_history/realtime_stream.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"20fa2ffab1d7037b1f791738416f63e401351b0c782319bdfc6311490d69bbeb"}},{"ruleId":"D1","level":"warning","message":{"text":"ThreadEventStore::push_notification_inner (cyclomatic 22): ThreadEventStore::push_notification_inner 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":"codex-rs/tui/src/app/thread_events.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ceafd80040b5719a95962c045be63cfa4f13b032db76a5b55eb9e716bb3b70a"}},{"ruleId":"D1","level":"warning","message":{"text":"App::handle_app_server_event (cyclomatic 22): App::handle_app_server_event 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":"codex-rs/tui/src/app/app_server_events.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7dd87d3d3c9f37045c3a13938bdb8685402e765288e915df60e9f849a20309"}},{"ruleId":"D1","level":"warning","message":{"text":"App::handle_startup_thread_started (cyclomatic 22): App::handle_startup_thread_started 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":"codex-rs/tui/src/app/session_lifecycle.rs"},"region":{"startLine":1085}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a5471b1ed4f021af2da8743981c5d97ffa12a176b81d27670961e6f11f901cb"}},{"ruleId":"D1","level":"warning","message":{"text":"App::overlay_forward_event (cyclomatic 22): App::overlay_forward_event 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":"codex-rs/tui/src/app_backtrack.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"a509fb1eed73539dfe33b198b75c77f7f267059d580d2f42fd0bf3e648c4a42c"}},{"ruleId":"D1","level":"warning","message":{"text":"AppLinkView::activate_selected_action (cyclomatic 22): AppLinkView::activate_selected_action has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/app_link_view.rs"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c711c19d0878393b06e13dd5eb79d6048ac7dcd8e5498b869fe4495e3ee313a"}},{"ruleId":"D1","level":"warning","message":{"text":"TextArea::input_with_keymap (cyclomatic 22): TextArea::input_with_keymap has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/textarea.rs"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93b37973adb99a8839c8d474bb4755c4785fbdd68c63a49d516dfaf93778994"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::handle_composer_input_result (cyclomatic 22): ChatWidget::handle_composer_input_result 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":"codex-rs/tui/src/chatwidget/input_flow.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e87ac8292f3ba09a7b3e91b316099c4978886b181c9b5238c947090b2ac26e"}},{"ruleId":"D1","level":"warning","message":{"text":"RuntimeKeymap::validate_conflicts (cyclomatic 22): RuntimeKeymap::validate_conflicts 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. This is NOT this file\u0027s highest cyclomatic complexity: codex_tui::keymap::parse_keybinding (cyclomatic 25) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/keymap.rs"},"region":{"startLine":2173}}}],"partialFingerprints":{"codehealthFindingId/v1":"15162e83bea15749b1898b38b45cadfb5a264cc1cbec0b401a47c4db8455d4a6"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::status::thread_usage::grouped_usage (cyclomatic 22): codex_tui::status::thread_usage::grouped_usage has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/status/thread_usage.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ce00bcc23146df6eef555ff8f57b1f0ec65f35472d552d96622bdd791b200c"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::thread_transcript::other_items::cells (cyclomatic 22): codex_tui::thread_transcript::other_items::cells has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/thread_transcript/other_items.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca8f3d726065a62b2d809b579499c90059427bf891d20b98d49ec7d35c619a8"}},{"ruleId":"D1","level":"warning","message":{"text":"_GoalStreamCursor.process (cyclomatic 22): _GoalStreamCursor.process 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":"sdk/python/src/openai_codex/_goal.py"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"1449a61a6fbd99e3c4ce9498bc7f6b3cafa8159cc377ee85a53e698913cdac7b"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_app_server::config_manager_service_provider_write::provider_edits (cyclomatic 21): codex_app_server::config_manager_service_provider_write::provider_edits 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":"codex-rs/app-server/src/config_manager_service_provider_write.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"074c67dcad3fe42bf1086f7f7fb3bea388a11011dc7c28ddfaa02918da6791c6"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_app_server_client::cloud_backend::advance_prepared_resume (cyclomatic 21): codex_app_server_client::cloud_backend::advance_prepared_resume 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":"codex-rs/app-server-client/src/cloud_backend/mod.rs"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04e4e1513117699aa22685476ed926ece7a3660b8895db07f3234066e3a695b"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteControlWebsocket::run_websocket_reader_inner (cyclomatic 21): RemoteControlWebsocket::run_websocket_reader_inner has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-transport/src/transport/remote_control/websocket.rs"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ed6acdc900fea6b376ebcbe2d4c6ff22a927ffab597ef4b879fee6ba8746f4"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_cloud_tasks::ui::draw_diff_overlay (cyclomatic 21): codex_cloud_tasks::ui::draw_diff_overlay 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":"codex-rs/cloud-tasks/src/ui.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"43754dab802e711394645f034f24d34cda70a866095967def922e3fc6aca3d7c"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_mcp::mcp::auth::compute_auth_status (cyclomatic 21): codex_mcp::mcp::auth::compute_auth_status 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":"codex-rs/codex-mcp/src/mcp/auth.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71393e0ec186e243628634ab50f842ee7f3d9566d0f9f8cb9d452f6e30831fa"}},{"ruleId":"D1","level":"warning","message":{"text":"ContextManager::restore_review_context (cyclomatic 21): ContextManager::restore_review_context has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/context_manager/history.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49eba1318c880b956e989b23b52b27d694905e39f4c036e4d4f5cb7ac72b18d"}},{"ruleId":"D1","level":"warning","message":{"text":"Session::record_initial_history (cyclomatic 21): Session::record_initial_history 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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":1771}}}],"partialFingerprints":{"codehealthFindingId/v1":"30fe88335128c5b68dff70cf19229e5633d4da7337271f953d946d1c43728600"}},{"ruleId":"D1","level":"warning","message":{"text":"Session::apply_turn_settings (cyclomatic 21): Session::apply_turn_settings has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/step_activation.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab2f446f359d6783e724bec91cbb109a485e64083756486a4ea3b7409aeeabe"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core::exec::consume_output (cyclomatic 21): codex_core::exec::consume_output has cyclomatic complexity 21 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, 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":"codex-rs/core/src/exec.rs"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec12737f98eca9c3a32efd3f03cc8f1b4390121a77a48446d6aab3726b9095f"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core::realtime_conversation::prepare_realtime_start (cyclomatic 21): codex_core::realtime_conversation::prepare_realtime_start 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":"codex-rs/core/src/realtime_conversation.rs"},"region":{"startLine":1472}}}],"partialFingerprints":{"codehealthFindingId/v1":"40710de6528acf515727c05f65e8c575af2fa517a6110d924bbf0568bf08f14c"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_exec_server::discoverV2::capability_discoveries::parse_root (cyclomatic 21): codex_exec_server::discoverV2::capability_discoveries::parse_root 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":"codex-rs/exec-server/src/discoverV2/capability_discoveries.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b5df45973dcdd48714974911b1d9b831f577a2607320c667d50f05216b6393"}},{"ruleId":"D1","level":"warning","message":{"text":"ReviewerPool::review (cyclomatic 21): ReviewerPool::review 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":"codex-rs/ext/guardian-reviewer/src/pool.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78af6a0e3dad82d314b5514939922dc506fa7573b36eac082b5afe253cd759a"}},{"ruleId":"D1","level":"warning","message":{"text":"PluginContributor::selected_plugins (cyclomatic 21): PluginContributor::selected_plugins 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":"codex-rs/ext/mcp/src/plugin.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"88899c0b55cb12b78c5476fb449ee06a0f15d13378374898faf007e7ac504bd8"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_external_agent_migration::detect::sessions::common::detect_recent_sessions (cyclomatic 21): codex_external_agent_migration::detect::sessions::common::detect_recent_sessions 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":"codex-rs/external-agent-migration/src/detect/sessions/common.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"212ded64c85723ef5e805f2ca0593ea0f1660de1bc6833d9e2a3553f4f5f87e2"}},{"ruleId":"D1","level":"warning","message":{"text":"TranscriptHistory::record (cyclomatic 21): TranscriptHistory::record 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":"codex-rs/guardian-context/src/history.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f90a7e8e83c12883e8a9a16878e413de04bc88439c26f9e5941b67c5dbf6f8"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelProviderInfo::validate (cyclomatic 21): ModelProviderInfo::validate 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":"codex-rs/model-provider-info/src/lib.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"97eb30adcd36b8c7740337d63962ecd5dbe773e481c15458f5cc44fe0fa87fd5"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_sandboxing::bwrap::find_executable_in_search_paths (cyclomatic 21): codex_sandboxing::bwrap::find_executable_in_search_paths has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/sandboxing/src/bwrap.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"97bbfc58954f3637b4bd9b6dff531d8198bea01385691a34477ddcd69aed0d2c"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_skills::parser::repair_frontmatter_scalar_fields (cyclomatic 21): codex_skills::parser::repair_frontmatter_scalar_fields 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":"codex-rs/skills/src/parser.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"28595b13e8d6135e7df5b5776828540964705d074c2c0a26c97b1ffa8d2914aa"}},{"ruleId":"D1","level":"warning","message":{"text":"AnalyticsView::dashboard_lines (cyclomatic 21): AnalyticsView::dashboard_lines 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":"codex-rs/tui/src/analytics/dashboard.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64a1ba0b21f7446775126d46f57e448cb4f174cf312627998ed98aaa64982fd"}},{"ruleId":"D1","level":"warning","message":{"text":"AnalyticsView::render (cyclomatic 21): AnalyticsView::render 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":"codex-rs/tui/src/analytics/render.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc34c5835005c5b09da72716aed37d69c878611c694bce321359c25027177baa"}},{"ruleId":"D1","level":"warning","message":{"text":"ProviderForm::layout (cyclomatic 21): ProviderForm::layout 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":"codex-rs/tui/src/app/provider/editor.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1a48f1e49916f061141e596af053c6d47935f395c9fd38861a7d0ead932591"}},{"ruleId":"D1","level":"warning","message":{"text":"App::install_thread_attachment (cyclomatic 21): App::install_thread_attachment 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":"codex-rs/tui/src/app/session_lifecycle.rs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"14bd32d294555477ed8e2ae337654e8c6577647dc0082ee3b5c4bf90fe5071db"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatComposer::sync_popups (cyclomatic 21): ChatComposer::sync_popups has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":4019}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97fbe9eb98563d5b0d91a92f4a803fd3d4f0f2ffa3ca9d3d095885affbe87f1"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::handle_command_execution_completed_now (cyclomatic 21): ChatWidget::handle_command_execution_completed_now 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":"codex-rs/tui/src/chatwidget/command_lifecycle.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c597ec19b8b011011db6e142eab63e44c93b1e3bdc977d887a3d8243822ca85"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::note_realtime_user_item_started (cyclomatic 21): ChatWidget::note_realtime_user_item_started 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":"codex-rs/tui/src/chatwidget/realtime.rs"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7509ae5a54d9383ab0b64e961e0d8dcc240c600c4ec4a661a929890fd829a1"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::speak_completed_realtime_delegation (cyclomatic 21): ChatWidget::speak_completed_realtime_delegation has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/realtime.rs"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f106fca0b82400fdfe9120fd24661312c6473d1b1378b428e71287c0109bcd9"}},{"ruleId":"D1","level":"warning","message":{"text":"Renderer::frame (cyclomatic 21): Renderer::frame 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":"codex-rs/tui/src/empty_state_animation/renderer.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1977708fc227be17164aa55bc796bc4412c0658fa44ceaf3e8b3ac19e156e889"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecCell::command_display_lines_with_hidden_details (cyclomatic 21): ExecCell::command_display_lines_with_hidden_details 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":"codex-rs/tui/src/exec_cell/render.rs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a5cb4fb5c0d18377b761f113b452733de456a86114dbf2275414f63fd96192"}},{"ruleId":"D1","level":"warning","message":{"text":"McpToolCallCell::compact_mcp_lines (cyclomatic 21): McpToolCallCell::compact_mcp_lines 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":"codex-rs/tui/src/history_cell/mcp_preview.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba291ea1da21d6401847883a3c58a5797ea9752cb93f6e33312308f8f47f59a5"}},{"ruleId":"D1","level":"warning","message":{"text":"AuthModeWidget::render_pick_mode (cyclomatic 21): AuthModeWidget::render_pick_mode has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/onboarding/auth.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a2617a54f23a73ccefeee0924f05ec56f7a461b109ad836748dd3f8c07da41"}},{"ruleId":"D1","level":"warning","message":{"text":"TranscriptOverlay::handle_key (cyclomatic 21): TranscriptOverlay::handle_key has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/pager_overlay/transcript.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff12920c4fbbffb19c5bc67e47b0a32188b87b8cfe58ada9d5c4c871142a9dde"}},{"ruleId":"D1","level":"warning","message":{"text":"TranscriptView::handle_search_key (cyclomatic 21): TranscriptView::handle_search_key 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":"codex-rs/tui/src/transcript_view/search.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce438e78554f083080699fce9ce3d0e608cfb765ea7d0396c2bd17b8ef56fd3"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::app_server_session::web_search::apply_launch_override (cyclomatic 21): codex_tui::app_server_session::web_search::apply_launch_override 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":"codex-rs/tui/src/app_server_session/web_search.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c31c8156364fa476720820bc9d6b7f00ec004c0584a2e215ff395566c554b7b5"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::config_update::read_remote_project_trust (cyclomatic 21): codex_tui::config_update::read_remote_project_trust 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":"codex-rs/tui/src/config_update.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9cfd11f7125b490a0a27420d7960b30b7ee9a66ebc93da0299d61b9cb10501"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::external_editor::editor_directory (cyclomatic 21): codex_tui::external_editor::editor_directory 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":"codex-rs/tui/src/external_editor.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5374469b79b280b30b90bcf961956e26e618e4726786697877e4f95179d532b2"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::history_cell::approvals::new_approval_decision_cell (cyclomatic 21): codex_tui::history_cell::approvals::new_approval_decision_cell has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/history_cell/approvals.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad9efd683bfce4c88dd5eb57d851cb6a7797b580b769bfdad681e2f3aef2f13"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::thread_transcript::tools::historical_tool_fallback (cyclomatic 21): codex_tui::thread_transcript::tools::historical_tool_fallback has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/thread_transcript/tools.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c497121656188dea3982b4fde6f3daa065427070dcebb7877a50e3411cca50"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_utils_output_truncation::truncate_measured_output_iter (cyclomatic 21): codex_utils_output_truncation::truncate_measured_output_iter 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":"codex-rs/utils/output-truncation/src/lib.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f8546b47b05f04fb6cc61122d1bb2f7eac39187791d03d6a5ca6c4d6d483df"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_windows_sandbox::windows_impl::run_windows_sandbox_capture_with_filesystem_overrides (cyclomatic 21): codex_windows_sandbox::windows_impl::run_windows_sandbox_capture_with_filesystem_overrides 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":"codex-rs/windows-sandbox-rs/src/lib.rs"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1e89d94892dc514d38ae85ea70b754dbfbdc7026991f046a3f7f14cda87fa2"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_utils_sandbox_summary::sandbox_summary::summarize_permission_profile (cyclomatic 21): codex_utils_sandbox_summary::sandbox_summary::summarize_permission_profile 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":"codex-rs/utils/sandbox-summary/src/sandbox_summary.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd9204f502115dda3eeae72b9e0473eac43dad5ad20983c503d6f3d91419644"}},{"ruleId":"D1","level":"warning","message":{"text":"stage_npm_packages.main (cyclomatic 21): stage_npm_packages.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":"scripts/stage_npm_packages.py"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4400e8a6fb6ae8f0b576fa68977c67c7ef214919f21f95afc7a701593368921"}},{"ruleId":"D1","level":"warning","message":{"text":"ThreadRequestProcessor::continue_daemon_turn (cyclomatic 20): ThreadRequestProcessor::continue_daemon_turn has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/daemon_continuation.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a69ffd4ef206730de2de7911093d5e7bec9825cae1cad732dc1d200ec7655a"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_app_server_daemon::install_lock::acquire_install_lock (cyclomatic 20): codex_app_server_daemon::install_lock::acquire_install_lock has cyclomatic complexity 20 (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":"codex-rs/app-server-daemon/src/install_lock.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51324bc323af6bc850a8cbfad4fbc5bec9a86e3dd8e75fb986871bf86005cf1"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_app_server_daemon::manual_update::request (cyclomatic 20): codex_app_server_daemon::manual_update::request 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":"codex-rs/app-server-daemon/src/manual_update.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcbe7f7e404e373856bc130cc49d5ba31566d39b0f2ac1a85388b2fbdd87537f"}},{"ruleId":"D1","level":"warning","message":{"text":"ThreadHistoryBuilder::build_user_inputs (cyclomatic 20): ThreadHistoryBuilder::build_user_inputs 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. This is NOT this file\u0027s highest cyclomatic complexity: ThreadHistoryBuilder::handle_event_for_history_mode (cyclomatic 44) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/thread_history.rs"},"region":{"startLine":1730}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d00f6d4f777c713029f20f3ce8ebf659919b3f9fa6b3d8fb40c09ab45601b0a"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_app_server_transport::transport::stdio::start_stdio_connection (cyclomatic 20): codex_app_server_transport::transport::stdio::start_stdio_connection 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":"codex-rs/app-server-transport/src/transport/stdio.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1cdd7cad8d655432bc2851153bcf5e973d8b7004b5ab2862f1a91f97c337c8b"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_cli::plugin_cmd::render_plugin_list (cyclomatic 20): codex_cli::plugin_cmd::render_plugin_list 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":"codex-rs/cli/src/plugin_cmd.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b08ac18d6d740d536814dd642b69b8a9d971a69fb6ab7f8a55b5d3cee7e1ec"}},{"ruleId":"D1","level":"warning","message":{"text":"WsStream::new (cyclomatic 20): WsStream::new 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":"codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"424ac2b66f783fd009622eed5d4059b188731f76ca0883b5e4571196f38d1eda"}},{"ruleId":"D1","level":"warning","message":{"text":"McpServerConfig::try_from (cyclomatic 20): McpServerConfig::try_from has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/mcp_types.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"e209536df1ffea142e293c09487673b3073add19ab4302e30a2705e57e8ca0aa"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_config::merge::merge_toml_values_at_path (cyclomatic 20): codex_config::merge::merge_toml_values_at_path 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":"codex-rs/config/src/merge.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0e8bd0650ff460ce586ec4667e2cdf8163dc850bd7c89b94b598fed1c5d09e"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_config::schema::features_schema (cyclomatic 20): codex_config::schema::features_schema 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":"codex-rs/config/src/schema.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e3189a2fccb2903c14cab614b30714d5c4e4e19b39460a6fc1524e2dee07e1"}},{"ruleId":"D1","level":"warning","message":{"text":"CapturedRootConversation::prepare (cyclomatic 20): CapturedRootConversation::prepare has cyclomatic complexity 20 (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":"codex-rs/core/src/agent/control/user_authorization.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60689fa9d8ec750b34d4cb554bee43621cd4daee6a5a53bc0c7f8f697bc7933"}},{"ruleId":"D1","level":"warning","message":{"text":"Session::update_environment_configuration (cyclomatic 20): Session::update_environment_configuration 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":"codex-rs/core/src/session/environment.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"75aab630c9299f413b601242747e1db360fa3083e65485c19525a6c816011293"}},{"ruleId":"D1","level":"warning","message":{"text":"ShellSnapshotFile::restore_credentials (cyclomatic 20): ShellSnapshotFile::restore_credentials 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":"codex-rs/core/src/shell_snapshot.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09b0551f462622696e2b005ffc87b8c4356059a54deb1a3b626f9c9ba87d685"}},{"ruleId":"D1","level":"warning","message":{"text":"UnifiedExecProcessManager::collect_output_until_deadline (cyclomatic 20): UnifiedExecProcessManager::collect_output_until_deadline 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":"codex-rs/core/src/unified_exec/process_manager.rs"},"region":{"startLine":1569}}}],"partialFingerprints":{"codehealthFindingId/v1":"317b303ceea48d5d899704bb1092f01b0f314930e82841c14656c8fc6933e9a8"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_exec_server::server::processor::run_connection (cyclomatic 20): codex_exec_server::server::processor::run_connection 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":"codex-rs/exec-server/src/server/processor.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"13794ae784ab84994a109fd115d69f31cec396f790f4cb1a2f0281f0f37db3b8"}},{"ruleId":"D1","level":"warning","message":{"text":"ReviewRequest::review (cyclomatic 20): ReviewRequest::review 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":"codex-rs/ext/guardian-reviewer/src/review.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec2f766017ec2a176bf252de1c49be008261d4d0fe3dfba181ff3e2d6c1114a"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_external_agent_migration::sessions::append::append_existing_session (cyclomatic 20): codex_external_agent_migration::sessions::append::append_existing_session 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":"codex-rs/external-agent-migration/src/sessions/append.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"3289a8494824a7426588e5383fcca3942811d7753e8b1c918c5d11c5707e7cf4"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_git_utils::trust::resolve_root (cyclomatic 20): codex_git_utils::trust::resolve_root 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":"codex-rs/git-utils/src/trust.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"90591b6425056349ab7959fb1c06db95a3806966908199e74fb63d8aa46f846f"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_hooks::events::post_tool_use::parse_completed (cyclomatic 20): codex_hooks::events::post_tool_use::parse_completed 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":"codex-rs/hooks/src/events/post_tool_use.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"839c276b8704fb8ab74e19c312bfaa17f16894fef5214c93cde670a83eeaeb9e"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_linux_sandbox::managed_tcp_stack::run (cyclomatic 20): codex_linux_sandbox::managed_tcp_stack::run 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":"codex-rs/linux-sandbox/src/managed_tcp_stack.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03f3810c5b552237dab5b258d89c66b42f1a0d0bfc9fd34d73ded3799881792"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_mermaid::state::parse (cyclomatic 20): codex_mermaid::state::parse 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":"codex-rs/mermaid/src/state.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f561b2939226e2b2c69424569b15b11aa190670ef29b267eaf0c392ac02d01"}},{"ruleId":"D1","level":"warning","message":{"text":"AnalyticsView::footer_lines (cyclomatic 20): AnalyticsView::footer_lines 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":"codex-rs/tui/src/analytics/hints.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3649835ecc0ab6fc8bef80ccafee0d50f03f964c61600370fd3cb688204457"}},{"ruleId":"D1","level":"warning","message":{"text":"AnalyticsView::task_lines (cyclomatic 20): AnalyticsView::task_lines 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":"codex-rs/tui/src/analytics/task_panel.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c878d6ca09758c529fdf3232772c56bf6101e285f22ef1ac4f91f7feb1f1f8f"}},{"ruleId":"D1","level":"warning","message":{"text":"App::retry_safety_buffered_turn (cyclomatic 20): App::retry_safety_buffered_turn 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":"codex-rs/tui/src/app/safety_buffering.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d115d9ccc457c027b115dbeb947a66f3b656b53d94675c5a3225b1467a4e6a"}},{"ruleId":"D1","level":"warning","message":{"text":"App::reset_thread_event_state (cyclomatic 20): App::reset_thread_event_state 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":"codex-rs/tui/src/app/session_lifecycle.rs"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1089274ab0c40f77f896cbec10a0af4d244e0a819c5ab09a80fa0e0ba973c4b"}},{"ruleId":"D1","level":"warning","message":{"text":"App::finish_saved_chat (cyclomatic 20): App::finish_saved_chat 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":"codex-rs/tui/src/app/sidebar_loading.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"2431582a732bfd91dd2136eb2837f0f21e5885f182198328a27fdc851ffb21aa"}},{"ruleId":"D1","level":"warning","message":{"text":"AppServerSession::hydrate_initial_thread_history (cyclomatic 20): AppServerSession::hydrate_initial_thread_history 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":"codex-rs/tui/src/app_server_session/history.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83c0b57b855ac2034f113aeffb5ac30d450cfa78233ca08ba418f13ef1ad0f1"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatComposer::handle_restricted_key (cyclomatic 20): ChatComposer::handle_restricted_key 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":"codex-rs/tui/src/bottom_pane/chat_composer/reconnect.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44e68d4e887978725a64d6c428703a4ecfd9ffb5b914996cc78a153bb334c90"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatComposer::mention_items (cyclomatic 20): ChatComposer::mention_items 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":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":4318}}}],"partialFingerprints":{"codehealthFindingId/v1":"eadedcce45ee36a679c07fa316f16407c7ffe86a08e5b4b774a2a2c925b8aaa5"}},{"ruleId":"D1","level":"warning","message":{"text":"VoiceStrip::render (cyclomatic 20): VoiceStrip::render 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":"codex-rs/tui/src/bottom_pane/voice_strip.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"da3f8222a58120e0a0c3749014cf7decec8aa61d7f8d3cb93e8fa32dbafd75cd"}},{"ruleId":"D1","level":"warning","message":{"text":"WarningsView::handle_key (cyclomatic 20): WarningsView::handle_key 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":"codex-rs/tui/src/bottom_pane/warnings_view.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb2edcd5ebfdcf70cc6c30304a2b357150acf13340c7ec8c77d63050602bb68"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::plugin_selection_items (cyclomatic 20): ChatWidget::plugin_selection_items 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":"codex-rs/tui/src/chatwidget/plugin_catalog.rs"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"e737d187347653ab2f28f7a84c06cc629db10ad09acf28b47883dd586d69877c"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::handle_quick_dial_menu (cyclomatic 20): ChatWidget::handle_quick_dial_menu 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":"codex-rs/tui/src/chatwidget/quick_dials.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"7544911e0f67259e3f947fecb13d75e8fbf0007da9bcbf6fcd77116784d7797a"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::on_realtime_conversation_closed (cyclomatic 20): ChatWidget::on_realtime_conversation_closed 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":"codex-rs/tui/src/chatwidget/realtime.rs"},"region":{"startLine":1763}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d9ac6c23959e454a488d6e9e4e1cdbc37c0783c61f1c1f42d3a87e305af70f"}},{"ruleId":"D1","level":"warning","message":{"text":"ClipboardWorker::poll (cyclomatic 20): ClipboardWorker::poll 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":"codex-rs/tui/src/clipboard_copy/worker.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ffd76090b54cc7141bca574eaf6e54281c779055f4dc7309e00176d41b3077b"}},{"ruleId":"D1","level":"warning","message":{"text":"Writer::handle_event (cyclomatic 20): Writer::handle_event has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/markdown_render.rs"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f9b18c99e94685ee91eb99673adb4bd55f641f073ef3fb77e2f4436fa59fe6"}},{"ruleId":"D1","level":"warning","message":{"text":"Writer::end_tag (cyclomatic 20): Writer::end_tag has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/markdown_render.rs"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bacc830144be84a5c67eee0e55b716d468a10f1d108c2b6ade74a9314580885"}},{"ruleId":"D1","level":"warning","message":{"text":"AuthModeWidget::handle_key_event (cyclomatic 20): AuthModeWidget::handle_key_event 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":"codex-rs/tui/src/onboarding/auth.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca037f9729ec2062bf596e489fb2bed31d11a06f85799793e397bfa93d5fa77"}},{"ruleId":"D1","level":"warning","message":{"text":"OnboardingScreen::render_ref (cyclomatic 20): OnboardingScreen::render_ref has cyclomatic complexity 20 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 8 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/onboarding/onboarding_screen.rs"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea26111ecef03200d69383b782ca34230efb0ddf99f1522beb94f6a81d0a7cda"}},{"ruleId":"D1","level":"warning","message":{"text":"PickerState::handle_background_event (cyclomatic 20): PickerState::handle_background_event has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/resume_picker.rs"},"region":{"startLine":1872}}}],"partialFingerprints":{"codehealthFindingId/v1":"936ce13b857150df337b8414d36d82e3390a75aa280f5bf569b78e88fa84de65"}},{"ruleId":"D1","level":"warning","message":{"text":"TranscriptView::entry_layout (cyclomatic 20): TranscriptView::entry_layout 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":"codex-rs/tui/src/transcript_view/layout.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e369402d386a4472254764bbb3cfcf9cdeafd0a36e92f30f61ecbc2c130307e"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::app_backtrack::backtrack_revert_before_turn_id (cyclomatic 20): codex_tui::app_backtrack::backtrack_revert_before_turn_id 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":"codex-rs/tui/src/app_backtrack.rs"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d8f69b5686a5ba22791392f1a5969ee158e201af48913a87740cd6cdd53273"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::custom_terminal::diff_buffers (cyclomatic 20): codex_tui::custom_terminal::diff_buffers has cyclomatic complexity 20 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/custom_terminal.rs"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"23943b12c9249b2caac14f78620570e168778c289b37ade7b512bf56a09f88fd"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::ui_tree::render::layout (cyclomatic 20): codex_tui::ui_tree::render::layout 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":"codex-rs/tui/src/ui_tree/render.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35e7e06dee76c3a6585b6429386fc55b60d1575c3468baa16f75d30ad1c7b05"}},{"ruleId":"D1","level":"warning","message":{"text":"NotarizationConfiguration.from_environment (cyclomatic 20): NotarizationConfiguration.from_environment 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":".github/scripts/macos-signing/notarize_with_akv.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"109c51715956527cab85ae66b1aa9b802b99e524eb82b32faeab8710d0c5c709"}},{"ruleId":"D1","level":"warning","message":{"text":"publish_r2_release.main (cyclomatic 20): publish_r2_release.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":".github/scripts/publish_r2_release.py"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"6823e385be8b1ba598e40a2a3be44c444a44fea7885fb70af0aad98cbd9cd5c7"}},{"ruleId":"D1","level":"warning","message":{"text":"OutgoingMessageSender::send_request_to_connections (cyclomatic 19): OutgoingMessageSender::send_request_to_connections has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/outgoing_message.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"245be978d9d12e79b8a553ee315497b746df4c9cc37272ab0e4fa76663426e55"}},{"ruleId":"D1","level":"warning","message":{"text":"McpRequestProcessor::mcp_server_oauth_login_response (cyclomatic 19): McpRequestProcessor::mcp_server_oauth_login_response 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":"codex-rs/app-server/src/request_processors/mcp_processor.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3e9eb0f38b074e67264c759b567409843bf59447abfe5eae2ed48c22b3b821"}},{"ruleId":"D1","level":"warning","message":{"text":"ThreadRequestProcessor::thread_start_task (cyclomatic 19): ThreadRequestProcessor::thread_start_task has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":1450}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b2efee16c48f9e905d69a41e12ab83a07f3f708ba1a4f75616cfcc59dfb517"}},{"ruleId":"D1","level":"warning","message":{"text":"ThreadRequestProcessor::thread_metadata_update_response_inner (cyclomatic 19): ThreadRequestProcessor::thread_metadata_update_response_inner has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":2053}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8a91a563c23f6b6521a1be88beac073b4587f10dfc85916b8dd41099e9afb5"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_app_server::request_processors::mcp_event_stream::forward_events (cyclomatic 19): codex_app_server::request_processors::mcp_event_stream::forward_events has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/mcp_event_stream.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c3b8ded051cfd04dfb5b06063f02ec64d077a9839a275af6d73a9893f82c83"}},{"ruleId":"D1","level":"warning","message":{"text":"ClientTracker::handle_message (cyclomatic 19): ClientTracker::handle_message 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":"codex-rs/app-server-transport/src/transport/remote_control/client_tracker.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60919ba84a9f48a95dbf62444a529cde390e83cf083a1dadd1232a5db777b40"}},{"ruleId":"D1","level":"warning","message":{"text":"Client::get_account_analytics (cyclomatic 19): Client::get_account_analytics has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/backend-client/src/client/analytics.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cee3f0a90ff92cb7af22a99240b74438b556f61ca05127d9b9492956662fc4b"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_cli::doctor::updates::append_desktop_update (cyclomatic 19): codex_cli::doctor::updates::append_desktop_update 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":"codex-rs/cli/src/doctor/updates.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1c7ff9d1337f7d76ee1b5b48e069e5c4cbefee12269513686a7e5124b0a26b"}},{"ruleId":"D1","level":"warning","message":{"text":"Client::add_user_message (cyclomatic 19): Client::add_user_message has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cloud-client/src/turns.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e38548d9b64e2d35bbbe142a624a7fb038ab6a45da10165770dbfb25724515"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_cloud_client::items::summary (cyclomatic 19): codex_cloud_client::items::summary has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cloud-client/src/items.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf40a245d62e91a05298f8e65da5c88bffd3edd084d0e42ba8fdd7b44fd9dac"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_cloud_tasks::pretty_lines_from_error (cyclomatic 19): codex_cloud_tasks::pretty_lines_from_error 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":"codex-rs/cloud-tasks/src/lib.rs"},"region":{"startLine":2154}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c1dc7d85c8b09e9f21f912a33d9383444b5284c6204ad6b4fdeae22571ed7d"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_api::sse::responses::process_sse_with_treatment (cyclomatic 19): codex_api::sse::responses::process_sse_with_treatment 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":"codex-rs/codex-api/src/sse/responses.rs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b14b1b6530b36c2c95ceb922eca7ca73446fb249d6bed3ee6272e9898fa454"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_connectors::merge::merge_connectors (cyclomatic 19): codex_connectors::merge::merge_connectors 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":"codex-rs/connectors/src/merge.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"020644f4cabccc72181c59fdfd701d68bfd740b1f0f6c84ef3fb733396e3c6d1"}},{"ruleId":"D1","level":"warning","message":{"text":"Config::to_mcp_config_with_loaded_plugins (cyclomatic 19): Config::to_mcp_config_with_loaded_plugins has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/config/mod.rs"},"region":{"startLine":1949}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a759b6abe571ec6d4eaceb7f9148ca47077d8ff2989d4677bac6c546e39d477"}},{"ruleId":"D1","level":"warning","message":{"text":"ThreadEnvironments::update_selections_with_bindings (cyclomatic 19): ThreadEnvironments::update_selections_with_bindings 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":"codex-rs/core/src/environment_selection.rs"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd59d98abe141b9a8adc7146317855447ca1063cd59cae8a692044a8afe89a4"}},{"ruleId":"D1","level":"warning","message":{"text":"Session::record_prepared_conversation_items (cyclomatic 19): Session::record_prepared_conversation_items 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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":4069}}}],"partialFingerprints":{"codehealthFindingId/v1":"2693d6dcf01b5226ba919cb79e41660c16fb6d65105592bdc18122ad519213a1"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core::model_search::resolve (cyclomatic 19): codex_core::model_search::resolve has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/model_search.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ab52bf8898b8062ebb60bf302b34c79791cc62357001f75735138c56b756bd"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core::session::step_activation::check_legacy_model_safety (cyclomatic 19): codex_core::session::step_activation::check_legacy_model_safety 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":"codex-rs/core/src/session/step_activation.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf01c2c74726388756c3278790a5fd55b360f9909cace73a4c5157d386cf4467"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core_plugins::remote::fetch_remote_marketplaces (cyclomatic 19): codex_core_plugins::remote::fetch_remote_marketplaces 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":"codex-rs/core-plugins/src/remote.rs"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1847229bbeb94ca7d921e8f41c4355f30b7534d76b408f86ac2a2b76edd1b1"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonRpcConnection::from_stdio_with_max_message_len (cyclomatic 19): JsonRpcConnection::from_stdio_with_max_message_len 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":"codex-rs/exec-server/src/connection.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d4e39e551757d0db627dc72355517d63773714de39d11480b8a9f34e2f45f0"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_git_utils::apply::unescape_c_string (cyclomatic 19): codex_git_utils::apply::unescape_c_string has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/git-utils/src/apply.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"041bb3facf44782eaeaa33bd1a6c83555822bcbfadf8868de593612cc4ef717c"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_git_utils::info::remotes::get_git_remote_urls_with_progress (cyclomatic 19): codex_git_utils::info::remotes::get_git_remote_urls_with_progress 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":"codex-rs/git-utils/src/info/remotes.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"431852e73f46a9a6498a2056a9234ddc53113fa70e12d84b5814397db1d7dfe0"}},{"ruleId":"D1","level":"warning","message":{"text":"TranscriptImages::collect (cyclomatic 19): TranscriptImages::collect has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/guardian-context/src/images.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"29299a6d586a77524abe05e56c238ebebbb4c3925c0ceaa65976f33300033f5f"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_hooks::events::user_prompt_submit::parse_completed (cyclomatic 19): codex_hooks::events::user_prompt_submit::parse_completed 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":"codex-rs/hooks/src/events/user_prompt_submit.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4d8908629ed5504d301d62b43078e754029f1029501bb2c284042dfec2a7ef"}},{"ruleId":"D1","level":"warning","message":{"text":"RouteAwareClientPool::send_authorized (cyclomatic 19): RouteAwareClientPool::send_authorized 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":"codex-rs/http-client/src/route_aware_client_pool/execution.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"723c1c397a61960f7e14a820895368a4bb2d40334bc00e8b231c7b3dbe57c685"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_login::auth::manager::load_auth (cyclomatic 19): codex_login::auth::manager::load_auth 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":"codex-rs/login/src/auth/manager.rs"},"region":{"startLine":1606}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2564ac98910635bdb766d4f43bb630e4b8fdd72652e9d1724613aaadd30105c"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_network_proxy::brokered_tunnel::peek_protocol (cyclomatic 19): codex_network_proxy::brokered_tunnel::peek_protocol 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":"codex-rs/network-proxy/src/brokered_tunnel.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0746b5f0812dcda710be09eb0c90a6be1b6dde1a52d29d3916dad9c3251215"}},{"ruleId":"D1","level":"warning","message":{"text":"SanitizedGitUrl::try_from (cyclomatic 19): SanitizedGitUrl::try_from 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":"codex-rs/protocol/src/sanitized_git_url.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f98ed9668e0a5ac0253e6ef2f71a8db0d02e2815fa7018c911b5ceeb0c5816"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalStdioServerLauncher::launch_server (cyclomatic 19): LocalStdioServerLauncher::launch_server has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/stdio_server_launcher.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3164bc43362216136fd12a12d3b991eae7ec4467e5753860f9667513a354db"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_rollout::recorder::fill_missing_thread_item_metadata (cyclomatic 19): codex_rollout::recorder::fill_missing_thread_item_metadata has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout/src/recorder.rs"},"region":{"startLine":1433}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de8df25206a336418c4471e9bebf69b5897f54fa37865d1fb7588d911415dbb"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_sandboxing::seatbelt::create_seatbelt_command_args_with_profile (cyclomatic 19): codex_sandboxing::seatbelt::create_seatbelt_command_args_with_profile 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":"codex-rs/sandboxing/src/seatbelt.rs"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d8bd562d58b4774e8e29c03812d734fef4bf666a6e954ae9b8a19429d09dbf"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_shell_command::command_safety::windows_dangerous_commands::is_dangerous_cmd (cyclomatic 19): codex_shell_command::command_safety::windows_dangerous_commands::is_dangerous_cmd has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/shell-command/src/command_safety/windows_dangerous_commands.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0287641bdcb0eb819e0188c50eabf8f62152a932eb88ea8f0e227f3f98c482a"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_thread_store::local::read_thread::read_thread (cyclomatic 19): codex_thread_store::local::read_thread::read_thread 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":"codex-rs/thread-store/src/local/read_thread.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"71907fb6abe73c56f2653060d1f7e2de00957f2b64a139e21f36b2db86d8c362"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_thread_store::local::rollout_migration::legacy_event::user_message_item (cyclomatic 19): codex_thread_store::local::rollout_migration::legacy_event::user_message_item 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":"codex-rs/thread-store/src/local/rollout_migration/legacy_event.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"73aae6d6769e78b81e3e2f18716607ed50bf98b5c2eda85988a434381db83886"}},{"ruleId":"D1","level":"warning","message":{"text":"Renderer::annotate_selection (cyclomatic 19): Renderer::annotate_selection 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":"codex-rs/tui/src/analytics/plot/annotations.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c19406c3975337d6cad9ce692549ecdaab34faf14223e52c036bb021d8664be"}},{"ruleId":"D1","level":"warning","message":{"text":"AnalyticsView::start_reports (cyclomatic 19): AnalyticsView::start_reports has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/analytics/sections.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89bae2f16085012eaeb898007d9526b28d53d1acefe584d0086c17a6b04ce74"}},{"ruleId":"D1","level":"warning","message":{"text":"SideCompanion::apply_notification (cyclomatic 19): SideCompanion::apply_notification 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":"codex-rs/tui/src/app/side_companion.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"638e9c37b833026ae83309e40b2521022f08aeb64534ef847249356b82843280"}},{"ruleId":"D1","level":"warning","message":{"text":"AppServerSession::resume_thread_with_permission_overrides (cyclomatic 19): AppServerSession::resume_thread_with_permission_overrides has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app_server_session/rollout_history.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9c413d1308343a53510d594795e9cf2f89af2a23eb7acd196c95e243afc379"}},{"ruleId":"D1","level":"warning","message":{"text":"BackendBanner::resolve_action (cyclomatic 19): BackendBanner::resolve_action has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/backend_banners/actions.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4a30955080f44f0e96ff60ee7e8bee6e78ea62042988ba222ada679b7ece68"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatComposer::handle_submission_with_time (cyclomatic 19): ChatComposer::handle_submission_with_time 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":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":3275}}}],"partialFingerprints":{"codehealthFindingId/v1":"f825ea30dc7c6d82e7401c5d9fb3a1093a9bd7374819472e01306b56ef92b945"}},{"ruleId":"D1","level":"warning","message":{"text":"FeedbackNoteView::render (cyclomatic 19): FeedbackNoteView::render 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":"codex-rs/tui/src/bottom_pane/feedback_note_view.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c4eb84a28e2ccb893dfa6b06bf85a16f8cdfa0176b36575b71e935e1d27dda"}},{"ruleId":"D1","level":"warning","message":{"text":"SplitFlapTranscriptCell::animate_lines (cyclomatic 19): SplitFlapTranscriptCell::animate_lines 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":"codex-rs/tui/src/chatwidget/realtime_split_flap.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b477bbf30fa719a9f05b41e76eea6718ae24e6a16cab7423649efc7be795abd"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::open_reasoning_popup (cyclomatic 19): ChatWidget::open_reasoning_popup has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/model_popups.rs"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d79518e1b1e506364dc155a8772a4b2da18546a952541a40a177141e68e4c8"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecCell::exploring_display_lines (cyclomatic 19): ExecCell::exploring_display_lines 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":"codex-rs/tui/src/exec_cell/render.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c915d6faeb4eae4b85e752de974deb99daa78015a05bb6ae230ea79676ba338"}},{"ruleId":"D1","level":"warning","message":{"text":"AuthModeWidget::handle_sign_in_option (cyclomatic 19): AuthModeWidget::handle_sign_in_option 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":"codex-rs/tui/src/onboarding/auth.rs"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c19817b08f4417ef86b060d4a6cd0cb21eb0476af3159a2799cc95203b5787b"}},{"ruleId":"D1","level":"warning","message":{"text":"TranscriptView::handle_key (cyclomatic 19): TranscriptView::handle_key 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":"codex-rs/tui/src/transcript_view/input.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ac33e050d1acf0155f2c78980ba1148a3a08e26f9170bd192dfc2b3dc5a16a"}},{"ruleId":"D1","level":"warning","message":{"text":"TranscriptView::move_select_cursor (cyclomatic 19): TranscriptView::move_select_cursor has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/transcript_view/select_mode/motion.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"060dc2af2b1b28e190e63e137e93b5d01d1f61a6d6453e2521f5fc643dfec604"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::analytics::tokens::filtered_history (cyclomatic 19): codex_tui::analytics::tokens::filtered_history 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":"codex-rs/tui/src/analytics/tokens.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78583f896d21e26627339f890d1901e6fd7cc5cece59cbda0d042d2005dc952"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::app::background_requests::plugin_remote_section_error_next_step (cyclomatic 19): codex_tui::app::background_requests::plugin_remote_section_error_next_step has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/background_requests.rs"},"region":{"startLine":1062}}}],"partialFingerprints":{"codehealthFindingId/v1":"34913f243143ab25e82f4508267279541d9bc0fa1a0c740d56f54198b9002c63"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::app::provider::handle (cyclomatic 19): codex_tui::app::provider::handle 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":"codex-rs/tui/src/app/provider.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f4c71f01ee2a1563e1ec9d36d51c83a7c9719f1f8795b1f7ab495df5281192"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::daemon_recovery::check (cyclomatic 19): codex_tui::daemon_recovery::check 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":"codex-rs/tui/src/daemon_recovery.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ca8c887771a495faeb7dc80d474c49aa10de1740dbe5c4ef05d8759e84d71a"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::mention_codec::encode_history_mentions_at_elements (cyclomatic 19): codex_tui::mention_codec::encode_history_mentions_at_elements 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":"codex-rs/tui/src/mention_codec.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"67abbb1b63601c3acb8874129ef430477cbee9a7bbdb3d7e00c8e34fba9215e3"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::resume_picker::run_session_picker_event_loop (cyclomatic 19): codex_tui::resume_picker::run_session_picker_event_loop 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":"codex-rs/tui/src/resume_picker.rs"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"880d66e0f26cfcbf6bc52b3a149c125d63bf8b3957853f3294cc75347e3a93a0"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::thread_transcript::thread_items_to_transcript_cells (cyclomatic 19): codex_tui::thread_transcript::thread_items_to_transcript_cells 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":"codex-rs/tui/src/thread_transcript.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"402a84308796d5a86cafd09217820ea8e76a2c84c748df0215956dd32aac71a5"}},{"ruleId":"D1","level":"warning","message":{"text":"LinuxSleepInhibitor::acquire (cyclomatic 19): LinuxSleepInhibitor::acquire 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":"codex-rs/utils/sleep-inhibitor/src/linux_inhibitor.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92eb0cb48da39791f025df28578700853e97e32721c71d04e30bc1cf86e4004"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_windows_sandbox::acl::ensure_allow_mask_aces_with_inheritance_impl (cyclomatic 19): codex_windows_sandbox::acl::ensure_allow_mask_aces_with_inheritance_impl 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":"codex-rs/windows-sandbox-rs/src/acl.rs"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"652c540c70f1bfd2f3a4abdd4b6cd3fef7f5ceffe22d00e348b42b94b9a7d66f"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_windows_sandbox_service::package_lifecycle::cleanup::clean_up (cyclomatic 19): codex_windows_sandbox_service::package_lifecycle::cleanup::clean_up has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-service/src/package_lifecycle/cleanup.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7cc03cd6bea9fd48a85521451aa5ffb8776f477e82dc655451a9bb24e03d207"}},{"ruleId":"D1","level":"warning","message":{"text":"WorktreeManager::list (cyclomatic 19): WorktreeManager::list has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/worktree/src/lib.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"61de0b6163aea4f79baa4766085f1e057344c77f27da1bcce7bf13de5d90b2c1"}},{"ruleId":"D1","level":"warning","message":{"text":"run_codex_compliance._evaluate_regression_gate (cyclomatic 19): run_codex_compliance._evaluate_regression_gate 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":"scripts/mcp_conformance/run_codex_compliance.py"},"region":{"startLine":1744}}}],"partialFingerprints":{"codehealthFindingId/v1":"76032ef7b8c0744b9c3c8a8f3b014879aa421ade9a659a3d3f3f1f2e7b87ec95"}},{"ruleId":"D1","level":"warning","message":{"text":"update_sdk_artifacts._annotate_schema (cyclomatic 19): update_sdk_artifacts._annotate_schema 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":"sdk/python/scripts/update_sdk_artifacts.py"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b67175da7b45aad30b9e3e2b962c8aba0379bdec914dfcdb0dc9210bebb81d"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteAgentMessageBoard::notifications (cyclomatic 18): RemoteAgentMessageBoard::notifications 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":"codex-rs/agent-message-board-client/src/client.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"1633baf9b62633cce2e5d13e1e86c5ca0b38f715daf17600e3014d756f43b349"}},{"ruleId":"D1","level":"warning","message":{"text":"CommandExecManager::start (cyclomatic 18): CommandExecManager::start 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":"codex-rs/app-server/src/command_exec.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"9beb911eaa80a9262f9fac5d18adefb5f7dc4b904e187e15af684ec23e2a3f95"}},{"ruleId":"D1","level":"warning","message":{"text":"CredentialProviderEdits::validate_remapping (cyclomatic 18): CredentialProviderEdits::validate_remapping 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":"codex-rs/app-server/src/config_manager_service_credential_edits.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29d67bf84a52534a7c1ad26092d0a0e46f418b8aeb197c5fa43d0c0aca5035b"}},{"ruleId":"D1","level":"warning","message":{"text":"McpRequestProcessor::read_mcp_resource (cyclomatic 18): McpRequestProcessor::read_mcp_resource 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":"codex-rs/app-server/src/request_processors/mcp_processor.rs"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c6a16d88731e40d9bf669a437026c7817d8dc77ee32bdda7a537aba58783b7"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_app_server::bespoke_event_handling::on_command_execution_request_approval_response (cyclomatic 18): codex_app_server::bespoke_event_handling::on_command_execution_request_approval_response has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/bespoke_event_handling.rs"},"region":{"startLine":2071}}}],"partialFingerprints":{"codehealthFindingId/v1":"08bd9ce26f07c398b45d1b5d9b0a2d0a52d9aeb7b68c95b89bf436edaba7983c"}},{"ruleId":"D1","level":"warning","message":{"text":"PidBackend::stop_with_grace (cyclomatic 18): PidBackend::stop_with_grace 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":"codex-rs/app-server-daemon/src/backend/pid.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"6541c785853acd79db4c6eb0d136eef55bd7be5e861d993a9625668e4da3372c"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_app_server_daemon::release_pruning::prune (cyclomatic 18): codex_app_server_daemon::release_pruning::prune 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":"codex-rs/app-server-daemon/src/release_pruning.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab645e022bf973b0b43802607261f7ecaca2aada4e41b13cf6fb560c1b878d9"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_cli::debug_sandbox::pid_tracker::track_descendants (cyclomatic 18): codex_cli::debug_sandbox::pid_tracker::track_descendants 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":"codex-rs/cli/src/debug_sandbox/pid_tracker.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"0974bfcfb038e1b89995f6684f7d74a69835adbc2109321af6b6fb6a7e967477"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_code_mode_protocol::description::build_exec_tool_description_and_definitions (cyclomatic 18): codex_code_mode_protocol::description::build_exec_tool_description_and_definitions 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":"codex-rs/code-mode-protocol/src/description.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9cb7824d3e3fd0ab2df9cebc63c2d3611671ca51030dd58288b30c07feb496c"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_config::strict_config::ignored_config_warning (cyclomatic 18): codex_config::strict_config::ignored_config_warning has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/strict_config.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"722936bb7a27b17975d92b3d412b27b7e51d153a3e946c60bbf1d6eafc12b96a"}},{"ruleId":"D1","level":"warning","message":{"text":"ContextManager::record_retained_message (cyclomatic 18): ContextManager::record_retained_message has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/context_manager/history_user_authorization.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9310b9619549f7e39317029b09ae00a50e3044201d85c4005d90cc3c071832"}},{"ruleId":"D1","level":"warning","message":{"text":"Session::request_approval_with_user_prompt (cyclomatic 18): Session::request_approval_with_user_prompt 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":"codex-rs/core/src/tools/approvals.rs"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca10ecea951571243b1f075be15902649c914eb1189dd806a7ae76dbd70d392"}},{"ruleId":"D1","level":"warning","message":{"text":"Handler::handle_call (cyclomatic 18): Handler::handle_call has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/handlers/multi_agents/wait.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"5831b05219f6198a764d5f9980582fb7b6bfdf4347b407158b309d53a4a844d3"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core::compact_remote_v2::collect_compaction_output (cyclomatic 18): codex_core::compact_remote_v2::collect_compaction_output 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":"codex-rs/core/src/compact_remote_v2.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19b52bf6f12129d634d840f4f2da6f21876af799b36c2762d66980f19d1a6cf"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core::compact_remote_v2_installation::build_and_install_compaction (cyclomatic 18): codex_core::compact_remote_v2_installation::build_and_install_compaction 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":"codex-rs/core/src/compact_remote_v2_installation.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"2007c2a540d79bba0fa5734d2a459b839e4f9982be201fbc5fa669105168820e"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core::mcp_tool_call::build_mcp_tool_approval_elicitation_meta (cyclomatic 18): codex_core::mcp_tool_call::build_mcp_tool_approval_elicitation_meta 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":"codex-rs/core/src/mcp_tool_call.rs"},"region":{"startLine":2323}}}],"partialFingerprints":{"codehealthFindingId/v1":"8177fca86e90c8567919981f07179638ed76da8b99b46379f87189007f921aa5"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core::realtime_conversation::handle_start_inner (cyclomatic 18): codex_core::realtime_conversation::handle_start_inner 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":"codex-rs/core/src/realtime_conversation.rs"},"region":{"startLine":1868}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a635e45b7814e221e6750d8ba15d53669086fdc574bb1a9ed314cab7d3a7df"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core::session::turn::run_sampling_request (cyclomatic 18): codex_core::session::turn::run_sampling_request 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":"codex-rs/core/src/session/turn.rs"},"region":{"startLine":1895}}}],"partialFingerprints":{"codehealthFindingId/v1":"189c766477b6fe8358303228fb6710b83542adba755858ef172776f026759d87"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core::session::turn_input::start_if_idle (cyclomatic 18): codex_core::session::turn_input::start_if_idle 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":"codex-rs/core/src/session/turn_input.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"806ecb3f265cd5456e546ca7e259042cfb115b18510091e99e17cc04641faadf"}},{"ruleId":"D1","level":"warning","message":{"text":"Inner::recover (cyclomatic 18): Inner::recover 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":"codex-rs/exec-server/src/client_recovery.rs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0a416d4feacd8a3706c982a93695d53af47a7c8c6985b2fe36a1c99d3072b3"}},{"ruleId":"D1","level":"warning","message":{"text":"Forwarder::run_connection (cyclomatic 18): Forwarder::run_connection has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/forward.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a5b4bc6b5fde01a348e70dd563d943244dadb211a549369110ea10055a2785"}},{"ruleId":"D1","level":"warning","message":{"text":"GoalRuntimeHandle::stop_active_goal_for_turn (cyclomatic 18): GoalRuntimeHandle::stop_active_goal_for_turn 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":"codex-rs/ext/goal/src/runtime.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8578e343a93f42cb75d0b4a06674054bf158135cc8b0e99acbd9670dccde2d"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_memories_extension::local::search::search_file (cyclomatic 18): codex_memories_extension::local::search::search_file has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/memories/src/local/search.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"02915133b9bb186228b41a038e8a3f6cf4567a0a4a890d1f8de36a5aaa649c87"}},{"ruleId":"D1","level":"warning","message":{"text":"ListTool::handle (cyclomatic 18): ListTool::handle 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":"codex-rs/ext/skills/src/tools/list.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c5ef4297c51e945e04cd199d20cb3d75bec823d903230db99612d7560f2ca3"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_skills_extension::loader::discovery::discover_skills (cyclomatic 18): codex_skills_extension::loader::discovery::discover_skills has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/skills/src/loader/discovery.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"83032fab6b9c439f8097b57a0119b0ca3625660d3c17cfcd8a87aca726401f85"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_skills_extension::loader::host::load_skills_under_root (cyclomatic 18): codex_skills_extension::loader::host::load_skills_under_root has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/skills/src/loader/host.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd0cab0e57cca58269ac789d7192316d91709273276d641b767c0dacb888599"}},{"ruleId":"D1","level":"warning","message":{"text":"RolloutItem::from (cyclomatic 18): RolloutItem::from has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/history/src/rollout_payload.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"5333b3fd6e329210d6dddaece34c488f818b2b92f26a6b2a90ca68acf4c758f6"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_login::server::process_request (cyclomatic 18): codex_login::server::process_request has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/login/src/server.rs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a196b1fb90786ae6fc8d528da6f72c2d5d8fdc52ae8e263ef9a2e27079301e"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_memories_write::extensions::prune::prune_old_extension_resources_with_now (cyclomatic 18): codex_memories_write::extensions::prune::prune_old_extension_resources_with_now 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":"codex-rs/memories/write/src/extensions/prune.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26f7473f94b1f31819ed3593d313f670f1e5a9c68410a0d7eeb153207e5cce0"}},{"ruleId":"D1","level":"warning","message":{"text":"InMemoryAgentMessageBoard::post_inner (cyclomatic 18): InMemoryAgentMessageBoard::post_inner 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":"codex-rs/message-board/src/in_memory.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f06e0bd7ff81b9b898ef2159ebbdf8cc95bbda2ee0203ddbb03004521e6d5f4"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalAgentMessageBoard::post_inner (cyclomatic 18): LocalAgentMessageBoard::post_inner 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":"codex-rs/message-board/src/local.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa83da3cbfd0984445c8411d255e29cdf28d21fc84b6f7b7e47ef66acc6cea2"}},{"ruleId":"D1","level":"warning","message":{"text":"AwsSigV4Signer::sign (cyclomatic 18): AwsSigV4Signer::sign 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":"codex-rs/network-proxy/src/aws_sigv4.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec97841d0c0095b0d83a3700c59dfab9f9f2c73b4e6a837a6eed6711e6875ac9"}},{"ruleId":"D1","level":"warning","message":{"text":"CredentialBrokerState::environment (cyclomatic 18): CredentialBrokerState::environment 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":"codex-rs/network-proxy/src/credential_broker/environment.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"14855ba20afac5bef5934875aa4e843fedd2698ce4a670b8073f66d823a93f28"}},{"ruleId":"D1","level":"warning","message":{"text":"SameOriginRedirectHttpClient::execute (cyclomatic 18): SameOriginRedirectHttpClient::execute 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":"codex-rs/rmcp-client/src/http_client_redirect.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5589f4cb4d34af5cc3abee55d429fdcd55f52f7fb4b6c1800675e6de09c36b4c"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_rmcp_client::ema_auth::discover_ema_authorization_metadata (cyclomatic 18): codex_rmcp_client::ema_auth::discover_ema_authorization_metadata 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":"codex-rs/rmcp-client/src/ema_auth.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6b8a4df7b2636676c1f946cb415dd3ed69b07958246bf71bce97c282f92448"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_rmcp_client::ema_resource::discover_ema_resource (cyclomatic 18): codex_rmcp_client::ema_resource::discover_ema_resource 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":"codex-rs/rmcp-client/src/ema_resource.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93be9ef0f6f21421dcf893c3235bb4767e000db0fdd3c51fd54673bacb738c4"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_rollout::compression::worker::compress_rollouts_in_root (cyclomatic 18): codex_rollout::compression::worker::compress_rollouts_in_root 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":"codex-rs/rollout/src/compression.rs"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"4abe22d0629690a0313062ea71c9be1d1864ba7ea20f91d963feeeb5871fb593"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_rollout::list::find_thread_path_by_id_str_in_subdir (cyclomatic 18): codex_rollout::list::find_thread_path_by_id_str_in_subdir has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout/src/list.rs"},"region":{"startLine":1273}}}],"partialFingerprints":{"codehealthFindingId/v1":"f728ddd8d4dd80dff651f4eea45b5c31d4f1fa99aa2dff9aeb537fd477caf595"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_shell_command::command_safety::windows_dangerous_commands::classify_powershell_words (cyclomatic 18): codex_shell_command::command_safety::windows_dangerous_commands::classify_powershell_words has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/shell-command/src/command_safety/windows_dangerous_commands.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"02637492854b90303e7c9e754cd069702ad74db6c77f884749943fb3982c1be4"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_state::runtime::reclamation::reclaim_pages (cyclomatic 18): codex_state::runtime::reclamation::reclaim_pages 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":"codex-rs/state/src/runtime/reclamation.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8740481656020317ed02eea75fd61c07eb9cfadff95104186654f73b529bca"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalThreadStore::migrate_one_rollout (cyclomatic 18): LocalThreadStore::migrate_one_rollout 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":"codex-rs/thread-store/src/local/rollout_migration.rs"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab33cd2c7b70bc1efd24fe8916ca6da69769144c11893dc388a229d3cd916e3"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelReplayPlanner::finish (cyclomatic 18): ModelReplayPlanner::finish 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":"codex-rs/thread-store/src/local/rollout_migration/rollback_replay.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"675b592054886cf9fa5c9369ff8f7e74f5ddbf6ec45f1e14bf40e1788f41e046"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentsOverviewView::render (cyclomatic 18): AgentsOverviewView::render 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":"codex-rs/tui/src/app/agent_center/render.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c2259c04d658de784be14af90d723ffc7efbaa8441b4caa09cf7c6b720baac"}},{"ruleId":"D1","level":"warning","message":{"text":"Draft::patch (cyclomatic 18): Draft::patch 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":"codex-rs/tui/src/app/provider/editor/form.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f6d4020e50615b4cd821a903333c0dc771aa94dca6c34f29cc754b992d42971"}},{"ruleId":"D1","level":"warning","message":{"text":"App::apply_agent_picker_thread_refresh (cyclomatic 18): App::apply_agent_picker_thread_refresh 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":"codex-rs/tui/src/app/agent_picker.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6daad81ceb9c4e01a100b3a50c71e74719d74d963c2208656257822a43ece9"}},{"ruleId":"D1","level":"warning","message":{"text":"App::agents_overview_session_config (cyclomatic 18): App::agents_overview_session_config 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":"codex-rs/tui/src/app/agents_overview.rs"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e3c1fe906b8dd43186eb82a0b3b5fee9ee9c2c0a5dd5f54ab3b81f1af42f1e"}},{"ruleId":"D1","level":"warning","message":{"text":"App::agents_overview_details (cyclomatic 18): App::agents_overview_details 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":"codex-rs/tui/src/app/agents_overview_details.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2432165394a0f97cea45e99fe6e99719da59280d29aa82fc5008a22dbcfd16d"}},{"ruleId":"D1","level":"warning","message":{"text":"App::start_agents_overview_session (cyclomatic 18): App::start_agents_overview_session 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":"codex-rs/tui/src/app/agents_overview_new.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"7049ffb76123d6e5c527df94a5e0460d1902f65737727e764b5317968e75a7ab"}},{"ruleId":"D1","level":"warning","message":{"text":"App::active_keymap_contexts (cyclomatic 18): App::active_keymap_contexts 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":"codex-rs/tui/src/app/input.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"33fdafc9d061fbe4d9ce8d862360091a71b89b687f961d8c57c6eda2303feabb"}},{"ruleId":"D1","level":"warning","message":{"text":"App::handle_shared_app_keymap_action (cyclomatic 18): App::handle_shared_app_keymap_action 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":"codex-rs/tui/src/app/input.rs"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"325cd566dc5551c12e3ff2937ee00ac89ea56cc5c4fa5acb03561aab6e0d7ee8"}},{"ruleId":"D1","level":"warning","message":{"text":"App::resume_config_for_target (cyclomatic 18): App::resume_config_for_target 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":"codex-rs/tui/src/app/resume_config.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9fede4ccd624ef35d5e2c6d505de235173c417b0751ca1b69d6d689dfbb612"}},{"ruleId":"D1","level":"warning","message":{"text":"App::replay_thread_snapshot (cyclomatic 18): App::replay_thread_snapshot 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":"codex-rs/tui/src/app/thread_routing.rs"},"region":{"startLine":1882}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6954e9550da3e7efab1ed1512434c59134ef56f61498729f49f48834dd787e0"}},{"ruleId":"D1","level":"warning","message":{"text":"App::handle_legacy_transcript_event (cyclomatic 18): App::handle_legacy_transcript_event 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":"codex-rs/tui/src/app_backtrack/legacy_input.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b1b4a3c29467eff85bf16c84516299701a718a528c09f542ece24be6f5b4c6"}},{"ruleId":"D1","level":"warning","message":{"text":"ExperimentalFeaturesView::pre_draw_tick (cyclomatic 18): ExperimentalFeaturesView::pre_draw_tick 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":"codex-rs/tui/src/bottom_pane/experimental_features_view.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e93ba7879afa906ec740c79c275d725d7f71a8cdba0ea6005fdfe67b5a4a49"}},{"ruleId":"D1","level":"warning","message":{"text":"RequestUserInputOverlay::render_ui_at (cyclomatic 18): RequestUserInputOverlay::render_ui_at 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":"codex-rs/tui/src/bottom_pane/request_user_input/render.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f762d81e04aa6169767a38ba45321a0f2ec7007b91399715bb61f7ca647a647"}},{"ruleId":"D1","level":"warning","message":{"text":"TextArea::handle_mouse (cyclomatic 18): TextArea::handle_mouse 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":"codex-rs/tui/src/bottom_pane/textarea/mouse.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"e734ed7737c310d6bc5ce220c720902ea97008bddad1860de7f476b75fe78b85"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::maybe_send_next_queued_input (cyclomatic 18): ChatWidget::maybe_send_next_queued_input 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":"codex-rs/tui/src/chatwidget/input_flow.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b39de96a0a1d2aab9c37425251d5bd6172f439374c287382d59aa59b2df143"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::handle_restricted_key (cyclomatic 18): ChatWidget::handle_restricted_key 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":"codex-rs/tui/src/chatwidget/reconnect.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3dc8a9e0853a22adff994d585ed6ba69a9bad2b4dac0b977e2ccc99391a889"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::on_agent_message_item_completed (cyclomatic 18): ChatWidget::on_agent_message_item_completed 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":"codex-rs/tui/src/chatwidget/streaming.rs"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"866059a81787c644288d0ac8537c25733f6418144d4a42287aa9883acb845fe4"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::on_committed_user_message (cyclomatic 18): ChatWidget::on_committed_user_message 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":"codex-rs/tui/src/chatwidget.rs"},"region":{"startLine":1354}}}],"partialFingerprints":{"codehealthFindingId/v1":"676fbe98f76977276c555e1d9f3827e147a62f117ce8e9e99947d9784126fdbc"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfigEditor::value (cyclomatic 18): ConfigEditor::value has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/config_panel/mod.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"19354f87c5667682fd825e4dc49312490b4ff69cdf678b2074108a5f1f79984f"}},{"ruleId":"D1","level":"warning","message":{"text":"Terminal::draw_with_size (cyclomatic 18): Terminal::draw_with_size has cyclomatic complexity 18 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/custom_terminal.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbcc5b6f568dc5d7f71ab11ce5e3786efe59dcb1ef77fb36a2d7c53cbff80c97"}},{"ruleId":"D1","level":"warning","message":{"text":"EmptyStateAnimation::render_in_at (cyclomatic 18): EmptyStateAnimation::render_in_at 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":"codex-rs/tui/src/empty_state_animation.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad42649c0949052a21a7110397a831cbc1003f088827ecd9fca06a6740af8d89"}},{"ruleId":"D1","level":"warning","message":{"text":"ComputerActivityCell::display_lines (cyclomatic 18): ComputerActivityCell::display_lines 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":"codex-rs/tui/src/history_cell/computer_activity.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"63fa52603bd0efacfc6db7a311c8fd43cc562633c3f11e828d3b9f07e82919ca"}},{"ruleId":"D1","level":"warning","message":{"text":"UnifiedExecProcessesCell::display_lines (cyclomatic 18): UnifiedExecProcessesCell::display_lines 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":"codex-rs/tui/src/history_cell/exec.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f76b65601d2e34f6bcd2fb5a7bc6b47e6411964b7be583e91868b3c6642c3d"}},{"ruleId":"D1","level":"warning","message":{"text":"Writer::pop_link (cyclomatic 18): Writer::pop_link 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":"codex-rs/tui/src/markdown_render.rs"},"region":{"startLine":2289}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f89bb10da7171188fe3b01370365dd0c0d74734b1be6e85c742dd316d36203"}},{"ruleId":"D1","level":"warning","message":{"text":"AuthModeWidget::render_ref (cyclomatic 18): AuthModeWidget::render_ref has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/onboarding/auth.rs"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b01137e8f73d19885779e2b2a66202c81452a07a2eda7544d6f1fe2fde863e"}},{"ruleId":"D1","level":"warning","message":{"text":"BedrockState::render_methods (cyclomatic 18): BedrockState::render_methods 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":"codex-rs/tui/src/onboarding/bedrock.rs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"617f158dfdf84dcb2a675e8687435a7baf962ad099775e83a32961798dc4d0c5"}},{"ruleId":"D1","level":"warning","message":{"text":"TranscriptOverlay::handle_event (cyclomatic 18): TranscriptOverlay::handle_event 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":"codex-rs/tui/src/pager_overlay/transcript.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a05c6e8a25dd82a7c9e52015e4288019417a3a7b9c0188024846df5221e81c"}},{"ruleId":"D1","level":"warning","message":{"text":"PickerState::route_key_chord (cyclomatic 18): PickerState::route_key_chord 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":"codex-rs/tui/src/resume_picker.rs"},"region":{"startLine":1394}}}],"partialFingerprints":{"codehealthFindingId/v1":"55001045a1df75dfd40702b8409e57285215a54ee4ff3ceab491b1f6a0e318ae"}},{"ruleId":"D1","level":"warning","message":{"text":"TranscriptView::owns_interaction_key (cyclomatic 18): TranscriptView::owns_interaction_key has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/transcript_view/input.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d825be5aa06e0aaa15d524b8b62f1ddccb8afed2b2a7c322f02bb62a3438d70"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::app::cloud_switch_wait::handle_cloud_switch_event (cyclomatic 18): codex_tui::app::cloud_switch_wait::handle_cloud_switch_event 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":"codex-rs/tui/src/app/cloud_switch_wait.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c42e9fab5710dfaf07e643d5754ff1788c239a69d83d67ed56d112542a3d36"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::daemon_startup::compatibility_warning (cyclomatic 18): codex_tui::daemon_startup::compatibility_warning has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/daemon_startup.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd58445ccfa9fc492570d1a9f14d0979641b4ac8d90bd55dba2ced6ec0ffd01b"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::ide_context::prompt::render_prompt_context (cyclomatic 18): codex_tui::ide_context::prompt::render_prompt_context 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":"codex-rs/tui/src/ide_context/prompt.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43071fab54d4ee07ec9a2c02d4247ce8cca42d5afcbf92b2ff0cb4b63e2c2b7"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::wrapping::mixed_url_wrap_ranges (cyclomatic 18): codex_tui::wrapping::mixed_url_wrap_ranges 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":"codex-rs/tui/src/wrapping.rs"},"region":{"startLine":1117}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffcdc364b830c0647ecab38d5796869fa1f9dc720430d3f34d8916fdda83dadf"}},{"ruleId":"D1","level":"warning","message":{"text":"PathUri::join (cyclomatic 18): PathUri::join 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":"codex-rs/utils/path-uri/src/lib.rs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba84a638ec746c83f9de746460f993bf4ae104d6b8bf4396b5379c586cdc9004"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_windows_sandbox::acl::dacl_mask_allows_with_scope (cyclomatic 18): codex_windows_sandbox::acl::dacl_mask_allows_with_scope 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":"codex-rs/windows-sandbox-rs/src/acl.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc2bca17e46e5cbe3043ef365da255cf406a4b8b1623083236a26107e9d8a0a"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_windows_sandbox::bin::command_runner::win::spawn_input_loop (cyclomatic 18): codex_windows_sandbox::bin::command_runner::win::spawn_input_loop 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":"codex-rs/windows-sandbox-rs/src/bin/command_runner/win.rs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"242c57ecd80218c3c82bf4fa3085be2717bb288288bfc6bd2153dbab48a60dac"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_windows_sandbox::spawn_prep::apply_legacy_session_acl_rules (cyclomatic 18): codex_windows_sandbox::spawn_prep::apply_legacy_session_acl_rules 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":"codex-rs/windows-sandbox-rs/src/spawn_prep.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3f089787d86ce7426f6ffc2abe7422839772da22aa180af6bbcf800314f7cf"}},{"ruleId":"D1","level":"warning","message":{"text":"run_codex_compliance._run_official_case (cyclomatic 18): run_codex_compliance._run_official_case 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":"scripts/mcp_conformance/run_codex_compliance.py"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28e06db0fc5b982b85a5b5de67ced30420173afd2c0edc7ad0f7e646d0976d2"}},{"ruleId":"D1","level":"warning","message":{"text":"EnterpriseLoginState::start (cyclomatic 17): EnterpriseLoginState::start has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/account_processor/enterprise_login.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"704867da3a41334734604801d869b3a5a1bcadbbf9aa4fadc0282ef6e21c96d4"}},{"ruleId":"D1","level":"warning","message":{"text":"ThreadRequestProcessor::list_threads_common (cyclomatic 17): ThreadRequestProcessor::list_threads_common 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":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":6054}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eef14cc70ed58001874ba56b0c28b881f6cdbadfeff56c817453242eb62ca97"}},{"ruleId":"D1","level":"warning","message":{"text":"TurnRequestProcessor::turn_start_inner (cyclomatic 17): TurnRequestProcessor::turn_start_inner 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":"codex-rs/app-server/src/request_processors/turn_processor.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94cd7d4751d2cc11c15099169396c6024e06f96f7771c3906fc8f2461d535e3"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_app_server::request_processors::feedback_rollout_history::history_base_attachments (cyclomatic 17): codex_app_server::request_processors::feedback_rollout_history::history_base_attachments 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":"codex-rs/app-server/src/request_processors/feedback_rollout_history.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89fb34659a9037346bf55e699e0972f6a4f3cf4824205c10d15f42516adde6e"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_app_server_daemon::background_command::set_working_directory (cyclomatic 17): codex_app_server_daemon::background_command::set_working_directory 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":"codex-rs/app-server-daemon/src/background_command.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eef8069ad77c88115953d9b7e8429c272f601a9b9965d6827621b72eb90abed"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_cli::doctor::thread_inventory::parity_check_from_scan_and_rows (cyclomatic 17): codex_cli::doctor::thread_inventory::parity_check_from_scan_and_rows 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":"codex-rs/cli/src/doctor/thread_inventory.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"624c9a59750804d39f4d7b745e5c1115d96b5a31a338653d5b70d0398cfcc4f5"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_cli::mcp_cmd::run_list (cyclomatic 17): codex_cli::mcp_cmd::run_list has cyclomatic complexity 17 (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":"codex-rs/cli/src/mcp_cmd.rs"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"06607dc15a6d33290b1cecd657742efdba1f374e199c5ce89f1161ef58d57173"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_cloud_tasks::env_detect::list_environments_with_origins (cyclomatic 17): codex_cloud_tasks::env_detect::list_environments_with_origins 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":"codex-rs/cloud-tasks/src/env_detect.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad70cf06ae3585d551c24500c654333efeb54061b96f09d7b6dfdb490741901"}},{"ruleId":"D1","level":"warning","message":{"text":"Apply::run (cyclomatic 17): Apply::run 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":"codex-rs/cloud-tasks-client/src/http.rs"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"7915784b4a7b1e202fe4003e201744e1ce85f91b18b8866912774fedfdf17fec"}},{"ruleId":"D1","level":"warning","message":{"text":"HostState::handle_request (cyclomatic 17): HostState::handle_request has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/code-mode-host/src/lib.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"2480c77778db3607bde81f7fe39c2f06767a6f0028d716dd6949c5a0db597477"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonSchemaTypeRenderer::render_object (cyclomatic 17): JsonSchemaTypeRenderer::render_object 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":"codex-rs/code-mode-protocol/src/json_schema_types.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f6d06afa5a03d54135cd477b5ec2c486648e2b76d867b4fd54efb9b21b3a67c"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_mcp::rmcp_client::start_server_task (cyclomatic 17): codex_mcp::rmcp_client::start_server_task 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":"codex-rs/codex-mcp/src/rmcp_client.rs"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0887d5b0f42e9020f576760b914b6f260cbf4650d6aea09043d9a1f80b1e3d0"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_mcp::rmcp_client::make_rmcp_client (cyclomatic 17): codex_mcp::rmcp_client::make_rmcp_client 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":"codex-rs/codex-mcp/src/rmcp_client.rs"},"region":{"startLine":1443}}}],"partialFingerprints":{"codehealthFindingId/v1":"264e6c324adbab8ec9ef820f816ef934c13d74c045b63e66e7c1321d9a4d8653"}},{"ruleId":"D1","level":"warning","message":{"text":"NetworkToml::apply_to_network_proxy_config (cyclomatic 17): NetworkToml::apply_to_network_proxy_config 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":"codex-rs/config/src/permissions_toml.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b3e4910701f4011e8bb05b16181afb4d23eceb46567771f96a465aa284f48b"}},{"ruleId":"D1","level":"warning","message":{"text":"NetworkMitmToml::validate_action_definitions (cyclomatic 17): NetworkMitmToml::validate_action_definitions 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":"codex-rs/config/src/permissions_toml.rs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffffd1d7ab1a1fcc606770bc6031dd98713ddc8774354e78140567a4e5198f63"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_config::loader::validate_project_mitm_profiles (cyclomatic 17): codex_config::loader::validate_project_mitm_profiles 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":"codex-rs/config/src/loader/mod.rs"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"12036061dfcc850794d31754f580b11e74966ecb07012c0a476d2affed909222"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_config::tui_keymap::normalize_keybinding_stroke (cyclomatic 17): codex_config::tui_keymap::normalize_keybinding_stroke 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":"codex-rs/config/src/tui_keymap.rs"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf0d4bb6c08e13662b31f6577e1d108d2ef4612ea8bbebcccaafec113d196411"}},{"ruleId":"D1","level":"warning","message":{"text":"PermissionsState::render_diff (cyclomatic 17): PermissionsState::render_diff 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":"codex-rs/core/src/context/world_state/permissions.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"5039b36b793279730bba7658ee9ecff722a0dbcad0c3dc7d3804270ed1dbba24"}},{"ruleId":"D1","level":"warning","message":{"text":"PluginsInstructionsState::render_diff (cyclomatic 17): PluginsInstructionsState::render_diff has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/context/world_state/plugins_instructions.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7d5e188bd281c09503d4a67aed732dd1dfcfb93748a9ab8d5c6df793f5caa9"}},{"ruleId":"D1","level":"warning","message":{"text":"TopLevelToolsState::render_declaration_updates (cyclomatic 17): TopLevelToolsState::render_declaration_updates 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":"codex-rs/core/src/context/world_state/top_level_tools.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"1776f938c3e3fb67e2c02b8b11e96471b6c28ccf8ff84929ba509c53caa831bc"}},{"ruleId":"D1","level":"warning","message":{"text":"ContextManager::drop_last_n_user_turns (cyclomatic 17): ContextManager::drop_last_n_user_turns 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. This is NOT this file\u0027s highest cyclomatic complexity: codex_core::context_manager::history::estimate_response_item_model_visible_bytes (cyclomatic 20) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/context_manager/history.rs"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8b5fe57045fd4f634bfbe57a7c398ab52d59f045259576019a0bb1400c9cd4"}},{"ruleId":"D1","level":"warning","message":{"text":"Session::project_selected_environment_mcp_servers (cyclomatic 17): Session::project_selected_environment_mcp_servers 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":"codex-rs/core/src/session/mcp_runtime.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"80bac1ee866772ede6835afe2165890dda797aff67be5432d9efa7b47902f66a"}},{"ruleId":"D1","level":"warning","message":{"text":"Session::update_settings_if (cyclomatic 17): Session::update_settings_if 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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":2171}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a5039a5864762f3a6d873e06ad3f8c92e621a04bff7d5a2f90135bc9f6cb59"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core::mcp_tool_call::handle_mcp_tool_call (cyclomatic 17): codex_core::mcp_tool_call::handle_mcp_tool_call 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":"codex-rs/core/src/mcp_tool_call.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"397721f451d04203797ac9beaa44e5d81154276bde0e49bae570be0b7434cc90"}},{"ruleId":"D1","level":"warning","message":{"text":"PluginsManager::list_tool_suggest_discoverable_plugins (cyclomatic 17): PluginsManager::list_tool_suggest_discoverable_plugins has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/discoverable.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f28fd027f392da553a90b740a9d243abdb0ca6664d925a404b4aecf5792fbc9"}},{"ruleId":"D1","level":"warning","message":{"text":"PluginsManager::plugins_for_config (cyclomatic 17): PluginsManager::plugins_for_config 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":"codex-rs/core-plugins/src/manager.rs"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e775a673db70f1dc6300ae0b6501ab61264fe837d03cf9442b639c53bc38212"}},{"ruleId":"D1","level":"warning","message":{"text":"PluginsManager::write_remote_installed_plugins_cache_snapshot (cyclomatic 17): PluginsManager::write_remote_installed_plugins_cache_snapshot 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":"codex-rs/core-plugins/src/manager.rs"},"region":{"startLine":1589}}}],"partialFingerprints":{"codehealthFindingId/v1":"04dc656385bc6810b8d6ed23cfd52d24e7641eda640b03146dc7c0c4fed0c391"}},{"ruleId":"D1","level":"warning","message":{"text":"PluginsManager::schedule_non_curated_plugin_cache_refresh (cyclomatic 17): PluginsManager::schedule_non_curated_plugin_cache_refresh has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/manager.rs"},"region":{"startLine":3351}}}],"partialFingerprints":{"codehealthFindingId/v1":"547fabd1d553d9f3f5d593b02b2dd378102c89e4684a4cb7526f09874cb730ba"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core_plugins::loader::refresh_non_curated_plugin_cache_with_mode (cyclomatic 17): codex_core_plugins::loader::refresh_non_curated_plugin_cache_with_mode has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/loader.rs"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"88dd5ef611bc407fb53e74c1ce65a713b67d36115b5665567d753405b0fcdad4"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_exec_server::process_sandbox::prepare_exec_request_with_telemetry (cyclomatic 17): codex_exec_server::process_sandbox::prepare_exec_request_with_telemetry 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":"codex-rs/exec-server/src/process_sandbox.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"432d3fa8318313735efbcafc27457b8f1f487edc27a920597fe4a54a610135a7"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_exec_server::process_sandbox::prepare_managed_network (cyclomatic 17): codex_exec_server::process_sandbox::prepare_managed_network 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":"codex-rs/exec-server/src/process_sandbox.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5bcf4ed424d9488aff319bd11761d493ce872c8d01e0b0ad9adb85992dbced6"}},{"ruleId":"D1","level":"warning","message":{"text":"NodeReplReviewEvidence::record (cyclomatic 17): NodeReplReviewEvidence::record 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":"codex-rs/ext/guardian-reviewer/src/node_repl_review_evidence.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd799f94966931fdd0c044287c949d51268c3cc0daee06910059c693a992034"}},{"ruleId":"D1","level":"warning","message":{"text":"ReviewRequest::decide (cyclomatic 17): ReviewRequest::decide has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/guardian-reviewer/src/routing.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78a7b4f19309ca53d69af1579cb254ff11a4709c20c8665f0767f19204270e3"}},{"ruleId":"D1","level":"warning","message":{"text":"Housekeeper::route (cyclomatic 17): Housekeeper::route 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":"codex-rs/ext/guardian-v3/src/housekeeper.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"97dfb102ccbda1ae71611b28407e271b1bca7e5f1f71576c0f947ab24e1f0494"}},{"ruleId":"D1","level":"warning","message":{"text":"InstallationsTool::handle (cyclomatic 17): InstallationsTool::handle 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":"codex-rs/ext/skills/src/tools/installations.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88e4bf7100cb376cff53f6a0ff03546e1cb7f62148f734fa4d329ff05e28496"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_skills_extension::catalog_delta::build_catalog_update (cyclomatic 17): codex_skills_extension::catalog_delta::build_catalog_update 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":"codex-rs/ext/skills/src/catalog_delta.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8583d2cebade142bd2f77391025045ebca4f3708964491f2bf0fffe9540f59"}},{"ruleId":"D1","level":"warning","message":{"text":"FeaturesToml::entries (cyclomatic 17): FeaturesToml::entries 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":"codex-rs/features/src/lib.rs"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"76991f63fe88117fc31d573e3265a358e9bbfbd2fb5876a6fee9a937193fddfc"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_mermaid::parse::parse (cyclomatic 17): codex_mermaid::parse::parse 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":"codex-rs/mermaid/src/parse.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b158e13b3424149b52aaa17863dc96174add1cf1742dc76a39650e919c73126"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAiModelsManager::fetch_and_update_models (cyclomatic 17): OpenAiModelsManager::fetch_and_update_models 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":"codex-rs/models-manager/src/manager.rs"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"07427d191d192dbdcf2fbb48d57d252d0067efa67e94fdf067947f98b2ad6c74"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_network_proxy::http_proxy::http_connect_accept (cyclomatic 17): codex_network_proxy::http_proxy::http_connect_accept has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6107bd6cc87488269b53d51116e07d9a592392c88fa5dc9dfcd5bba9665aec"}},{"ruleId":"D1","level":"warning","message":{"text":"OAuthStoreLock::acquire_in_with_mode (cyclomatic 17): OAuthStoreLock::acquire_in_with_mode has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/oauth/store_lock.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"4abad490eda8b0b70fa9b0fdd29fa0e46afa85f68153e17a04832ede51574149"}},{"ruleId":"D1","level":"warning","message":{"text":"OauthLoginFlow::new (cyclomatic 17): OauthLoginFlow::new 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":"codex-rs/rmcp-client/src/perform_oauth_login.rs"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf4a5f6365a53d3c106104311a31a5431ff715f5c5c66aef102904ea2b96dcd"}},{"ruleId":"D1","level":"warning","message":{"text":"RmcpClient::call_tool_inner (cyclomatic 17): RmcpClient::call_tool_inner has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/rmcp_client.rs"},"region":{"startLine":1053}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d0393a44b8dd23ebf2b4b562d891f8f3e0d63186102f94b3bfcbfa288b71c2"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_rmcp_client::request_input::request (cyclomatic 17): codex_rmcp_client::request_input::request has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/request_input.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"c849d7aebd2df97c724e417ef4283f36722d4c09643fb76eb077dacfd9d34192"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_thread_store::local::rollout_migration::legacy_event::completed_item (cyclomatic 17): codex_thread_store::local::rollout_migration::legacy_event::completed_item has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/rollout_migration/legacy_event.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee14cf7b84c6b00b39c6befae551b302fdc3b2c27cdcea33ac4aaec9b66c7b5"}},{"ruleId":"D1","level":"warning","message":{"text":"App::start_managed_worktree (cyclomatic 17): App::start_managed_worktree 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":"codex-rs/tui/src/app/managed_worktree_creation.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"c973a5034f80ab45c7a59e512f31baae555ed4792080a4859b9a8d498c14d5f7"}},{"ruleId":"D1","level":"warning","message":{"text":"App::paint_conversation (cyclomatic 17): App::paint_conversation 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":"codex-rs/tui/src/app/owned_transcript.rs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f08d62e3e643011de27cedb3f6011b9e733ad32135d01b1854d5a12fb6a7d15"}},{"ruleId":"D1","level":"warning","message":{"text":"App::begin_reconnect_inner (cyclomatic 17): App::begin_reconnect_inner 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":"codex-rs/tui/src/app/reconnect.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e47a25828125009ff2f37a37619134a82b3b8de37975db585404cb25a26979"}},{"ruleId":"D1","level":"warning","message":{"text":"App::select_agent_thread (cyclomatic 17): App::select_agent_thread 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":"codex-rs/tui/src/app/session_lifecycle.rs"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b2f511a50a6e49cfa5862b5223ba94fe97dcb288bab0467ce047382c72d3d2"}},{"ruleId":"D1","level":"warning","message":{"text":"App::apply_side_creation (cyclomatic 17): App::apply_side_creation 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":"codex-rs/tui/src/app/side.rs"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad3ce4680c2c799e8955c40d55d8218b51f8697d73953d8802300220f14eceb"}},{"ruleId":"D1","level":"warning","message":{"text":"App::handle_backtrack_preview_key (cyclomatic 17): App::handle_backtrack_preview_key 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":"codex-rs/tui/src/app_backtrack/legacy_input.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da553e866773cad83b3c44113fc16ec4b08c99009dc8da7271820a042ab1368"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncQuestions::footer_lines (cyclomatic 17): AsyncQuestions::footer_lines 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":"codex-rs/tui/src/bottom_pane/async_questions/render.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"807c62c108b0a5d3fe0ce432a4f2bd3783459212d947ef6ab4a750db465ab660"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatComposer::handle_key_event_with_mentions_v2_popup (cyclomatic 17): ChatComposer::handle_key_event_with_mentions_v2_popup 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":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":2379}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8f3c3bc8248d239b43596add44644484a097905757ac1c4f443e0348567ec2"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatComposer::prepare_submission_text_with_options (cyclomatic 17): ChatComposer::prepare_submission_text_with_options 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":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":3117}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a61c31ebeb54d032e9a852262f439609983e1e78635610e7cf7c89afb27328"}},{"ruleId":"D1","level":"warning","message":{"text":"CustomPromptView::handle_key_event_at (cyclomatic 17): CustomPromptView::handle_key_event_at 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":"codex-rs/tui/src/bottom_pane/custom_prompt_view.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"274ec5c3a1fb04edaf99b27331b68b3725ddba5787f01f981a77567d9bc0f674"}},{"ruleId":"D1","level":"warning","message":{"text":"RequestUserInputOverlay::footer_tips (cyclomatic 17): RequestUserInputOverlay::footer_tips 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":"codex-rs/tui/src/bottom_pane/request_user_input/mod.rs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b42de1d7a651b6d093db9633ebf2b1f29473db25c8c8f21736c77c08e5823f8"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::refresh_backend_banner_visibility (cyclomatic 17): ChatWidget::refresh_backend_banner_visibility has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/backend_banners.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c962ff340bc5a2ee0cc9b606b2573b8c0ad8ae05cf3dda6a76720eb73698677"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::submit_initial_user_message_if_pending (cyclomatic 17): ChatWidget::submit_initial_user_message_if_pending 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":"codex-rs/tui/src/chatwidget/input_restore.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d7053bfcf878228feb4adb3d1c25917cc3a81926eefbfe978f9afdec18c31b"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::restore_thread_input_state (cyclomatic 17): ChatWidget::restore_thread_input_state 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":"codex-rs/tui/src/chatwidget/input_restore.rs"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"5489e7c0702edc92be4530dfeb54eebdb886a34df2e41115d50517c441b6beb4"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::plugins_popup_params (cyclomatic 17): ChatWidget::plugins_popup_params 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":"codex-rs/tui/src/chatwidget/plugin_catalog.rs"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fff6b0f4c062b01702c8c47de0ec5b2de1a012d718dfcde7a1f806ab89371ce"}},{"ruleId":"D1","level":"warning","message":{"text":"HookCell::output_lines (cyclomatic 17): HookCell::output_lines 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":"codex-rs/tui/src/history_cell/hook_cell.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"670900ac34d864ec68cf01d26a42a0001dd21e40837f98008f409c4ad5c01f26"}},{"ruleId":"D1","level":"warning","message":{"text":"Tui::with_restored (cyclomatic 17): Tui::with_restored 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":"codex-rs/tui/src/tui.rs"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"48dc72553c0b132ad335ec541bb4da138f1ab2360d06419fe37642a0158b5e2d"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::app::reconnect::reconnect (cyclomatic 17): codex_tui::app::reconnect::reconnect has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/reconnect.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef1800d469e9b87d0dfc52de03091f09d93cfee698cd517eb1718ce5b459d7f"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::app::transcript_export::render_markdown_transcript (cyclomatic 17): codex_tui::app::transcript_export::render_markdown_transcript 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":"codex-rs/tui/src/app/transcript_export.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e6fafcc60813a303e60c70cbd23c4e2bdea2e26ae75398cd688f9ae9787306"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::bottom_pane::approval_overlay::build_header (cyclomatic 17): codex_tui::bottom_pane::approval_overlay::build_header 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":"codex-rs/tui/src/bottom_pane/approval_overlay.rs"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca2b8751ef8ee75071c3b9ea6f645dc0ee1d2dffc7e9767ba48ae8f9ec86c28"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::history_cell::separators::runtime_metrics_label (cyclomatic 17): codex_tui::history_cell::separators::runtime_metrics_label 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":"codex-rs/tui/src/history_cell/separators.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"3501edd419e0440ef3f5419b9b3af17f0e5f904f0441362ea348512a59d22260"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::inline_visualization::rewrite_inline_visualizations (cyclomatic 17): codex_tui::inline_visualization::rewrite_inline_visualizations 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":"codex-rs/tui/src/inline_visualization.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"3404ec2fe6c953641fd25f3246b37d5c9d27628748718e13bed7c5cb15a63731"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::markdown::extract_copy_targets (cyclomatic 17): codex_tui::markdown::extract_copy_targets 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":"codex-rs/tui/src/markdown.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"97faf941b561f88dfc2ef785eb9aa52939177663580dbdd659f3eb6e1acc717c"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::task_mentions::apply_task_references (cyclomatic 17): codex_tui::task_mentions::apply_task_references 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":"codex-rs/tui/src/task_mentions.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b1ef175c11a30b513aee688b5750e00f26fd1319e494964c3fa0679e350534"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::terminal_hyperlinks::mark_buffer_hyperlinks (cyclomatic 17): codex_tui::terminal_hyperlinks::mark_buffer_hyperlinks 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":"codex-rs/tui/src/terminal_hyperlinks.rs"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b52dc6b9304f574a759022f417ec7b703c6f12de38b0b88c5988ef80e32bae7"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::thread_transcript::item_to_cells (cyclomatic 17): codex_tui::thread_transcript::item_to_cells 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":"codex-rs/tui/src/thread_transcript.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce440028e3f1ed49d557b6138bbbd244e962813d836d6187a9bedc53905f0a74"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_windows_sandbox_service::machine_policy::validate_requirements (cyclomatic 17): codex_windows_sandbox_service::machine_policy::validate_requirements 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":"codex-rs/windows-sandbox-service/src/machine_policy.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb016db2b24caddc5a96775efca4aefa68c4429885818ce881000e5bccda6d7"}},{"ruleId":"D1","level":"warning","message":{"text":"official_conformance._run_scenario (cyclomatic 17): official_conformance._run_scenario has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mcp_conformance/official_conformance.py"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9ced7a35a4ac584ec64d95b1f93d201ae83ec735eade8e52ab69082ee04fc1"}},{"ruleId":"D1","level":"warning","message":{"text":"review_regressions._print_report (cyclomatic 17): review_regressions._print_report 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":"scripts/mcp_conformance/review_regressions.py"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66ea540a28a0cb1fd08079fa88cb458b03cc93f0913ae24a4c053b5252789a7"}},{"ruleId":"D1","level":"warning","message":{"text":"run_codex_compliance._run_case (cyclomatic 17): run_codex_compliance._run_case 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":"scripts/mcp_conformance/run_codex_compliance.py"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81f530af1654e0feb40f217e739c57aab97598c8071b7802e6a362bb8903982"}},{"ruleId":"D1","level":"warning","message":{"text":"ProtocolServer._handle_modern (cyclomatic 17): ProtocolServer._handle_modern 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":"scripts/mcp_conformance/server.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7249e26d26af508264008f0dcd46db71598fdd17459b5c3e6b5fe8fdbd2dda"}},{"ruleId":"D1","level":"warning","message":{"text":"_initialize_metadata.validate_initialize_metadata (cyclomatic 17): _initialize_metadata.validate_initialize_metadata 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":"sdk/python/src/openai_codex/_initialize_metadata.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6dc45c0a7f50633f2e2eb52b3af9d7757bad8d48be09a723c1ff186790a7fe"}},{"ruleId":"D1","level":"warning","message":{"text":"run_bazel.bazel_args_with_remote_config (cyclomatic 17): run_bazel.bazel_args_with_remote_config 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":".github/scripts/run_bazel.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"633e59ffce4042a0fccc01f99066110cfb0652070a285bb26c2cadd779ec3500"}},{"ruleId":"D1","level":"warning","message":{"text":"build_npm_package.copy_native_binaries (cyclomatic 17): build_npm_package.copy_native_binaries 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":"codex-cli/scripts/build_npm_package.py"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c6614b15f6c07f7c0c046d8805a1e01b0a1ef3b24838cb53d1d5d8efad2a3d"}},{"ruleId":"D1","level":"warning","message":{"text":"AnalyticsReducer::ingest_code_mode_tool_call (cyclomatic 16): AnalyticsReducer::ingest_code_mode_tool_call 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":"codex-rs/analytics/src/reducer.rs"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a0ee78d48514bb2319aee75b52dd7853014f75879b90b03d09553e9594527e"}},{"ruleId":"D1","level":"warning","message":{"text":"McpRequestProcessor::list_mcp_server_status_response (cyclomatic 16): McpRequestProcessor::list_mcp_server_status_response 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":"codex-rs/app-server/src/request_processors/mcp_processor.rs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d1001090f0052ed259a1db1c3de8aa4794fdc3e348ebbe5c9b8b4444a0732f"}},{"ruleId":"D1","level":"warning","message":{"text":"RequestSerializationQueues::drain (cyclomatic 16): RequestSerializationQueues::drain 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":"codex-rs/app-server/src/request_serialization.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"e955698de9502da43744fa3c5f9fc275a1968a39827d37f6213190e07b2144a7"}},{"ruleId":"D1","level":"warning","message":{"text":"Daemon::try_restart_if_running (cyclomatic 16): Daemon::try_restart_if_running 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":"codex-rs/app-server-daemon/src/lib.rs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d187822795d69d25b2f5a5c57163daff7446235c6af21fc6c63abf78cdc643"}},{"ruleId":"D1","level":"warning","message":{"text":"Daemon::bootstrap_locked (cyclomatic 16): Daemon::bootstrap_locked 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":"codex-rs/app-server-daemon/src/lib.rs"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"058e11bc65130d9db980a1c74e829c891438bd1c03e033abfb0fa16e7725f534"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_app_server_daemon::update_loop::run_installer_script (cyclomatic 16): codex_app_server_daemon::update_loop::run_installer_script 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":"codex-rs/app-server-daemon/src/update_loop.rs"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"2546fb6febcd6881b918c60a8f08d259ea51adfd9f732a2ed78e21d841760bea"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_app_server_protocol::export::build_schema_bundle (cyclomatic 16): codex_app_server_protocol::export::build_schema_bundle 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":"codex-rs/app-server-protocol/src/export.rs"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"d938bf7d71b3dac9b9b70f4d21ec1e808d4bc4c7239d0005cd2513649870866b"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteControlWebsocket::run (cyclomatic 16): RemoteControlWebsocket::run 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":"codex-rs/app-server-transport/src/transport/remote_control/websocket.rs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2d8233a38696e3c8c81219c8aadfa149861b0d644e4e6546f19decb85d4439"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_app_server_transport::transport::websocket::run_websocket_inbound_loop (cyclomatic 16): codex_app_server_transport::transport::websocket::run_websocket_inbound_loop has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-transport/src/transport/websocket.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aefa74acfbd582e7df9e527cab9c15f669227e23caa0bccf11824b24c33b165"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_apply_patch::file_update::compute_replacements (cyclomatic 16): codex_apply_patch::file_update::compute_replacements 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":"codex-rs/apply-patch/src/file_update.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7d6d747df6856257b209ce9262e7e048eac9875193ca99b95fd43c6964aaa3"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_cli::doctor::filesystem_paths::source (cyclomatic 16): codex_cli::doctor::filesystem_paths::source 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":"codex-rs/cli/src/doctor/filesystem_paths.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b01704b787639603a6b36371b4f3bc37f63c6d61d30b699cc3eb40b0a899da"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_cli::doctor::thread_inventory::scan_rollout_root (cyclomatic 16): codex_cli::doctor::thread_inventory::scan_rollout_root 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":"codex-rs/cli/src/doctor/thread_inventory.rs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c0e403314fe56dab82d8f25d068c704f6cd4c41a97aa69bcb40d71a17bd19c"}},{"ruleId":"D1","level":"warning","message":{"text":"GrpcCodeModeSessionProvider::open_binding (cyclomatic 16): GrpcCodeModeSessionProvider::open_binding 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":"codex-rs/code-mode/src/grpc_session/mod.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"9963d67d3faba3debe87b61ddeef16083322a5a797aacd4f641fbe304e5d8906"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_code_mode_runtime::runtime::run_runtime (cyclomatic 16): codex_code_mode_runtime::runtime::run_runtime 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":"codex-rs/code-mode-runtime/src/runtime/mod.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"0269d9cf3617aa390711178e97009c9dedebc823e7d740140039cd2d0d0bd01a"}},{"ruleId":"D1","level":"warning","message":{"text":"Session::start_task (cyclomatic 16): Session::start_task 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":"codex-rs/core/src/tasks/mod.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"701b6f1cfb95582899e1ea47065d660bb390aaeddb7d34426fa0f580caf8dee4"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionConfiguration::apply (cyclomatic 16): SessionConfiguration::apply 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":"codex-rs/core/src/session/session.rs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"de02ea7f2d23ec007289d4a4da05d1e37757563d89ba6aa6b54884f1d319ecf8"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecutedToolCalls::record_nested_tool_call (cyclomatic 16): ExecutedToolCalls::record_nested_tool_call 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":"codex-rs/core/src/tools/executed_tool_calls.rs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f338cf7ca64dcec5fe04d39230ee7f15bee577be1908123f125c2fa390d4ae3"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core::agent::role::role_overrides::build_next_config (cyclomatic 16): codex_core::agent::role::role_overrides::build_next_config 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":"codex-rs/core/src/agent/role.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ec8ee13ca9bf5187e679f3408f667414015592ef1535a46f0b7e99c379f9f5"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core::connectors::list_accessible_connectors_from_mcp_tools_with_mcp_manager (cyclomatic 16): codex_core::connectors::list_accessible_connectors_from_mcp_tools_with_mcp_manager 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":"codex-rs/core/src/connectors.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"26fe7754af82b7c41bd4a14cf6532bce457ae55ffe3876336657e4c7544c3a01"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core::mcp_openai_file::build_uploaded_argument_value (cyclomatic 16): codex_core::mcp_openai_file::build_uploaded_argument_value 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":"codex-rs/core/src/mcp_openai_file.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"9765448780c735f3cc7684cd69f12c409c9f2a62cf70fc2da053837646319d04"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core::mcp_tool_call::handle_approved_mcp_tool_call (cyclomatic 16): codex_core::mcp_tool_call::handle_approved_mcp_tool_call 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":"codex-rs/core/src/mcp_tool_call.rs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"95120bb18c7949119d9de1f55d9bb90fabc39c9fc2c4ca4c63033a9dd8f68143"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core::responses_retry::handle_response_stream_error (cyclomatic 16): codex_core::responses_retry::handle_response_stream_error 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":"codex-rs/core/src/responses_retry.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9385ffd5c6d661f3e106dc33ab6ec7d49434d870bb6b8f2798762265d526a4b"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core::tools::tool_namespaces_info::collect_tool_namespaces_info (cyclomatic 16): codex_core::tools::tool_namespaces_info::collect_tool_namespaces_info 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":"codex-rs/core/src/tools/tool_namespaces_info.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e6ec9c96023e22fce362e2dc80e40ccc9cbc19ad66811a7ba59a6dfccca949"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core_plugins::agent_plugin_manifest::parse_agent_plugin_manifest_uri (cyclomatic 16): codex_core_plugins::agent_plugin_manifest::parse_agent_plugin_manifest_uri 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":"codex-rs/core-plugins/src/agent_plugin_manifest.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"64582a9f4a8b13445e9f553fadefcce0d3a95cbabb5aa48b3cb2282800b973ad"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_core_plugins::loader::apply_configured_plugin_mcp_server_policies (cyclomatic 16): codex_core_plugins::loader::apply_configured_plugin_mcp_server_policies 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":"codex-rs/core-plugins/src/loader.rs"},"region":{"startLine":1420}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbba5dc23cfefcb22a95643de777f347f11c5ba556085db5446e5c4f4b3fae9e"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_exec_server::client::handle_server_notification (cyclomatic 16): codex_exec_server::client::handle_server_notification 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":"codex-rs/exec-server/src/client.rs"},"region":{"startLine":1921}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30b3b311d447e096e6489874b1e2b1bf3590fb6407c3257dba6d8ab0e55a1c5"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_external_agent_migration::hooks_cur::hook_migration_cur (cyclomatic 16): codex_external_agent_migration::hooks_cur::hook_migration_cur 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":"codex-rs/external-agent-migration/src/hooks_cur.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2cee0c1dbb748ae8b6d1d7ce4e3f08fbbc2f0882b08e01d2298a770d6d348c"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_external_agent_migration::sessions::records_cla::summarize_session (cyclomatic 16): codex_external_agent_migration::sessions::records_cla::summarize_session 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":"codex-rs/external-agent-migration/src/sessions/records_cla.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9887017310d81837af7b4aefc5ec79b1da28d1d88c176da7af17721d3d0010f"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_feedback::upload::send_envelope (cyclomatic 16): codex_feedback::upload::send_envelope 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":"codex-rs/feedback/src/upload.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4807be9754c7a01b44194fc340976e59d05adc3aa7f47d9de80737c4da3903"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_hooks::events::pre_tool_use::parse_completed (cyclomatic 16): codex_hooks::events::pre_tool_use::parse_completed 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":"codex-rs/hooks/src/events/pre_tool_use.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3a327b272d03baf3132b23d13608e3a5445f625bbc36a7c496d6316a335df7"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_hooks::events::session_start::parse_completed (cyclomatic 16): codex_hooks::events::session_start::parse_completed 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":"codex-rs/hooks/src/events/session_start.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef729e7c151e17acf9b98c895b68acb225f0d2c5ecd8d02c0f4c79076babbef0"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_keyring_store::error_kind::classify (cyclomatic 16): codex_keyring_store::error_kind::classify has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/keyring-store/src/error_kind.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b32f549f3e65ee8c1e985ce1e102b9f01ad88470322d2db87331bf6d5ad6160"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_linux_sandbox::seccomp::install_network_seccomp_filter_on_current_thread (cyclomatic 16): codex_linux_sandbox::seccomp::install_network_seccomp_filter_on_current_thread has cyclomatic complexity 16 (threshold 15). Of this number, 8 points are the body\u0027s own statements and 8 belong to one function item inside it that branches. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/linux-sandbox/src/seccomp.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f9b88645b13a19971f87c108b8e18de8a10fd0a55fbaa820704adab21bb99f"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_memories_write::phase2::agent::handle (cyclomatic 16): codex_memories_write::phase2::agent::handle 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":"codex-rs/memories/write/src/phase2.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"052efd46b15a1a233a279a9491d360858b59f52ee1efd9fd51222333abc27b62"}},{"ruleId":"D1","level":"warning","message":{"text":"CredentialBroker::provider_sources_allowed (cyclomatic 16): CredentialBroker::provider_sources_allowed 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":"codex-rs/network-proxy/src/credential_broker.rs"},"region":{"startLine":1247}}}],"partialFingerprints":{"codehealthFindingId/v1":"20513f957194cfb739705d4422897d616d3a2f8889e2966dc3fc408b4aec1974"}},{"ruleId":"D1","level":"warning","message":{"text":"BodySecretSubstitution::apply (cyclomatic 16): BodySecretSubstitution::apply 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":"codex-rs/network-proxy/src/secret_substitution.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"3583a001bb4e88969ad87775e60a50e658ce76fd2aa56b35a6c6b46690d2fbbf"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_protocol::permission_profile_intersection::normalize_policy (cyclomatic 16): codex_protocol::permission_profile_intersection::normalize_policy 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":"codex-rs/protocol/src/permission_profile_intersection.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a33ab07c7ccf5aaf15677c779db928cc7d5bdf8a920642a8a1528bd131aacae"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_rmcp_client::http_client_adapter::legacy_discovery_fallback_response (cyclomatic 16): codex_rmcp_client::http_client_adapter::legacy_discovery_fallback_response 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":"codex-rs/rmcp-client/src/http_client_adapter.rs"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca569d2567ba255a626f1d89555828ed94e073bb665866731740cca4e5c6ae6c"}},{"ruleId":"D1","level":"warning","message":{"text":"RolloutReferenceIndex::scan_paths (cyclomatic 16): RolloutReferenceIndex::scan_paths 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":"codex-rs/rollout/src/rollout_reference_index.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c61e81e8b50ef65d1fb7cd51c2924f9917146a8addaddcdaabbcb9c0255bca5"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_sandboxing::windows::resolve_windows_restricted_token_filesystem_overrides (cyclomatic 16): codex_sandboxing::windows::resolve_windows_restricted_token_filesystem_overrides 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":"codex-rs/sandboxing/src/windows.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"95df93c69b385c80b387ebf32d32aaf4a7df5310804ef99789ea741b6b4b7f3b"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_sandboxing::windows::resolve_windows_elevated_filesystem_overrides (cyclomatic 16): codex_sandboxing::windows::resolve_windows_elevated_filesystem_overrides 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":"codex-rs/sandboxing/src/windows.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bbd7db47633a62aa9219ee6321c85733cb3ebe900eb17d9aa128551e69f90fb"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_shell_command::shell_snapshot_literals::literal_word_bytes (cyclomatic 16): codex_shell_command::shell_snapshot_literals::literal_word_bytes 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":"codex-rs/shell-command/src/shell_snapshot_literals.rs"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"812bae10993f4a467c7b433ada9ebce81e9bff4aa921ac97dcdb43de89b0f3bb"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_terminal_detection::detect_terminal_identity_from_env (cyclomatic 16): codex_terminal_detection::detect_terminal_identity_from_env 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. This is NOT this file\u0027s highest cyclomatic complexity: TerminalInfo::user_agent_token (cyclomatic 18) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/terminal-detection/src/lib.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"b957457203a68d861c733b3ae45ab20e1e1f299174e86f7829f65f72416bc92e"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_thread_store::local::unarchive_thread::unarchive_thread_with_index (cyclomatic 16): codex_thread_store::local::unarchive_thread::unarchive_thread_with_index 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":"codex-rs/thread-store/src/local/unarchive_thread.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"646ce51e6f1e1a326104dd0dcfa2ad5a14c9e38d1b32a36601c0053b5f379a76"}},{"ruleId":"D1","level":"warning","message":{"text":"App::finish_agents_overview_usage (cyclomatic 16): App::finish_agents_overview_usage 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":"codex-rs/tui/src/app/agents_overview_usage.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d23e9a0e770bf1ee8830fc96f9ce62472baeb925e4211cae4b0995dff4fc96a"}},{"ruleId":"D1","level":"warning","message":{"text":"App::save_config_preference (cyclomatic 16): App::save_config_preference 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":"codex-rs/tui/src/app/config_panel.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1aaa6a07acfe87796ed9ddbb31e5dc13b988cb94259ab799bd4166399ed1b2"}},{"ruleId":"D1","level":"warning","message":{"text":"App::refresh_thread_usage_history_tail (cyclomatic 16): App::refresh_thread_usage_history_tail 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":"codex-rs/tui/src/app/history_ui.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc014dcf324ca69307233c3a8346c1ad47fc7d541602bebf10ab864be8d8961d"}},{"ruleId":"D1","level":"warning","message":{"text":"App::invalidate_right_click_paste (cyclomatic 16): App::invalidate_right_click_paste has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/right_click_paste.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5de365b3432bb1b853de2196247f0265c239f0914d556e4b9dae961c1e7eb3"}},{"ruleId":"D1","level":"warning","message":{"text":"App::handle_divider_event (cyclomatic 16): App::handle_divider_event 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":"codex-rs/tui/src/app/side_pane.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5286fcfcfd16de1cca7196a9769d2bbf4dd116cbb2024bf864c677743874f3"}},{"ruleId":"D1","level":"warning","message":{"text":"App::set_thread_goal_draft (cyclomatic 16): App::set_thread_goal_draft 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":"codex-rs/tui/src/app/thread_goal_actions.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac7ca1024aeb1ea5e8418443e24c8c824ec7247921e648b6b6c834eeedc8062"}},{"ruleId":"D1","level":"warning","message":{"text":"App::handle_owned_backtrack_event (cyclomatic 16): App::handle_owned_backtrack_event 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":"codex-rs/tui/src/app_backtrack/legacy_input.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"33843bfe9dc3f0cec0120fb608191226a6cb675d6c22f4dc7bece3043b11f149"}},{"ruleId":"D1","level":"warning","message":{"text":"AppLinkView::link_content_lines (cyclomatic 16): AppLinkView::link_content_lines 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":"codex-rs/tui/src/bottom_pane/app_link_view.rs"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac643152c55b91666b9c7452ed550ac66d1c57f7a2ec23ed8418b99fedaa3125"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatComposer::handle_history_search_key (cyclomatic 16): ChatComposer::handle_history_search_key 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":"codex-rs/tui/src/bottom_pane/chat_composer/history_search.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7eb621193cd419d5333197eff62452555353bfd6b1d17979eb4a324cd9f2354"}},{"ruleId":"D1","level":"warning","message":{"text":"PendingInputPreview::as_renderable (cyclomatic 16): PendingInputPreview::as_renderable 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":"codex-rs/tui/src/bottom_pane/pending_input_preview.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d1c7552d100eb3822b04ae6528429eba732ad42f0bb6dbcf736bcedae8fbfd"}},{"ruleId":"D1","level":"warning","message":{"text":"TextArea::apply_vim_insert_action (cyclomatic 16): TextArea::apply_vim_insert_action has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/textarea/vim_commands.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f98e7d23a1981c0e7e8e66cfe022a041593db8c38f2efb36114d56f3aa0a48"}},{"ruleId":"D1","level":"warning","message":{"text":"TextArea::apply_vim_operator (cyclomatic 16): TextArea::apply_vim_operator 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":"codex-rs/tui/src/bottom_pane/textarea.rs"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"9223458a7c62878aeb452ceea6967d801d60c266726028649de69c38b63a2e30"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::queue_user_message_with_options_and_source (cyclomatic 16): ChatWidget::queue_user_message_with_options_and_source 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":"codex-rs/tui/src/chatwidget/input_flow.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0afc197b00e632d5c35ec28f6f8074499816a8d687acc09b096243a35e48f64"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::on_interrupted_turn (cyclomatic 16): ChatWidget::on_interrupted_turn 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":"codex-rs/tui/src/chatwidget/input_restore.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"65aaf3bea9f37cec51b3b842aca842d62057476d022672304e83ef25706f0b6b"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::open_legacy_permissions_popup (cyclomatic 16): ChatWidget::open_legacy_permissions_popup 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":"codex-rs/tui/src/chatwidget/permission_popups.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef81c14ee463dfede5c044fda42b9a5b2b1ebbb244632447afe2cafcf7e93d7"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::complete_realtime_delegated_agent_item (cyclomatic 16): ChatWidget::complete_realtime_delegated_agent_item 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":"codex-rs/tui/src/chatwidget/realtime.rs"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b269e5fd620d5d602fb589673cfa8efb5025864cbf12676b16a185a7e71e285"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::handle_reasoning_shortcut (cyclomatic 16): ChatWidget::handle_reasoning_shortcut 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":"codex-rs/tui/src/chatwidget/reasoning_shortcuts.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2e07a2f11f4e1436db752ba7f350dadefd44493d9ad01569d7fb1af2e9f252"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatWidget::on_task_complete (cyclomatic 16): ChatWidget::on_task_complete 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":"codex-rs/tui/src/chatwidget/turn_runtime.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71aafe4341954e0c4688a48456b028deedb4c4009dcb2cf3ae5690490795c74"}},{"ruleId":"D1","level":"warning","message":{"text":"ModifierDiff::queue (cyclomatic 16): ModifierDiff::queue has cyclomatic complexity 16 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/custom_terminal.rs"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f26cd6887c9aff70ef4fe674123c2e820a0bf4e5bb2bb2f3af7d83e2078b4a"}},{"ruleId":"D1","level":"warning","message":{"text":"CwdPromptScreen::handle_key (cyclomatic 16): CwdPromptScreen::handle_key has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/cwd_prompt.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"672d48971de73931be825ec19bcf45ecf5a1ac2754a23744250a13d24ceae7a2"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecCell::compact_command_lines (cyclomatic 16): ExecCell::compact_command_lines 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":"codex-rs/tui/src/exec_cell/compact.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb308d6b961b223debd515cdb9a12ea16916b16032378167dc578e2e442f3fba"}},{"ruleId":"D1","level":"warning","message":{"text":"RequestUserInputResultCell::display_hyperlink_lines (cyclomatic 16): RequestUserInputResultCell::display_hyperlink_lines 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":"codex-rs/tui/src/history_cell/request_user_input.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe58f387a8418e218f84eb21494aab518452016f5d369a6c845a299eeb3d74b"}},{"ruleId":"D1","level":"warning","message":{"text":"RuntimeChordKeymap::from_config (cyclomatic 16): RuntimeChordKeymap::from_config 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":"codex-rs/tui/src/keymap/chords.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"449094bfaa507685d3648f2a96f9e377a3b4c9c349e6fe89ba0ef02addae879b"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyChordMatcher::advance (cyclomatic 16): KeyChordMatcher::advance 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":"codex-rs/tui/src/keymap/chords.rs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1fa954c75728876f1797d1ae2450570d57dccc41d928ee5df005e0ce1b71d70"}},{"ruleId":"D1","level":"warning","message":{"text":"CopyLine::render (cyclomatic 16): CopyLine::render 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":"codex-rs/tui/src/markdown_copy.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"751f02767545923829b4a60dea516b32367f139cd401cbc3ff5fdef171925067"}},{"ruleId":"D1","level":"warning","message":{"text":"MathParser::structured_command (cyclomatic 16): MathParser::structured_command 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":"codex-rs/tui/src/markdown_render/math/render/structured.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7bfad558ff0507b7df10c82166d23c62dc5c257f16e219fa8691bbab9c9b47"}},{"ruleId":"D1","level":"warning","message":{"text":"MathParser::sequence (cyclomatic 16): MathParser::sequence 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. This is NOT this file\u0027s highest cyclomatic complexity: codex_tui::markdown_render::math::render::symbol (cyclomatic 124) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/markdown_render/math/render.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b89f83a811257edbd0e6566a621304a06c994c44dbb2ccc1e557b3282175394"}},{"ruleId":"D1","level":"warning","message":{"text":"Writer::render_table_lines (cyclomatic 16): Writer::render_table_lines 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":"codex-rs/tui/src/markdown_render.rs"},"region":{"startLine":1469}}}],"partialFingerprints":{"codehealthFindingId/v1":"8790b5b14f5244253f972981f04a434363957abd40c768a09a579c22d3710948"}},{"ruleId":"D1","level":"warning","message":{"text":"Writer::render_table_row (cyclomatic 16): Writer::render_table_row 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":"codex-rs/tui/src/markdown_render.rs"},"region":{"startLine":1885}}}],"partialFingerprints":{"codehealthFindingId/v1":"b540198267b22ee7576d5c25a6395a7a53a621cc61e13557805d22da61fb9454"}},{"ruleId":"D1","level":"warning","message":{"text":"AuthModeWidget::handle_gcp_key_event (cyclomatic 16): AuthModeWidget::handle_gcp_key_event has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/onboarding/gcp.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"babbc17a1f340c582eaccd2c117a814f503fa26f0c868be17ffb65a455fd8fad"}},{"ruleId":"D1","level":"warning","message":{"text":"ProsePreview::update (cyclomatic 16): ProsePreview::update 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":"codex-rs/tui/src/streaming/prose_preview.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"87aa2742f01cd971d6d00454b8725cc37eeaffed7e9215f30fc7ec823f9ef1a1"}},{"ruleId":"D1","level":"warning","message":{"text":"TranscriptView::toggle_activity (cyclomatic 16): TranscriptView::toggle_activity 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":"codex-rs/tui/src/transcript_view/disclosure.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2111371ae1e85678a761f1a9af5727f9f71a9fb133eb587dc5d800ea9312a2"}},{"ruleId":"D1","level":"warning","message":{"text":"TranscriptView::pointer_down (cyclomatic 16): TranscriptView::pointer_down 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":"codex-rs/tui/src/transcript_view/input.rs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd2cbd2521a0facc92fcb4bd38cba65eda23ba3bfa1cd5a99b72832b998dcad"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::analytics::client::route (cyclomatic 16): codex_tui::analytics::client::route has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/analytics/client.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"710a61b38b84979e923c84b169054e879d3fe87794b050f614ccd0eeabce69b4"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::app::sidebar_close::request (cyclomatic 16): codex_tui::app::sidebar_close::request 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":"codex-rs/tui/src/app/sidebar_close.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"539c1c275cbbb1fbfd3f5ce4435759cb3cafbe652f2b51c513c62e3ecc917963"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::app::sidebar_close::handle (cyclomatic 16): codex_tui::app::sidebar_close::handle has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/sidebar_close.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b043392fb4a0ea6565b4b0bb98143269c2d8f1b18a7c7e7a5e39759a16ff12e"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::bottom_pane::request_user_input::render::truncate_line_word_boundary_with_ellipsis (cyclomatic 16): codex_tui::bottom_pane::request_user_input::render::truncate_line_word_boundary_with_ellipsis 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":"codex-rs/tui/src/bottom_pane/request_user_input/render.rs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"167e14616866a8b399d497b75965096a81b3273b73d7503d6415b6151c3247aa"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::custom_terminal::draw (cyclomatic 16): codex_tui::custom_terminal::draw has cyclomatic complexity 16 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/custom_terminal.rs"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7fc3dde2b693e3f028160c870e19c3e35222c780f38893bb4b81a79654a784"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::markdown_render::source_tables::preserve (cyclomatic 16): codex_tui::markdown_render::source_tables::preserve 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":"codex-rs/tui/src/markdown_render/source_tables.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"300f464e90c7fff7d09e31b89b37aa94741a21a7d66ab2dfb0545c80ef3e1532"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::onboarding::directory_trust::check_directory_trust (cyclomatic 16): codex_tui::onboarding::directory_trust::check_directory_trust 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":"codex-rs/tui/src/onboarding/directory_trust.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c19e9cffb40c9deae35516fc449b05386ec4274444b358b58e1cda0c35da9ec"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::session_lock::linux::observe (cyclomatic 16): codex_tui::session_lock::linux::observe 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":"codex-rs/tui/src/session_lock/linux.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"64db08f00052f546d41f67dcf42ca7c6a20ba821635bd3ec0618cd7000edfce4"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::status::rate_limits::compose_rate_limit_data_many (cyclomatic 16): codex_tui::status::rate_limits::compose_rate_limit_data_many 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":"codex-rs/tui/src/status/rate_limits.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ac615e38d81d99f5fb2ca42df312328b166b1c1d88aefd553f9459747afbc6"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_tui::ui_tree::render::text::join_graphemes (cyclomatic 16): codex_tui::ui_tree::render::text::join_graphemes 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":"codex-rs/tui/src/ui_tree/render/text.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"137d14248e578bca12a1f31c1d9800b804ae5a676c60d9d1cb258de79cf869ad"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_websocket_client::dialer::connect_happy_eyeballs (cyclomatic 16): codex_websocket_client::dialer::connect_happy_eyeballs 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":"codex-rs/websocket-client/src/dialer.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2bc2519fca96761cd96ff9a40606d26315a97a9fdb18eec3ad37863d684694f"}},{"ruleId":"D1","level":"warning","message":{"text":"codex_windows_sandbox::setup_provisioning::setup_runtime_bin::ensure_runtime_tree_readable (cyclomatic 16): codex_windows_sandbox::setup_provisioning::setup_runtime_bin::ensure_runtime_tree_readable 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":"codex-rs/windows-sandbox-rs/src/setup_provisioning/setup_runtime_bin.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4882b518e2f5b71d8d8013f11172d710b691a7bf671dcc2e07643c095572529"}},{"ruleId":"D1","level":"warning","message":{"text":"AppServerClient.wait_for_notification (cyclomatic 16): AppServerClient.wait_for_notification 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":"scripts/mcp_conformance/run_codex_compliance.py"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b68014788e83ae57efe55aa6adb3527c530ac3db808b469f93fcad72b655532"}},{"ruleId":"D1","level":"warning","message":{"text":"run_codex_compliance._validate_registration (cyclomatic 16): run_codex_compliance._validate_registration 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":"scripts/mcp_conformance/run_codex_compliance.py"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec8360711830d66a5572f211b6c2879cdb22875eb8fdb3cdda55cfaf59d996a"}},{"ruleId":"D1","level":"warning","message":{"text":"update_sdk_artifacts._annotation_to_source (cyclomatic 16): update_sdk_artifacts._annotation_to_source 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":"sdk/python/scripts/update_sdk_artifacts.py"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb62d934ab6d5ba5a5af9bece7ed3e69f51588a25cf909638e957ee2da594cc8"}},{"ruleId":"D1","level":"warning","message":{"text":"issue_labeler.read_labels (cyclomatic 16): issue_labeler.read_labels 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":".github/scripts/issue_labeler.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9d61c3fbbc3b6671c2165b7abcbe7efb47d6a17e19281981cf4a9e2f98356d"}},{"ruleId":"D1","level":"warning","message":{"text":"build_npm_package.stage_sources (cyclomatic 16): build_npm_package.stage_sources 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":"codex-cli/scripts/build_npm_package.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e1e21bd879563dccd6c0353400007418accc3f87c6e9f438f5aec7a04c09a2"}},{"ruleId":"D1","level":"warning","message":{"text":"exec.findCodexPath (cyclomatic 16): exec.findCodexPath has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdk/typescript/src/exec.ts"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1201627109ac032e5487ad1d88f59e298769e8ab0333936d47f44daa34c3f7"}},{"ruleId":"D2","level":"warning","message":{"text":"App::handle_event (cognitive 807): App::handle_event has cognitive complexity 807 (threshold 15). Drivers by points: if/else 268 (585 pts), match/switch 49 (116 pts), boolean chains 87, loops 7 (19 pts) (nesting depth added 396). 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":"codex-rs/tui/src/app/event_dispatch.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1859f036a0dfc35d3a092dcfd5841db33292060aae3fb42c6f99972007764f0"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_cloud_tasks::run_cloud (cognitive 757): codex_cloud_tasks::run_cloud has cognitive complexity 757 (threshold 15). Drivers by points: if/else 125 (595 pts), match/switch 25 (127 pts), boolean chains 21, loops 4 (14 pts) (nesting depth added 582). 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":"codex-rs/cloud-tasks/src/lib.rs"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae3d01641528953a5862aff09415aca05fe3e4299069000fbcb41e1e36c323e"}},{"ruleId":"D2","level":"warning","message":{"text":"App::run (cognitive 439): App::run has cognitive complexity 439 (threshold 15). Drivers by points: if/else 125 (283 pts), match/switch 34 (94 pts), boolean chains 55, loops 3 (7 pts) (nesting depth added 222). Of this number, 438 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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":"codex-rs/tui/src/app/startup.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"1007b1063d3bbfb6d819d37b54a5fe129b5b75775a3b82bb2d8ccdef0b8decf6"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::session::turn::try_run_sampling_request (cognitive 262): codex_core::session::turn::try_run_sampling_request has cognitive complexity 262 (threshold 15). Drivers by points: if/else 82 (213 pts), match/switch 10 (26 pts), boolean chains 22, loops 1 (nesting depth added 147). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/turn.rs"},"region":{"startLine":2869}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c8b6c0c8390d4b642eeeedb8c1925e902f570ac283cfd8ae6149dbd2962cbf"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_shell_command::shell_snapshot_literals::literal_words_with_quoting (cognitive 254): codex_shell_command::shell_snapshot_literals::literal_words_with_quoting has cognitive complexity 254 (threshold 15). Drivers by points: if/else 46 (151 pts), loops 16 (55 pts), match/switch 6 (26 pts), boolean chains 22 (nesting depth added 164). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/shell-command/src/shell_snapshot_literals.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"09fc1ad4cdb32dc7d61d7aea134f074af0219f38fa726adddab1005d23b7d68a"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server::run_main_with_transport_options (cognitive 195): codex_app_server::run_main_with_transport_options has cognitive complexity 195 (threshold 15). Drivers by points: if/else 62 (131 pts), match/switch 17 (33 pts), boolean chains 18, loops 7 (13 pts) (nesting depth added 91). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/lib.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"5396f505657b836c3a132b59bcdac2e28f902443864e1b27e29f423ed8027cc3"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::analytics::normalize::history (cognitive 190): codex_tui::analytics::normalize::history has cognitive complexity 190 (threshold 15). Drivers by points: if/else 41 (107 pts), loops 15 (49 pts), match/switch 6 (19 pts), boolean chains 15 (nesting depth added 113). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/analytics/normalize.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13d702ed7463d5b70d229265e9632d845f2f4bc234a83a534e4fef3e686bc4a"}},{"ruleId":"D2","level":"warning","message":{"text":"McpConnectionSet::new (cognitive 188): McpConnectionSet::new has cognitive complexity 188 (threshold 15). Drivers by points: if/else 56 (113 pts), boolean chains 34, match/switch 12 (33 pts), loops 5 (8 pts) (nesting depth added 81). 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":"codex-rs/codex-mcp/src/connection_manager.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec739087d7a3f6424a1c17e6ac681b6a57ac9725639011e63211f5b4dbdde3f"}},{"ruleId":"D2","level":"warning","message":{"text":"App::handle_tui_event (cognitive 177): App::handle_tui_event has cognitive complexity 177 (threshold 15). Drivers by points: if/else 70 (123 pts), boolean chains 47, match/switch 5 (7 pts) (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app.rs"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7bdf9b9d2e7953b66550d7fe2c3ea324c2fb298daaf67ecda4029226eea5a3"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::run_ratatui_app (cognitive 164): codex_tui::run_ratatui_app has cognitive complexity 164 (threshold 15). Drivers by points: if/else 63 (96 pts), match/switch 26 (40 pts), boolean chains 28 (nesting depth added 47). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/lib.rs"},"region":{"startLine":1239}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6151ecfd5a4f2015761d941e1a73985dd95ee8856dcb5255c25e8d6577f192"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::startup_orchestration::run_main_inner (cognitive 158): codex_tui::startup_orchestration::run_main_inner has cognitive complexity 158 (threshold 15). Drivers by points: if/else 88 (111 pts), boolean chains 29, match/switch 12 (18 pts) (nesting depth added 29). 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":"codex-rs/tui/src/startup_orchestration.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b10703e83b2af07eee98ef3ac470af8a05a3dec4e582c77e2f858562f30056"}},{"ruleId":"D2","level":"warning","message":{"text":"App::attach_agents_overview_thread (cognitive 154): App::attach_agents_overview_thread has cognitive complexity 154 (threshold 15). Drivers by points: if/else 52 (101 pts), match/switch 8 (23 pts), boolean chains 21, loops 4 (9 pts) (nesting depth added 69). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/agents_overview.rs"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a703e637ae3434a8d57e7772f61f3ff53f65d93b7f4fd1f55236f51b5f0c840"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::new (cognitive 153): Session::new has cognitive complexity 153 (threshold 15). Drivers by points: if/else 69 (82 pts), match/switch 21 (35 pts), boolean chains 27, loops 8 (9 pts) (nesting depth added 28). 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":"codex-rs/core/src/session/session.rs"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba08bad5876d81802da9334a80c9a85ec13929fc1029d467e3c12cc745e2053b"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server::request_processors::thread_lifecycle::start_listener (cognitive 149): codex_app_server::request_processors::thread_lifecycle::start_listener has cognitive complexity 149 (threshold 15). Drivers by points: if/else 41 (102 pts), match/switch 11 (27 pts), boolean chains 12, loops 4 (8 pts) (nesting depth added 81). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/thread_lifecycle.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"148cc5a2625dcb6241da71b2cf5f09f620883271ded3957f5c173fdd463125a8"}},{"ruleId":"D2","level":"warning","message":{"text":"Config::load_config_with_layer_stack (cognitive 146): Config::load_config_with_layer_stack has cognitive complexity 146 (threshold 15). Drivers by points: if/else 77 (97 pts), boolean chains 35, match/switch 11 (12 pts), loops 2 (nesting depth added 21). 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":"codex-rs/core/src/config/mod.rs"},"region":{"startLine":3392}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a2016295d04c9a5ba12b0189bb9f4d0bd9847ec8cbddf2bda2a60e65b4d322"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::session::turn::run_turn (cognitive 146): codex_core::session::turn::run_turn has cognitive complexity 146 (threshold 15). Drivers by points: if/else 43 (112 pts), boolean chains 18, match/switch 7 (14 pts), loops 2 (nesting depth added 76). 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":"codex-rs/core/src/session/turn.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"4001b8e061ce88068457587c813273bb0537e499fa2b3264e5462595b633c9cb"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::dynamic_tools::execute_inner (cognitive 140): codex_tui::dynamic_tools::execute_inner has cognitive complexity 140 (threshold 15). Drivers by points: if/else 36 (79 pts), match/switch 11 (41 pts), boolean chains 10, loops 4 (10 pts) (nesting depth added 79). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/dynamic_tools.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc6f26af5366d35be2b9e9ba270b446cb0f880d6e14f8fd65ee5bd0c64ea2fd"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutedToolCalls::attach_pending_to_prompt_with_state (cognitive 132): ExecutedToolCalls::attach_pending_to_prompt_with_state has cognitive complexity 132 (threshold 15). Drivers by points: if/else 37 (82 pts), boolean chains 28, loops 10 (17 pts), match/switch 2 (5 pts) (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/executed_tool_calls/request_metadata.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a5957ce2339b8fac9e6c48c163ca62d454ab0f7deb4d0859c89d95ba0bb0ca"}},{"ruleId":"D2","level":"warning","message":{"text":"ThreadRequestProcessor::thread_fork_inner (cognitive 131): ThreadRequestProcessor::thread_fork_inner has cognitive complexity 131 (threshold 15). Drivers by points: if/else 68 (83 pts), boolean chains 33, match/switch 7 (13 pts), loops 1 (2 pts) (nesting depth added 22). 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":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":5297}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2dfd5a2352a4edde7682b9105b19e9ade8d69c76fb69eadbf487d9df7d356c5"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_cli::dispatch_cli (cognitive 130): codex_cli::dispatch_cli has cognitive complexity 130 (threshold 15). Drivers by points: if/else 34 (86 pts), match/switch 11 (23 pts), boolean chains 11, loops 3 (10 pts) (nesting depth added 71). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/main.rs"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"7800bf1d940845019443a834da1c7cd388c044c5dc1df0fb817d7e3987c10e04"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_exec_server::noise_relay::harness::noise_harness_connection_from_websocket_with_readiness (cognitive 130): codex_exec_server::noise_relay::harness::noise_harness_connection_from_websocket_with_readiness has cognitive complexity 130 (threshold 15). Drivers by points: if/else 26 (77 pts), match/switch 15 (43 pts), boolean chains 8, loops 2 (nesting depth added 79). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/noise_relay/harness.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"e650606faef3d4c3f817502aa6bec8f22200fd09808017b145b0bf26666e466d"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::resume_picker::sources::spawn (cognitive 128): codex_tui::resume_picker::sources::spawn has cognitive complexity 128 (threshold 15). Drivers by points: if/else 24 (90 pts), match/switch 7 (24 pts), boolean chains 7, loops 4 (7 pts) (nesting depth added 86). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/resume_picker/sources.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"1593fa647a0365cabc9a1d7cf03a1e0c50ed3e4a28778db9dd57e52d59463e13"}},{"ruleId":"D2","level":"warning","message":{"text":"App::handle_owned_transcript_event (cognitive 127): App::handle_owned_transcript_event has cognitive complexity 127 (threshold 15). Drivers by points: if/else 49 (83 pts), boolean chains 38, match/switch 3 (6 pts) (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/owned_transcript.rs"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ddafce8afcb18cf0d783acfd35aaf0b73ebb1f2303c03e0f627121464ded951"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server::in_process::start_uninitialized (cognitive 123): codex_app_server::in_process::start_uninitialized has cognitive complexity 123 (threshold 15). Drivers by points: if/else 25 (71 pts), match/switch 14 (48 pts), loops 3, boolean chains 1 (nesting depth added 80). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/in_process.rs"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd264b2bcceb7970efd53c1689baaae1375cfc18e1455068878432d23d194f5"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_exec_server::relay::run_multiplexed_environment (cognitive 123): codex_exec_server::relay::run_multiplexed_environment has cognitive complexity 123 (threshold 15). Drivers by points: if/else 22 (72 pts), match/switch 15 (44 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 82). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/relay.rs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e3452a17857b7e6c5199ee0f288832496e076801a43f7db2d04f36ccc2f11d"}},{"ruleId":"D2","level":"warning","message":{"text":"run_codex_compliance._required_regression_checks (cognitive 122): run_codex_compliance._required_regression_checks has cognitive complexity 122 (threshold 15). Drivers by points: if/else 38 (94 pts), loops 8 (17 pts), boolean chains 11 (nesting depth added 65). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mcp_conformance/run_codex_compliance.py"},"region":{"startLine":1459}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf0617c2511c82a489052e47d67ad1916d132e91766ec5e3febc7a88fead8b78"}},{"ruleId":"D2","level":"warning","message":{"text":"ThreadRequestProcessor::thread_resume_inner (cognitive 120): ThreadRequestProcessor::thread_resume_inner has cognitive complexity 120 (threshold 15). Drivers by points: if/else 46 (73 pts), match/switch 16 (31 pts), boolean chains 16 (nesting depth added 42). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":3959}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6125dc6180647b0fa687f61c3e5078e1e56d3ac3d3384f4ede2cbed4066f34c"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigRequirementsWithSources::merge_unset_fields (cognitive 118): ConfigRequirementsWithSources::merge_unset_fields has cognitive complexity 118 (threshold 15). Drivers by points: if/else 56 (68 pts), boolean chains 46, loops 1 (4 pts) (nesting depth added 15). 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":"codex-rs/config/src/config_requirements.rs"},"region":{"startLine":1414}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf3e79e1fa67e92eef42f68b97d1efbda2b12c124e78deefa4c292f642f7786"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatComposer::render_with_options (cognitive 113): ChatComposer::render_with_options has cognitive complexity 113 (threshold 15). Drivers by points: if/else 58 (92 pts), boolean chains 18, match/switch 2 (3 pts) (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":4659}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda6f0df39ec7de2ce7bea5698871ac0fe58cb213d0d42a7ea69ff64b3211ec2"}},{"ruleId":"D2","level":"warning","message":{"text":"App::handle_server_notification_event (cognitive 111): App::handle_server_notification_event has cognitive complexity 111 (threshold 15). Drivers by points: if/else 40 (73 pts), boolean chains 23, match/switch 5 (10 pts), loops 2 (5 pts) (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/app_server_events.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"29989095a8b56ed6c7ef9bcee51cd060eda0e9f8d921c62bc8ff38e7c6bc105b"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamingPatchParser::process_line (cognitive 107): StreamingPatchParser::process_line has cognitive complexity 107 (threshold 15). Drivers by points: if/else 32 (98 pts), boolean chains 8, match/switch 1 (nesting depth added 66). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/apply-patch/src/streaming_parser.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dff72b4fa690c2a935b03c5ee7c09fe971c9d922f798daa5479f18ea90cae89"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::submit_user_message_with_prepared_images (cognitive 107): ChatWidget::submit_user_message_with_prepared_images has cognitive complexity 107 (threshold 15). Drivers by points: if/else 45 (71 pts), boolean chains 17, loops 6 (11 pts), match/switch 5 (8 pts) (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/input_submission.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6b8e3fc30bcdf2a4183be53496e6b66a570a95b84d0fa95d014d0bd5b1a137"}},{"ruleId":"D2","level":"warning","message":{"text":"MathMarkdown::new (cognitive 107): MathMarkdown::new has cognitive complexity 107 (threshold 15). Drivers by points: if/else 38 (77 pts), boolean chains 22, loops 4 (8 pts) (nesting depth added 43). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/markdown_render/math.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c911b0e39ebafef0cfd3f8bedf64c9cde42e22ee5cfaceca7c98151daeb3a4ed"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::onboarding::onboarding_screen::run_onboarding_screen_inner (cognitive 107): codex_tui::onboarding::onboarding_screen::run_onboarding_screen_inner has cognitive complexity 107 (threshold 15). Drivers by points: if/else 18 (69 pts), match/switch 8 (28 pts), loops 2 (6 pts), boolean chains 4 (nesting depth added 75). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/onboarding/onboarding_screen.rs"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2ac81dcaef751d14b02cc438326c28c433dfca237c49e9fc05112d07a4ca2d"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_mermaid::relations::parse (cognitive 104): codex_mermaid::relations::parse has cognitive complexity 104 (threshold 15). Drivers by points: if/else 31 (70 pts), boolean chains 19, match/switch 4 (11 pts), loops 2 (4 pts) (nesting depth added 48). 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":"codex-rs/mermaid/src/relations.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95c826f34918b8b553ad53e1b08678f43f1fd03c6d6b64d6eb6661833a986d7"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_mermaid::sequence::render (cognitive 104): codex_mermaid::sequence::render has cognitive complexity 104 (threshold 15). Drivers by points: if/else 38 (78 pts), loops 9 (20 pts), boolean chains 3, match/switch 2 (3 pts) (nesting depth added 52). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/mermaid/src/sequence.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"059de4dd3542d882bf20a9a90911148e7d1759e8436f81270bb39e658a9130c4"}},{"ruleId":"D2","level":"warning","message":{"text":"App::handle_key_event (cognitive 100): App::handle_key_event has cognitive complexity 100 (threshold 15). Drivers by points: if/else 39 (67 pts), boolean chains 28, match/switch 3 (5 pts) (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/input.rs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"47684800144a2fba3b469c4d0e6f26d1e76906e040ca3bd534ea920abd78d156"}},{"ruleId":"D2","level":"warning","message":{"text":"CredentialBroker::virtualize_env (cognitive 99): CredentialBroker::virtualize_env has cognitive complexity 99 (threshold 15). Drivers by points: if/else 17 (38 pts), boolean chains 33, loops 17 (28 pts) (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/credential_broker.rs"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"8317097ffa34dd271362928c839782560b1e77f967a2aaac99148dac07d42037"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_shell_command::parse_command::summarize_main_tokens (cognitive 99): codex_shell_command::parse_command::summarize_main_tokens has cognitive complexity 99 (threshold 15). Drivers by points: if/else 36 (72 pts), boolean chains 12, match/switch 5 (9 pts), loops 2 (6 pts) (nesting depth added 44). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/shell-command/src/parse_command.rs"},"region":{"startLine":2290}}}],"partialFingerprints":{"codehealthFindingId/v1":"435208c53c00efa41960ebdffd4076326358abee83a3336c12d7d7a1f8db98dd"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::diff_render::render_change_with_preview (cognitive 98): codex_tui::diff_render::render_change_with_preview has cognitive complexity 98 (threshold 15). Drivers by points: if/else 19 (60 pts), match/switch 5 (20 pts), loops 6 (18 pts) (nesting depth added 68). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/diff_render.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"fddf6b0ceaa49fc5cfff04d8190c84c8a9f42206583d0a3ac5758ae7f37c1b74"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::dispatch_prepared_command_with_args (cognitive 97): ChatWidget::dispatch_prepared_command_with_args has cognitive complexity 97 (threshold 15). Drivers by points: if/else 30 (64 pts), match/switch 9 (23 pts), boolean chains 7, loops 1 (3 pts) (nesting depth added 50). 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":"codex-rs/tui/src/chatwidget/slash_dispatch.rs"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f908b0efa7bf4b9de7ab5ddbd5505465f3e7c6659f2b6be66ebccb82f57f75"}},{"ruleId":"D2","level":"warning","message":{"text":"ThreadManagerState::spawn_thread (cognitive 95): ThreadManagerState::spawn_thread has cognitive complexity 95 (threshold 15). Drivers by points: if/else 45 (67 pts), match/switch 11 (15 pts), boolean chains 12, loops 1 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/thread_manager.rs"},"region":{"startLine":2491}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f6f76f7b3509290ee3d9e366db3da2300d0ddca4ab805bdaf1047456dbcaf9"}},{"ruleId":"D2","level":"warning","message":{"text":"AnalyticsView::plan_lines (cognitive 93): AnalyticsView::plan_lines has cognitive complexity 93 (threshold 15). Drivers by points: if/else 29 (75 pts), loops 4 (12 pts), match/switch 2 (4 pts), boolean chains 2 (nesting depth added 56). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/analytics/plan_panel.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"79537fe98bedc73d9ff684a4871dc5c2be5792e1ae08fbb2b55d2b37c81af763"}},{"ruleId":"D2","level":"warning","message":{"text":"review_regressions._required_review_checks (cognitive 92): review_regressions._required_review_checks has cognitive complexity 92 (threshold 15). Drivers by points: if/else 27 (67 pts), loops 7 (14 pts), boolean chains 10, ternaries 1 (nesting depth added 47). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mcp_conformance/review_regressions.py"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ea3a12c9da21a517ebaf33eaabc87056c30a5fa2003f852d7035321a613d0e"}},{"ruleId":"D2","level":"warning","message":{"text":"App::handle_sidebar_input (cognitive 91): App::handle_sidebar_input has cognitive complexity 91 (threshold 15). Drivers by points: if/else 34 (62 pts), boolean chains 19, match/switch 5 (10 pts) (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/side_focus.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"533ebadbe6e71b2e61695bad2ec35778e204f5aa496e4d90652f36b7f00f712c"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_cli::doctor::mcp_check_from_servers (cognitive 90): codex_cli::doctor::mcp_check_from_servers has cognitive complexity 90 (threshold 15). Drivers by points: if/else 26 (63 pts), loops 5 (13 pts), boolean chains 7, match/switch 3 (7 pts) (nesting depth added 49). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/doctor.rs"},"region":{"startLine":1534}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fe8b3995e847ca76f59b4914360cd7f991901009fee75cd714b9539d62fc23"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentsOverviewView::render_center_rows (cognitive 90): AgentsOverviewView::render_center_rows has cognitive complexity 90 (threshold 15). Drivers by points: if/else 47 (73 pts), boolean chains 10, match/switch 3 (6 pts), loops 1 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/agent_center/rows.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aee1576a79bfbb70e3119bf029e07f885e093d7f229bd1301da54817fd1ac22"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::handle_server_notification (cognitive 90): ChatWidget::handle_server_notification has cognitive complexity 90 (threshold 15). Drivers by points: if/else 39 (72 pts), boolean chains 13, match/switch 3 (5 pts) (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/protocol.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c578f7034fb4bdfcc74ab69305870bd1e37da9b87a668a12d278dc7e70c7f6a"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestUserInputOverlay::handle_key_event (cognitive 89): RequestUserInputOverlay::handle_key_event has cognitive complexity 89 (threshold 15). Drivers by points: if/else 29 (68 pts), boolean chains 14, match/switch 4 (7 pts) (nesting depth added 42). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/request_user_input/mod.rs"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"c35aa5a3a89ef7860b2047f7b3bd9ee8e926431d3a9fe298ae1bf786311b136a"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::markdown_copy::render_selection (cognitive 89): codex_tui::markdown_copy::render_selection has cognitive complexity 89 (threshold 15). Drivers by points: if/else 26 (52 pts), boolean chains 24, loops 5 (13 pts) (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/markdown_copy.rs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1abac8802fa5217a5fd376fbfdc836cc6ff2b43cc584995dcade6b9aec86f4"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextManager::reconstruct_rollout (cognitive 87): ContextManager::reconstruct_rollout has cognitive complexity 87 (threshold 15). Drivers by points: if/else 28 (64 pts), match/switch 7 (12 pts), boolean chains 7, loops 4 (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/rollout_reconstruction.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f0fdd0d64c514481305918c184ebf6ecb45ef00b53e688ebebe61011341c31"}},{"ruleId":"D2","level":"warning","message":{"text":"SamplingExecution::run (cognitive 87): SamplingExecution::run has cognitive complexity 87 (threshold 15). Drivers by points: if/else 20 (54 pts), match/switch 9 (22 pts), loops 4 (9 pts), boolean chains 2 (nesting depth added 52). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/guardian-v2/src/async_scorer/sampler/execution.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"3886a56516e00949579a9f1eabcaf93083e82b54a8da28db47be546e12aab18c"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_api::endpoint::responses_websocket::run_websocket_response_stream (cognitive 86): codex_api::endpoint::responses_websocket::run_websocket_response_stream has cognitive complexity 86 (threshold 15). Drivers by points: if/else 18 (59 pts), match/switch 6 (15 pts), boolean chains 8, loops 2 (4 pts) (nesting depth added 52). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-api/src/endpoint/responses_websocket.rs"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db5ac83ac0cce566b2ba1f63f53f03d6c171f22ab23f27c2354668dc4b1edf4"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_git_utils::apply::parse_git_apply_output (cognitive 86): codex_git_utils::apply::parse_git_apply_output has cognitive complexity 86 (threshold 15). Drivers by points: if/else 30 (77 pts), boolean chains 6, loops 3 (nesting depth added 47). Of this number, 80 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/git-utils/src/apply.rs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e020201753d796dfe99ca719dc335873f667a658b8b69fa0a4060ad5c50858"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolOrchestrator::run (cognitive 84): ToolOrchestrator::run has cognitive complexity 84 (threshold 15). Drivers by points: if/else 35 (58 pts), boolean chains 18, match/switch 5 (8 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":"codex-rs/core/src/tools/orchestrator.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59bab1db805281fd07db6e318c5be58b8ea6b6d0055bab71cfe65f34b8f12c3"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_thread_store::local::update_thread_metadata::apply_metadata_update (cognitive 84): codex_thread_store::local::update_thread_metadata::apply_metadata_update has cognitive complexity 84 (threshold 15). Drivers by points: if/else 43 (65 pts), boolean chains 10, match/switch 4 (9 pts) (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/update_thread_metadata.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd75b0066b4d06623ac3a77eb97efa5ce6977d26ebc6013bf8f88dcf4e4a48b3"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_shell_command::shell_snapshot_literals::decode_ansi_c_bytes (cognitive 83): codex_shell_command::shell_snapshot_literals::decode_ansi_c_bytes has cognitive complexity 83 (threshold 15). Drivers by points: if/else 21 (62 pts), match/switch 3 (10 pts), loops 3 (9 pts), boolean chains 2 (nesting depth added 54). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/shell-command/src/shell_snapshot_literals.rs"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c25ee9d2f2368ae30fa888f268c2183fe1fd490d8e65c6157ea0738ffc0659b"}},{"ruleId":"D2","level":"warning","message":{"text":"App::change_working_directory_with_managed (cognitive 83): App::change_working_directory_with_managed has cognitive complexity 83 (threshold 15). Drivers by points: if/else 39 (47 pts), boolean chains 23, match/switch 7 (11 pts), loops 2 (nesting depth added 12). 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":"codex-rs/tui/src/app/working_directory.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9afffc92e89821cd5de5396288bf26b6f188ef72a4d784742f2d7942e8cb23"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_code_mode_runtime::cell_actor::run_cell (cognitive 81): codex_code_mode_runtime::cell_actor::run_cell has cognitive complexity 81 (threshold 15). Drivers by points: if/else 21 (57 pts), match/switch 7 (17 pts), boolean chains 6, loops 1 (nesting depth added 46). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/code-mode-runtime/src/cell_actor/mod.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c50149d99e0230783ee37cad00f18e3e35a23ed39f3077631ac3d064bea344b"}},{"ruleId":"D2","level":"warning","message":{"text":"DirectFileSystem::sync_walk (cognitive 81): DirectFileSystem::sync_walk has cognitive complexity 81 (threshold 15). Drivers by points: if/else 22 (57 pts), match/switch 4 (13 pts), boolean chains 8, loops 2 (3 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":"codex-rs/exec-server/src/local_file_system.rs"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fee5142ff8d216e22c8a7e5427f76ca04f4c92a81c16e101c908f9c2c6b5413"}},{"ruleId":"D2","level":"warning","message":{"text":"LinkPreview::scan (cognitive 81): LinkPreview::scan has cognitive complexity 81 (threshold 15). Drivers by points: if/else 26 (63 pts), boolean chains 10, match/switch 2 (7 pts), loops 1 (nesting depth added 42). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/streaming/prose_preview.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aecfc3cad4b60c1fb9dc6f796cccac0aa5f9c434df085700d82fc528daba6c8"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptView::move_copy_target (cognitive 79): TranscriptView::move_copy_target has cognitive complexity 79 (threshold 15). Drivers by points: if/else 25 (55 pts), boolean chains 10, loops 3 (7 pts), match/switch 2 (7 pts) (nesting depth added 39). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/transcript_view/copy_mode.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05703a63d3410ad8f586fb06c580bf4ce7ed381f097558752a910755c697aae"}},{"ruleId":"D2","level":"warning","message":{"text":"CollectedContext::compose_prepared (cognitive 78): CollectedContext::compose_prepared has cognitive complexity 78 (threshold 15). Drivers by points: if/else 22 (60 pts), match/switch 5 (13 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 48). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/guardian-context/src/composition.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"145bcc05b0703f65f2fac8c6e9ed7a1f3d620d26469c511c590cd52aa94fc91b"}},{"ruleId":"D2","level":"warning","message":{"text":"AccountRequestProcessor::read_account (cognitive 77): AccountRequestProcessor::read_account has cognitive complexity 77 (threshold 15). Drivers by points: if/else 21 (57 pts), match/switch 5 (9 pts), boolean chains 8, loops 1 (3 pts) (nesting depth added 42). 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":"codex-rs/app-server/src/request_processors/account_processor/workspace_routing.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b19c63ed2593d0dc8174f179a12949c05ef06f798172e41330b4dff12b2f12"}},{"ruleId":"D2","level":"warning","message":{"text":"NetworkApprovalService::handle_inline_policy_request (cognitive 77): NetworkApprovalService::handle_inline_policy_request has cognitive complexity 77 (threshold 15). Drivers by points: if/else 38 (61 pts), match/switch 7 (13 pts), boolean chains 3 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/network_approval.rs"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9c595bb6c41ca9ed6a773c4e0270ae045497d4c0e5e9b84fca46ad84a35e18"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::markdown::unwrap_markdown_fences_with_sources (cognitive 77): codex_tui::markdown::unwrap_markdown_fences_with_sources has cognitive complexity 77 (threshold 15). Drivers by points: if/else 24 (48 pts), loops 7 (19 pts), match/switch 3 (7 pts), boolean chains 3 (nesting depth added 40). Of this number, 54 points are the body\u0027s own statements and 23 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":"codex-rs/tui/src/markdown.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"57bab640e84f9c708b3c871a152555774b23a5fb722d6d52c033d948f92b61fe"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server::bespoke_event_handling::apply_bespoke_event_handling (cognitive 76): codex_app_server::bespoke_event_handling::apply_bespoke_event_handling has cognitive complexity 76 (threshold 15). Drivers by points: if/else 21 (43 pts), match/switch 14 (27 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 36). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/bespoke_event_handling.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55ed0ba6261eb87e5166b582072d6ff4cffb2b3649958d8916635360b4b3cf2"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_guardian_context::preparation::prepare_sections (cognitive 76): codex_guardian_context::preparation::prepare_sections has cognitive complexity 76 (threshold 15). Drivers by points: if/else 19 (61 pts), loops 6 (9 pts), boolean chains 6 (nesting depth added 45). 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":"codex-rs/guardian-context/src/preparation/mod.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"23fa394bde22e32ff3107fc28c0358d9fc2441436b69540bdced28af502e0f78"}},{"ruleId":"D2","level":"warning","message":{"text":"App::handle_side_focus_key (cognitive 75): App::handle_side_focus_key has cognitive complexity 75 (threshold 15). Drivers by points: if/else 36 (44 pts), boolean chains 31 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/side_focus.rs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda9d45e0de54dd832d4dbd50f3eb7d8f52a7335dd54af02b23fe2b358911ba2"}},{"ruleId":"D2","level":"warning","message":{"text":"MathParser::grid (cognitive 75): MathParser::grid has cognitive complexity 75 (threshold 15). Drivers by points: if/else 28 (56 pts), loops 5 (9 pts), boolean chains 6, match/switch 2 (4 pts) (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/markdown_render/math/render/structured.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42c3ee6c5204ef48a324463a8f8fcd7bdc54ea432e88a3c3ccec67af4c19268"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_exec::run_exec_session (cognitive 74): codex_exec::run_exec_session has cognitive complexity 74 (threshold 15). Drivers by points: if/else 30 (50 pts), match/switch 8 (15 pts), boolean chains 8, loops 1 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec/src/lib.rs"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f57d3b2ffda4f54283fb230fcd6d0efdba55d0475c8bd10805ea25f7b28cfc2"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_guardian_context::transcript::collect_transcript_for_review (cognitive 74): codex_guardian_context::transcript::collect_transcript_for_review has cognitive complexity 74 (threshold 15). Drivers by points: if/else 18 (48 pts), match/switch 7 (20 pts), boolean chains 5, loops 1 (nesting depth added 43). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/guardian-context/src/transcript.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"01cc93261336741eb98e09d79ca6bc30f02501dca506ebb85dcc5c2f6ce48112"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_hooks::engine::discovery::append_matcher_groups (cognitive 74): codex_hooks::engine::discovery::append_matcher_groups has cognitive complexity 74 (threshold 15). Drivers by points: if/else 16 (46 pts), match/switch 5 (15 pts), boolean chains 10, loops 2 (3 pts) (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/hooks/src/engine/discovery.rs"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7df3c51a4701d5584cbed2f4b7a28bc618bb5b356925f5303ef0499fc1ee0c4"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::named_session_lookup::lookup (cognitive 74): codex_tui::named_session_lookup::lookup has cognitive complexity 74 (threshold 15). Drivers by points: if/else 10 (44 pts), match/switch 2 (11 pts), loops 4 (10 pts), boolean chains 9 (nesting depth added 49). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/named_session_lookup.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e09a955988c41535178175d551c518f24ab8cb892b71dc2fa79687f460b47b"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::text_formatting::center_truncate_path (cognitive 74): codex_tui::text_formatting::center_truncate_path has cognitive complexity 74 (threshold 15). Drivers by points: if/else 30 (52 pts), loops 11 (15 pts), boolean chains 7 (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":"codex-rs/tui/src/text_formatting.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c25cb4a6fbfea811c6449c2663dd0c1c5e87aa2d5b0ef6259842a4b8a464d98"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalAgentControl::ensure_v2_agent_loaded (cognitive 73): LocalAgentControl::ensure_v2_agent_loaded has cognitive complexity 73 (threshold 15). Drivers by points: if/else 36 (53 pts), match/switch 5 (10 pts), boolean chains 7, loops 1 (3 pts) (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":"codex-rs/core/src/agent/control/spawn.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd2208bc6c1cdbb576967acc39b465c267d38f503a094b739e3cb3e7d76091b"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::history_cell::spoken_artifacts::annotate_spoken_artifacts (cognitive 72): codex_tui::history_cell::spoken_artifacts::annotate_spoken_artifacts has cognitive complexity 72 (threshold 15). Drivers by points: if/else 17 (51 pts), loops 8 (17 pts), boolean chains 4 (nesting depth added 43). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/history_cell/spoken_artifacts.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c64a407ad9268405e2c42ba64224140e03bdf111b2a884ce8cda0852299677"}},{"ruleId":"D2","level":"warning","message":{"text":"UnifiedExecRuntime::run (cognitive 70): UnifiedExecRuntime::run has cognitive complexity 70 (threshold 15). Drivers by points: if/else 36 (44 pts), boolean chains 18, loops 2 (4 pts), match/switch 2 (4 pts) (nesting depth added 12). 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":"codex-rs/core/src/tools/runtimes/unified_exec.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db9c70426667ccbfcc041beb3b2a8d2440dd12a882b5d550b4d21204f702b56"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_linux_sandbox::bwrap::create_filesystem_args (cognitive 70): codex_linux_sandbox::bwrap::create_filesystem_args has cognitive complexity 70 (threshold 15). Drivers by points: if/else 25 (48 pts), loops 7 (11 pts), boolean chains 10, match/switch 1 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/linux-sandbox/src/bwrap.rs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94ef09a2a4ca62e907b2f3205712f45e25fc8f860c159564e713959e46c9f9f"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_shell_command::shell_snapshot_credentials::prepare_snapshot_credentials (cognitive 70): codex_shell_command::shell_snapshot_credentials::prepare_snapshot_credentials has cognitive complexity 70 (threshold 15). Drivers by points: if/else 24 (43 pts), boolean chains 23, loops 2, match/switch 1 (2 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/shell-command/src/shell_snapshot_credentials.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd2ab959048c237d1d7dcdccf03ea879f87cb8ad76316a1169051db9e804148"}},{"ruleId":"D2","level":"warning","message":{"text":"run_codex_compliance._print_human_report (cognitive 70): run_codex_compliance._print_human_report has cognitive complexity 70 (threshold 15). Drivers by points: if/else 16 (36 pts), loops 8 (21 pts), ternaries 4 (8 pts), boolean chains 5 (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mcp_conformance/run_codex_compliance.py"},"region":{"startLine":1840}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a82525b25255fe8a17ca87fc7d532965ce2451b410bc94895d4ac7ec1f41f1"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::build_world_state_for_step (cognitive 69): Session::build_world_state_for_step has cognitive complexity 69 (threshold 15). Drivers by points: if/else 35 (42 pts), boolean chains 14, match/switch 5 (8 pts), loops 3 (5 pts) (nesting depth added 12). 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":"codex-rs/core/src/session/world_state.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"502bb00b2ff8e93c6cde92c969dd07654e7bd0f558a1aa7560eb499b5bb30c52"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecServerClient::spawn_rpc_reader (cognitive 69): ExecServerClient::spawn_rpc_reader has cognitive complexity 69 (threshold 15). Drivers by points: if/else 12 (38 pts), match/switch 8 (25 pts), boolean chains 5, loops 1 (nesting depth added 43). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/client_recovery.rs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de31f40d0ad57be24e193118e96b2c48d33d753e2916bfeb0a0df9f4eec6e85"}},{"ruleId":"D2","level":"warning","message":{"text":"FeedbackRequestProcessor::feedback_response (cognitive 68): FeedbackRequestProcessor::feedback_response has cognitive complexity 68 (threshold 15). Drivers by points: if/else 23 (39 pts), match/switch 8 (16 pts), loops 4 (9 pts), boolean chains 4 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/feedback_processor.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ddb98725d1bdf605f42459c16ab2d493c0edcab33eb227d14073acffd2fff4"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteAppServerClient::connect_with_stream (cognitive 68): RemoteAppServerClient::connect_with_stream has cognitive complexity 68 (threshold 15). Drivers by points: if/else 11 (48 pts), match/switch 5 (17 pts), loops 2, boolean chains 1 (nesting depth added 49). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-client/src/remote.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"933c3b9a64bc14dcdd4f6b792e0a5420ae3ef935979668d174b3429a45e68642"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::agent::history::prepare_forked_history (cognitive 68): codex_core::agent::history::prepare_forked_history has cognitive complexity 68 (threshold 15). Drivers by points: if/else 32 (47 pts), boolean chains 16, match/switch 3 (4 pts), loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/agent/history.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"7371a14baede673c068e61c0506e024152165d9197e13331d953295e4c5c5ee0"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_network_proxy::state::validate_policy_against_constraints (cognitive 68): codex_network_proxy::state::validate_policy_against_constraints has cognitive complexity 68 (threshold 15). Drivers by points: if/else 32 (53 pts), match/switch 4 (6 pts), loops 2 (5 pts), boolean chains 4 (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":"codex-rs/network-proxy/src/state.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa76d9b8f4b29dc02292f960c9ef52a54345c8b95830b32b96110099dc03058"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::dispatch_command_from_source (cognitive 68): ChatWidget::dispatch_command_from_source has cognitive complexity 68 (threshold 15). Drivers by points: if/else 33 (61 pts), match/switch 3 (6 pts), boolean chains 1 (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":"codex-rs/tui/src/chatwidget/slash_dispatch.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"19892543c8803022124c8f65ca4420448685973c491a9b0131a24f7e7614e908"}},{"ruleId":"D2","level":"warning","message":{"text":"McpConnectionSet::capture_binding_with_metadata (cognitive 67): McpConnectionSet::capture_binding_with_metadata has cognitive complexity 67 (threshold 15). Drivers by points: if/else 29 (47 pts), boolean chains 15, loops 3, match/switch 1 (2 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-mcp/src/connection_manager/tool_catalog.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"6504b642c6bb92774b78f8f33c18d6a4bb77b90c1fea6dc3b0b2efa86c01019c"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_exec::run_main (cognitive 67): codex_exec::run_main has cognitive complexity 67 (threshold 15). Drivers by points: if/else 34 (46 pts), match/switch 9 (13 pts), boolean chains 6, loops 1 (2 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec/src/lib.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd02db82c055283af09d5865c7706497fd6f3acdeeefb023f772723b8fcba51f"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_mermaid::draw::render (cognitive 67): codex_mermaid::draw::render has cognitive complexity 67 (threshold 15). Drivers by points: if/else 33 (45 pts), loops 12 (20 pts), match/switch 1 (2 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/mermaid/src/draw.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c83a02e511b18f9b46eeafaf196dd6402bd64b478f5aa95b252475418a374c"}},{"ruleId":"D2","level":"warning","message":{"text":"AnalyticsView::history_lines (cognitive 67): AnalyticsView::history_lines has cognitive complexity 67 (threshold 15). Drivers by points: if/else 39 (44 pts), boolean chains 12, match/switch 4 (6 pts), loops 3 (5 pts) (nesting depth added 9). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"codex-rs/tui/src/analytics/chart.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"1296a93eba356568e0c7f547318eedf0c679b689f74a0152b2c58eb3a2be4877"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentsOverviewView::handle_key_event (cognitive 67): AgentsOverviewView::handle_key_event has cognitive complexity 67 (threshold 15). Drivers by points: if/else 33 (51 pts), boolean chains 9, match/switch 3 (6 pts), loops 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/agents_overview_view.rs"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"c70869a03c5482581ed5d4601062484e6618dac4f920d2d6e97be035f45b5637"}},{"ruleId":"D2","level":"warning","message":{"text":"App::apply_agents_overview_thread_refresh (cognitive 67): App::apply_agents_overview_thread_refresh has cognitive complexity 67 (threshold 15). Drivers by points: if/else 20 (49 pts), boolean chains 10, loops 4 (7 pts), match/switch 1 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/agents_overview.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b99b17f66e489817a3f8a403b53ad06b8bfc6fae091162d9f52dd7c7543c89e"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server::mcp_refresh::reload_mcp_config_with_policy (cognitive 66): codex_app_server::mcp_refresh::reload_mcp_config_with_policy has cognitive complexity 66 (threshold 15). Drivers by points: if/else 11 (34 pts), match/switch 5 (17 pts), loops 5 (11 pts), boolean chains 4 (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/mcp_refresh.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a35e5e3b511b52f64e2d034dd24d77082387f6dc79ec283b6dca115e45721f0"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::on_realtime_transcript_done (cognitive 66): ChatWidget::on_realtime_transcript_done has cognitive complexity 66 (threshold 15). Drivers by points: if/else 26 (45 pts), boolean chains 10, loops 4 (9 pts), match/switch 1 (2 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/realtime.rs"},"region":{"startLine":1460}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aacc31d34f01c1cf7d5a76825a322fba920a1e4da0ade94bd2331303b59d68c"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server_daemon::prepare_install::prepare_from_package (cognitive 64): codex_app_server_daemon::prepare_install::prepare_from_package has cognitive complexity 64 (threshold 15). Drivers by points: if/else 39 (54 pts), boolean chains 8, loops 1 (2 pts) (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":"codex-rs/app-server-daemon/src/prepare_install.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"6029b9252f25d6a4aaaf953ecc1e8669a894362893e5c3ea9bf1abf895b0af94"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::client::map_response_events (cognitive 64): codex_core::client::map_response_events has cognitive complexity 64 (threshold 15). Drivers by points: if/else 17 (51 pts), loops 2 (5 pts), boolean chains 4, match/switch 2 (4 pts) (nesting depth added 39). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/client.rs"},"region":{"startLine":2788}}}],"partialFingerprints":{"codehealthFindingId/v1":"053b8ebf6e5d4c239c6fd98e95248e344aefe4eb147bda4fa12ee469d853bba6"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamableHttpClientAdapter::post_message (cognitive 64): StreamableHttpClientAdapter::post_message has cognitive complexity 64 (threshold 15). Drivers by points: if/else 27 (44 pts), boolean chains 12, match/switch 3 (5 pts), loops 1 (3 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/http_client_adapter.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"df50b5993bd10ae98cd0769ccc72d27f9bc2a48649b48689a56d91c4590aa9f9"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatComposer::handle_input_basic_with_time (cognitive 64): ChatComposer::handle_input_basic_with_time has cognitive complexity 64 (threshold 15). Drivers by points: if/else 24 (46 pts), boolean chains 10, match/switch 3 (5 pts), loops 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":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":3740}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e672b6971e1c6bff39feb5de580ff916e0d67e90e820623a48082ef6166aaf"}},{"ruleId":"D2","level":"warning","message":{"text":"RuntimeKeymap::resolve (cognitive 64): RuntimeKeymap::resolve has cognitive complexity 64 (threshold 15). Drivers by points: boolean chains 30, if/else 22 (28 pts), loops 6 (nesting depth added 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":"codex-rs/tui/src/keymap.rs"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3ff81a8186d4f1f46f56fea3ddc74a8f7a770f94d7945940c964d15a4e42e7"}},{"ruleId":"D2","level":"warning","message":{"text":"AnalyticsReducer::ingest_notification (cognitive 63): AnalyticsReducer::ingest_notification has cognitive complexity 63 (threshold 15). Drivers by points: if/else 26 (53 pts), boolean chains 5, match/switch 2 (3 pts), loops 1 (2 pts) (nesting depth added 29). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/analytics/src/reducer.rs"},"region":{"startLine":2068}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc416a64fcbea4c24f09efd9baf226ea4f05b514f3edb7187ac4170ff218562"}},{"ruleId":"D2","level":"warning","message":{"text":"PidBackend::start_inner (cognitive 63): PidBackend::start_inner has cognitive complexity 63 (threshold 15). Drivers by points: if/else 24 (45 pts), match/switch 9 (15 pts), boolean chains 2, loops 1 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-daemon/src/backend/pid_start.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce83ed6264421997d3b93b66e7cf7d94de083935079c5f3b485a34deaca522c"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server_daemon::manual_update::request (cognitive 63): codex_app_server_daemon::manual_update::request has cognitive complexity 63 (threshold 15). Drivers by points: if/else 15 (48 pts), loops 3 (9 pts), boolean chains 3, match/switch 1 (3 pts) (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-daemon/src/manual_update.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"04778d8ca22b6e9891657c76c428efcb9b76cc11b8e13436e9f11fe4a2af1f4f"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::context_manager::media_availability::replace_unresolvable_media_files (cognitive 63): codex_core::context_manager::media_availability::replace_unresolvable_media_files has cognitive complexity 63 (threshold 15). Drivers by points: if/else 10 (33 pts), loops 8 (20 pts), match/switch 3 (9 pts), boolean chains 1 (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/context_manager/media_availability.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"15362101044dcae852abed021a9251759c43cef85cc8ac958f8e8cb73b08e76e"}},{"ruleId":"D2","level":"warning","message":{"text":"QueuedItemService::watch_external_messages (cognitive 63): QueuedItemService::watch_external_messages has cognitive complexity 63 (threshold 15). Drivers by points: if/else 13 (39 pts), match/switch 5 (15 pts), loops 4 (8 pts), boolean chains 1 (nesting depth added 40). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/queue/src/service.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fee363e8ab15b7f68be4f051cfbd5252daaf5914429fa9280ae787b391032ab"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_protocol::permission_profile_intersection::intersect_effective_permission_profiles (cognitive 63): codex_protocol::permission_profile_intersection::intersect_effective_permission_profiles has cognitive complexity 63 (threshold 15). Drivers by points: if/else 18 (30 pts), boolean chains 15, loops 7 (10 pts), match/switch 3 (8 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/permission_profile_intersection.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"541d2f8342c09c8a9d0bbf752ca233bb7d79375c228dc14eeb9e88832aee6db1"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_api::api_bridge::map_api_error_details (cognitive 62): codex_api::api_bridge::map_api_error_details has cognitive complexity 62 (threshold 15). Drivers by points: if/else 20 (46 pts), match/switch 4 (11 pts), boolean chains 5 (nesting depth added 33). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-api/src/api_bridge.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19b2c3ee963ed5ac79cd1d09bf4f519509841e6b519d5952daaf7366528ddc1"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalAgentControl::spawn_agent_internal (cognitive 62): LocalAgentControl::spawn_agent_internal has cognitive complexity 62 (threshold 15). Drivers by points: if/else 23 (42 pts), boolean chains 11, match/switch 7 (9 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/agent/control/spawn.rs"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3535cbe598d659acbc64a3150e1be588772a6b9db1ed5888a4958a232dc3656"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::compact_remote_v2::select_retained_items (cognitive 62): codex_core::compact_remote_v2::select_retained_items has cognitive complexity 62 (threshold 15). Drivers by points: if/else 25 (56 pts), boolean chains 5, loops 1 (nesting depth added 31). 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":"codex-rs/core/src/compact_remote_v2.rs"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"9663c4a4d3bd655c139a077b9f5fa21252657ce6aeb9ddbb4636080f4fb2a43a"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_shell_command::parse_command::parse_shell_script (cognitive 62): codex_shell_command::parse_command::parse_shell_script has cognitive complexity 62 (threshold 15). Drivers by points: if/else 16 (40 pts), match/switch 3 (11 pts), boolean chains 6, loops 2 (5 pts) (nesting depth added 35). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/shell-command/src/parse_command.rs"},"region":{"startLine":1997}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf61670ed64ba49b848feb3de2b60c41f67a4c4361f491e78ba1abc64bef244f"}},{"ruleId":"D2","level":"warning","message":{"text":"App::finish_reconnect (cognitive 62): App::finish_reconnect has cognitive complexity 62 (threshold 15). Drivers by points: if/else 35 (49 pts), boolean chains 10, loops 3 (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":"codex-rs/tui/src/app/reconnect.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"1823fe90ab0b16c5fee3af8aba04350125aea2732d6cf8658d666bfa577e3de3"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::handle_key_event_with_activation_key (cognitive 62): ChatWidget::handle_key_event_with_activation_key has cognitive complexity 62 (threshold 15). Drivers by points: if/else 30 (43 pts), boolean chains 17, match/switch 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/interaction.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"eabbceb356e0a95d2b6d616090fc6218350c4f7535d4c367bb60fbf411e626e3"}},{"ruleId":"D2","level":"warning","message":{"text":"ThreadRequestProcessor::resume_running_thread (cognitive 61): ThreadRequestProcessor::resume_running_thread has cognitive complexity 61 (threshold 15). Drivers by points: if/else 22 (37 pts), boolean chains 12, match/switch 4 (12 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":4669}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42c8a6fd999460df633e73b808b336166d485062fbbcf96563f609ad18be341"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_connectors::merge_directory_app (cognitive 61): codex_connectors::merge_directory_app has cognitive complexity 61 (threshold 15). Drivers by points: if/else 31 (37 pts), boolean chains 24 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/connectors/src/lib.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"009ddef5825c28c109ac4f7df2f25af1bfc0a517ed9f10019230673b9bf5af55"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_exec_server::relay::harness_connection_from_websocket (cognitive 61): codex_exec_server::relay::harness_connection_from_websocket has cognitive complexity 61 (threshold 15). Drivers by points: match/switch 10 (40 pts), if/else 6 (20 pts), loops 1 (nesting depth added 44). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/relay.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"562bf4972f834a71997cca40262aa844d37e716ff21681b469eb365b7c4214bf"}},{"ruleId":"D2","level":"warning","message":{"text":"ExternalAgentConfigService::import (cognitive 61): ExternalAgentConfigService::import has cognitive complexity 61 (threshold 15). Drivers by points: loops 10 (30 pts), if/else 7 (18 pts), match/switch 4 (12 pts), boolean chains 1 (nesting depth added 39). 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":"codex-rs/external-agent-migration/src/service.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51d714a5a6389c46c384c1588d0072415d0e520a5891765443b937bbf743cfa"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_memories_write::rollout_input::serialize_tiered_input (cognitive 61): codex_memories_write::rollout_input::serialize_tiered_input has cognitive complexity 61 (threshold 15). Drivers by points: if/else 13 (25 pts), match/switch 8 (19 pts), boolean chains 9, loops 5 (8 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":"codex-rs/memories/write/src/rollout_input.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2fecbba390754eefb63f2e6e4bbe26a332e89f677ec8fc8c744badb609cb1dc"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_rollout::metadata::backfill_sessions_with_lease (cognitive 60): codex_rollout::metadata::backfill_sessions_with_lease has cognitive complexity 60 (threshold 15). Drivers by points: if/else 22 (44 pts), match/switch 5 (8 pts), boolean chains 4, loops 3 (4 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":"codex-rs/rollout/src/metadata.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"191fff666bb48a84e4552764043703ac17ae567e9c6d05526b1fe2300bf55f2e"}},{"ruleId":"D2","level":"warning","message":{"text":"FileSystemSandboxPolicy::to_legacy_sandbox_policy_with_projection (cognitive 59): FileSystemSandboxPolicy::to_legacy_sandbox_policy_with_projection has cognitive complexity 59 (threshold 15). Drivers by points: if/else 17 (42 pts), match/switch 5 (13 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 34). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/permissions.rs"},"region":{"startLine":1888}}}],"partialFingerprints":{"codehealthFindingId/v1":"f27f1bb109d03d260b5cf7abb23732c69e63b1980edd13400e8428798556023f"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatComposer::handle_key_event_with_slash_popup (cognitive 59): ChatComposer::handle_key_event_with_slash_popup has cognitive complexity 59 (threshold 15). Drivers by points: if/else 19 (48 pts), match/switch 3 (8 pts), boolean chains 3 (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/chat_composer/slash_input.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17ea0039668340ef89d25a29f9da59d93580c5f982542bab5ba24e813a5210d"}},{"ruleId":"D2","level":"warning","message":{"text":"McpManager::runtime_config_with_context (cognitive 58): McpManager::runtime_config_with_context has cognitive complexity 58 (threshold 15). Drivers by points: if/else 14 (36 pts), loops 6 (11 pts), boolean chains 6, match/switch 2 (5 pts) (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/mcp.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6eac0ff72e572e56bb81c2dbc23cabf2ab2ac26cbc8686c46a7302406ffe83"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_external_agent_migration::hooks_cla::append_convertible_hook_groups_cla (cognitive 58): codex_external_agent_migration::hooks_cla::append_convertible_hook_groups_cla has cognitive complexity 58 (threshold 15). Drivers by points: if/else 16 (49 pts), loops 3 (7 pts), boolean chains 2 (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/external-agent-migration/src/hooks_cla.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c647c7e814db33f7a23303ebd0018af3f5dff045e0bbff9293820edd40d159ed"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_linux_sandbox::linux_run_main::run_main (cognitive 58): codex_linux_sandbox::linux_run_main::run_main has cognitive complexity 58 (threshold 15). Drivers by points: if/else 26 (44 pts), boolean chains 12, loops 1 (2 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/linux-sandbox/src/linux_run_main.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14c01bf3fd4086721604c5bb9e40ccfe4ae3197164a5d2579932e248ee6a2a6"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_network_proxy::credential_broker::matching::virtualize_text (cognitive 58): codex_network_proxy::credential_broker::matching::virtualize_text has cognitive complexity 58 (threshold 15). Drivers by points: if/else 11 (29 pts), boolean chains 17, loops 7 (12 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/credential_broker/matching.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8c17e23b0c069b15efcc6b1473427f8ce5a7dc6b147b4071cdf112f66c6cb8"}},{"ruleId":"D2","level":"warning","message":{"text":"App::switch_to_new_backend_session (cognitive 58): App::switch_to_new_backend_session has cognitive complexity 58 (threshold 15). Drivers by points: if/else 33 (44 pts), boolean chains 8, loops 1 (3 pts), match/switch 2 (3 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":"codex-rs/tui/src/app/backend_selection.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"db77d34004a84ea3e47ea404e51ef5872282ed0cbf8f50ad2bcc794eac449cc7"}},{"ruleId":"D2","level":"warning","message":{"text":"App::activate_prepared_session_after_clear (cognitive 58): App::activate_prepared_session_after_clear has cognitive complexity 58 (threshold 15). Drivers by points: if/else 20 (41 pts), boolean chains 14, loops 1 (2 pts), match/switch 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/session_lifecycle.rs"},"region":{"startLine":1833}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd1b69f893e0dd886bb2e683c92c76eef8544f066112b5ea113ceea47c1dc7a"}},{"ruleId":"D2","level":"warning","message":{"text":"StartupDraftPump::handle_event (cognitive 58): StartupDraftPump::handle_event has cognitive complexity 58 (threshold 15). Drivers by points: if/else 18 (38 pts), boolean chains 14, match/switch 3 (5 pts), loops 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/startup_draft_input.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"26bafd9cd297949a6b4b7d04bcdb5a664441521e3f4c171957c110cb8dded855"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_cli::doctor::sandbox::sandbox_check (cognitive 57): codex_cli::doctor::sandbox::sandbox_check has cognitive complexity 57 (threshold 15). Drivers by points: if/else 20 (36 pts), match/switch 4 (12 pts), boolean chains 6, loops 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":"codex-rs/cli/src/doctor/sandbox.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"9691c198a279d3de8c718e831c2406b17761e7379be7a4bf8c71233077f20ced"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigRequirements::try_from (cognitive 57): ConfigRequirements::try_from has cognitive complexity 57 (threshold 15). Drivers by points: if/else 27 (41 pts), match/switch 10 (12 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/config_requirements.rs"},"region":{"startLine":2195}}}],"partialFingerprints":{"codehealthFindingId/v1":"423c262ac5519cbc031115fdad67d8dc488c75a66a5b7cdddf7c2f08ee32d8bc"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::session::mcp::review_guardian_mcp_elicitation (cognitive 57): codex_core::session::mcp::review_guardian_mcp_elicitation has cognitive complexity 57 (threshold 15). Drivers by points: if/else 24 (40 pts), boolean chains 10, match/switch 4 (7 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/mcp.rs"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"08963b03803f86f7f7b9ce81d597f7a9a7dc2e9c3c9eadcb9be7fe4ac10e1af0"}},{"ruleId":"D2","level":"warning","message":{"text":"App::start_agents_overview_refresh (cognitive 57): App::start_agents_overview_refresh has cognitive complexity 57 (threshold 15). Drivers by points: if/else 18 (34 pts), boolean chains 10, match/switch 3 (7 pts), loops 4 (6 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/agents_overview_threads.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d5892fb0d029b463a92f8723f39172654732855815d085b0860398ddd76ed2f"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::handle_question_key (cognitive 57): ChatWidget::handle_question_key has cognitive complexity 57 (threshold 15). Drivers by points: if/else 23 (45 pts), boolean chains 9, match/switch 1 (3 pts) (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":"codex-rs/tui/src/chatwidget/questions.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b0a43c6e2d9c76de32614e69cf717e66d0667f7f5fca8efb0e2152d4bbb23b"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server_daemon::update_loop::run_with_http (cognitive 56): codex_app_server_daemon::update_loop::run_with_http has cognitive complexity 56 (threshold 15). Drivers by points: if/else 12 (37 pts), match/switch 6 (16 pts), loops 2, boolean chains 1 (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-daemon/src/update_loop.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ba99be23a3fb8ab6c3957d3d89b9cbe944e0a8e0c7f85489253b7b5cf1cf47"}},{"ruleId":"D2","level":"warning","message":{"text":"BottomPane::renderable_for_views (cognitive 56): BottomPane::renderable_for_views has cognitive complexity 56 (threshold 15). Drivers by points: if/else 24 (40 pts), boolean chains 16 (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":"codex-rs/tui/src/bottom_pane/mod.rs"},"region":{"startLine":2466}}}],"partialFingerprints":{"codehealthFindingId/v1":"b449c8f19a492e803f97a677966963ac9ce861e801644bb188f7d147a5f36dd5"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::assistant_directives::parse_assistant_directive_with_budget (cognitive 56): codex_tui::assistant_directives::parse_assistant_directive_with_budget has cognitive complexity 56 (threshold 15). Drivers by points: if/else 16 (33 pts), loops 4 (10 pts), match/switch 3 (10 pts), boolean chains 3 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/assistant_directives.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3c553b77b543d8d60587f4a597b21f5b704e1b706664aa89a413ee1df0ca50"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_voice_host::run (cognitive 56): codex_voice_host::run has cognitive complexity 56 (threshold 15). Drivers by points: if/else 15 (40 pts), match/switch 3 (9 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/voice-host/src/main.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06ecf40d55706f7fa5e3b2c3f135272d9aadcfae624a339bd0d0c51d46332a5"}},{"ruleId":"D2","level":"warning","message":{"text":"verify_cargo_workspace_manifests.manifest_errors (cognitive 56): verify_cargo_workspace_manifests.manifest_errors has cognitive complexity 56 (threshold 15). Drivers by points: if/else 20 (49 pts), loops 3 (5 pts), boolean chains 2 (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":".github/scripts/verify_cargo_workspace_manifests.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33f484f69c7b8c6cd1df7057b4f98efbe44400a62fc4f7e2ab5592dfefb92a3"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::session::handlers::submission_loop (cognitive 55): codex_core::session::handlers::submission_loop has cognitive complexity 55 (threshold 15). Drivers by points: if/else 12 (26 pts), match/switch 9 (26 pts), boolean chains 2, loops 1 (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":"codex-rs/core/src/session/handlers.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"7406dace66de7ede2d060ab6f27e8fb02a20a7896777a50d898994c4311a92a7"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::shell_snapshot::capture_snapshot (cognitive 55): codex_core::shell_snapshot::capture_snapshot has cognitive complexity 55 (threshold 15). Drivers by points: boolean chains 24, if/else 16 (21 pts), loops 8 (10 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/shell_snapshot.rs"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"279b8393fd23691666a3a480691d1b9c543bfeb32d076fdf6f657533025c94f1"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::sidebar_chooser::paint (cognitive 55): codex_tui::sidebar_chooser::paint has cognitive complexity 55 (threshold 15). Drivers by points: if/else 30 (44 pts), boolean chains 4, match/switch 2 (4 pts), loops 2 (3 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/sidebar_chooser.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b9ce20d579cf938274dbc7f34bd5dff6769db426295c432beb8820fe54a650"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSchemaTypeRenderer::render_map (cognitive 54): JsonSchemaTypeRenderer::render_map has cognitive complexity 54 (threshold 15). Drivers by points: if/else 20 (41 pts), loops 5 (11 pts), boolean chains 2 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/code-mode-protocol/src/json_schema_types.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd83fa85a4efe0771220bceec89aba5955afcb12b306b650b9b2dc85af5c27df"}},{"ruleId":"D2","level":"warning","message":{"text":"UnifiedExecProcess::spawn_exec_server_output_task (cognitive 54): UnifiedExecProcess::spawn_exec_server_output_task has cognitive complexity 54 (threshold 15). Drivers by points: if/else 13 (34 pts), match/switch 5 (11 pts), boolean chains 5, loops 2 (4 pts) (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/unified_exec/process.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a72a208f0448fca0b4e4c9a0b9900d3af0cb8867fe54251f05746a56b19005"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_exec::resolve_resume_thread_id (cognitive 54): codex_exec::resolve_resume_thread_id has cognitive complexity 54 (threshold 15). Drivers by points: if/else 15 (41 pts), loops 4 (8 pts), boolean chains 5 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec/src/lib.rs"},"region":{"startLine":1993}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c9811a1ed588febbcfaed01cd6bd28c60c16882fcea16b6d54e3b22c9cac63"}},{"ruleId":"D2","level":"warning","message":{"text":"ShellSnapshotCache::prepare (cognitive 54): ShellSnapshotCache::prepare has cognitive complexity 54 (threshold 15). Drivers by points: if/else 26 (34 pts), match/switch 7 (9 pts), boolean chains 6, loops 2 (5 pts) (nesting depth added 13). 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":"codex-rs/exec-server/src/shell_snapshot.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0cf4520e1c563c053610530643c465ab289c8eaa0842e084476e116d0b94e5b"}},{"ruleId":"D2","level":"warning","message":{"text":"sandbox_smoketests.main (cognitive 54): sandbox_smoketests.main has cognitive complexity 54 (threshold 15). Drivers by points: boolean chains 27, if/else 26, error handling 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":"codex-rs/windows-sandbox-rs/sandbox_smoketests.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb10898d2699a234cef75f332077a99f030688ec7b0be537acedadcda969b44"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelClientSession::stream_responses_websocket (cognitive 53): ModelClientSession::stream_responses_websocket has cognitive complexity 53 (threshold 15). Drivers by points: if/else 24 (41 pts), match/switch 3 (6 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/client.rs"},"region":{"startLine":2186}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ce306a02332a53a13158f14be1d2cc2f7d9a25ac6f594a82c2468dd78c67cc"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_windows_sandbox::setup_provisioning::run_setup_full (cognitive 53): codex_windows_sandbox::setup_provisioning::run_setup_full has cognitive complexity 53 (threshold 15). Drivers by points: if/else 19 (29 pts), match/switch 5 (12 pts), loops 7 (10 pts), boolean chains 2 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-rs/src/setup_provisioning.rs"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"59be4c8d3a9db2953a1aa2a1c5e9947bf52a8b018b197518607f4cdf860fb858"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server_client::cloud_backend::run_worker_with_prepared (cognitive 52): codex_app_server_client::cloud_backend::run_worker_with_prepared has cognitive complexity 52 (threshold 15). Drivers by points: match/switch 10 (25 pts), if/else 9 (21 pts), boolean chains 5, loops 1 (nesting depth added 27). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-client/src/cloud_backend/mod.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07fdb134ebf81b3d5310fa3271c7488f9f25ce1de210c4a36231b3c47eb9bc6"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadTool::handle (cognitive 52): ReadTool::handle has cognitive complexity 52 (threshold 15). Drivers by points: if/else 30 (39 pts), boolean chains 6, match/switch 5, loops 1 (2 pts) (nesting depth added 10). 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":"codex-rs/ext/skills/src/tools/read.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"335813b5b4f53166465faa5730bd9b71e9550c67d11bf01e03a3381caf05dd58"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextProfile::prepare_transcript_for_budgeting (cognitive 52): ContextProfile::prepare_transcript_for_budgeting has cognitive complexity 52 (threshold 15). Drivers by points: if/else 18 (30 pts), loops 5 (9 pts), match/switch 7 (8 pts), boolean chains 5 (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":"codex-rs/guardian-context/src/preparation/transcript.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"e87d1c9262d181ffd347d08b49310bf10612d0e59b7a17727914f45e6683a2cd"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalThreadStore::migrate_rollout_path (cognitive 52): LocalThreadStore::migrate_rollout_path has cognitive complexity 52 (threshold 15). Drivers by points: if/else 20 (30 pts), match/switch 7 (14 pts), boolean chains 7, loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/rollout_migration.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5adeb56d27a94301209129b394f981f917119e18180776db3194f09fadeda7e"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncQuestions::handle_key_event (cognitive 52): AsyncQuestions::handle_key_event has cognitive complexity 52 (threshold 15). Drivers by points: if/else 25 (39 pts), boolean chains 10, match/switch 1 (3 pts) (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":"codex-rs/tui/src/bottom_pane/async_questions/input.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee02b1c13524c614d62b6ef7f2d251d8bd3f6782d00ebefff9dd282d69c4eee"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteControlWebsocket::connect (cognitive 51): RemoteControlWebsocket::connect has cognitive complexity 51 (threshold 15). Drivers by points: if/else 10 (32 pts), match/switch 7 (18 pts), loops 1 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-transport/src/transport/remote_control/websocket.rs"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38b5a41c761bd74768049b393919d781d5d7430c30545827e5f150ebbe1b145"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteControlWebsocket::run_server_writer_inner (cognitive 51): RemoteControlWebsocket::run_server_writer_inner has cognitive complexity 51 (threshold 15). Drivers by points: if/else 8 (27 pts), match/switch 8 (18 pts), loops 4 (6 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":"codex-rs/app-server-transport/src/transport/remote_control/websocket.rs"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"499025b0c24e3f6ef4ec44d81c0d212b03a7d8e4396a005936364c97b18d6a2c"}},{"ruleId":"D2","level":"warning","message":{"text":"CredentialBroker::configure (cognitive 51): CredentialBroker::configure has cognitive complexity 51 (threshold 15). Drivers by points: if/else 17 (34 pts), match/switch 3 (9 pts), boolean chains 6, loops 1 (2 pts) (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":"codex-rs/network-proxy/src/credential_broker.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6bf6d8d66b26dc91106be75aa64d8137fb39af1389f27631a0e645e30fc722"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_thread_store::local::update_thread_metadata::update_thread_metadata (cognitive 51): codex_thread_store::local::update_thread_metadata::update_thread_metadata has cognitive complexity 51 (threshold 15). Drivers by points: if/else 25 (31 pts), boolean chains 14, match/switch 4 (6 pts) (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/update_thread_metadata.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"262d816dfe33ee71c8e08107c361f5dd9a9aaac77c60e599896632bf66ec7b6c"}},{"ruleId":"D2","level":"warning","message":{"text":"App::handle_server_request_event (cognitive 51): App::handle_server_request_event has cognitive complexity 51 (threshold 15). Drivers by points: if/else 25 (37 pts), boolean chains 14 (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":"codex-rs/tui/src/app/app_server_events.rs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"2178dca5e3583f40e8a48970208b0495d5756157599179fa334cb73c8f2e1121"}},{"ruleId":"D2","level":"warning","message":{"text":"App::retain_inactive_realtime_transcript (cognitive 51): App::retain_inactive_realtime_transcript has cognitive complexity 51 (threshold 15). Drivers by points: if/else 16 (32 pts), loops 4 (13 pts), boolean chains 5, match/switch 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/realtime_delivery.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d11e8ffbb5adfb87bea4fddae70212933af6e23262b4e1e8a0704a7721f0b32"}},{"ruleId":"D2","level":"warning","message":{"text":"App::enqueue_thread_notification (cognitive 51): App::enqueue_thread_notification has cognitive complexity 51 (threshold 15). Drivers by points: if/else 27 (35 pts), boolean chains 10, match/switch 4 (6 pts) (nesting depth added 10). 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":"codex-rs/tui/src/app/thread_routing.rs"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d407462353aa5e1602b2959f9786f0515f9ed1ea5d97f2a216f6c03ceb0338"}},{"ruleId":"D2","level":"warning","message":{"text":"SplitFlapTranscriptCell::animate_lines (cognitive 51): SplitFlapTranscriptCell::animate_lines has cognitive complexity 51 (threshold 15). Drivers by points: if/else 16 (43 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/realtime_split_flap.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"073a339c13a1ed29adc6d760dba26b62ed55a51d663c177a3fdd1fe80b1f2530"}},{"ruleId":"D2","level":"warning","message":{"text":"Writer::pop_link (cognitive 51): Writer::pop_link has cognitive complexity 51 (threshold 15). Drivers by points: if/else 14 (38 pts), loops 2 (10 pts), boolean chains 3 (nesting depth added 32). 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":"codex-rs/tui/src/markdown_render.rs"},"region":{"startLine":2289}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2447c2c9f3cf19efb39de794028d330bd6216ab0c172baa1d53881bd786133"}},{"ruleId":"D2","level":"warning","message":{"text":"CapturedSnapshot::parse (cognitive 50): CapturedSnapshot::parse has cognitive complexity 50 (threshold 15). Drivers by points: if/else 15 (34 pts), loops 3 (7 pts), boolean chains 6, match/switch 1 (3 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/shell-command/src/shell_snapshot_capture.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"eccd65362132be07001bc5732fd4a5cd5e1af32226f3342fee30d46af7a90ba3"}},{"ruleId":"D2","level":"warning","message":{"text":"AnalyticsView::chat_lines (cognitive 50): AnalyticsView::chat_lines has cognitive complexity 50 (threshold 15). Drivers by points: if/else 25 (38 pts), loops 3 (8 pts), boolean chains 4 (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":"codex-rs/tui/src/analytics/chat_panel.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"0511cf716cf2b43eee7d972eb6e3d9453c3cb035e5690cc019937fa2e46d2929"}},{"ruleId":"D2","level":"warning","message":{"text":"AnalyticsView::dashboard_lines (cognitive 50): AnalyticsView::dashboard_lines has cognitive complexity 50 (threshold 15). Drivers by points: if/else 17 (39 pts), loops 3 (8 pts), match/switch 1 (3 pts) (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/analytics/dashboard.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"600d261fd2c5d997ea99ae491a2f9562820a7d5ed79f2cbe7fd2b4672536a9e4"}},{"ruleId":"D2","level":"warning","message":{"text":"AnalyticsView::handle_key (cognitive 50): AnalyticsView::handle_key has cognitive complexity 50 (threshold 15). Drivers by points: if/else 27 (29 pts), boolean chains 17, match/switch 3 (4 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/analytics.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1a260785f72a6cf97e92c3f92c189287d9a6829c4738a6c727a906656ff4eb"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::thread_transcript::thread_items_to_transcript_cells (cognitive 50): codex_tui::thread_transcript::thread_items_to_transcript_cells has cognitive complexity 50 (threshold 15). Drivers by points: if/else 12 (34 pts), match/switch 3 (10 pts), loops 2 (4 pts), boolean chains 2 (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":"codex-rs/tui/src/thread_transcript.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"37041316a65652ddcb6762dc8d94eb8c3c0dfabcd9869636274f09834974b20f"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_cli::plugin_cmd::render_plugin_list (cognitive 49): codex_cli::plugin_cmd::render_plugin_list has cognitive complexity 49 (threshold 15). Drivers by points: if/else 16 (36 pts), loops 3 (8 pts), match/switch 1 (4 pts), boolean chains 1 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/plugin_cmd.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"0552ab09a36e94ee836d167e424e1b88886634ccb5f26a46cabfc7c75f156365"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_api::files::upload_openai_file (cognitive 49): codex_api::files::upload_openai_file has cognitive complexity 49 (threshold 15). Drivers by points: if/else 20 (34 pts), match/switch 4 (8 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-api/src/files.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1aac4a952e7efcf6b8196956f22f26258d657a8629aad2701e112bf85312c36"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_api::sse::responses::process_responses_event (cognitive 49): codex_api::sse::responses::process_responses_event has cognitive complexity 49 (threshold 15). Drivers by points: if/else 19 (45 pts), match/switch 2 (4 pts) (nesting depth added 28). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-api/src/sse/responses.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a9300d3925bf2e9e4ba35a66b665e961d0595d515b83775207ac867546aaac"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_config::loader::load_config_layers_state (cognitive 49): codex_config::loader::load_config_layers_state has cognitive complexity 49 (threshold 15). Drivers by points: if/else 24 (36 pts), boolean chains 6, match/switch 2 (4 pts), loops 2 (3 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/loader/mod.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1064aba69d3f51310b3a157d3629bbfdd7ccac5498ecf53f47f62f3efa5ab74"}},{"ruleId":"D2","level":"warning","message":{"text":"UnifiedExecProcessManager::write_stdin_inner (cognitive 49): UnifiedExecProcessManager::write_stdin_inner has cognitive complexity 49 (threshold 15). Drivers by points: if/else 24 (41 pts), boolean chains 4, match/switch 2 (4 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/unified_exec/process_manager.rs"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c804d9f3409054e6b2ce419a004beda1666d00e20064c7ca5433cb640e2c989"}},{"ruleId":"D2","level":"warning","message":{"text":"ComposedContext::enforce_budget (cognitive 49): ComposedContext::enforce_budget has cognitive complexity 49 (threshold 15). Drivers by points: if/else 16 (34 pts), loops 6 (11 pts), boolean chains 4 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/guardian-context/src/enforcement.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"0780b775d8698e5ea9e8c06c7cfc1ffb782a192b0526ebea0e4e18a065a39f7f"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_shell_command::command_safety::powershell_tree_sitter::source_is_covered_by_commands (cognitive 49): codex_shell_command::command_safety::powershell_tree_sitter::source_is_covered_by_commands has cognitive complexity 49 (threshold 15). Drivers by points: if/else 16 (35 pts), boolean chains 13, loops 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/shell-command/src/command_safety/powershell_tree_sitter.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"772a73ae68d76097a3b218e559ea2b521ba0fc666bde6e0184d4223a97c5d78d"}},{"ruleId":"D2","level":"warning","message":{"text":"AnalyticsView::summary_lines (cognitive 49): AnalyticsView::summary_lines has cognitive complexity 49 (threshold 15). Drivers by points: if/else 25 (37 pts), loops 5 (9 pts), match/switch 1 (3 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/analytics/summary_panel.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb3c3f0a3067037f9423761077fb6d8e52821178829d95216a3c787051e563f"}},{"ruleId":"D2","level":"warning","message":{"text":"App::render_owned_transcript (cognitive 49): App::render_owned_transcript has cognitive complexity 49 (threshold 15). Drivers by points: if/else 20 (34 pts), boolean chains 7, match/switch 4 (6 pts), loops 1 (2 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/owned_transcript.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a4b36909a08abd478cdcebd1bc2534f906cde1c5bf65b1f93c14c60bca27ca"}},{"ruleId":"D2","level":"warning","message":{"text":"Renderer::frame (cognitive 49): Renderer::frame has cognitive complexity 49 (threshold 15). Drivers by points: if/else 16 (29 pts), loops 8 (19 pts), boolean chains 1 (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":"codex-rs/tui/src/empty_state_animation/renderer.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2af58066c2df8f1e66d07ce9307d0f3002eb6146f64970f2cfd6c2c97c2327d"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::bottom_pane::textarea::wrapping::wrapped_lines (cognitive 49): codex_tui::bottom_pane::textarea::wrapping::wrapped_lines has cognitive complexity 49 (threshold 15). Drivers by points: if/else 11 (27 pts), loops 7 (14 pts), boolean chains 8 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/textarea/wrapping.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ecc58d8680c67329ce54f2fbad9d25019ef4c890e9f09dff2bdda8a864e6f49"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexExec.run (cognitive 49): CodexExec.run has cognitive complexity 49 (threshold 15). Drivers by points: if/else 31 (33 pts), loops 6 (11 pts), boolean chains 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdk/typescript/src/exec.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e14de94d63f9115107b3d8a63fa302f74d0a3cecbcf3d2043e49ddff4577c7f"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestSerializationQueues::drain (cognitive 48): RequestSerializationQueues::drain has cognitive complexity 48 (threshold 15). Drivers by points: if/else 7 (25 pts), loops 6 (18 pts), match/switch 2 (5 pts) (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_serialization.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0f1a6a870069a94196d2fdc273b9dbf34cd3e60b3bfa1ecf6d1b8ecd2c90b1"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server_client::cloud_backend::advance_prepared_resume (cognitive 48): codex_app_server_client::cloud_backend::advance_prepared_resume has cognitive complexity 48 (threshold 15). Drivers by points: if/else 8 (29 pts), match/switch 6 (17 pts), boolean chains 2 (nesting depth added 32). 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":"codex-rs/app-server-client/src/cloud_backend/mod.rs"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4cd8f7bc140bb7e75e68e5c3f272151e8ca4b89e6d4272ea27ba0f279c0538b"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::assemble_initial_context (cognitive 48): Session::assemble_initial_context has cognitive complexity 48 (threshold 15). Drivers by points: if/else 13 (18 pts), match/switch 4 (11 pts), loops 7 (10 pts), boolean chains 9 (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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":5124}}}],"partialFingerprints":{"codehealthFindingId/v1":"42fb72b2637f38d588b1256b8365eb6ef5c1f474a340991a5b31b2373aa41485"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::config::edit::document_helpers::serialize_mcp_server_table (cognitive 48): codex_core::config::edit::document_helpers::serialize_mcp_server_table has cognitive complexity 48 (threshold 15). Drivers by points: if/else 30 (33 pts), boolean chains 8, match/switch 4 (5 pts), loops 1 (2 pts) (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":"codex-rs/core/src/config/edit/document_helpers.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"58acdafdabc1ec0aa892a4b4330c0336a0b0f83fbe5c18deef2f46f52018add3"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_sandboxing::seatbelt::seatbelt_regex_for_glob (cognitive 48): codex_sandboxing::seatbelt::seatbelt_regex_for_glob has cognitive complexity 48 (threshold 15). Drivers by points: if/else 11 (25 pts), loops 5 (12 pts), match/switch 3 (10 pts), boolean chains 1 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/sandboxing/src/seatbelt.rs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"d427dd57ff663908cb1d952f6522023a727dddebcb7034eef5392f60a90a069f"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatComposer::handle_key_event_without_popup (cognitive 48): ChatComposer::handle_key_event_without_popup has cognitive complexity 48 (threshold 15). Drivers by points: if/else 26 (37 pts), boolean chains 11 (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":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":3586}}}],"partialFingerprints":{"codehealthFindingId/v1":"1449e61c1d63e6ed475bc7f103188b2532014e1c47d83aebe7415d88a3414c85"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatComposer::mention_items (cognitive 48): ChatComposer::mention_items has cognitive complexity 48 (threshold 15). Drivers by points: if/else 17 (39 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":4318}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ac5a6ec53deb4044d88df47dde661175f960db5aec906db188fa8bb17ec13c"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::app::user_turn_submission::try_submit_user_turn (cognitive 48): codex_tui::app::user_turn_submission::try_submit_user_turn has cognitive complexity 48 (threshold 15). Drivers by points: if/else 22 (39 pts), boolean chains 6, match/switch 2 (3 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/user_turn_submission.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"43452aef33835f541a1469bdcb7c8f1bbe082ece9a314cade1f632c054c7174b"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::empty_state_animation::geometry::field (cognitive 48): codex_tui::empty_state_animation::geometry::field has cognitive complexity 48 (threshold 15). Drivers by points: loops 13 (23 pts), if/else 9 (19 pts), boolean chains 4, match/switch 1 (2 pts) (nesting depth added 21). 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":"codex-rs/tui/src/empty_state_animation/geometry.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3033a2235a16b2310bc82468b68b01fd92c75cffa4170a35a8f8eacb9bc26315"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::wrapping::mixed_url_wrap_ranges (cognitive 48): codex_tui::wrapping::mixed_url_wrap_ranges has cognitive complexity 48 (threshold 15). Drivers by points: if/else 16 (41 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/wrapping.rs"},"region":{"startLine":1117}}}],"partialFingerprints":{"codehealthFindingId/v1":"3afc9b10d5e5f7b521a8a6e456a86782353ccf42e314c86917c28638f2e5af27"}},{"ruleId":"D2","level":"warning","message":{"text":"CaptureWorker::service (cognitive 48): CaptureWorker::service has cognitive complexity 48 (threshold 15). Drivers by points: if/else 16 (36 pts), loops 4 (7 pts), match/switch 1 (4 pts), boolean chains 1 (nesting depth added 26). 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":"codex-rs/voice-host/src/capture_worker.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9cee52fa4a7ecf4d60b2574db138060c16bb01246c216436f3bc24cd55da49"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolRegistry::dispatch_any_with_state (cognitive 47): ToolRegistry::dispatch_any_with_state has cognitive complexity 47 (threshold 15). Drivers by points: if/else 23 (31 pts), match/switch 10 (13 pts), boolean chains 2, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/registry.rs"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb09ccdf434fad31ffe92c749ed058056290901b687cbcd400e72c2fddfe123"}},{"ruleId":"D2","level":"warning","message":{"text":"ExternalAgentConfigService::detect_migrations (cognitive 47): ExternalAgentConfigService::detect_migrations has cognitive complexity 47 (threshold 15). Drivers by points: if/else 22 (38 pts), match/switch 2 (5 pts), boolean chains 2, loops 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/external-agent-migration/src/detect/mod.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a7baf28c0c90d9778385906046d3b998c3b9fe1f5f85b619546a99d1ad3064"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_external_agent_migration::detect::sessions::cur::decode_cur_project_path (cognitive 47): codex_external_agent_migration::detect::sessions::cur::decode_cur_project_path has cognitive complexity 47 (threshold 15). Drivers by points: if/else 16 (36 pts), loops 6 (9 pts), boolean chains 2 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/external-agent-migration/src/detect/sessions/cur.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"310712e686e6dda68e61a01652c82e34d158b0c87fadcdbda40cf85cf0b4c1f5"}},{"ruleId":"D2","level":"warning","message":{"text":"ThreadMetadataSync::observe_items_with_update (cognitive 47): ThreadMetadataSync::observe_items_with_update has cognitive complexity 47 (threshold 15). Drivers by points: if/else 14 (39 pts), boolean chains 5, match/switch 1 (2 pts), loops 1 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/thread_metadata_sync.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3afd6cb4c42e9151c52462736e25a50ef551bd0e820d443f82d73aba76bca52"}},{"ruleId":"D2","level":"warning","message":{"text":"App::update_feature_flags (cognitive 47): App::update_feature_flags has cognitive complexity 47 (threshold 15). Drivers by points: if/else 21 (38 pts), boolean chains 6, loops 2, match/switch 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/config_persistence.rs"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf436683bf6a4fe4715d3dd3b9ec91dfd0e4e9c551b50ee1072119baff06c412"}},{"ruleId":"D2","level":"warning","message":{"text":"App::select_session_model (cognitive 47): App::select_session_model has cognitive complexity 47 (threshold 15). Drivers by points: if/else 18 (33 pts), boolean chains 10, match/switch 2 (4 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/model_defaults.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e50d4fe218164336c94ddecc8f7af91b65de9b6236a644537511b826dace5d2"}},{"ruleId":"D2","level":"warning","message":{"text":"BottomPane::handle_key_event_with_activation_key (cognitive 47): BottomPane::handle_key_event_with_activation_key has cognitive complexity 47 (threshold 15). Drivers by points: if/else 23 (36 pts), boolean chains 7, loops 2 (4 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":"codex-rs/tui/src/bottom_pane/mod.rs"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f6a372cdbbdd353d8a12078ff31e369976c0ba5cdc6025afe64c89c514f596a"}},{"ruleId":"D2","level":"warning","message":{"text":"BedrockState::render (cognitive 47): BedrockState::render has cognitive complexity 47 (threshold 15). Drivers by points: if/else 22 (35 pts), boolean chains 6, match/switch 2 (4 pts), loops 1 (2 pts) (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":"codex-rs/tui/src/onboarding/bedrock.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"006812274150716a473600180d51762810d3ef2ec840ed6f9e94d82c3f52ba8d"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptView::handle_select_mode_key (cognitive 47): TranscriptView::handle_select_mode_key has cognitive complexity 47 (threshold 15). Drivers by points: if/else 22 (31 pts), boolean chains 15, match/switch 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":"codex-rs/tui/src/transcript_view/select_mode.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"41253bd408a9e6c80738dfe2f4c0a888be7c785484b3475db23359fc78dd4968"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::initialize (cognitive 46): Session::initialize has cognitive complexity 46 (threshold 15). Drivers by points: if/else 21 (29 pts), boolean chains 9, match/switch 6 (8 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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"717ab7fc33d50dee11d41985d91144358a5035bfa40b0d90f1b7500ba0fd5adb"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_hooks::events::user_prompt_submit::parse_completed (cognitive 46): codex_hooks::events::user_prompt_submit::parse_completed has cognitive complexity 46 (threshold 15). Drivers by points: if/else 14 (41 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 28). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/hooks/src/events/user_prompt_submit.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33a03f4bdbe400b2f3e29fa1022afdae10dd37f291c94f2cc67b265a3d4bc66"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_linux_sandbox::managed_tcp_stack::run (cognitive 46): codex_linux_sandbox::managed_tcp_stack::run has cognitive complexity 46 (threshold 15). Drivers by points: if/else 16 (40 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/linux-sandbox/src/managed_tcp_stack.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"299367ba4455b93e9501b2ed23404544e1c715ed662103614762028c9f9c1d48"}},{"ruleId":"D2","level":"warning","message":{"text":"CredentialBrokerState::register (cognitive 46): CredentialBrokerState::register has cognitive complexity 46 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 16, loops 3 (9 pts), match/switch 3 (4 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":"codex-rs/network-proxy/src/credential_broker.rs"},"region":{"startLine":1612}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbdc00150be78caa1bb5fe5a1c5beca802783b97af0a94682caa4e31c5c627ad"}},{"ruleId":"D2","level":"warning","message":{"text":"App::open_agent_picker (cognitive 46): App::open_agent_picker has cognitive complexity 46 (threshold 15). Drivers by points: if/else 20 (32 pts), boolean chains 5, loops 4 (5 pts), match/switch 1 (4 pts) (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":"codex-rs/tui/src/app/session_lifecycle.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2090589725b3f60cffb313e7b3e6dbd1a97a4c672fcf2e17a268415b2a5e01a7"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptView::footer_with_navigation (cognitive 46): TranscriptView::footer_with_navigation has cognitive complexity 46 (threshold 15). Drivers by points: if/else 29 (39 pts), boolean chains 7 (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":"codex-rs/tui/src/transcript_view/footer.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"8afabb536d01e7cd1b1be3921c320cb9766d288e0e651953c14d5d874efbc46e"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::history_cell::mcp::new_mcp_tools_output_from_statuses (cognitive 46): codex_tui::history_cell::mcp::new_mcp_tools_output_from_statuses has cognitive complexity 46 (threshold 15). Drivers by points: if/else 14 (30 pts), loops 3 (9 pts), match/switch 3 (6 pts), boolean chains 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/history_cell/mcp.rs"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceae1e422ff3de1dd9419ae15627cb12a2178f713e015cc3565daeb50d6112a0"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeChild::spawn (cognitive 46): NativeChild::spawn has cognitive complexity 46 (threshold 15). Drivers by points: if/else 15 (26 pts), boolean chains 9, match/switch 5 (7 pts), loops 3 (4 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":"codex-rs/utils/pty/src/posix_child.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e70db0e5849f0d7bb953729c857c30d30cb30852e0d8658f64680f5e619866e"}},{"ruleId":"D2","level":"warning","message":{"text":"run_codex_compliance.main (cognitive 46): run_codex_compliance.main has cognitive complexity 46 (threshold 15). Drivers by points: if/else 22 (26 pts), boolean chains 7, error handling 4 (7 pts), ternaries 4 (5 pts), loops 1 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mcp_conformance/run_codex_compliance.py"},"region":{"startLine":2108}}}],"partialFingerprints":{"codehealthFindingId/v1":"05bf73cb598101719852de67a97ceb5c953e470df42337f7e301b28e73726095"}},{"ruleId":"D2","level":"warning","message":{"text":"sign_macos_cli_package.main (cognitive 46): sign_macos_cli_package.main has cognitive complexity 46 (threshold 15). Drivers by points: if/else 19 (38 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/macos-signing/sign_macos_cli_package.py"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"617377b99278336051cc2251839b7732d036ce28615bf69dfa813e9805e81236"}},{"ruleId":"D2","level":"warning","message":{"text":"HeadTailOutput::trim (cognitive 45): HeadTailOutput::trim has cognitive complexity 45 (threshold 15). Drivers by points: if/else 14 (29 pts), loops 5 (9 pts), match/switch 2 (5 pts), boolean chains 2 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/code-mode-runtime/src/output/output_collection.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f2bb90243dbae3276e681d515016132cde42350d3b58af42ae46b40104a3e8"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_config::loader::sanitize_project_config (cognitive 45): codex_config::loader::sanitize_project_config has cognitive complexity 45 (threshold 15). Drivers by points: if/else 18 (32 pts), boolean chains 8, loops 3 (5 pts) (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":"codex-rs/config/src/loader/mod.rs"},"region":{"startLine":1345}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68a10e3d600fb0351193b450416d9bcef9d18c3aac452bc625847509fa21d17"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::finish_thread_usage_refresh (cognitive 45): ChatWidget::finish_thread_usage_refresh has cognitive complexity 45 (threshold 15). Drivers by points: if/else 13 (26 pts), boolean chains 12, match/switch 2 (5 pts), loops 1 (2 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/thread_usage.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac1926e45abae6ffe8b9aee391b25210554f66e07ef517c3e88b994443bb38b"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginRequestProcessor::plugin_search_response (cognitive 44): PluginRequestProcessor::plugin_search_response has cognitive complexity 44 (threshold 15). Drivers by points: if/else 15 (23 pts), loops 5 (10 pts), boolean chains 7, match/switch 2 (4 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":"codex-rs/app-server/src/request_processors/plugins/search.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"9928e86ae35e5751266d08ff75deec451e2889f7f288da04531d2f3efa48fb96"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginRequestProcessor::plugin_list_response (cognitive 44): PluginRequestProcessor::plugin_list_response has cognitive complexity 44 (threshold 15). Drivers by points: if/else 17, boolean chains 12, match/switch 6 (12 pts), loops 1 (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":"codex-rs/app-server/src/request_processors/plugins.rs"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08596aeaf08b4c53d05bc341b91344a0ee7bde8e70499c228346373010e9d6c"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_cloud_tasks::pretty_lines_from_error (cognitive 44): codex_cloud_tasks::pretty_lines_from_error has cognitive complexity 44 (threshold 15). Drivers by points: if/else 18 (41 pts), boolean chains 3 (nesting depth added 23). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cloud-tasks/src/lib.rs"},"region":{"startLine":2154}}}],"partialFingerprints":{"codehealthFindingId/v1":"238e170c94f6f983be256d33c13d3d01e34bdaf5e7bce3ca03ff9a24ce5557ad"}},{"ruleId":"D2","level":"warning","message":{"text":"WsStream::new (cognitive 44): WsStream::new has cognitive complexity 44 (threshold 15). Drivers by points: if/else 9 (31 pts), match/switch 4 (12 pts), loops 1 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"550af1139cce36b983b052e16237e9f205f986f1024f84f3f6a63e1dd3cd8837"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core_plugins::loader::apply_configured_plugin_mcp_server_policies (cognitive 44): codex_core_plugins::loader::apply_configured_plugin_mcp_server_policies has cognitive complexity 44 (threshold 15). Drivers by points: if/else 8 (27 pts), loops 4 (11 pts), match/switch 1 (4 pts), boolean chains 2 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/loader.rs"},"region":{"startLine":1420}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2f7586b7488024302cc0adf231b66108c3f5c3f014d4df2eba804d4327073a"}},{"ruleId":"D2","level":"warning","message":{"text":"RolloutRecorder::list_threads_with_db_fallback (cognitive 44): RolloutRecorder::list_threads_with_db_fallback has cognitive complexity 44 (threshold 15). Drivers by points: if/else 17 (31 pts), loops 3 (7 pts), boolean chains 4, match/switch 2 (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":"codex-rs/rollout/src/recorder.rs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08386a74a06479cd04a12a93fcc94af3b9fc375fda9f1ebc5de01fa2aed6b2b"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_thread_store::local::search_threads::search_threads (cognitive 44): codex_thread_store::local::search_threads::search_threads has cognitive complexity 44 (threshold 15). Drivers by points: if/else 16 (36 pts), loops 3 (5 pts), match/switch 2, boolean chains 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/search_threads.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"074ba2e9115727da1fb338b9bb2011258f2e00518b455a0254d151792f285c50"}},{"ruleId":"D2","level":"warning","message":{"text":"ListSelectionView::render (cognitive 44): ListSelectionView::render has cognitive complexity 44 (threshold 15). Drivers by points: if/else 26 (36 pts), boolean chains 3, loops 1 (3 pts), match/switch 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/list_selection_view.rs"},"region":{"startLine":1617}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3dd1c65dec2cfab976112b8cee488bcc07bb5c4a1172851a65d7990bfaa744"}},{"ruleId":"D2","level":"warning","message":{"text":"McpToolCallCell::compact_mcp_lines (cognitive 44): McpToolCallCell::compact_mcp_lines has cognitive complexity 44 (threshold 15). Drivers by points: if/else 12 (31 pts), boolean chains 5, loops 3 (5 pts), match/switch 2 (3 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/history_cell/mcp_preview.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"860629ac6b3882f927c6d86fdb5765045b7163a454706ab3612f385e824d3a8c"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::tools::runtimes::maybe_wrap_shell_lc_with_snapshot (cognitive 43): codex_core::tools::runtimes::maybe_wrap_shell_lc_with_snapshot has cognitive complexity 43 (threshold 15). Drivers by points: if/else 31 (34 pts), boolean chains 8, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"codex-rs/core/src/tools/runtimes/mod.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e719bc80dfd93375ca69c4e3d53f3c5119cb2eeb2af690b896935ccf0f3f047"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginContributor::selected_plugins (cognitive 43): PluginContributor::selected_plugins has cognitive complexity 43 (threshold 15). Drivers by points: if/else 11 (25 pts), loops 5 (11 pts), boolean chains 4, match/switch 1 (3 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/mcp/src/plugin.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7949e7fbaddd248d1d38db9d04683ef31320a8a5d21a450a4d605bf1f305c6"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_rollout::list::read_head_summary (cognitive 43): codex_rollout::list::read_head_summary has cognitive complexity 43 (threshold 15). Drivers by points: if/else 9 (27 pts), match/switch 3 (8 pts), boolean chains 7, loops 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout/src/list.rs"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e7fb1917aaa202323e49710d7a8c0a3934ba5c011d3440ddcf320995d768e0"}},{"ruleId":"D2","level":"warning","message":{"text":"App::reset_thread_event_state (cognitive 43): App::reset_thread_event_state has cognitive complexity 43 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 6 (16 pts), boolean chains 5 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/session_lifecycle.rs"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ee7b9cbf02f2774930f59e32f6bf549c6d1d7417e72fb648bad0191599193b"}},{"ruleId":"D2","level":"warning","message":{"text":"TextArea::apply_vim_editor_action (cognitive 43): TextArea::apply_vim_editor_action has cognitive complexity 43 (threshold 15). Drivers by points: if/else 17 (38 pts), match/switch 3 (5 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/textarea/vim_commands.rs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1de06c096efc0d1a41f57b60519e66d90dcddf84c26ed86f61ed9893ce2c11"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::on_rate_limit_snapshot_from (cognitive 43): ChatWidget::on_rate_limit_snapshot_from has cognitive complexity 43 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 15, loops 1 (3 pts), match/switch 1 (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":"codex-rs/tui/src/chatwidget/rate_limits.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4b782ca1ca962dffd1bf978a5916d57d8474cc198c88ea71dec658a59f5eb8"}},{"ruleId":"D2","level":"warning","message":{"text":"TurnDetails::index_turn (cognitive 43): TurnDetails::index_turn has cognitive complexity 43 (threshold 15). Drivers by points: if/else 15 (29 pts), boolean chains 11, match/switch 1 (2 pts), loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/transcript_view/turn_details.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"edcb20e7db35750e3ac918f32ff96a45a705988246960b6bc3aef17f29c0cc55"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptView::handle_disclosure_key (cognitive 43): TranscriptView::handle_disclosure_key has cognitive complexity 43 (threshold 15). Drivers by points: if/else 15 (30 pts), loops 3 (7 pts), boolean chains 3, match/switch 2 (3 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/transcript_view/disclosure.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4839b357033f51b1659915615bbd0e97e36c8a88d77e3be1ed2af6cbc038ce"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::analytics::tokens::filtered_history (cognitive 43): codex_tui::analytics::tokens::filtered_history has cognitive complexity 43 (threshold 15). Drivers by points: if/else 13 (32 pts), loops 3 (6 pts), boolean chains 5 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/analytics/tokens.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17b55b717da14475921ec16e7e5c84d7fcf1b527f28ba280b4e2bd314d2fa99"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigManager::persist_user_edits (cognitive 42): ConfigManager::persist_user_edits has cognitive complexity 42 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 12, loops 3 (6 pts), match/switch 1 (3 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/config_manager_service.rs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbbbdb3246f22da85e1e920c6e8610623072b71babf3cf2ac37ea0cb25cf165c"}},{"ruleId":"D2","level":"warning","message":{"text":"CredentialProviderEdits::validate_remapping (cognitive 42): CredentialProviderEdits::validate_remapping has cognitive complexity 42 (threshold 15). Drivers by points: if/else 9 (29 pts), loops 4 (8 pts), boolean chains 5 (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":"codex-rs/app-server/src/config_manager_service_credential_edits.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca56517d78e8acd28b99cbbb59c9f8893b5c62a2da27df87e956244e25c74598"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server::request_processors::thread_lifecycle::handle_pending_thread_resume_request (cognitive 42): codex_app_server::request_processors::thread_lifecycle::handle_pending_thread_resume_request has cognitive complexity 42 (threshold 15). Drivers by points: if/else 24 (32 pts), boolean chains 6, match/switch 2 (4 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":"codex-rs/app-server/src/request_processors/thread_lifecycle.rs"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"da11cc35969af8bb80c0518d4e2145c1764b1ad1ddcc93e63d4d0dc92d50db09"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_code_mode_protocol::description::build_exec_tool_description_and_definitions (cognitive 42): codex_code_mode_protocol::description::build_exec_tool_description_and_definitions has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (36 pts), boolean chains 2, loops 1 (2 pts), match/switch 2 (nesting depth added 24). 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":"codex-rs/code-mode-protocol/src/description.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca968f2260990fce2c980cc42d01e94cf9fdf4deb130d7c2f60d929753f9473"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_config::requirements_layers::stack::populate_merged_regular_fields_with_sources (cognitive 42): codex_config::requirements_layers::stack::populate_merged_regular_fields_with_sources has cognitive complexity 42 (threshold 15). Drivers by points: if/else 42. 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":"codex-rs/config/src/requirements_layers/stack.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a576e2d7073a15bcd779270b37c26d2f85b90342280dabc27f96cc83233e9f9"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::exec::consume_output (cognitive 42): codex_core::exec::consume_output has cognitive complexity 42 (threshold 15). Drivers by points: if/else 11 (25 pts), match/switch 8 (16 pts), boolean chains 1 (nesting depth added 22). Of this number, 39 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/exec.rs"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca29442eded9c7aa2dec64b0811100996c566a7c2ac99174ac5428a9a5af1a03"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::realtime_context::build_current_thread_section (cognitive 42): codex_core::realtime_context::build_current_thread_section has cognitive complexity 42 (threshold 15). Drivers by points: if/else 15 (34 pts), boolean chains 4, loops 2, match/switch 1 (2 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/realtime_context.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ebfb0d95f60c3ec7db951455aad1ce71a75a829325605664428e600fa952bf"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_rollout::compression::worker::compress_rollouts_in_root (cognitive 42): codex_rollout::compression::worker::compress_rollouts_in_root has cognitive complexity 42 (threshold 15). Drivers by points: if/else 9 (25 pts), match/switch 4 (11 pts), loops 3 (6 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":"codex-rs/rollout/src/compression.rs"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"1598c13623828f010c69c9c2a423634ce2ade09526093fbe637ec0b4d2610ddb"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptView::handle_mouse_with_mode (cognitive 42): TranscriptView::handle_mouse_with_mode has cognitive complexity 42 (threshold 15). Drivers by points: if/else 19 (33 pts), boolean chains 8, match/switch 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/transcript_view/input.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"008582eb1e8b8877f7cd7f82f8bf98519b19944f09737bcea34bcfc3e01af5f7"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptView::paint_rows (cognitive 42): TranscriptView::paint_rows has cognitive complexity 42 (threshold 15). Drivers by points: if/else 19 (29 pts), boolean chains 10, match/switch 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/transcript_view.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda39e9d495045f9d45354b060bc208434c93585a7a1501d5d7ed2510f3c2483"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::bottom_pane::chat_composer::completion_target::current_prefixed_token_range_with_dollar_predicate (cognitive 42): codex_tui::bottom_pane::chat_composer::completion_target::current_prefixed_token_range_with_dollar_predicate has cognitive complexity 42 (threshold 15). Drivers by points: if/else 21 (29 pts), boolean chains 13 (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":"codex-rs/tui/src/bottom_pane/chat_composer/completion_target.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c0cddd5777327bbc1608c44d54ed60bd7d20f47626108f17702d149256fe6d"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::markdown_copy::table::render (cognitive 42): codex_tui::markdown_copy::table::render has cognitive complexity 42 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 7 (13 pts), boolean chains 12 (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":"codex-rs/tui/src/markdown_copy/table.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e322bff5adc3a894e814f9a6d7a9f309fc81c7007b7ee94c258913a4d66f349"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_conformance_adapter._exercise_auth_scenario (cognitive 42): codex_conformance_adapter._exercise_auth_scenario has cognitive complexity 42 (threshold 15). Drivers by points: if/else 12 (22 pts), error handling 4 (10 pts), boolean chains 5, ternaries 1 (3 pts), loops 1 (2 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mcp_conformance/codex_conformance_adapter.py"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c22d63e160bed53ec31ec90ff42f8417a31087576c830e9160ca2f808db132"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server_protocol::export::build_schema_bundle (cognitive 41): codex_app_server_protocol::export::build_schema_bundle has cognitive complexity 41 (threshold 15). Drivers by points: if/else 12 (29 pts), loops 3 (6 pts), match/switch 1 (4 pts), boolean chains 2 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/export.rs"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad6400757bb67dcf2952bb311cd73424f9fe5374f4fe101b04fd5c213a9953e"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_cloud_tasks::ui::draw_diff_overlay (cognitive 41): codex_cloud_tasks::ui::draw_diff_overlay has cognitive complexity 41 (threshold 15). Drivers by points: if/else 22 (35 pts), boolean chains 6 (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":"codex-rs/cloud-tasks/src/ui.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b86f6bbf4b0e84b5fc12d60e711ad6434bc48a933821a90017fa93901f0837b"}},{"ruleId":"D2","level":"warning","message":{"text":"McpCatalogBuilder::build (cognitive 41): McpCatalogBuilder::build has cognitive complexity 41 (threshold 15). Drivers by points: if/else 10 (23 pts), boolean chains 7, match/switch 4 (7 pts), loops 4 (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":"codex-rs/codex-mcp/src/catalog.rs"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e6e4e1b565a83836a005478c718b663fc15970cb33129a1cef0b0cfbf8fece"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_exec_server::discoverV2::capability_discoveries::parse_root (cognitive 41): codex_exec_server::discoverV2::capability_discoveries::parse_root has cognitive complexity 41 (threshold 15). Drivers by points: if/else 16 (31 pts), loops 3 (4 pts), match/switch 2 (4 pts), boolean chains 2 (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":"codex-rs/exec-server/src/discoverV2/capability_discoveries.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec10af82eae2b12d40ee3b189d5043049938ffdd747c9dcaf5c2e5cc68b2ec9"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecServerCommand::run (cognitive 41): ExecServerCommand::run has cognitive complexity 41 (threshold 15). Drivers by points: if/else 22 (30 pts), match/switch 3 (7 pts), boolean chains 4 (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":"codex-rs/exec-server-cli/src/command.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6cfe54ce69301fc9222d458aa6251375bfa447aa956394b78b9804392deea3"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_hooks::events::post_tool_use::parse_completed (cognitive 41): codex_hooks::events::post_tool_use::parse_completed has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (35 pts), boolean chains 3, match/switch 2 (3 pts) (nesting depth added 23). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/hooks/src/events/post_tool_use.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"024cc583e6d21475202096ac8fb928d529dcc30fc4fb57c87465ef8d64e65819"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_hooks::events::stop::parse_completed (cognitive 41): codex_hooks::events::stop::parse_completed has cognitive complexity 41 (threshold 15). Drivers by points: if/else 11 (30 pts), match/switch 6 (9 pts), boolean chains 2 (nesting depth added 22). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/hooks/src/events/stop.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"add864b46fc8ffe322858f7bafa2d21c0f64f2d4b3e3302b30efe49505d91f8f"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecCell::exploring_display_lines (cognitive 41): ExecCell::exploring_display_lines has cognitive complexity 41 (threshold 15). Drivers by points: if/else 9 (19 pts), match/switch 3 (12 pts), loops 3 (6 pts), boolean chains 4 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/exec_cell/render.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"60eae77eef50cce658c6ec60e9ffe3c62fbce4de89d74c14878e8ea22be705a9"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_cli::doctor::stored_auth_issues (cognitive 40): codex_cli::doctor::stored_auth_issues has cognitive complexity 40 (threshold 15). Drivers by points: if/else 12 (30 pts), match/switch 4 (7 pts), boolean chains 3 (nesting depth added 21). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/doctor.rs"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3d363ebb52c186d1324027511cba20d377df500df7fdd72ac60809abafe2eb"}},{"ruleId":"D2","level":"warning","message":{"text":"Classification::run (cognitive 40): Classification::run has cognitive complexity 40 (threshold 15). Drivers by points: if/else 23 (25 pts), boolean chains 7, match/switch 7, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/guardian-v2/src/async_scorer/classification.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"74fd582c4f4b1326c67f4e2117abc1790af3d6745ec06898e7907d523de1c56f"}},{"ruleId":"D2","level":"warning","message":{"text":"GuardianV2Extension::score_tool (cognitive 40): GuardianV2Extension::score_tool has cognitive complexity 40 (threshold 15). Drivers by points: if/else 24 (26 pts), match/switch 7 (9 pts), boolean chains 5 (nesting depth added 4). 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":"codex-rs/ext/guardian-v2/src/async_scorer/observation.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"934a71184b3e1b6fe8e7bffd768c7aae961bd07f3f3bbb74c8ee2f71a86dc0ea"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_network_proxy::credential_broker::registry::select_credentials (cognitive 40): codex_network_proxy::credential_broker::registry::select_credentials has cognitive complexity 40 (threshold 15). Drivers by points: if/else 12 (26 pts), boolean chains 7, loops 4 (7 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/credential_broker/registry.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa588504f2e42be028e6ad503953826afee1fb238104799b71e13ef40dfce077"}},{"ruleId":"D2","level":"warning","message":{"text":"OllamaClient::pull_model_stream (cognitive 40): OllamaClient::pull_model_stream has cognitive complexity 40 (threshold 15). Drivers by points: if/else 6 (27 pts), loops 3 (10 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ollama/src/client.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7f2fc7b34efc3bd0019acb5464b994f016c05df8505933d7fd9e8ed6a288b1"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_thread_store::local::thread_history_materialization::read_projection_batches (cognitive 40): codex_thread_store::local::thread_history_materialization::read_projection_batches has cognitive complexity 40 (threshold 15). Drivers by points: if/else 13 (22 pts), match/switch 7 (13 pts), boolean chains 4, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/thread_history_materialization.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2372a77cc06399734a7b43f25edcd2b0ec70f07f174bebeb3be2807d73c5eda"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tools::json_schema::sanitize_json_schema (cognitive 40): codex_tools::json_schema::sanitize_json_schema has cognitive complexity 40 (threshold 15). Drivers by points: if/else 13 (22 pts), loops 4 (9 pts), boolean chains 8, match/switch 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tools/src/json_schema.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaac2fb5871ebe0c38595050a872a5b687df9e802c27a329676d171b0e130ea2"}},{"ruleId":"D2","level":"warning","message":{"text":"Renderer::annotate_selection (cognitive 40): Renderer::annotate_selection has cognitive complexity 40 (threshold 15). Drivers by points: if/else 18 (31 pts), loops 3 (5 pts), boolean chains 4 (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":"codex-rs/tui/src/analytics/plot/annotations.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"47540a6e2472c2fda7204e8a834010d07437ce2816ee2c72a97472543ba5dd0b"}},{"ruleId":"D2","level":"warning","message":{"text":"App::run_agents_overview_action (cognitive 40): App::run_agents_overview_action has cognitive complexity 40 (threshold 15). Drivers by points: if/else 19 (28 pts), boolean chains 6, loops 2 (4 pts), match/switch 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/agents_overview_actions.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"d577930db220ecbedfd46f465fcb62089e3b7ef0d1d6e136159a0c4a12aeb2ab"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::history_cell::approvals::new_approval_decision_cell (cognitive 40): codex_tui::history_cell::approvals::new_approval_decision_cell has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (20 pts), match/switch 10 (20 pts) (nesting depth added 20). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/history_cell/approvals.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"db850d09ab0683b4e32b963da6518629dd5cc374262089990af46c6c26e75a39"}},{"ruleId":"D2","level":"warning","message":{"text":"ThreadHistoryBuilder::build_user_inputs (cognitive 39): ThreadHistoryBuilder::build_user_inputs has cognitive complexity 39 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 5 (9 pts), match/switch 2 (6 pts), boolean chains 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/thread_history.rs"},"region":{"startLine":1730}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b4dc29e3b63a99220fafbbe25d78c188c39623607f7f5de687b2aebf0906ca"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_cli::debug_sandbox::pid_tracker::track_descendants (cognitive 39): codex_cli::debug_sandbox::pid_tracker::track_descendants has cognitive complexity 39 (threshold 15). Drivers by points: if/else 14 (35 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/debug_sandbox/pid_tracker.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"002ac1228da61dbf6dbe0eee02a31861a893d2f996af79626bd2652ef5beffc7"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_cloud_tasks::env_detect::list_environments_with_origins (cognitive 39): codex_cloud_tasks::env_detect::list_environments_with_origins has cognitive complexity 39 (threshold 15). Drivers by points: if/else 12 (26 pts), loops 3 (7 pts), match/switch 2 (4 pts), boolean chains 2 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cloud-tasks/src/env_detect.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc0a54c7bfe80a11e6eef7c7d98d6f7854a5a7177292ee79ea0c1d6a0a80f62"}},{"ruleId":"D2","level":"warning","message":{"text":"GuardianApprovalReviewer::decide_request (cognitive 39): GuardianApprovalReviewer::decide_request has cognitive complexity 39 (threshold 15). Drivers by points: if/else 19 (25 pts), boolean chains 6, match/switch 3 (6 pts), loops 1 (2 pts) (nesting depth added 10). 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":"codex-rs/ext/guardian-v2/src/async_scorer/approval.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2462419e92ed8a07931d4ee1ff56d272508e1bf3242e4f9146f1f51bc41f238"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_skills_extension::host_roots::repo_agents_skill_roots (cognitive 39): codex_skills_extension::host_roots::repo_agents_skill_roots has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (19 pts), match/switch 4 (13 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/skills/src/host_roots.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"5277921b3edaa9262628b2db7f15e7ac0e04b6921173edfea69baad4681d8221"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_hooks::events::permission_request::parse_completed (cognitive 39): codex_hooks::events::permission_request::parse_completed has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (30 pts), match/switch 3 (9 pts) (nesting depth added 26). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/hooks/src/events/permission_request.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"6acc1c5bf3430bc0e547d3d54c2762a2fa6c786bfa757216923c1a6e6b2d8fe2"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_linux_sandbox::daemon_mounts::check_mounts (cognitive 39): codex_linux_sandbox::daemon_mounts::check_mounts has cognitive complexity 39 (threshold 15). Drivers by points: if/else 14 (25 pts), boolean chains 10, 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":"codex-rs/linux-sandbox/src/daemon_mounts.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"d961ceb407945e35ae3be184bd31845691f09210317267cfb6b0a3cc7656c1df"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_mermaid::parse::parse (cognitive 39): codex_mermaid::parse::parse has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (26 pts), loops 4 (10 pts), boolean chains 2, match/switch 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/mermaid/src/parse.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"2188d36df9fad970f20abec55cd431a606dbc1f64b708073d1b6b1522c2b059e"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_mermaid::state::parse (cognitive 39): codex_mermaid::state::parse has cognitive complexity 39 (threshold 15). Drivers by points: if/else 18 (35 pts), boolean chains 3, loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/mermaid/src/state.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff5c72a1664138ee461258fac169a8431b14d65ab1a37a74a005df76a4ebd2a"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::handle_turn_completed_notification (cognitive 39): ChatWidget::handle_turn_completed_notification has cognitive complexity 39 (threshold 15). Drivers by points: if/else 18 (32 pts), boolean chains 6, match/switch 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/protocol.rs"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3957f6b641d4f99257f695cc0be82b326bc4fdf955ea41371346fbbd91ff11"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::replay_thread_turns (cognitive 39): ChatWidget::replay_thread_turns has cognitive complexity 39 (threshold 15). Drivers by points: if/else 16 (26 pts), boolean chains 8, loops 2 (3 pts), match/switch 1 (2 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":"codex-rs/tui/src/chatwidget/replay.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e084b4b5747aebeac6886fa7c762e6baaabe6d66208283aaa7fae10171f6b17"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::on_session_configured_with_display_and_fork_parent_title (cognitive 39): ChatWidget::on_session_configured_with_display_and_fork_parent_title has cognitive complexity 39 (threshold 15). Drivers by points: if/else 20 (23 pts), boolean chains 15, match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"codex-rs/tui/src/chatwidget/session_flow.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7ff9d3d8d7e4d3a8f001c982c0f99b7d353120854b7e965e93400c1d900c25"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusHistoryCell::content_lines (cognitive 39): StatusHistoryCell::content_lines has cognitive complexity 39 (threshold 15). Drivers by points: if/else 31 (33 pts), match/switch 3 (4 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"codex-rs/tui/src/status/card.rs"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f75f652fa8beb7cd30db2867107b1158245ce680f1bf7a54bdbf527b7838a31"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::terminal_hyperlinks::mark_buffer_hyperlinks (cognitive 39): codex_tui::terminal_hyperlinks::mark_buffer_hyperlinks has cognitive complexity 39 (threshold 15). Drivers by points: if/else 9 (26 pts), loops 4 (10 pts), boolean chains 3 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/terminal_hyperlinks.rs"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"17cac29e514b5766a7e58214a3594963e0009e1947b87e74bb20bb5c57ab804e"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_conformance_adapter.run_adapter (cognitive 39): codex_conformance_adapter.run_adapter has cognitive complexity 39 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 8, ternaries 4 (7 pts), error handling 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mcp_conformance/codex_conformance_adapter.py"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd30710e1fd61be76bbe8720d57b581482611d82a693f667ed8dfa06949ee683"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_agent_roles::loader::load_agent_roles (cognitive 38): codex_agent_roles::loader::load_agent_roles has cognitive complexity 38 (threshold 15). Drivers by points: if/else 8 (23 pts), loops 4 (9 pts), match/switch 2 (6 pts) (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":"codex-rs/agent-roles/src/loader.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c69507339bc37dea9f6889df220bca76e6b93f23740a4349498fe6ee412edf"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_cli::debug_sandbox::run_command_under_sandbox (cognitive 38): codex_cli::debug_sandbox::run_command_under_sandbox has cognitive complexity 38 (threshold 15). Drivers by points: if/else 17 (21 pts), match/switch 6 (8 pts), boolean chains 6, loops 1 (3 pts) (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/debug_sandbox.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"3484d1eed89dfb6843e4596a6989fdd60bd5586b89b36baf06e7301c8ef40721"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigDocument::set_skill_config (cognitive 38): ConfigDocument::set_skill_config has cognitive complexity 38 (threshold 15). Drivers by points: if/else 19 (33 pts), match/switch 3, loops 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/config/edit.rs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"657c3806399eecab3a7f84e466ee2b84e0852c2452818e88f456c8391473e2ef"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::guardian::review_session::run_review_on_session (cognitive 38): codex_core::guardian::review_session::run_review_on_session has cognitive complexity 38 (threshold 15). Drivers by points: if/else 20 (23 pts), match/switch 9 (11 pts), boolean chains 4 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/guardian/review_session.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5fad54fe3b8fcb5057a85ce46584d030d6b17a9167c67d5281763057ece229"}},{"ruleId":"D2","level":"warning","message":{"text":"OAuthHttpClientAdapter::execute_request (cognitive 38): OAuthHttpClientAdapter::execute_request has cognitive complexity 38 (threshold 15). Drivers by points: if/else 14 (24 pts), boolean chains 7, loops 4 (5 pts), match/switch 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/oauth_http_client.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0c2594dea470992567a223c1dbe990b2aac717b65b2bc58e146a843d767ad1"}},{"ruleId":"D2","level":"warning","message":{"text":"PickerState::handle_key (cognitive 38): PickerState::handle_key has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 12, match/switch 2 (4 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":"codex-rs/tui/src/resume_picker.rs"},"region":{"startLine":1615}}}],"partialFingerprints":{"codehealthFindingId/v1":"438aa5a58f331488669020be37b5328ed32dfeee99f2e86674418e1b99da629f"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::app_backtrack::backtrack_revert_before_turn_id (cognitive 38): codex_tui::app_backtrack::backtrack_revert_before_turn_id has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (27 pts), boolean chains 4, match/switch 2 (4 pts), loops 2 (3 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app_backtrack.rs"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95aad6a745df4c6b7aa5f77ce6803901304d07f3fa32f6319f79d192d6dbae9"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::resume_picker::run_session_picker_event_loop (cognitive 38): codex_tui::resume_picker::run_session_picker_event_loop has cognitive complexity 38 (threshold 15). Drivers by points: if/else 12 (32 pts), match/switch 2 (5 pts), loops 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/resume_picker.rs"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59b14975b93ed460289fc51259636799194b3f69383a1d47ea09c56dd3005b2"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandExecRequestProcessor::exec_one_off_command_inner (cognitive 37): CommandExecRequestProcessor::exec_one_off_command_inner has cognitive complexity 37 (threshold 15). Drivers by points: if/else 18 (19 pts), match/switch 7 (12 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 7). 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":"codex-rs/app-server/src/request_processors/command_exec_processor.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2852e7c798072bcf17e4dcd2d572bdcb3e36ead421a4c99ac77d7713db49d3"}},{"ruleId":"D2","level":"warning","message":{"text":"TopLevelToolsState::append_exec_updates (cognitive 37): TopLevelToolsState::append_exec_updates has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (30 pts), loops 1 (5 pts), boolean chains 2 (nesting depth added 23). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/context/world_state/top_level_tools.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eba62619f8fabe5d1d7aafad35659accf76569c12c380687804b258044ba6c2"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::compact_remote_v2::collect_compaction_output (cognitive 37): codex_core::compact_remote_v2::collect_compaction_output has cognitive complexity 37 (threshold 15). Drivers by points: if/else 9 (22 pts), match/switch 5 (13 pts), boolean chains 1, loops 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/compact_remote_v2.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33df4e58f86948f8283c0a90a31bf50e91499f091d37315e69d3243e40c7d25"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_guardian_reviewer::completion::complete_review (cognitive 37): codex_guardian_reviewer::completion::complete_review has cognitive complexity 37 (threshold 15). Drivers by points: if/else 16 (28 pts), match/switch 6 (9 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":"codex-rs/ext/guardian-reviewer/src/completion.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"89eee564daab9e5525e3e983354707b23e3f1c95f52f6930762f7416f282fab5"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_guardian_context::preparation::root::prepare_root_context (cognitive 37): codex_guardian_context::preparation::root::prepare_root_context has cognitive complexity 37 (threshold 15). Drivers by points: if/else 16 (23 pts), boolean chains 6, match/switch 3 (5 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/guardian-context/src/preparation/root.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0504d27026665915c316f9cfd78932cddeb52559f25f096d2d046e817984da7"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_sandboxing::seatbelt::create_seatbelt_command_args_with_profile (cognitive 37): codex_sandboxing::seatbelt::create_seatbelt_command_args_with_profile has cognitive complexity 37 (threshold 15). Drivers by points: if/else 19 (26 pts), loops 4 (10 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":"codex-rs/sandboxing/src/seatbelt.rs"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ca24b20e38665ac54aa67e2bbcaff9eb6bd07526826647735ede2f2fccb99e"}},{"ruleId":"D2","level":"warning","message":{"text":"AnalyticsView::render_controls (cognitive 37): AnalyticsView::render_controls has cognitive complexity 37 (threshold 15). Drivers by points: if/else 21 (32 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/analytics/controls.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"25902ab997e012f35ed4f0bf1767677de1f2661d39909f0b7b060cdb7d422996"}},{"ruleId":"D2","level":"warning","message":{"text":"ManagedWorktreeTools::execute_inner (cognitive 37): ManagedWorktreeTools::execute_inner has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (22 pts), match/switch 4 (8 pts), boolean chains 5, loops 1 (2 pts) (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":"codex-rs/tui/src/managed_worktree_tools.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"1541bd046b36e76c6c0fe5f334451fdbfef0a6b273f6161c0164d635849fee1a"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::debug_config::render_debug_config_lines (cognitive 37): codex_tui::debug_config::render_debug_config_lines has cognitive complexity 37 (threshold 15). Drivers by points: if/else 29 (34 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/debug_config.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60769be7818c9f3857122759fbe42dbf783340162f5fb7e915ecd312373f573"}},{"ruleId":"D2","level":"warning","message":{"text":"run_codex_compliance._exercise_app_server (cognitive 37): run_codex_compliance._exercise_app_server has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 12 (15 pts), if/else 12 (14 pts), boolean chains 8 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mcp_conformance/run_codex_compliance.py"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84246066a51a43df9516493c292365875ed16771ba5c353663453e08b22ff29"}},{"ruleId":"D2","level":"warning","message":{"text":"PidBackend::stop_with_grace (cognitive 36): PidBackend::stop_with_grace has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (25 pts), match/switch 3 (6 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-daemon/src/backend/pid.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbdc3cde712e9ef75684392e2a668214fa9e7bb0656f56f95dfc416d672f3e1c"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectionDriver::complete_request (cognitive 36): ConnectionDriver::complete_request has cognitive complexity 36 (threshold 15). Drivers by points: if/else 7 (19 pts), match/switch 7 (14 pts), boolean chains 3 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/code-mode/src/remote_session/connection/driver/responses.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"83612b40493f86125db1070659e1d31f47946b98b1d501e97e8a277b5542e5ed"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_config::schema::features_schema (cognitive 36): codex_config::schema::features_schema has cognitive complexity 36 (threshold 15). Drivers by points: if/else 17 (34 pts), loops 2 (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":"codex-rs/config/src/schema.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff8ca2a29e86883f14f53c07c47a3eff6cc23eb1a096a505c36ea08a19fdac5"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::realtime_conversation::sideband::spawn_webrtc_sideband_input_task (cognitive 36): codex_core::realtime_conversation::sideband::spawn_webrtc_sideband_input_task has cognitive complexity 36 (threshold 15). Drivers by points: if/else 8 (17 pts), match/switch 6 (12 pts), boolean chains 6, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/realtime_conversation/sideband.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"451f950fb3b3f9571bd371777815f25206df101e9edd28424e3fd948b2d25135"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginsManager::plugins_for_config (cognitive 36): PluginsManager::plugins_for_config has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (35 pts), loops 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/manager.rs"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0640c22ad8d3f19ec780f95111131a9afcede3f27217100040d054e01435ab1"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonRpcConnection::from_stdio_with_max_message_len (cognitive 36): JsonRpcConnection::from_stdio_with_max_message_len has cognitive complexity 36 (threshold 15). Drivers by points: if/else 8 (23 pts), match/switch 3 (9 pts), boolean chains 2, loops 2 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/connection.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a4dbe0605e102e63e8933756c2a9f570f0378c5da036a036de8136bbe5c525"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_exec_server::capability_discovery::discover_root (cognitive 36): codex_exec_server::capability_discovery::discover_root has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (22 pts), match/switch 6 (9 pts), loops 3, boolean chains 2 (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":"codex-rs/exec-server/src/capability_discovery.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e43044efcf238d4874fb48d65d020fd3ab47b00c5b4c74331b18b416180ea20"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_external_agent_migration::detect::sessions::connectors_cla::detect_connector_names_by_key (cognitive 36): codex_external_agent_migration::detect::sessions::connectors_cla::detect_connector_names_by_key has cognitive complexity 36 (threshold 15). Drivers by points: if/else 7 (24 pts), loops 5 (11 pts), boolean chains 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/external-agent-migration/src/detect/sessions/connectors_cla.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efa9777cc441dce0de892c457722f5eba948b1d8ac8163b31331f778e90606b"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptImages::collect (cognitive 36): TranscriptImages::collect has cognitive complexity 36 (threshold 15). Drivers by points: match/switch 6 (16 pts), loops 5 (11 pts), if/else 5 (8 pts), boolean chains 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/guardian-context/src/images.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d4dad382275b984cf2567f8e27ec4b69e104ae30ca14063bfb82eda7fa1bcb"}},{"ruleId":"D2","level":"warning","message":{"text":"App::try_submit_active_thread_op_via_app_server (cognitive 36): App::try_submit_active_thread_op_via_app_server has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (26 pts), boolean chains 4, match/switch 2 (4 pts), loops 1 (2 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/thread_routing.rs"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"34397f21543b34d8659c1472b94caf8cef15dd080013ca4f27f5d7e90a7d9bce"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::handle_permission_shortcut (cognitive 36): ChatWidget::handle_permission_shortcut has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 8, loops 2 (3 pts), match/switch 1 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/permission_shortcuts.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8577d4bfaf7763bb7f7f662cb45fcd0490c7f4915fa1e6c682fce14b39bbea"}},{"ruleId":"D2","level":"warning","message":{"text":"UnifiedExecProcessesCell::display_lines (cognitive 36): UnifiedExecProcessesCell::display_lines has cognitive complexity 36 (threshold 15). Drivers by points: if/else 16 (29 pts), loops 2 (3 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/history_cell/exec.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca80efbaed2b814954ec150571c551b4e698ddea3c790c91c3a42ccfa3e9e8d"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::diff_render::wrap_styled_spans (cognitive 36): codex_tui::diff_render::wrap_styled_spans has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (29 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/diff_render.rs"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"82936a777e5f287b3b6cf0748f78fad4c8fb67fa97d81dc36b9a3292fddc90aa"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::mention_codec::encode_history_mentions_at_elements (cognitive 36): codex_tui::mention_codec::encode_history_mentions_at_elements has cognitive complexity 36 (threshold 15). Drivers by points: if/else 8 (22 pts), boolean chains 7, loops 3 (7 pts) (nesting depth added 18). 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":"codex-rs/tui/src/mention_codec.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96c2a33387aafdfc4ee10953785f6a8636db24c54c7a8f264db37c71cb7009e"}},{"ruleId":"D2","level":"warning","message":{"text":"review_regressions._print_report (cognitive 36): review_regressions._print_report has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 7 (16 pts), if/else 6 (12 pts), loops 3 (8 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mcp_conformance/review_regressions.py"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d72548d323e18ea46c3b2ac9aa3f4d184c7e564924cd629c8eb3a2e3c49002"}},{"ruleId":"D2","level":"warning","message":{"text":"server.validate_modern_http_headers (cognitive 36): server.validate_modern_http_headers has cognitive complexity 36 (threshold 15). Drivers by points: if/else 19 (28 pts), boolean chains 4, ternaries 1 (3 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mcp_conformance/server.py"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfcdbe8984e901a74b9fdefc1d4357de9103f59eed68b04e5f78e66decd348e3"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_apply_patch::file_update::compute_replacements (cognitive 35): codex_apply_patch::file_update::compute_replacements has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (27 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/apply-patch/src/file_update.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ea08898d65beea3adaca22a116602162c52762e5cbfcadd6424fba4a027d8f"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelClient::build_responses_request (cognitive 35): ModelClient::build_responses_request has cognitive complexity 35 (threshold 15). Drivers by points: if/else 17 (24 pts), loops 3 (6 pts), boolean chains 5 (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":"codex-rs/core/src/client.rs"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"085a6f3b57ea9d506bfbba4811b6fb12aa1e876f1e77bfbaac7c2ef51c282af6"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::refresh_config (cognitive 35): Session::refresh_config has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15 (24 pts), loops 2 (5 pts), boolean chains 3, match/switch 3 (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":"codex-rs/core/src/session/config_refresh.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b48f5eb6a05d3282b18a61d24a374d041bf3782c6f09d32898f9af866cd8ebed"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::tools::runtimes::prepare_brokered_shell_snapshot_env (cognitive 35): codex_core::tools::runtimes::prepare_brokered_shell_snapshot_env has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (25 pts), loops 2 (6 pts), boolean chains 4 (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":"codex-rs/core/src/tools/runtimes/mod.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"9437f1ca9ef226c763cc4c3a29d687e15ae7bc461707070812f40794a0b7b7d6"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core_plugins::remote::fetch_remote_marketplaces (cognitive 35): codex_core_plugins::remote::fetch_remote_marketplaces has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (26 pts), match/switch 3 (8 pts), loops 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/remote.rs"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f4146db6470e901b03f8db9e536d745d97a6b0e7444a10165772d534976f636"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_exec_server::shell_snapshot_credentials::prepare (cognitive 35): codex_exec_server::shell_snapshot_credentials::prepare has cognitive complexity 35 (threshold 15). Drivers by points: boolean chains 15, if/else 10 (15 pts), loops 5 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/shell_snapshot_credentials.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7ee0cb6e40f7ced13be2de23806a7de4b6fbf2ed77d4b40dd54f28924404dd"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_memories_extension::local::search::search_file (cognitive 35): codex_memories_extension::local::search::search_file has cognitive complexity 35 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 6 (15 pts), boolean chains 2, match/switch 2 (nesting depth added 20). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/memories/src/local/search.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f88c0c4357c16b8b84121999757cf3a1c787b4165777a268b6515ba9299859"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillsExtension::contribute (cognitive 35): SkillsExtension::contribute has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (21 pts), loops 4 (7 pts), boolean chains 5, match/switch 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/skills/src/extension.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f20194f995b1cd9a780b62a8f7180b14039a3f47ccb4014b3ed1e973508196b"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_rmcp_client::ema_auth::discover_ema_authorization_metadata (cognitive 35): codex_rmcp_client::ema_auth::discover_ema_authorization_metadata has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (25 pts), match/switch 2 (5 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/ema_auth.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71473b580c2d7089b323498b86a3ada146292dfb2b34f62a6a3adc22e4bab83"}},{"ruleId":"D2","level":"warning","message":{"text":"ReverseJsonlScanner::scan_next (cognitive 35): ReverseJsonlScanner::scan_next has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (34 pts), loops 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout/src/reverse_jsonl_scanner.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"778aaca7346c5b4213dd290577b95105fd629504163e3b74f0d194c2bffd35c1"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_skills::parser::repair_frontmatter_scalar_fields (cognitive 35): codex_skills::parser::repair_frontmatter_scalar_fields has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (23 pts), boolean chains 7, loops 3 (5 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":"codex-rs/skills/src/parser.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0fb31eed3066acad073de62bd2164fe2cf87d82fefc52b18ddb148ff17164c"}},{"ruleId":"D2","level":"warning","message":{"text":"App::apply_side_creation (cognitive 35): App::apply_side_creation has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (31 pts), boolean chains 3, match/switch 1 (nesting depth added 17). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/side.rs"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb2d01f168989286f3ff59321808b7cc45a973a14ac60f56158de2225e9be1c"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatComposer::handle_submission_with_time (cognitive 35): ChatComposer::handle_submission_with_time has cognitive complexity 35 (threshold 15). Drivers by points: if/else 21 (31 pts), boolean chains 4 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":3275}}}],"partialFingerprints":{"codehealthFindingId/v1":"538f8f263c845002d4a3811441bde636e193cedae2cc0cca5d97921ec60a5c0d"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_windows_sandbox_service::ipc::handle_request (cognitive 35): codex_windows_sandbox_service::ipc::handle_request has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (34 pts), loops 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-service/src/ipc.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8152c231bcf4b0c3154cd3a4157a4eb29e2343e4d3e3e9e07d081bf9ced81f0"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server_daemon::release_pruning::prune (cognitive 34): codex_app_server_daemon::release_pruning::prune has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 4 (8 pts), boolean chains 3 (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":"codex-rs/app-server-daemon/src/release_pruning.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a588e51ada92d62fdb7b7bbb17cf356bb0c0122781ee3c647064a3dd96593c3"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteControlWebsocket::run_websocket_reader_inner (cognitive 34): RemoteControlWebsocket::run_websocket_reader_inner has cognitive complexity 34 (threshold 15). Drivers by points: match/switch 6 (15 pts), if/else 6 (14 pts), loops 2 (5 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-transport/src/transport/remote_control/websocket.rs"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8029051156a748fd88187b94c0e369694e5c74dad5447a9ceb748cfe0013a8"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_api::sse::responses::process_sse_with_treatment (cognitive 34): codex_api::sse::responses::process_sse_with_treatment has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (19 pts), match/switch 5 (11 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-api/src/sse/responses.rs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96dee175372178e2f49bc2591e6b1d6f76755185742508ac74702a12a54bfd3"}},{"ruleId":"D2","level":"warning","message":{"text":"ThreadEnvironments::update_selections_with_bindings (cognitive 34): ThreadEnvironments::update_selections_with_bindings has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (23 pts), boolean chains 5, match/switch 1 (4 pts), loops 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/environment_selection.rs"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"2797b4943927f62aad1e0b8f5e0fa51f507dfb68ebba02d1e270364a319d9138"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeModeDispatchBroker::start_turn_worker (cognitive 34): CodeModeDispatchBroker::start_turn_worker has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (25 pts), match/switch 3 (7 pts), boolean chains 1, loops 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/code_mode/delegate.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cee9769d1844d263c8fbf92bd695f2f135745e7a370a2f320f19c2ca964b0a4"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::compact::build_compacted_history_with_limit (cognitive 34): codex_core::compact::build_compacted_history_with_limit has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (30 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/compact.rs"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3427c9190d445eb7c81d46d8107ca751e518fb928c104640f295b8ccea0401c"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_guardian_v2::async_scorer::approval::cached_evidence (cognitive 34): codex_guardian_v2::async_scorer::approval::cached_evidence has cognitive complexity 34 (threshold 15). Drivers by points: if/else 20 (28 pts), boolean chains 5, match/switch 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":"codex-rs/ext/guardian-v2/src/async_scorer/approval.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f4ba5e9b696f158f82625e2831a116440c3eac086ccfb30b5f20ff299c909d"}},{"ruleId":"D2","level":"warning","message":{"text":"ListTool::handle (cognitive 34): ListTool::handle has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (27 pts), match/switch 2 (3 pts), boolean chains 2, loops 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/skills/src/tools/list.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3014abdfae114a161272330eb3fb24979f434b1ed619cc41d5fd9fb72a2c94"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_external_agent_migration::hooks_cur::hook_migration_cur (cognitive 34): codex_external_agent_migration::hooks_cur::hook_migration_cur has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (30 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/external-agent-migration/src/hooks_cur.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d96777522c8e2d6aa84c9f0bda82b66ed5142f07c7a59a3de2323019899d723"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptHistory::record (cognitive 34): TranscriptHistory::record has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 7, loops 1 (3 pts), match/switch 1 (2 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":"codex-rs/guardian-context/src/history.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4dcd20e5caacb46d3a01e8168dd0e7c34a42334860cc8962aa04fc0ca0d95c6"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_network_proxy::credential_broker::matching::known_credential_matches (cognitive 34): codex_network_proxy::credential_broker::matching::known_credential_matches has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 7 (10 pts), boolean chains 9, match/switch 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/credential_broker/matching.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4660d806a00dab40d16db0915b2209c16c9ca9f52291a111e58605da279df20b"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_network_proxy::http_proxy::http_plain_proxy (cognitive 34): codex_network_proxy::http_proxy::http_plain_proxy has cognitive complexity 34 (threshold 15). Drivers by points: match/switch 14 (19 pts), if/else 11 (14 pts), loops 1 (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"83251c8dfe14289b5fe440f85d9a11085eb58fe6972431a6108f52d272c69431"}},{"ruleId":"D2","level":"warning","message":{"text":"RolloutReferenceIndex::scan_paths (cognitive 34): RolloutReferenceIndex::scan_paths has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (28 pts), loops 3 (4 pts), match/switch 1 (2 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout/src/rollout_reference_index.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"527ecc34b660ee293391f6316b3a36c78fec597c5081f7642adeb0c3149aaebf"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_thread_store::local::rollout_migration::legacy_event::user_message_item (cognitive 34): codex_thread_store::local::rollout_migration::legacy_event::user_message_item has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 5 (9 pts), match/switch 2 (6 pts), boolean chains 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":"codex-rs/thread-store/src/local/rollout_migration/legacy_event.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c533dc78637f307320c17542b2e56078165affbfc051bf2b29b42bd2903c4b79"}},{"ruleId":"D2","level":"warning","message":{"text":"App::commit_thread_selection (cognitive 34): App::commit_thread_selection has cognitive complexity 34 (threshold 15). Drivers by points: if/else 19 (24 pts), boolean chains 8, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/session_lifecycle.rs"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83643dec5247f0f2c0dc7d902b97ee103b63a56fcd422a272b7c62eed9dd4c9"}},{"ruleId":"D2","level":"warning","message":{"text":"App::handle_startup_thread_started (cognitive 34): App::handle_startup_thread_started has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (26 pts), boolean chains 3, match/switch 2 (3 pts), loops 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/session_lifecycle.rs"},"region":{"startLine":1085}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f6a5484828aca3713f424331b149bd6fb6a17e6b093ed7e1198a7c11b2f9c2"}},{"ruleId":"D2","level":"warning","message":{"text":"AppServerSession::submit_user_message (cognitive 34): AppServerSession::submit_user_message has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (17 pts), match/switch 4 (9 pts), boolean chains 6, loops 1 (2 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":"codex-rs/tui/src/app_server_session/user_message_submission.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c63bb6d56b0b99734c29ce56486f3da3aff44c2965070cfab17e92aaa03b99c"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecCell::command_display_lines_with_hidden_details (cognitive 34): ExecCell::command_display_lines_with_hidden_details has cognitive complexity 34 (threshold 15). Drivers by points: if/else 20 (29 pts), boolean chains 2, loops 1 (2 pts), match/switch 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/exec_cell/render.rs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd815948e15b3c4e5860eee80921568563aa85162db7cb6109e676850f54809c"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::ide_context::prompt::render_prompt_context (cognitive 34): codex_tui::ide_context::prompt::render_prompt_context has cognitive complexity 34 (threshold 15). Drivers by points: if/else 16 (26 pts), loops 2 (5 pts), boolean chains 3 (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":"codex-rs/tui/src/ide_context/prompt.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0745008dd9cb37c290d56bbdbdbfd3fad11725465d752132163e8bd8378b02d"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::ui_tree::render::text::join_graphemes (cognitive 34): codex_tui::ui_tree::render::text::join_graphemes has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (24 pts), loops 4 (8 pts), boolean chains 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/ui_tree/render/text.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eec224e7302892c77cc2b30b2d5039b175e2a4f39f573dc2b3591abc2236aa3"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_utils_sandbox_summary::sandbox_summary::summarize_permission_profile (cognitive 34): codex_utils_sandbox_summary::sandbox_summary::summarize_permission_profile has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (22 pts), match/switch 3 (8 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/utils/sandbox-summary/src/sandbox_summary.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da46989a23df78a7047f62e7524742272964635560c26a0b37aa2930c2d8767"}},{"ruleId":"D2","level":"warning","message":{"text":"review_regressions.main (cognitive 34): review_regressions.main has cognitive complexity 34 (threshold 15). Drivers by points: if/else 17 (20 pts), error handling 3 (6 pts), boolean chains 4, ternaries 3 (4 pts) (nesting depth added 7). 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":"scripts/mcp_conformance/review_regressions.py"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bcb1e60b46ee0fce2c724cb97731b0a8eaca4eea1bdf6188329201cd0e89ee1"}},{"ruleId":"D2","level":"warning","message":{"text":"AnalyticsReducer::ingest_server_request (cognitive 33): AnalyticsReducer::ingest_server_request has cognitive complexity 33 (threshold 15). Drivers by points: if/else 19 (27 pts), boolean chains 3, match/switch 2 (3 pts) (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/analytics/src/reducer.rs"},"region":{"startLine":1768}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c247268fd4a8b1680436ab8a23fc2808b4084715bc298f6ab6b457a650d242f"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server::request_processors::thread_processor::validate_dynamic_tools (cognitive 33): codex_app_server::request_processors::thread_processor::validate_dynamic_tools has cognitive complexity 33 (threshold 15). Drivers by points: if/else 16 (23 pts), boolean chains 4, loops 2 (4 pts), match/switch 1 (2 pts) (nesting depth added 10). Of this number, 20 points are the body\u0027s own statements and 13 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":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"78213b743d7af90a8a7e1ba94416575b55251bdeffd0e18fdd803e8589b62c41"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_apply_patch::apply_hunks_to_files (cognitive 33): codex_apply_patch::apply_hunks_to_files has cognitive complexity 33 (threshold 15). Drivers by points: if/else 7 (18 pts), match/switch 5 (14 pts), loops 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/apply-patch/src/lib.rs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"675d2084279f79cf4a74e49b27ef50b6eb25fd6e9f205ccae10ac3f2f62f6493"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_apply_patch::seek_sequence::seek_sequence (cognitive 33): codex_apply_patch::seek_sequence::seek_sequence has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 7 (10 pts), boolean chains 1, match/switch 1 (nesting depth added 13). Of this number, 32 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/apply-patch/src/seek_sequence.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6bcd731e36e254d3d51f4e4792b83aa60590562873101016864df0dafbf3dc0"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_config::merge::merge_toml_values_at_path (cognitive 33): codex_config::merge::merge_toml_values_at_path has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 7, loops 2 (5 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/merge.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3f06b22fc48c69cb4f414027866e17a98bd4b6e6e82ec9d25b44e40c635f4a"}},{"ruleId":"D2","level":"warning","message":{"text":"RealtimeHistoryState::observe (cognitive 33): RealtimeHistoryState::observe has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (28 pts), match/switch 3 (4 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/realtime_history.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"b822f62927c63314eb9207f72e5557255d5402386a8670574b95b772e1ac1fb4"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::record_initial_history (cognitive 33): Session::record_initial_history has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (22 pts), match/switch 4 (7 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":1771}}}],"partialFingerprints":{"codehealthFindingId/v1":"89da32bad634e04e7122a7cf46f1987e6c056ffe0a8146f38194ba42baca7c76"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::on_task_finished (cognitive 33): Session::on_task_finished has cognitive complexity 33 (threshold 15). Drivers by points: if/else 19 (21 pts), boolean chains 7, match/switch 3 (4 pts), loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"codex-rs/core/src/tasks/mod.rs"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"78df612d87858a107ae1dc38daa4570551f597175d83deb167f62b9cd3f97c76"}},{"ruleId":"D2","level":"warning","message":{"text":"UnifiedExecProcessManager::exec_command_inner (cognitive 33): UnifiedExecProcessManager::exec_command_inner has cognitive complexity 33 (threshold 15). Drivers by points: if/else 18 (26 pts), boolean chains 4, match/switch 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/unified_exec/process_manager.rs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc395d59c277b92e96908571ac70efc46c01aa335ef70a6314b22f4890fe635"}},{"ruleId":"D2","level":"warning","message":{"text":"Inner::recover (cognitive 33): Inner::recover has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (24 pts), match/switch 3 (8 pts), loops 1 (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":"codex-rs/exec-server/src/client_recovery.rs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"445a8262fdcb59ee6e7a0bcbcf2d00bfdb73f9efc7842e600f9d4b7985523592"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_hooks::events::pre_tool_use::parse_completed (cognitive 33): codex_hooks::events::pre_tool_use::parse_completed has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (28 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 18). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/hooks/src/events/pre_tool_use.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f7895cdf67b7cbc1b01417b01b12759506d656defa07a5d4452e3d17838d75"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_memories_write::extensions::prune::prune_old_extension_resources_with_now (cognitive 33): codex_memories_write::extensions::prune::prune_old_extension_resources_with_now has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (25 pts), loops 2 (3 pts), match/switch 2 (3 pts), boolean chains 2 (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":"codex-rs/memories/write/src/extensions/prune.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f1598f319aab5b06c14b513f9bfd7da8f4fa4fd6eb3864051637a98768b403"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_message_history::batch::scan_batch_backward (cognitive 33): codex_message_history::batch::scan_batch_backward has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (29 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/message-history/src/batch.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"e489eaa261a02d9b0522554ad535d234348f631b1c374c50f36049ce0e40b251"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_network_proxy::brokered_tunnel::peek_protocol (cognitive 33): codex_network_proxy::brokered_tunnel::peek_protocol has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 7, loops 2 (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":"codex-rs/network-proxy/src/brokered_tunnel.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57bfd260c156e81e3905ea3213e4313ce947a6e715c2e9a8d3e44166974b32c"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_sandboxing::policy_transforms::materialize_context_dependent_entries (cognitive 33): codex_sandboxing::policy_transforms::materialize_context_dependent_entries has cognitive complexity 33 (threshold 15). Drivers by points: if/else 7 (26 pts), loops 2 (4 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/sandboxing/src/policy_transforms.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"29896c17f4f198d9cad9932df17cf2084f850d86d48c6a1d4551f6a692b4dac3"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_thread_store::local::thread_history::segment_paging::page_item_rows (cognitive 33): codex_thread_store::local::thread_history::segment_paging::page_item_rows has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (22 pts), loops 3 (6 pts), boolean chains 3, match/switch 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/thread_history/segment_paging.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3690de4de2b648354d12adf576bf222e3dc1db16c2e63b0610efde30b282c7"}},{"ruleId":"D2","level":"warning","message":{"text":"App::overlay_forward_event (cognitive 33): App::overlay_forward_event has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (25 pts), boolean chains 8 (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":"codex-rs/tui/src/app_backtrack.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c8533b99039c9ef61e985d91170ab0e62bbf4c0e247d6d6974c6baedefaf51"}},{"ruleId":"D2","level":"warning","message":{"text":"AppLinkView::activate_selected_action (cognitive 33): AppLinkView::activate_selected_action has cognitive complexity 33 (threshold 15). Drivers by points: match/switch 16 (32 pts), if/else 1 (nesting depth added 16). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/app_link_view.rs"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19984420f10029138b68f2e6c4409f7f7902bb66fa3b4b4338325a1bf6d121a"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::plugin_selection_items (cognitive 33): ChatWidget::plugin_selection_items has cognitive complexity 33 (threshold 15). Drivers by points: if/else 19 (27 pts), boolean chains 5, 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":"codex-rs/tui/src/chatwidget/plugin_catalog.rs"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"925adcc30f56c55fb866f1a3bf2c1de643927c70879ac20843d49705c6211882"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::on_guardian_assessment (cognitive 33): ChatWidget::on_guardian_assessment has cognitive complexity 33 (threshold 15). Drivers by points: if/else 19 (25 pts), match/switch 4 (6 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/tool_requests.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc95effbb95df7f1e26db8534c64ace7ca830a81414b1ac6134c82d0eb44bf6"}},{"ruleId":"D2","level":"warning","message":{"text":"ClipboardWorker::poll (cognitive 33): ClipboardWorker::poll has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (26 pts), match/switch 2 (4 pts), boolean chains 3 (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":"codex-rs/tui/src/clipboard_copy/worker.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3080e412ef65ffb3f389a93693b2fcad6b17e44c7289e9fe0ca13634477b8ac"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestUserInputResultCell::display_hyperlink_lines (cognitive 33): RequestUserInputResultCell::display_hyperlink_lines has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 3 (7 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/history_cell/request_user_input.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b2244bfdafd5381f906694fbca119cc89d4aed8fb46c3f9e5b0f175ffa5001"}},{"ruleId":"D2","level":"warning","message":{"text":"BedrockState::render_methods (cognitive 33): BedrockState::render_methods has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (28 pts), boolean chains 2, match/switch 1 (2 pts), 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":"codex-rs/tui/src/onboarding/bedrock.rs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c360bed02325d53cbbdaa76743d1510ff53de2a992dfaa6ecea72981994e932"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_windows_sandbox::bin::command_runner::win::main (cognitive 33): codex_windows_sandbox::bin::command_runner::win::main has cognitive complexity 33 (threshold 15). Drivers by points: if/else 23 (28 pts), boolean chains 2, match/switch 2, loops 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"codex-rs/windows-sandbox-rs/src/bin/command_runner/win.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62c9d20a7ac0e4d31439917bf9fc005bac6467a75b778ee865d994e92c7a8a3"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_windows_sandbox::setup_provisioning::setup_runtime_bin::ensure_runtime_tree_readable (cognitive 33): codex_windows_sandbox::setup_provisioning::setup_runtime_bin::ensure_runtime_tree_readable has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (16 pts), match/switch 4 (11 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-rs/src/setup_provisioning/setup_runtime_bin.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9a799e883a3b1211d1d43a6a6d36575cd9767ffd3b45e4aace58ba534a6726"}},{"ruleId":"D2","level":"warning","message":{"text":"WorktreeManager::list (cognitive 33): WorktreeManager::list has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (29 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/worktree/src/lib.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ffea0b7a3475022f7613aa6e3c20c6fbc4b62461a463de4f17cf18ead613f0e"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_cli::doctor::updates::append_desktop_update (cognitive 32): codex_cli::doctor::updates::append_desktop_update has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (19 pts), match/switch 3 (10 pts), boolean chains 3 (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":"codex-rs/cli/src/doctor/updates.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"939b4757cee16ac516f6684f305f92762d49125ac559eddbb9d1710e06e593b1"}},{"ruleId":"D2","level":"warning","message":{"text":"EnterpriseTokenSource::acquire_token (cognitive 32): EnterpriseTokenSource::acquire_token has cognitive complexity 32 (threshold 15). Drivers by points: if/else 6 (23 pts), match/switch 2 (4 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 20). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-mcp/src/ema_token_source.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c16e46832619cf0ba75f41192a9268bac15483b5801932a70bd14aeeb9e6d85"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_mcp::mcp::auth::compute_auth_status (cognitive 32): codex_mcp::mcp::auth::compute_auth_status has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (20 pts), match/switch 4 (8 pts), boolean chains 4 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-mcp/src/mcp/auth.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"a180c644cd0a598b8798820bc5faf33cd7e345beeecefe04d6328b6e653b4a49"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::project_selected_environment_mcp_servers (cognitive 32): Session::project_selected_environment_mcp_servers has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 4, loops 2 (3 pts), match/switch 1 (2 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":"codex-rs/core/src/session/mcp_runtime.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa36d9f7796291dd14fd84a6eac52401b24da877b3d33caa8d58767b9338a61"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::guardian::input_budget::finalize (cognitive 32): codex_core::guardian::input_budget::finalize has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (16 pts), loops 5 (7 pts), match/switch 3 (5 pts), boolean chains 4 (nesting depth added 7). 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":"codex-rs/core/src/guardian/input_budget.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"130e7d0e94f67c0780033852b258e7c921d78ccdb26432ebbc185fc52ff870b7"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_external_agent_migration::source_cla::marketplace_import_sources (cognitive 32): codex_external_agent_migration::source_cla::marketplace_import_sources has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (26 pts), loops 2 (4 pts), boolean chains 1, match/switch 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/external-agent-migration/src/source_cla.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13d0e721a510e79c65a7151313853f68a1cf74d656fe345d67f837749714203"}},{"ruleId":"D2","level":"warning","message":{"text":"ThreadMetadata::diff_fields (cognitive 32): ThreadMetadata::diff_fields has cognitive complexity 32 (threshold 15). Drivers by points: if/else 32. 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":"codex-rs/state/src/model/thread_metadata.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e76922501116997f7ffb6ce7bad25353d5f141727a1fd14b174b398cfcad41"}},{"ruleId":"D2","level":"warning","message":{"text":"App::route_key_chord_event (cognitive 32): App::route_key_chord_event has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 16, if/else 10 (13 pts), match/switch 2 (3 pts) (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/input.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b1bca1d2f7355f4e9ca2fe5c32b7b2ee4459641c0ebc6b6acbcd57c712a2ca"}},{"ruleId":"D2","level":"warning","message":{"text":"HookCell::output_lines (cognitive 32): HookCell::output_lines has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 3 (6 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/history_cell/hook_cell.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e550358f6a2b20a18ded78e5b49b80cd49049580c7ee1d21ab18a795232a86c"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptView::render_selection (cognitive 32): TranscriptView::render_selection has cognitive complexity 32 (threshold 15). Drivers by points: if/else 15 (29 pts), boolean chains 2, 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":"codex-rs/tui/src/transcript_view/selection.rs"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a10722d3d3978a05d988234cdd7cbd5c6de5635e2d691ba70535e74970b8f18"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_utils_output_truncation::truncate_measured_output_iter (cognitive 32): codex_utils_output_truncation::truncate_measured_output_iter has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (21 pts), match/switch 5 (6 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/utils/output-truncation/src/lib.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"0698f3374d887a97acfc9b6348088da03e8b2c136726f4d60dd66dd1fc186795"}},{"ruleId":"D2","level":"warning","message":{"text":"build_npm_package.copy_native_binaries (cognitive 32): build_npm_package.copy_native_binaries has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (25 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-cli/scripts/build_npm_package.py"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5cc10dc5c3b46d4454bef741df751d9844718fd4172e846daa4c3836366635d"}},{"ruleId":"D2","level":"warning","message":{"text":"AppsRequestProcessor::apps_list_response (cognitive 31): AppsRequestProcessor::apps_list_response has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 8, match/switch 5 (8 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":"codex-rs/app-server/src/request_processors/apps_processor.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8606b689b82239c65ccbb43c21168b65b246573c352de075e238841ac40e2a"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_cloud_tasks_client::http::api::extract_assistant_messages_from_body (cognitive 31): codex_cloud_tasks_client::http::api::extract_assistant_messages_from_body has cognitive complexity 31 (threshold 15). Drivers by points: if/else 6 (23 pts), loops 2 (6 pts), boolean chains 2 (nesting depth added 21). 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":"codex-rs/cloud-tasks-client/src/http.rs"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75dc5e91402b95246f0f79ea017681146a03c54362202c93dd268e259af52af"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSchemaTypeRenderer::render_object (cognitive 31): JsonSchemaTypeRenderer::render_object has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 3 (7 pts), boolean chains 4 (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":"codex-rs/code-mode-protocol/src/json_schema_types.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"4682c7d10d6f6d1873a481ff402d59f9dd946b4e47b658d43e39e4f22135d910"}},{"ruleId":"D2","level":"warning","message":{"text":"WsStream::new (cognitive 31): WsStream::new has cognitive complexity 31 (threshold 15). Drivers by points: if/else 6 (22 pts), match/switch 3 (8 pts), loops 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-api/src/endpoint/responses_websocket.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"4612173f71c0f0d7f6725f443551336981eb56d6ee703c5c65620c9a09425ebb"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_config::loader::discover_project_layers (cognitive 31): codex_config::loader::discover_project_layers has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (22 pts), match/switch 2 (5 pts), boolean chains 3, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/loader/mod.rs"},"region":{"startLine":1857}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b95f04e47625da1dc8f87fd68d5c9fa4efcb8f39914e15459b878caa05cdac"}},{"ruleId":"D2","level":"warning","message":{"text":"TopLevelToolsState::render_declaration_updates (cognitive 31): TopLevelToolsState::render_declaration_updates has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (24 pts), boolean chains 4, loops 2 (3 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":"codex-rs/core/src/context/world_state/top_level_tools.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a50442816b268b1781b187cf36104ae12f0f84fb9632701053a408ce1df5c3f"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::capture_step_context_inner (cognitive 31): Session::capture_step_context_inner has cognitive complexity 31 (threshold 15). Drivers by points: if/else 18 (20 pts), match/switch 4 (6 pts), boolean chains 3, loops 2 (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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":4340}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92896633fcea73a02640504f692d11f27a35d9b135f13350c719f524cc898d5"}},{"ruleId":"D2","level":"warning","message":{"text":"UnifiedExecProcessManager::collect_output_until_deadline (cognitive 31): UnifiedExecProcessManager::collect_output_until_deadline has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (19 pts), match/switch 3 (8 pts), boolean chains 3, loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/unified_exec/process_manager.rs"},"region":{"startLine":1569}}}],"partialFingerprints":{"codehealthFindingId/v1":"4402bfa23cb5cf330c665e18b627aa23d37c67c4d9c4f93bc1c98cf4f8b0eed5"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::session::turn::run_sampling_request (cognitive 31): codex_core::session::turn::run_sampling_request has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (22 pts), match/switch 2 (5 pts), boolean chains 3, 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":"codex-rs/core/src/session/turn.rs"},"region":{"startLine":1895}}}],"partialFingerprints":{"codehealthFindingId/v1":"86003b42d29e3784ad194f7eef21ad252b15fb1b59592f63fee7518d68a56442"}},{"ruleId":"D2","level":"warning","message":{"text":"ReviewRequest::review (cognitive 31): ReviewRequest::review has cognitive complexity 31 (threshold 15). Drivers by points: if/else 18 (25 pts), boolean chains 3, match/switch 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":"codex-rs/ext/guardian-reviewer/src/review.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"2754def138e543e9f12bdb3908bc1fe5a20e5209d8fe43f2f792ae796d677bce"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_external_agent_migration::detect::sessions::common::detect_recent_sessions (cognitive 31): codex_external_agent_migration::detect::sessions::common::detect_recent_sessions has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 4, match/switch 2 (4 pts), loops 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/external-agent-migration/src/detect/sessions/common.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9aa5a5ac5cc1a1190a14d71bf8b618eba6e0ab7865a755d6ab2ab1e1c00b20"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_hooks::events::session_start::parse_completed (cognitive 31): codex_hooks::events::session_start::parse_completed has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (23 pts), match/switch 4 (7 pts), boolean chains 1 (nesting depth added 18). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/hooks/src/events/session_start.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18a6f3cf03dd6f8500a0139f4a812030e69d1532b79a54ed9cdc0ea1934d907"}},{"ruleId":"D2","level":"warning","message":{"text":"RouteAwareClientPool::send_authorized (cognitive 31): RouteAwareClientPool::send_authorized has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 4, match/switch 2 (4 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/http-client/src/route_aware_client_pool/execution.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d98702bf205b635527912ecfbff27c82424cde142519774451049d7dd7c7b8"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_login::server::process_request (cognitive 31): codex_login::server::process_request has cognitive complexity 31 (threshold 15). Drivers by points: match/switch 8 (18 pts), if/else 5 (11 pts), boolean chains 2 (nesting depth added 16). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/login/src/server.rs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc88147ae96912ec762261deee261e2dd3b5ee5eabba7dfc0d6072728c6771e"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_mermaid::syntax::statements (cognitive 31): codex_mermaid::syntax::statements has cognitive complexity 31 (threshold 15). Drivers by points: if/else 5 (10 pts), match/switch 3 (10 pts), boolean chains 8, 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":"codex-rs/mermaid/src/syntax.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"38741c7f90c9b6f9002029046b3a8a93d235b9d20f7909009251282d4f257f26"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelProviderInfo::validate (cognitive 31): ModelProviderInfo::validate has cognitive complexity 31 (threshold 15). Drivers by points: if/else 21 (31 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":"codex-rs/model-provider-info/src/lib.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aca40130e314623a561f03d19553643ce49d0d2c0f412db4f2bb3ca71ffce31"}},{"ruleId":"D2","level":"warning","message":{"text":"SameOriginRedirectHttpClient::execute (cognitive 31): SameOriginRedirectHttpClient::execute has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 5, match/switch 1 (2 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/http_client_redirect.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"00264920886f08d3e1ff26819f69a4aecb6e93be4fb37433b9f06c0faeafe486"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_rmcp_client::ema_resource::discover_ema_resource (cognitive 31): codex_rmcp_client::ema_resource::discover_ema_resource has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (25 pts), match/switch 1 (3 pts), boolean chains 2, loops 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":"codex-rs/rmcp-client/src/ema_resource.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38c6cde5d3c0a999301fa3bca708e8a5130d3cf1143bfed95b947f1c6ca7493"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tcp_tunnel::serve (cognitive 31): codex_tcp_tunnel::serve has cognitive complexity 31 (threshold 15). Drivers by points: match/switch 6 (19 pts), loops 4 (8 pts), if/else 1 (4 pts) (nesting depth added 20). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tcp-tunnel/src/lib.rs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41355dda8f452856e275f840d4321f71bd035db8cca793d68b91c5be51f4a9e"}},{"ruleId":"D2","level":"warning","message":{"text":"LegacyRolloutCanonicalizer::process_line (cognitive 31): LegacyRolloutCanonicalizer::process_line has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (23 pts), match/switch 3 (6 pts), boolean chains 2 (nesting depth added 14). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/rollout_migration/canonicalizer.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"d389646b0bec94064c7c1b9def90318e181fd7e4d5a57fea8c7ee371cbe249a4"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_thread_store::local::thread_history::search::search_thread_occurrences (cognitive 31): codex_thread_store::local::thread_history::search::search_thread_occurrences has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 4 (8 pts) (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":"codex-rs/thread-store/src/local/thread_history/search.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf97f8b6bc98bd08c577ac09d6d58cc67e5a6872e665cd3f384a631f1722fc3"}},{"ruleId":"D2","level":"warning","message":{"text":"AnalyticsView::task_lines (cognitive 31): AnalyticsView::task_lines has cognitive complexity 31 (threshold 15). Drivers by points: if/else 17 (20 pts), loops 3 (8 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/analytics/task_panel.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"325c9822e40f794ce574d53185638a6dbbe78d7a7c619c89b12eff139487beb4"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderForm::layout (cognitive 31): ProviderForm::layout has cognitive complexity 31 (threshold 15). Drivers by points: if/else 16 (23 pts), boolean chains 5, match/switch 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/provider/editor.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f650dbfbe7bb83fa8c5baa41a95173af9c41d92c866db7c1c4ede3cd4b25755"}},{"ruleId":"D2","level":"warning","message":{"text":"App::begin_reconnect_inner (cognitive 31): App::begin_reconnect_inner has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (26 pts), boolean chains 3, loops 1 (2 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":"codex-rs/tui/src/app/reconnect.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf91a2f6618352b73a53acbb8899589dc835314cfeaf1938c4efc9c309443a2b"}},{"ruleId":"D2","level":"warning","message":{"text":"App::install_thread_attachment (cognitive 31): App::install_thread_attachment has cognitive complexity 31 (threshold 15). Drivers by points: if/else 17 (23 pts), boolean chains 4, match/switch 3 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/session_lifecycle.rs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f36cc73084436cf2b02570412417859edfd44c93036ab178ee4fbac0bb6ae12"}},{"ruleId":"D2","level":"warning","message":{"text":"McpToolCallCell::render_detail_lines (cognitive 31): McpToolCallCell::render_detail_lines has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 3 (7 pts), boolean chains 1, match/switch 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":"codex-rs/tui/src/history_cell/mcp.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"2200217abdc80654e3dc6108d986eabda388500482ea8720b5662161d53687a3"}},{"ruleId":"D2","level":"warning","message":{"text":"RuntimeKeymap::validate_conflicts (cognitive 31): RuntimeKeymap::validate_conflicts has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 7, loops 6 (7 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":"codex-rs/tui/src/keymap.rs"},"region":{"startLine":2173}}}],"partialFingerprints":{"codehealthFindingId/v1":"eedd23d361ed977e962d41b09ffe0c8de2c8bafd2ec313d4f84ca48eb3ee85eb"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::custom_terminal::diff_buffers (cognitive 31): codex_tui::custom_terminal::diff_buffers has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 7, loops 5 (7 pts) (nesting depth added 12). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/custom_terminal.rs"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"671e08d9b2e071ffad0a844cd971bd8fbaf42679f24f17f7e5b7069572ce137c"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::external_editor::editor_directory (cognitive 31): codex_tui::external_editor::editor_directory has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 7, match/switch 3 (7 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/external_editor.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5598ef0d39224eaadd67995e5f87a8914addff56d391175ca5ff4a08c2be2391"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::wrapping::project_complex_graphemes (cognitive 31): codex_tui::wrapping::project_complex_graphemes has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 4 (10 pts), boolean chains 3 (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":"codex-rs/tui/src/wrapping.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e3b3c7d6c0f1b712dd1d577063ffea741953d93596f3b1b7af57e8c853ebfb"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_windows_sandbox::spawn_prep::apply_legacy_session_acl_rules (cognitive 31): codex_windows_sandbox::spawn_prep::apply_legacy_session_acl_rules has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (18 pts), loops 7 (12 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-rs/src/spawn_prep.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b289a7325101aefaec363cc8e8e49bf26d117a86fe04c38e75e96bc0dc8ceab"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_cli::doctor::thread_inventory::scan_rollout_root (cognitive 30): codex_cli::doctor::thread_inventory::scan_rollout_root has cognitive complexity 30 (threshold 15). Drivers by points: if/else 5 (14 pts), match/switch 4 (11 pts), loops 2 (3 pts), boolean chains 2 (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":"codex-rs/cli/src/doctor/thread_inventory.rs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e4a2fcfbcbe56f0b031b3c34436d2a6599ee839ca1385da5a858af1789ee4c"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_cloud_tasks::ui::draw_apply_modal (cognitive 30): codex_cloud_tasks::ui::draw_apply_modal has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 2 (10 pts), match/switch 1 (3 pts) (nesting depth added 19). 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":"codex-rs/cloud-tasks/src/ui.rs"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be1a3f815daacf458d3788165e3877c503507032fd4b9ae73e2f8258613cd77"}},{"ruleId":"D2","level":"warning","message":{"text":"ElicitationRequestManager::make_sender (cognitive 30): ElicitationRequestManager::make_sender has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 6, match/switch 4 (5 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-mcp/src/elicitation.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36ef0337e126436a59a7abd04c1f5ffe8375035f590e95fae8775717f4b6fbb"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_mcp::rmcp_client::make_rmcp_client (cognitive 30): codex_mcp::rmcp_client::make_rmcp_client has cognitive complexity 30 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 4, match/switch 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-mcp/src/rmcp_client.rs"},"region":{"startLine":1443}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1918a870e9d1fec7577bede82f028901dcaf51555ef8b54d6451bd2c628fbfc"}},{"ruleId":"D2","level":"warning","message":{"text":"ShellSnapshotFile::restore_credentials (cognitive 30): ShellSnapshotFile::restore_credentials has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 6, loops 4 (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":"codex-rs/core/src/shell_snapshot.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae71c05c8951ddea54bd7cdbd683006a398ca24826cd40092e527d5f9843fcd1"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_exec::maybe_backfill_turn_completed_items (cognitive 30): codex_exec::maybe_backfill_turn_completed_items has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (15 pts), match/switch 3 (8 pts), loops 3 (7 pts) (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":"codex-rs/exec/src/lib.rs"},"region":{"startLine":1816}}}],"partialFingerprints":{"codehealthFindingId/v1":"c737cc3d64ae86d316362580ed3d098c4aa77cfe76d1651ab91e9a8c8e40c744"}},{"ruleId":"D2","level":"warning","message":{"text":"NodeReplReviewEvidence::record (cognitive 30): NodeReplReviewEvidence::record has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (24 pts), match/switch 2 (3 pts), loops 2, boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/guardian-reviewer/src/node_repl_review_evidence.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"52780a8b31c7f457b334952d0ce1ce747fbf23860124571585ff9dba6f62ed3a"}},{"ruleId":"D2","level":"warning","message":{"text":"ReviewerPool::review (cognitive 30): ReviewerPool::review has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (17 pts), match/switch 4 (8 pts), boolean chains 5 (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":"codex-rs/ext/guardian-reviewer/src/pool.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"253a924cfd3f36e8045fd683e99065a25495127b8065536b3705f62986c9d46d"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_sandboxing::seatbelt::build_seatbelt_access_policy (cognitive 30): codex_sandboxing::seatbelt::build_seatbelt_access_policy has cognitive complexity 30 (threshold 15). Drivers by points: match/switch 5 (11 pts), if/else 5 (10 pts), loops 4 (8 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/sandboxing/src/seatbelt.rs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"365d01164f417d98da5e343bb0d3ca546447ba1fc32a9fecb26fd2eb71babc98"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_state::runtime::threads::push_thread_filters_with_preview (cognitive 30): codex_state::runtime::threads::push_thread_filters_with_preview has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (11 pts), match/switch 6 (9 pts), loops 3 (6 pts), boolean chains 4 (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":"codex-rs/state/src/runtime/threads.rs"},"region":{"startLine":1563}}}],"partialFingerprints":{"codehealthFindingId/v1":"749ad6a50ae2bf6e18d29558d22b343fb587af5985ffa5f11fa7b36011f6dd1d"}},{"ruleId":"D2","level":"warning","message":{"text":"AnalyticsView::render (cognitive 30): AnalyticsView::render has cognitive complexity 30 (threshold 15). Drivers by points: if/else 18 (24 pts), boolean chains 6 (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":"codex-rs/tui/src/analytics/render.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"39cacc662ee4d325f79332cf03e98396d9b1ef591c75786953bfd09424ef99b5"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatComposer::handle_restricted_key (cognitive 30): ChatComposer::handle_restricted_key has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 7, loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/chat_composer/reconnect.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd84082b50c81d738e9987661e56035c7e673e3fbb4be6446fd4c11bc57beef1"}},{"ruleId":"D2","level":"warning","message":{"text":"ExperimentalFeaturesView::pre_draw_tick (cognitive 30): ExperimentalFeaturesView::pre_draw_tick has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (16 pts), match/switch 4 (6 pts), loops 2 (5 pts), boolean chains 3 (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":"codex-rs/tui/src/bottom_pane/experimental_features_view.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad802ecdd2e2b3411861dfeac124b8cd3fc830b7e620537d44a6b3ef1f9ec0bd"}},{"ruleId":"D2","level":"warning","message":{"text":"FeedbackNoteView::render (cognitive 30): FeedbackNoteView::render has cognitive complexity 30 (threshold 15). Drivers by points: if/else 14 (23 pts), loops 2 (3 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/feedback_note_view.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e23484dab70af34bea44f8495e88fa52efc51d7b7fee4dba8873d2193fc6a1"}},{"ruleId":"D2","level":"warning","message":{"text":"McpServerElicitationOverlay::handle_key_event (cognitive 30): McpServerElicitationOverlay::handle_key_event has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 4, match/switch 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":"codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs"},"region":{"startLine":1519}}}],"partialFingerprints":{"codehealthFindingId/v1":"c349183548effc8c23094b8f5afe4d150d4c17007048a0c4ec7d0c90f92b237d"}},{"ruleId":"D2","level":"warning","message":{"text":"TextArea::handle_vim_normal (cognitive 30): TextArea::handle_vim_normal has cognitive complexity 30 (threshold 15). Drivers by points: if/else 27 (29 pts), match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/textarea.rs"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9c0e94e4cd9c43abce4ed18f14160d700ef9fe8f0c6a4e0e4bbc121fc711fe"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::note_realtime_user_item_started (cognitive 30): ChatWidget::note_realtime_user_item_started has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 9, match/switch 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":"codex-rs/tui/src/chatwidget/realtime.rs"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97d4e962d9aa676990986882ccdd8e872d5647c58c113f3c3f4f330b63538a0"}},{"ruleId":"D2","level":"warning","message":{"text":"CopyLine::render (cognitive 30): CopyLine::render has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (19 pts), match/switch 2 (5 pts), boolean chains 3, loops 2 (3 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":"codex-rs/tui/src/markdown_copy.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19b547ae19656d33ff2091bfcc9b89c92895462e9387cdc225465b48fe42bd2"}},{"ruleId":"D2","level":"warning","message":{"text":"Writer::render_table_row (cognitive 30): Writer::render_table_row has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 3 (5 pts), match/switch 2 (4 pts), boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/markdown_render.rs"},"region":{"startLine":1885}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aea078e21efdb94c44f91005417f292884d2e4e064255a7e3eb2a7c077f6998"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::markdown::extract_copy_targets (cognitive 30): codex_tui::markdown::extract_copy_targets has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (25 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (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":"codex-rs/tui/src/markdown.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"9163fb49767f3d153450324965f64938191e484914d2487bcae67d3942e3ddc9"}},{"ruleId":"D2","level":"warning","message":{"text":"OutgoingMessageSender::send_request_to_connections (cognitive 29): OutgoingMessageSender::send_request_to_connections has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 5, match/switch 2 (3 pts), loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/outgoing_message.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2171d6717e96b0a533eef365e51639c48fa632b63c13c2894ea0788d85a22a"}},{"ruleId":"D2","level":"warning","message":{"text":"InitializeRequestProcessor::initialize (cognitive 29): InitializeRequestProcessor::initialize has cognitive complexity 29 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 5, match/switch 1 (3 pts) (nesting depth added 7). 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":"codex-rs/app-server/src/request_processors/initialize_processor.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1775bb69211c01c6126403f60cfbd7b631150bb143f0b0eb3b9dbd35147052f"}},{"ruleId":"D2","level":"warning","message":{"text":"ThreadRequestProcessor::list_threads_common (cognitive 29): ThreadRequestProcessor::list_threads_common has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 3, loops 2 (3 pts), match/switch 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":6054}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c65bcdb003eea1253c5cbe3e2a0ba768d1ea66a8b88fd7b4aba026125bc4b2d"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server::config_manager_service_provider_write::provider_edits (cognitive 29): codex_app_server::config_manager_service_provider_write::provider_edits has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 6, match/switch 2 (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":"codex-rs/app-server/src/config_manager_service_provider_write.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea917767f581634baa35f65b66b0deccdaf31d64ca9659a2aa8418a561392be0"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server::request_processors::config_processor::reload_user_config_inner (cognitive 29): codex_app_server::request_processors::config_processor::reload_user_config_inner has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (17 pts), match/switch 2 (6 pts), loops 3 (5 pts), boolean chains 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":"codex-rs/app-server/src/request_processors/config_processor.rs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"585d29369f5533a1dbca9eb31ca9f5908e8f0999f30a0e8eef97a27b4081697e"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server::request_processors::mcp_event_stream::forward_events (cognitive 29): codex_app_server::request_processors::mcp_event_stream::forward_events has cognitive complexity 29 (threshold 15). Drivers by points: match/switch 4 (14 pts), if/else 7 (12 pts), boolean chains 2, loops 1 (nesting depth added 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/mcp_event_stream.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5020ca9ae8ef02aca137eda6960b81ec7817675552818261d41f6175aa3e08e"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server::request_processors::thread_processor::collect_resume_override_mismatches (cognitive 29): codex_app_server::request_processors::thread_processor::collect_resume_override_mismatches has cognitive complexity 29 (threshold 15). Drivers by points: if/else 18 (23 pts), boolean chains 4, match/switch 1 (2 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c5c5d09f503457cd7dd7cf23d92ef4723d305bfe95b5ab18b878532c2da5e5"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server_transport::transport::websocket::run_websocket_outbound_loop (cognitive 29): codex_app_server_transport::transport::websocket::run_websocket_outbound_loop has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (22 pts), match/switch 2 (6 pts), loops 1 (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":"codex-rs/app-server-transport/src/transport/websocket.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fafc7a4de1648a92e9720f7827d6947a40882e747af5895bf19dc4a3daedb83"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_cli::mcp_cmd::run_list (cognitive 29): codex_cli::mcp_cmd::run_list has cognitive complexity 29 (threshold 15). Drivers by points: loops 7 (15 pts), if/else 7 (9 pts), match/switch 2 (4 pts), boolean chains 1 (nesting depth added 12). 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":"codex-rs/cli/src/mcp_cmd.rs"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"23cde0148257e06b04b94d72ffa9a42287ed28d3b5b3346509bed66c3276b5db"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalAgentControl::maybe_start_completion_watcher (cognitive 29): LocalAgentControl::maybe_start_completion_watcher has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (15 pts), match/switch 5 (8 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/agent/control.rs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a8a099aed05008c2a88db88fd0b9814ba132275ab1d25284fc0914d2a35dfd"}},{"ruleId":"D2","level":"warning","message":{"text":"Config::to_mcp_config_with_loaded_plugins (cognitive 29): Config::to_mcp_config_with_loaded_plugins has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 5, loops 4 (5 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/config/mod.rs"},"region":{"startLine":1949}}}],"partialFingerprints":{"codehealthFindingId/v1":"52006810ff94588ee535bf384e041c5958dbe398f4d7bd59596a50ca03e08797"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolCallRuntime::handle_tool_call_with_source (cognitive 29): ToolCallRuntime::handle_tool_call_with_source has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (16 pts), match/switch 4 (6 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 4). 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":"codex-rs/core/src/tools/parallel.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4425330f07ea20e7b93e10c80dc75c22f591907ff9b334b1d1b72365634e641"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::session::turn::handle_plan_segments (cognitive 29): codex_core::session::turn::handle_plan_segments has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (25 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/turn.rs"},"region":{"startLine":2529}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39085a23f3eb821f757fee15b316a3fde7f13214c0ca6914967d1b60f2f7c41"}},{"ruleId":"D2","level":"warning","message":{"text":"RemotePluginMeasurementCache::prepare (cognitive 29): RemotePluginMeasurementCache::prepare has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 7, match/switch 4 (5 pts), loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"codex-rs/core-plugins/src/plugin_measurement_references.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24c93f78445a0fcaafe5222252c71ffa3c4c300d414a6c6033fa2d983f78ca7"}},{"ruleId":"D2","level":"warning","message":{"text":"Forwarder::run_connection (cognitive 29): Forwarder::run_connection has cognitive complexity 29 (threshold 15). Drivers by points: match/switch 6 (13 pts), if/else 6 (11 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/forward.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2556b52f290cb6497688c1842b18112cd1d95b34a856d5c093bed145d0ad463"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfiguredCredentialProvider::translate_request_headers (cognitive 29): ConfiguredCredentialProvider::translate_request_headers has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (21 pts), match/switch 2 (5 pts), boolean chains 2, loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/credential_broker/configured.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"c241d44bb2e5dcf5e894ceab05b18a3d52a644fbc815ab2470a84df9d0024585"}},{"ruleId":"D2","level":"warning","message":{"text":"RmcpClient::create_pending_transport (cognitive 29): RmcpClient::create_pending_transport has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (19 pts), match/switch 3 (7 pts), boolean chains 3 (nesting depth added 14). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/rmcp_client.rs"},"region":{"startLine":1391}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f5c28ecbd3895e444f16637230609f714943e708cd894add896a428f1af192"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_rollout::list::walk_rollout_files (cognitive 29): codex_rollout::list::walk_rollout_files has cognitive complexity 29 (threshold 15). Drivers by points: if/else 5 (19 pts), loops 4 (10 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout/src/list.rs"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2fb4e8371d148046b366068775ffbe635961987e2a89a6a016c3b43e993c46"}},{"ruleId":"D2","level":"warning","message":{"text":"RollbackPlanner::apply_rollback (cognitive 29): RollbackPlanner::apply_rollback has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 3 (6 pts), boolean chains 2 (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":"codex-rs/thread-store/src/local/rollout_migration/rollback_plan.rs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"c70c51608f0c80a7d974b6da256745c9bbe2f462e6e0fffc5b254a0cf1518bca"}},{"ruleId":"D2","level":"warning","message":{"text":"App::start_agents_overview_session (cognitive 29): App::start_agents_overview_session has cognitive complexity 29 (threshold 15). Drivers by points: if/else 18 (27 pts), boolean chains 1, match/switch 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":"codex-rs/tui/src/app/agents_overview_new.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c538a4a50fe248317b2390002c8a15f5d2e5fba69eacbd12f15442d78badf788"}},{"ruleId":"D2","level":"warning","message":{"text":"App::handle_app_server_event (cognitive 29): App::handle_app_server_event has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (22 pts), boolean chains 6, match/switch 1 (nesting depth added 12). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/app_server_events.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e501c93c71fcdc7ebb5bb1da1fd26f4d54c69fe55acd29ee588c2e174b49bfc"}},{"ruleId":"D2","level":"warning","message":{"text":"App::select_mode_owns_chord (cognitive 29): App::select_mode_owns_chord has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 21, if/else 6, match/switch 1 (2 pts) (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":"codex-rs/tui/src/app/input/select_mode.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"685e3a9e5e50124c2c3d8a7c8a793e0c4d396b10984f1f8d2e9b271340243857"}},{"ruleId":"D2","level":"warning","message":{"text":"AppServerSession::hydrate_initial_thread_history (cognitive 29): AppServerSession::hydrate_initial_thread_history has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 5, 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":"codex-rs/tui/src/app_server_session/history.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebbdf2a128f5c11b3181204b534b791620781197142419f6f03c2499fcb058a"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomPromptView::handle_key_event_at (cognitive 29): CustomPromptView::handle_key_event_at has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (25 pts), boolean chains 3, match/switch 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/custom_prompt_view.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c65398af10d63a4569c688a36e0250ba9b6540d7cd4a56877d286671c3b274"}},{"ruleId":"D2","level":"warning","message":{"text":"ListSelectionView::handle_key_event (cognitive 29): ListSelectionView::handle_key_event has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 24, if/else 2 (4 pts), match/switch 1 (nesting depth added 2). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/list_selection_view.rs"},"region":{"startLine":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e355a3bc88acb3722b73377090a996c03111e342ce6edfa4a3d73c199694bb"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::open_reasoning_popup (cognitive 29): ChatWidget::open_reasoning_popup has cognitive complexity 29 (threshold 15). Drivers by points: if/else 17 (22 pts), boolean chains 6, loops 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"codex-rs/tui/src/chatwidget/model_popups.rs"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"98301138379f8ad4cd6efc0e1e2c70ba231e4a0832d4f2e98ebc8be36c5bb254"}},{"ruleId":"D2","level":"warning","message":{"text":"ComputerActivityCell::display_lines (cognitive 29): ComputerActivityCell::display_lines has cognitive complexity 29 (threshold 15). Drivers by points: if/else 18 (22 pts), boolean chains 3, match/switch 1 (3 pts), loops 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/history_cell/computer_activity.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"121671d967dd23b4dc72a64cd1b276b2b17f525d0175539508a8cb0465f343d3"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::app::transcript_export::render_markdown_transcript (cognitive 29): codex_tui::app::transcript_export::render_markdown_transcript has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (20 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/transcript_export.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c1e9f432cdc2d60c25e7bae7865639ab8bccbf13e675f62df5fea066b2adef"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::bottom_pane::approval_overlay::build_header (cognitive 29): codex_tui::bottom_pane::approval_overlay::build_header has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (27 pts), boolean chains 1, match/switch 1 (nesting depth added 14). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/approval_overlay.rs"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eea229e8aa4ae4d565d0ed88532c1a9a46afff6003a7a0678ba19c3897aab9f"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::onboarding::directory_trust::check_directory_trust (cognitive 29): codex_tui::onboarding::directory_trust::check_directory_trust has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (24 pts), boolean chains 4, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/onboarding/directory_trust.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"7678ed791c3d2644380b15aaba5f43f912935ada95d7b4abe9453f0949def4d7"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::status::helpers::compose_agents_summary (cognitive 29): codex_tui::status::helpers::compose_agents_summary has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (24 pts), loops 2 (5 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":"codex-rs/tui/src/status/helpers.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64ce626dc6417dca3b54eb21d5056b524bffbcf799fa3117506efd02afe02e6"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_windows_sandbox::bin::command_runner::win::spawn_input_loop (cognitive 29): codex_windows_sandbox::bin::command_runner::win::spawn_input_loop has cognitive complexity 29 (threshold 15). Drivers by points: if/else 5 (19 pts), loops 2 (5 pts), match/switch 2 (4 pts), boolean chains 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-rs/src/bin/command_runner/win.rs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbfe2e7ecd0a2703345cc40a41b2605054989e620e694f75270849eaa66c1616"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_windows_sandbox_service::registered_runtime::provision (cognitive 29): codex_windows_sandbox_service::registered_runtime::provision has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 3 (5 pts), match/switch 1 (4 pts), boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-service/src/registered_runtime.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a9105d7c351c68b97d886920039544160f761a67ea6c4288f2a20807747fade"}},{"ruleId":"D2","level":"warning","message":{"text":"run_codex_compliance._run_case (cognitive 29): run_codex_compliance._run_case has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (15 pts), error handling 4 (9 pts), ternaries 2 (3 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mcp_conformance/run_codex_compliance.py"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"af6729c5ffbebb8f0ac1568363265aaeb4b0d4c7057a737d3ba667ab4afa65a8"}},{"ruleId":"D2","level":"warning","message":{"text":"stage_npm_packages.main (cognitive 29): stage_npm_packages.main has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (15 pts), loops 6 (9 pts), boolean chains 5 (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":"scripts/stage_npm_packages.py"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2ed732e9eb61624649cbad07e456ad9e234beb0d972e4a8fc475d8b8e691f5"}},{"ruleId":"D2","level":"warning","message":{"text":"update_sdk_artifacts._variant_definition_name (cognitive 29): update_sdk_artifacts._variant_definition_name has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (25 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdk/python/scripts/update_sdk_artifacts.py"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"6851232eb5ce01394bcc413d5335f7139c284e9f648eb83df180c023ae741a58"}},{"ruleId":"D2","level":"warning","message":{"text":"update_sdk_artifacts._annotate_schema (cognitive 29): update_sdk_artifacts._annotate_schema has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (12 pts), loops 5 (9 pts), ternaries 2 (6 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdk/python/scripts/update_sdk_artifacts.py"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"194420e56dfabffded36f4719f1e7935d10f34bad9a23fc686aaae86239e443d"}},{"ruleId":"D2","level":"warning","message":{"text":"McpRequestProcessor::mcp_server_oauth_login_response (cognitive 28): McpRequestProcessor::mcp_server_oauth_login_response has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (15 pts), match/switch 6 (11 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/mcp_processor.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"d449fc687fa201188938ff4d464a25ebf7411bae600d3e1b1667b7a9e03bb85b"}},{"ruleId":"D2","level":"warning","message":{"text":"McpRequestProcessor::list_mcp_server_status_response (cognitive 28): McpRequestProcessor::list_mcp_server_status_response has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 7 (9 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/mcp_processor.rs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"23fcbb6e1af96fc682132d38d2fd5776af7c56a2fc65e96e91ba842ca6fde2bb"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server_transport::transport::stdio::start_stdio_connection (cognitive 28): codex_app_server_transport::transport::stdio::start_stdio_connection has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 4, boolean chains 3, match/switch 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-transport/src/transport/stdio.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a90b21fb6ee96b7a8adc0ee0cdcbde8e034090c0293ad373659f91a7f564e8a"}},{"ruleId":"D2","level":"warning","message":{"text":"ScrollableDiff::rewrap (cognitive 28): ScrollableDiff::rewrap has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (24 pts), loops 2 (3 pts), boolean chains 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":"codex-rs/cloud-tasks/src/scrollable_diff.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7d96ced0772f7426d325357291a483ccc72e656d1d42feef8d5d283d1fd754"}},{"ruleId":"D2","level":"warning","message":{"text":"Config::resolve_runtime_refresh (cognitive 28): Config::resolve_runtime_refresh has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 9, loops 1, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/config/runtime_refresh.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a8b8ed28acf8c1af28ae0e16a97eee4fd207243039f67acc083ebdb7de2de19"}},{"ruleId":"D2","level":"warning","message":{"text":"RenderedEnvironments::body (cognitive 28): RenderedEnvironments::body has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (21 pts), loops 2 (4 pts), match/switch 1 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/context/world_state/environment.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8574395c5f3bb76ab80003c2a1da786ce6fb67e8f5c4c60c4a8a2669c9fc9e5"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelCatalogState::new (cognitive 28): ModelCatalogState::new has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (21 pts), loops 3 (7 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/context/world_state/model_catalog.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b833224d4ff4cfe8db788cb78f44267a0868767311350077cf0dcdb64cece4"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextManager::restore_review_context (cognitive 28): ContextManager::restore_review_context has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 8, match/switch 2 (3 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/context_manager/history.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"f541c85f0eaccf9ca87693898372eba60454a6100e5747e97dede8360d2156d6"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::reload_user_config_layer (cognitive 28): Session::reload_user_config_layer has cognitive complexity 28 (threshold 15). Drivers by points: match/switch 6 (17 pts), if/else 3 (6 pts), loops 3 (5 pts) (nesting depth added 16). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":2581}}}],"partialFingerprints":{"codehealthFindingId/v1":"00412e4d46149baa6c1e2fde84f34f068637ab476561b7ae3fde282a096aeca3"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::guardian::recorded_tool_call::review_tool_call (cognitive 28): codex_core::guardian::recorded_tool_call::review_tool_call has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (14 pts), match/switch 7 (10 pts), boolean chains 4 (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":"codex-rs/core/src/guardian/recorded_tool_call.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ccaf9a66f6a9bede82da717be7276d234e15a0726b19b78b3195eab612207d"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::mcp_tool_exposure::append_mcp_tools (cognitive 28): codex_core::mcp_tool_exposure::append_mcp_tools has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (23 pts), match/switch 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/mcp_tool_exposure.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d723406293463c6cc20e5b4fb78ed0f22b4b191856cb176be25a79d79c884a"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::realtime_conversation::handle_realtime_server_event (cognitive 28): codex_core::realtime_conversation::handle_realtime_server_event has cognitive complexity 28 (threshold 15). Drivers by points: match/switch 9 (15 pts), if/else 5 (12 pts), boolean chains 1 (nesting depth added 13). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/realtime_conversation.rs"},"region":{"startLine":2864}}}],"partialFingerprints":{"codehealthFindingId/v1":"967dd68b26f5a13592ced45bf50fff5236d7f93170fbf56543bd0ab48f99386d"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_exec_server::server::processor::run_connection (cognitive 28): codex_exec_server::server::processor::run_connection has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (16 pts), match/switch 4 (9 pts), loops 3 (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":"codex-rs/exec-server/src/server/processor.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17cbf2f82710317b38e73b1f540c368fb6c29ab84fbd4975fe0e1bdd7244269"}},{"ruleId":"D2","level":"warning","message":{"text":"ComposedContext::prepare_elastic_entries (cognitive 28): ComposedContext::prepare_elastic_entries has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (21 pts), loops 2 (4 pts), match/switch 1 (2 pts), boolean chains 1 (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":"codex-rs/guardian-context/src/preparation/elastic.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"105eb7efafbfdcd259fb493ed14ea39ade6808fbabf9ebdfa8f57ab680daaf62"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_rollout::list::visit_rollout_filenames (cognitive 28): codex_rollout::list::visit_rollout_filenames has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (21 pts), loops 2 (3 pts), boolean chains 2, match/switch 1 (2 pts) (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":"codex-rs/rollout/src/list.rs"},"region":{"startLine":1470}}}],"partialFingerprints":{"codehealthFindingId/v1":"336e4e5b8f2008acc06f3ab951367d48fee20b1774536db45640879026b730b5"}},{"ruleId":"D2","level":"warning","message":{"text":"RollbackPlanner::observe (cognitive 28): RollbackPlanner::observe has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 5, match/switch 3 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/rollout_migration/rollback_plan.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f24cdb6587369bffd15b970ff23f7ca7c7696b5e0aff551639172e1e4c08784"}},{"ruleId":"D2","level":"warning","message":{"text":"ThreadMetadataPatch::merge (cognitive 28): ThreadMetadataPatch::merge has cognitive complexity 28 (threshold 15). Drivers by points: if/else 28. 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":"codex-rs/thread-store/src/types.rs"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c9d324ed0eb1e0db4a95da3b13bc2f927f5758b8991fcf88008bf37e31c666"}},{"ruleId":"D2","level":"warning","message":{"text":"App::track_agents_overview_notification (cognitive 28): App::track_agents_overview_notification has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (25 pts), boolean chains 2, match/switch 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/agents_overview_threads.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b5f5d72e49b4cbc805630fc7c695aab57b47ede6d67820efb70a56379dc9ab"}},{"ruleId":"D2","level":"warning","message":{"text":"AppLinkView::link_content_lines (cognitive 28): AppLinkView::link_content_lines has cognitive complexity 28 (threshold 15). Drivers by points: loops 7 (17 pts), if/else 7 (10 pts), boolean chains 1 (nesting depth added 13). 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":"codex-rs/tui/src/bottom_pane/app_link_view.rs"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"45fc9fd9679264da4786c1d197e3d90726df70aba9a6bf5c2400448c5fabc8c9"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatComposer::passive_hints (cognitive 28): ChatComposer::passive_hints has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 9 (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":"codex-rs/tui/src/bottom_pane/chat_composer/passive_hints.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"8141e584b475dbbd40098740457cc165b1a9de9e86955cb71628538e575b83ae"}},{"ruleId":"D2","level":"warning","message":{"text":"McpServerElicitationFormRequest::from_app_server_request (cognitive 28): McpServerElicitationFormRequest::from_app_server_request has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16 (24 pts), boolean chains 4 (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":"codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3307381d5e0cae59f2eeb67c92616c486a0838805cf1c77368a7377c08de49"}},{"ruleId":"D2","level":"warning","message":{"text":"TextLayout::copy_block_ranges (cognitive 28): TextLayout::copy_block_ranges has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (23 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/transcript_view/text.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94f61a58f933819f147db7f159d9097c2ecd54d3f9b1c3b6df4698f6301cca1"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::status::rate_limits::compose_rate_limit_data_many (cognitive 28): codex_tui::status::rate_limits::compose_rate_limit_data_many has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (24 pts), boolean chains 3, 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":"codex-rs/tui/src/status/rate_limits.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af69bfecf5f69107aa7e0f6bda25538e745c02d6d33a23b160f68a6d3adeffb"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_windows_sandbox_service::package_lifecycle::cleanup::clean_up (cognitive 28): codex_windows_sandbox_service::package_lifecycle::cleanup::clean_up has cognitive complexity 28 (threshold 15). Drivers by points: if/else 17 (22 pts), boolean chains 3, match/switch 2 (3 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-service/src/package_lifecycle/cleanup.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37009d5a004408b7beff1368a9374f6165f5b5d648a45f59249298def57bafe"}},{"ruleId":"D2","level":"warning","message":{"text":"_GoalStreamCursor.process (cognitive 28): _GoalStreamCursor.process has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 8 (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":"sdk/python/src/openai_codex/_goal.py"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"80aa6cba69fb30f166f72feeacdd5a75e7e2de91a967f4539b011eac39a401ad"}},{"ruleId":"D2","level":"warning","message":{"text":"ThreadRequestProcessor::thread_revert_response (cognitive 27): ThreadRequestProcessor::thread_revert_response has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (18 pts), match/switch 3 (5 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":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":2262}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6f0afd11e5b6a8c118fafdb9901c82d39f00d4ad4620e26b6040e43c113533"}},{"ruleId":"D2","level":"warning","message":{"text":"SampleTask::run (cognitive 27): SampleTask::run has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 6, match/switch 4 (6 pts), loops 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/thread_sample.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c9b58e71b9332ea505122b0e89f26820dc908b65b8a59b9d29bbfaa6a8866b"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server_daemon::update_loop::update_once (cognitive 27): codex_app_server_daemon::update_loop::update_once has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (18 pts), match/switch 4 (5 pts), boolean chains 3, 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":"codex-rs/app-server-daemon/src/update_loop.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bbcd4263c6b1409644f767f0efad93c9ced74fd81dd7253cea3f94dad741b13"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientTracker::handle_message (cognitive 27): ClientTracker::handle_message has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 2, match/switch 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-transport/src/transport/remote_control/client_tracker.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a0a6bee41441fdcced57c35a1cc6ff12699094bdca2f95753907b37fb43f3c"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_cli::mcp_cmd::run_get (cognitive 27): codex_cli::mcp_cmd::run_get has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (16 pts), match/switch 6 (10 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/mcp_cmd.rs"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"14986a1437dbdbc17deae9c1bba2177a8fb9dd0f5651c996b618e2d15c3ba14b"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_code_mode_runtime::ui::workers::execute (cognitive 27): codex_code_mode_runtime::ui::workers::execute has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (18 pts), match/switch 3 (7 pts), boolean chains 1, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/code-mode-runtime/src/ui/workers.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47a4082257f960c99254dc60271d0f626a38d1a5b8396286824d923056e5e65"}},{"ruleId":"D2","level":"warning","message":{"text":"ShellSnapshotFile::restore_fail_open_aliases (cognitive 27): ShellSnapshotFile::restore_fail_open_aliases has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/shell_snapshot.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c78ab78ec31854aff1837ecdedffc6324e33aff91aca46bda42096d9338715"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::mcp_tool_call::build_mcp_tool_approval_elicitation_meta (cognitive 27): codex_core::mcp_tool_call::build_mcp_tool_approval_elicitation_meta has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 3, match/switch 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/mcp_tool_call.rs"},"region":{"startLine":2323}}}],"partialFingerprints":{"codehealthFindingId/v1":"510288dbabdfef89b08e817caf5b1e146f961f10d23e2a53377ad4d97e8971a2"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::realtime_conversation::prepare_realtime_start (cognitive 27): codex_core::realtime_conversation::prepare_realtime_start has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (17 pts), match/switch 6, boolean chains 4 (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":"codex-rs/core/src/realtime_conversation.rs"},"region":{"startLine":1472}}}],"partialFingerprints":{"codehealthFindingId/v1":"450a7b3ffa0a613208333dab792a81a94db4ab97e56d8b7b47cc013cb8aae420"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginsManager::maybe_start_plugin_startup_tasks_for_config (cognitive 27): PluginsManager::maybe_start_plugin_startup_tasks_for_config has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (13 pts), match/switch 4 (9 pts), loops 1 (4 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/manager.rs"},"region":{"startLine":2994}}}],"partialFingerprints":{"codehealthFindingId/v1":"380b7be5cc29ba1a61773d5dfa8577f495f5cda919b2879085fa0e76ea71b506"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core_plugins::loader::refresh_non_curated_plugin_cache_with_mode (cognitive 27): codex_core_plugins::loader::refresh_non_curated_plugin_cache_with_mode has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (13 pts), match/switch 5 (9 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/loader.rs"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c289e4d47f36e6e841af50a4c62c11cc14db62296226d3675df66bfe9f6fc1e"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core_plugins::plugin_metrics::validate_manifest (cognitive 27): codex_core_plugins::plugin_metrics::validate_manifest has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 3 (6 pts), boolean chains 5 (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":"codex-rs/core-plugins/src/plugin_metrics.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0011efaa0d05f238d394cb9c55b782ab0bf8bf05b9570ecd8859aa7bad863f"}},{"ruleId":"D2","level":"warning","message":{"text":"EventProcessorWithJsonOutput::collect_thread_events (cognitive 27): EventProcessorWithJsonOutput::collect_thread_events has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (15 pts), match/switch 6 (12 pts) (nesting depth added 14). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec/src/event_processor_with_jsonl_output.rs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f25036c20c84fc18c45a515778506ea6ef0ba8a9a33a42b409262adb63e3625"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionState::recover_events (cognitive 27): SessionState::recover_events has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 8, loops 1, match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/client_recovery.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64f86b4e8be95ae2fbb9031dcfcca4d273b4ad9ecf3b95e8df9c90a91945c7f"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_exec_server::relay_writer::run (cognitive 27): codex_exec_server::relay_writer::run has cognitive complexity 27 (threshold 15). Drivers by points: if/else 4 (15 pts), match/switch 3 (9 pts), loops 2 (3 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/relay_writer.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f604022053575b9ec449965bdfeec2463b91de535d2e701b2ef02dbc5382fe13"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_guardian_reviewer::execution::wait_for_guardian_review (cognitive 27): codex_guardian_reviewer::execution::wait_for_guardian_review has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (16 pts), match/switch 3 (9 pts), boolean chains 1, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/guardian-reviewer/src/execution.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3a5c81e5fb2ba788d5b5cb54e4902360f3e334268ca628d5620f559fb036e7"}},{"ruleId":"D2","level":"warning","message":{"text":"ExternalAgentConfigService::import_plugins (cognitive 27): ExternalAgentConfigService::import_plugins has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (16 pts), match/switch 3 (8 pts), loops 2 (3 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/external-agent-migration/src/plugins.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6de4aa4210c1fab8f111b9a343a2e0bfa2eb1c1dbba0ca2c4adf42e85e06613"}},{"ruleId":"D2","level":"warning","message":{"text":"BoardTool::execute (cognitive 27): BoardTool::execute has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (14 pts), match/switch 9 (13 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":"codex-rs/message-board/src/tools.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"356da0c3626c7a2471f2695bc7e3363cd09425aeab72915304e37afa2a386701"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAiModelsManager::fetch_and_update_models (cognitive 27): OpenAiModelsManager::fetch_and_update_models has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 7, match/switch 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/models-manager/src/manager.rs"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cdbfbb4e21aba5c8828d86613f9d52c4b81d983f3c591278241d832d8db6db6"}},{"ruleId":"D2","level":"warning","message":{"text":"CredentialBroker::provider_sources_allowed (cognitive 27): CredentialBroker::provider_sources_allowed has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 6, loops 3 (5 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/credential_broker.rs"},"region":{"startLine":1247}}}],"partialFingerprints":{"codehealthFindingId/v1":"457baef29c91553550370c0c637b0947f30acf71a7d8ca1d50d215db1c935d21"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_shell_command::command_safety::windows_dangerous_commands::has_force_delete_cmdlet (cognitive 27): codex_shell_command::command_safety::windows_dangerous_commands::has_force_delete_cmdlet has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (18 pts), boolean chains 5, 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":"codex-rs/shell-command/src/command_safety/windows_dangerous_commands.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"32915252c600580df33e0e63d9b2e2137c41d88bfe950325df1f9b1219d53424"}},{"ruleId":"D2","level":"warning","message":{"text":"App::set_thread_goal_draft (cognitive 27): App::set_thread_goal_draft has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (19 pts), match/switch 5 (8 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/thread_goal_actions.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75102b4b5ae9b19878a576e54d580e219a6b4d42236f853bef433f989177dce"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::handle_command_execution_completed_now (cognitive 27): ChatWidget::handle_command_execution_completed_now has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 5, match/switch 4 (5 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/command_lifecycle.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16518a19c5ca978321be9e77f76a2ecad51e2f3b6e619493f971704fa7feceb"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::on_interrupted_turn (cognitive 27): ChatWidget::on_interrupted_turn has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (19 pts), loops 1 (3 pts), match/switch 1 (3 pts), boolean chains 2 (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":"codex-rs/tui/src/chatwidget/input_restore.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"021e7fe7b2156677af7db8500c4431de57097af22af45eb222893dbe57a8fbe3"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::on_realtime_transcript_delta (cognitive 27): ChatWidget::on_realtime_transcript_delta has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 9, loops 1 (2 pts), match/switch 1 (2 pts) (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":"codex-rs/tui/src/chatwidget/realtime.rs"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b5318fa39a7362566b58f968e8c6ac3858958b6d87916b759db4ec797c4c6e"}},{"ruleId":"D2","level":"warning","message":{"text":"OnboardingScreen::render_ref (cognitive 27): OnboardingScreen::render_ref has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 5, loops 4 (5 pts), match/switch 1 (2 pts) (nesting depth added 8). Of this number, 15 points are the body\u0027s own statements and 12 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/onboarding/onboarding_screen.rs"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5cbf8a815946e13db2f75cad2b39b70c166041206dee5e19c396da4d836cf0"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::app_server_session::web_search::apply_launch_override (cognitive 27): codex_tui::app_server_session::web_search::apply_launch_override has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 8, loops 1 (2 pts), match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app_server_session/web_search.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a9e61448bb56243412972ad2344b5e3bd46606e5af8ed68b6a5eed04005ce1"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::custom_terminal::draw (cognitive 27): codex_tui::custom_terminal::draw has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (16 pts), match/switch 3 (6 pts), boolean chains 4, loops 1 (nesting depth added 12). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/custom_terminal.rs"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"859367f857786c33e081d65993f04c5f928da13cb1e3484e6f90d76fed19b5f2"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::markdown_render::source_tables::preserve (cognitive 27): codex_tui::markdown_render::source_tables::preserve has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 2 (6 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/markdown_render/source_tables.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1155be811bee284f55d19fe91d7aceb273dfffbd38a0446e10a69a335e0b4fd0"}},{"ruleId":"D2","level":"warning","message":{"text":"LinuxSleepInhibitor::acquire (cognitive 27): LinuxSleepInhibitor::acquire has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (15 pts), match/switch 4 (8 pts), boolean chains 3, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/utils/sleep-inhibitor/src/linux_inhibitor.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"aecd9f3a3de1bbd75ed900c25064fe4b2cbf8dcd2b551852b80e263d3730da0c"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_windows_sandbox::windows_impl::run_windows_sandbox_capture_with_filesystem_overrides (cognitive 27): codex_windows_sandbox::windows_impl::run_windows_sandbox_capture_with_filesystem_overrides has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 4, loops 2, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-rs/src/lib.rs"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4c7d7c1307c11f667952c4a1317d2a2aff666dc33ad7cb95dcb69eb0c81b83"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowsSandboxRequestProcessor::windows_sandbox_setup_start_inner (cognitive 26): WindowsSandboxRequestProcessor::windows_sandbox_setup_start_inner has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (21 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/windows_sandbox_processor.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"1155ce28c46b25683ee3bd965216553342605e65bf0cf87a8ac0bf80bd80b008"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server::request_processors::account_processor::workspace_routing::workspace_config_load_reason (cognitive 26): codex_app_server::request_processors::account_processor::workspace_routing::workspace_config_load_reason has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (18 pts), match/switch 3 (7 pts), loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/account_processor/workspace_routing.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aef97f700bb662434638e0a5a3820d6012e7bbd388c652f03591d3c77fa369d"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon::try_restart_if_running (cognitive 26): Daemon::try_restart_if_running has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-daemon/src/lib.rs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ddb41b8364443a0165ee2aa929ccf9d98313702e6365848feb10e36e6552792"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server_daemon::install_lock::acquire_install_lock (cognitive 26): codex_app_server_daemon::install_lock::acquire_install_lock has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 3 (6 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-daemon/src/install_lock.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2856ec83015c831285e0f5074c61fb5e5be2b149d17d942cda93ba656ec4d6f"}},{"ruleId":"D2","level":"warning","message":{"text":"McpServerConfig::try_from (cognitive 26): McpServerConfig::try_from has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 4, loops 1 (2 pts), match/switch 1 (nesting depth added 7). Of this number, 25 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/mcp_types.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0ae2aa781321a1e42962bea30bad035c8c2a82c8542def4f1475cb17d802b8"}},{"ruleId":"D2","level":"warning","message":{"text":"PermissionsState::render_diff (cognitive 26): PermissionsState::render_diff has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 2 (4 pts), boolean chains 3, match/switch 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/context/world_state/permissions.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"5efeae5eb8539500c5dacd1a9274a16bd88a7abc4fd884f643beae7c86309be1"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler::handle_call (cognitive 26): Handler::handle_call has cognitive complexity 26 (threshold 15). Drivers by points: match/switch 4 (10 pts), loops 5 (9 pts), if/else 4 (7 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":"codex-rs/core/src/tools/handlers/multi_agents/wait.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2e205dc2dc6fdc8ead1e8a88c8e09743232904b935ba256ef5185f5cf33bc1"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestPluginInstallHandler::handle_call (cognitive 26): RequestPluginInstallHandler::handle_call has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (13 pts), match/switch 8 (9 pts), boolean chains 4 (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":"codex-rs/core/src/tools/handlers/request_plugin_install.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c26b181294e3325374bdb0f6b0ffb85dc33fae078b8e206c141d4f72372685d"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::compact_remote_v2_installation::build_and_install_compaction (cognitive 26): codex_core::compact_remote_v2_installation::build_and_install_compaction has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (17 pts), match/switch 2 (5 pts), boolean chains 4 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/compact_remote_v2_installation.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"631f0f5b2b6144cd7e7033bd6bc1d25df12670ddbaf6275fa93f0997f5b2d0b2"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::context_manager::normalize::strip_images_when_unsupported (cognitive 26): codex_core::context_manager::normalize::strip_images_when_unsupported has cognitive complexity 26 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 3 (8 pts), match/switch 2 (7 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/context_manager/normalize.rs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9428d9fe3b31e49db10177076612603d29a1068039d95614df7b7d6cc793610"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::context_manager::normalize::strip_audio_when_unsupported (cognitive 26): codex_core::context_manager::normalize::strip_audio_when_unsupported has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 3 (8 pts), match/switch 1 (2 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/context_manager/normalize.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca7e634f60a9c1a599a1f29402439151c2bdcb2c75114c8eb648b4c536b80f2"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::realtime_conversation::handle_handoff_output (cognitive 26): codex_core::realtime_conversation::handle_handoff_output has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (16 pts), match/switch 5 (10 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":"codex-rs/core/src/realtime_conversation.rs"},"region":{"startLine":2648}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a0163a73d3dee97e056331145e7e4c0e5344995a6121bb3782977b852df26c"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonRpcConnection::from_websocket_stream (cognitive 26): JsonRpcConnection::from_websocket_stream has cognitive complexity 26 (threshold 15). Drivers by points: if/else 4 (14 pts), match/switch 4 (11 pts), loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/connection.rs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f12b030ae0d3cb386ee8ded76c5c355e2fca966b5091e0257212dbd2b82dbf"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_exec_server::local_process::watch_exit (cognitive 26): codex_exec_server::local_process::watch_exit has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (17 pts), match/switch 2 (5 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/local_process.rs"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b9a74c6ffd48db8b0c8bb1845e8d3839da06171a4a3145a090e397036a4c6f"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_exec_server::server::missing_watch::watch_missing (cognitive 26): codex_exec_server::server::missing_watch::watch_missing has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (9 pts), match/switch 4 (8 pts), loops 4 (5 pts), boolean chains 4 (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":"codex-rs/exec-server/src/server/missing_watch.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d18ad73fd583a2e25485427b30197a67ec389161de2effa50d39de8e385ddc"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_login::auth::manager::load_auth (cognitive 26): codex_login::auth::manager::load_auth has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 4, match/switch 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":"codex-rs/login/src/auth/manager.rs"},"region":{"startLine":1606}}}],"partialFingerprints":{"codehealthFindingId/v1":"388bd5a42d4925bc3c229c931fa73edb8555566bf031aa1621c6cf9f4b2cef66"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_login::server::bind_server (cognitive 26): codex_login::server::bind_server has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (21 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/login/src/server.rs"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5f5f636408a833a1b141f453095d8162502e105731676d5e61ec5948e3314d"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_model_provider_info::merge_configured_model_providers (cognitive 26): codex_model_provider_info::merge_configured_model_providers has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (23 pts), boolean chains 2, 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":"codex-rs/model-provider-info/src/lib.rs"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e24047b66f3abc27efc93292a6aee17a77782698c6c693fd7ccb08393ea358"}},{"ruleId":"D2","level":"warning","message":{"text":"SanitizedGitUrl::try_from (cognitive 26): SanitizedGitUrl::try_from has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 8, loops 1, match/switch 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":"codex-rs/protocol/src/sanitized_git_url.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dbe81d15bd8dc1c6affd1a85c47e1b4d711e8777147eb5d3ed33cab40a0f882"}},{"ruleId":"D2","level":"warning","message":{"text":"SandboxManager::transform (cognitive 26): SandboxManager::transform has cognitive complexity 26 (threshold 15). Drivers by points: match/switch 8 (13 pts), if/else 6 (8 pts), boolean chains 5 (nesting depth added 7). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/sandboxing/src/manager.rs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ec7fc931532c5b7443d54525595ba15c4ab24d427eebb3ecdff00a8b08f81d"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelReplayPlanner::finish (cognitive 26): ModelReplayPlanner::finish has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (21 pts), boolean chains 2, match/switch 1 (2 pts), 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":"codex-rs/thread-store/src/local/rollout_migration/rollback_replay.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6970627a39b7e48c587504b5da6e3e03340b36c7539fad0c2d18a572c5a8208"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_thread_store::local::thread_history::realtime_stream::read_page (cognitive 26): codex_thread_store::local::thread_history::realtime_stream::read_page has cognitive complexity 26 (threshold 15). Drivers by points: if/else 17 (18 pts), boolean chains 6, match/switch 1 (2 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/thread_history/realtime_stream.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"591a23bd5abdb6164a0a6787107b1ac3f94666e1d02c57a951f7d677aca92e84"}},{"ruleId":"D2","level":"warning","message":{"text":"AnalyticsView::footer_lines (cognitive 26): AnalyticsView::footer_lines has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 3, match/switch 1 (2 pts), 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":"codex-rs/tui/src/analytics/hints.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"dabb91d71e01893bf8c17d1a3218ffa1d3c06ccaf97169fae66ffc89a352dbda"}},{"ruleId":"D2","level":"warning","message":{"text":"App::continue_misalignment (cognitive 26): App::continue_misalignment has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 5, match/switch 3 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/misalignment_policy.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"6213ea1b941c2c9a00fdfd009eb0f45f917c329d936979fca7fb82be69b0d58d"}},{"ruleId":"D2","level":"warning","message":{"text":"AppLinkView::install_confirmation_lines (cognitive 26): AppLinkView::install_confirmation_lines has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (13 pts), loops 6 (12 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"codex-rs/tui/src/bottom_pane/app_link_view.rs"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9ab6f64fd6a6f60e8b3ce7c79688fddca3bf58bce83921473da11413230343"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatComposer::sync_popups (cognitive 26): ChatComposer::sync_popups has cognitive complexity 26 (threshold 15). Drivers by points: if/else 18 (23 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":4019}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38816286cf2a5a91e1be543a27eb77c7f5bb94171ca7e46f4ee55902d7474f1"}},{"ruleId":"D2","level":"warning","message":{"text":"VoiceStrip::render (cognitive 26): VoiceStrip::render has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 9 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/voice_strip.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"30fbd207e90d0c6a41297a017d1ce761e86cfe8e8b955d2f3a552c5ed2659c94"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::maybe_send_next_queued_input (cognitive 26): ChatWidget::maybe_send_next_queued_input has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 4, match/switch 2 (4 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/input_flow.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0e944e92191297cadf52a2396727f6129932d22ae424f78c84536c85760610"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::restore_thread_input_state (cognitive 26): ChatWidget::restore_thread_input_state has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 9, loops 1 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/input_restore.rs"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07b0a9b6d96b05a2e60cfd899bbd568f6cba967b7369d6cddbce29463e7abb7"}},{"ruleId":"D2","level":"warning","message":{"text":"RuntimeChordKeymap::from_config (cognitive 26): RuntimeChordKeymap::from_config has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 5 (7 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/keymap/chords.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b810a2b18218ea30a3d6358599ce5e6f70796529c2c39f775d584584217e680"}},{"ruleId":"D2","level":"warning","message":{"text":"MathParser::sequence (cognitive 26): MathParser::sequence has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 5, 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":"codex-rs/tui/src/markdown_render/math/render.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"7567d203271738844156f05e1eecb908eccf4979c126b027d3ea45a2ee8168d1"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthModeWidget::handle_api_key_entry_key_event (cognitive 26): AuthModeWidget::handle_api_key_entry_key_event has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (21 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/onboarding/auth.rs"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"656f97792b815d6151ba1e6a061836fb551ce7598210c1a68fde109539c02858"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptView::handle_key (cognitive 26): TranscriptView::handle_key has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 5 (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":"codex-rs/tui/src/transcript_view/input.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6376025e0a6fb65073df485851bb0ccb4a2b64e41e9d9e92c6c241b16d9c15"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptView::entry_layout (cognitive 26): TranscriptView::entry_layout has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 6, match/switch 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/transcript_view/layout.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"3123b3175cd3ed8da16cf4b497008815db626c4582031c1adcba44b3871ba88b"}},{"ruleId":"D2","level":"warning","message":{"text":"Tui::with_restored (cognitive 26): Tui::with_restored has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (17 pts), loops 2 (7 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/tui.rs"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18622128b92d504e02d2b49741b134b68459daa011c182e5e5d8ca89d450292"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::bottom_pane::request_user_input::render::truncate_line_word_boundary_with_ellipsis (cognitive 26): codex_tui::bottom_pane::request_user_input::render::truncate_line_word_boundary_with_ellipsis has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (21 pts), loops 4 (5 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":"codex-rs/tui/src/bottom_pane/request_user_input/render.rs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2efd688a591877985691b8a635d7592512a6dfeafe786d71fffdd0786c2945"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::ui_tree::render::layout (cognitive 26): codex_tui::ui_tree::render::layout has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 6, 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":"codex-rs/tui/src/ui_tree/render.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"262cb681b37ede3efcdbe121d8c7c5659eea6df664b3203d3628ebdaa1365eaf"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::ui_tree::render::text::chunks (cognitive 26): codex_tui::ui_tree::render::text::chunks has cognitive complexity 26 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 4 (9 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/ui_tree/render/text.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3fc559edde038e6dda24e1f7d4ff7bda97920a853b0689ef25bfdd5ad4d4c27"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_websocket_client::dialer::connect_happy_eyeballs (cognitive 26): codex_websocket_client::dialer::connect_happy_eyeballs has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (14 pts), match/switch 3 (8 pts), loops 3, boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/websocket-client/src/dialer.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d6155ac05eae31449cf1668a0e56d68e4578b57335c3cc8cf80c247b6a8205c"}},{"ruleId":"D2","level":"warning","message":{"text":"review_regressions._run_catalog_boundary_checks (cognitive 26): review_regressions._run_catalog_boundary_checks has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 13 (14 pts), boolean chains 6, if/else 5, error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mcp_conformance/review_regressions.py"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ec55b6f681ffdf273c340474e6963a02bf0272d9049efa9e9167d844cc43be"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteAgentMessageBoard::notifications (cognitive 25): RemoteAgentMessageBoard::notifications has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (17 pts), match/switch 2 (5 pts), boolean chains 2, 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":"codex-rs/agent-message-board-client/src/client.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"87758a36933c4b01a610310d8166d26a13f7f95379246aaadfc9ad387f1a1ebf"}},{"ruleId":"D2","level":"warning","message":{"text":"AnalyticsReducer::ingest (cognitive 25): AnalyticsReducer::ingest has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (16 pts), match/switch 4 (9 pts) (nesting depth added 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/analytics/src/reducer.rs"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"3229f3df8db6df29e74e9faf29ee6339553248db42fe7cbde8bbd2c057bcbe97"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server::request_processors::feedback_rollout_history::history_base_attachments (cognitive 25): codex_app_server::request_processors::feedback_rollout_history::history_base_attachments has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (17 pts), match/switch 3 (6 pts), loops 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/feedback_rollout_history.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d77a7b7a6e7943100d1fd4040d67bf0105a86329a2288e5c0f979c18552be1"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon::bootstrap_locked (cognitive 25): Daemon::bootstrap_locked has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 6, loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-daemon/src/lib.rs"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9c8eba2f5ba8d4e21c488005ede2dace19f2ae471cc43749979575562be0de"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientSegmentReassembler::observe (cognitive 25): ClientSegmentReassembler::observe has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (16 pts), match/switch 4 (8 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-transport/src/transport/remote_control/segment.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a007ec0b7afa7e83ba22875e6d884d2a1bd2b87467fce1f32ac4b885ba79898"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_cloud_tasks::ui::style_conversation_lines (cognitive 25): codex_cloud_tasks::ui::style_conversation_lines has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cloud-tasks/src/ui.rs"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ce79cac9f848d8aaad32226cb356e3823c2ac1dfec088d068470148550116f"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_code_mode_runtime::output::output_render::insert_loss_notices (cognitive 25): codex_code_mode_runtime::output::output_render::insert_loss_notices has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 2, loops 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/code-mode-runtime/src/output/output_render.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a098e745e224ce0e59dd99e0499cbb34ec8c36501023bf7f517b7b1526b226ca"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_config::overrides::apply_toml_override (cognitive 25): codex_config::overrides::apply_toml_override has cognitive complexity 25 (threshold 15). Drivers by points: if/else 4 (12 pts), match/switch 3 (10 pts), boolean chains 2, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/overrides.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07e64b612778fd1d9e1dac44f60922bb6ef4d23d322eb4100fa87a3998aaa63"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::mcp_skill_dependencies::maybe_install_mcp_dependencies (cognitive 25): codex_core::mcp_skill_dependencies::maybe_install_mcp_dependencies has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (18 pts), match/switch 3 (5 pts), loops 2 (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":"codex-rs/core/src/mcp_skill_dependencies.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3cb725a5ff0d94febeefd80d6c3c83a521acc4e9856e7a2859b16c2ca2da24"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::realtime_conversation::handle_start_inner (cognitive 25): codex_core::realtime_conversation::handle_start_inner has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (16 pts), match/switch 4 (7 pts), boolean chains 1, 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":"codex-rs/core/src/realtime_conversation.rs"},"region":{"startLine":1868}}}],"partialFingerprints":{"codehealthFindingId/v1":"74bb2a5696683bc1c19ee8cc45133e4e4e2d8b4612d0a5c8d3e8cff3b21d0f36"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::session::step_activation::check_legacy_model_safety (cognitive 25): codex_core::session::step_activation::check_legacy_model_safety has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/step_activation.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"095dda327b30106d543ac97f353241304c7bda7b7c9505fab5afa22be21bb42b"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginsManager::list_tool_suggest_discoverable_plugins (cognitive 25): PluginsManager::list_tool_suggest_discoverable_plugins has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 7, loops 3 (5 pts), match/switch 1 (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":"codex-rs/core-plugins/src/discoverable.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"911213e9cdeed6c69e4ae782a4c2f914f4590db8bbdae0cd43dedcc913de6e28"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core_plugins::loader::refresh_curated_plugin_cache (cognitive 25): codex_core_plugins::loader::refresh_curated_plugin_cache has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 3 (4 pts), match/switch 1 (3 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":"codex-rs/core-plugins/src/loader.rs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"8255ea1c84c471edb18a557761521457f5e61557bbda0a1d70d11774ea88c65a"}},{"ruleId":"D2","level":"warning","message":{"text":"LazyRemoteExecServerClient::refresh_connection (cognitive 25): LazyRemoteExecServerClient::refresh_connection has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (18 pts), match/switch 3 (5 pts), boolean chains 1, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/client_refresh.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"aedb66b459b3cc2359ea247c3c1b6a3d8e35c1bd50f6b0cca6d3fd51f572d506"}},{"ruleId":"D2","level":"warning","message":{"text":"Housekeeper::route (cognitive 25): Housekeeper::route has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 6 (8 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/guardian-v3/src/housekeeper.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"e450203e35902556b9e90e247f441d41cd760be66aa12d3d3782dc6d3456fefb"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutorSkillProvider::list_from_discovery_v2 (cognitive 25): ExecutorSkillProvider::list_from_discovery_v2 has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 4 (8 pts), match/switch 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/skills/src/provider/executor/discovery_v2.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4c837f51fee2a6254c01adbc95c05b7c01a9a3d4b889bfeb9e5d3c0858071f"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_skills_extension::loader::discovery::discover_skills (cognitive 25): codex_skills_extension::loader::discovery::discover_skills has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 6, match/switch 3 (4 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":"codex-rs/ext/skills/src/loader/discovery.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4fb2ce94bc5b55da838ecb129a36581f5e9e1757f3a87d2089eef154d82a614"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_git_utils::info::remotes::get_git_remote_urls_with_progress (cognitive 25): codex_git_utils::info::remotes::get_git_remote_urls_with_progress has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 4, loops 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/git-utils/src/info/remotes.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6706f7b872147d1d6685a08c315deb418c289453850e8745aaabc7cfe30ebb"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_http_client::windows_proxy_auth::connect_windows_proxy (cognitive 25): codex_http_client::windows_proxy_auth::connect_windows_proxy has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (13 pts), match/switch 4 (9 pts), loops 3 (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":"codex-rs/http-client/src/windows_proxy_auth.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e207f38477bfcbd1d3be607b2347ca0a067f6bfeffedbc5f4cc310e7df52c7"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_network_proxy::socks5::handle_socks5_tcp (cognitive 25): codex_network_proxy::socks5::handle_socks5_tcp has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (10 pts), match/switch 8 (10 pts), boolean chains 5 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/socks5.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ee687e6770e448d142c12d3dc80e8dcb24638a288ef70c27f88cc32b9d7220"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_sandboxing::bwrap::find_executable_in_search_paths (cognitive 25): codex_sandboxing::bwrap::find_executable_in_search_paths has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 10, loops 1 (2 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/sandboxing/src/bwrap.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"757c66527a713f133519090b2cde677490649cfdaed39381fe87a3eb95916981"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_shell_command::parse_command::parse_command_impl (cognitive 25): codex_shell_command::parse_command::parse_command_impl has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (15 pts), match/switch 2 (6 pts), boolean chains 2, loops 2 (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":"codex-rs/shell-command/src/parse_command.rs"},"region":{"startLine":1423}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aade4165a73455e4c485dc7a9dd5b9c270e9dd3375b4df9139e159151e7b2d1"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalThreadStore::resolve_rollout_lineage_with_mode (cognitive 25): LocalThreadStore::resolve_rollout_lineage_with_mode has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (14 pts), match/switch 3 (7 pts), boolean chains 3, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/rollout_lineage.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6b5c2e6f07612ddddf3959fde2ed0bf5a581b399c97edcfe4343ff61a926e6"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalThreadStore::migrate_one_rollout (cognitive 25): LocalThreadStore::migrate_one_rollout has cognitive complexity 25 (threshold 15). Drivers by points: if/else 18 (21 pts), boolean chains 3, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"codex-rs/thread-store/src/local/rollout_migration.rs"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d530840b85d760a58de04b5a1d5aef046647424752ab39584cf11b84f193a43"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_thread_store::local::read_thread::read_thread (cognitive 25): codex_thread_store::local::read_thread::read_thread has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 9, match/switch 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":"codex-rs/thread-store/src/local/read_thread.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d129001f31fc4d93f3ad0a44da15eeb47e175269d11d407f8cdf938fc907cfa"}},{"ruleId":"D2","level":"warning","message":{"text":"AnalyticsView::start_reports (cognitive 25): AnalyticsView::start_reports has cognitive complexity 25 (threshold 15). Drivers by points: if/else 16 (20 pts), boolean chains 4, loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/analytics/sections.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"035f8c48afe97d1d305c55a32e332da5684371ecfda52a1eb3f9ab8602950bca"}},{"ruleId":"D2","level":"warning","message":{"text":"SideCompanion::apply_notification (cognitive 25): SideCompanion::apply_notification has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 5, loops 1 (3 pts), match/switch 1 (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/side_companion.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc4491e949f80563324f718288a4d9da431718800796cd6771ff3f568e4ed70"}},{"ruleId":"D2","level":"warning","message":{"text":"App::finish_agents_overview_usage (cognitive 25): App::finish_agents_overview_usage has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 5, loops 1 (3 pts), match/switch 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/agents_overview_usage.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc7d163e9043f9657fb0bfc3e24d423bb342be06526f551bcde29bd5304b1eb"}},{"ruleId":"D2","level":"warning","message":{"text":"App::confirm_directory_trust_for_target (cognitive 25): App::confirm_directory_trust_for_target has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 4, match/switch 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/resume_config.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f627dd249d94f1fd5b26c079453f04cb459cdf7360a553934c27f09f11c0b2"}},{"ruleId":"D2","level":"warning","message":{"text":"App::handle_legacy_transcript_event (cognitive 25): App::handle_legacy_transcript_event has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 9, match/switch 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app_backtrack/legacy_input.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c4722dbdf1ecafc875b1ab2e3aabd487290b1de7f2372a086c03b6a646344b"}},{"ruleId":"D2","level":"warning","message":{"text":"AppServerSession::fork_thread_at_with_presentation (cognitive 25): AppServerSession::fork_thread_at_with_presentation has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 6, match/switch 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, 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":"codex-rs/tui/src/app_server_session.rs"},"region":{"startLine":1423}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92e8a57cb7e2e2d48b3aea9529ae5e1215f3cb4c992bee4de91d347603e5342"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::on_marketplace_upgrade_loaded (cognitive 25): ChatWidget::on_marketplace_upgrade_loaded has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 1, match/switch 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/plugins.rs"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8076ad9dad4559ba00fe9d7f4936f70d2de90c55b494f1fcd48cc3e71617c5"}},{"ruleId":"D2","level":"warning","message":{"text":"Terminal::draw_with_size (cognitive 25): Terminal::draw_with_size has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (12 pts), match/switch 3 (5 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 7). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/custom_terminal.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"037fac6aed89e99680b4ba904ff49028a20713ecb0b88b66cedd33e6cc11556f"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecCell::detailed_hyperlink_lines (cognitive 25): ExecCell::detailed_hyperlink_lines has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/exec_cell/transcript.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb651e7a7b85045e679aa0c84a12c09c73666631f98f72c8a84e49664a6dcf0"}},{"ruleId":"D2","level":"warning","message":{"text":"MathParser::structured_command (cognitive 25): MathParser::structured_command has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 2 (4 pts), boolean chains 1, match/switch 1 (nesting depth added 12). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/markdown_render/math/render/structured.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"aadb3ce451aa0eacea856cb8a883d7b32cc46b26f8dd3b9162908b091e32d421"}},{"ruleId":"D2","level":"warning","message":{"text":"Writer::start_tag (cognitive 25): Writer::start_tag has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (15 pts), match/switch 4 (8 pts), boolean chains 2 (nesting depth added 13). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/markdown_render.rs"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"37af28b762f336f5e8437ce163e374f5cc97ec842436e96b884d1ddc33d21b6b"}},{"ruleId":"D2","level":"warning","message":{"text":"Writer::shrink_columns (cognitive 25): Writer::shrink_columns has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 4 (7 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":"codex-rs/tui/src/markdown_render.rs"},"region":{"startLine":1794}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b43493df748ce4962a830516855f644532a827abdc61a8efd3a906c4479603e"}},{"ruleId":"D2","level":"warning","message":{"text":"Writer::row_to_pipe_line (cognitive 25): Writer::row_to_pipe_line has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 3 (6 pts) (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":"codex-rs/tui/src/markdown_render.rs"},"region":{"startLine":2015}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0e1be2017a0cc1750ef821056bf7001c64487aabe429653bb107806ebe1913"}},{"ruleId":"D2","level":"warning","message":{"text":"PickerState::route_key_chord (cognitive 25): PickerState::route_key_chord has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 4, match/switch 2 (4 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":"codex-rs/tui/src/resume_picker.rs"},"region":{"startLine":1394}}}],"partialFingerprints":{"codehealthFindingId/v1":"9480fad0ae572991444937b815126d334a74aebb1e2d9285f402e5320760f1af"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptView::toggle_activity (cognitive 25): TranscriptView::toggle_activity has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 5, loops 1 (4 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/transcript_view/disclosure.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"1379c70a668331214158de415b97208e5c25dfeec5c81ccecd4ee5bed74f0874"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::app::provider::handle (cognitive 25): codex_tui::app::provider::handle has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (14 pts), match/switch 3 (6 pts), boolean chains 5 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/provider.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68092fe15f34aeb80cf9cc670436d6a46eb276679c22dbc515afbb8ff3934bb"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::terminal_hyperlinks::decorate_spans (cognitive 25): codex_tui::terminal_hyperlinks::decorate_spans has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 3 (6 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/terminal_hyperlinks.rs"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"798f18b38c684bd6b056f89cb5cb224a8246b820fc6ec680ec0cf4c1192001bf"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_windows_sandbox::acl::ensure_allow_mask_aces_with_inheritance_impl (cognitive 25): codex_windows_sandbox::acl::ensure_allow_mask_aces_with_inheritance_impl has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 4, match/switch 2, 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":"codex-rs/windows-sandbox-rs/src/acl.rs"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2c3b1ebd4aa6bfeb6ba1e8886e6a457ed9a5cbc822191aa288ec8b34e3e1e0"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_windows_sandbox::identity::require_sandbox_account_with_setup (cognitive 25): codex_windows_sandbox::identity::require_sandbox_account_with_setup has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 2 (4 pts), match/switch 2 (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":"codex-rs/windows-sandbox-rs/src/identity.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"f316c06159f7173a7f0a3aabbca5a9e86a390b1a34edb5a50fdd90f4fb55e478"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_experimental_api_macros::derive_for_struct (cognitive 25): codex_experimental_api_macros::derive_for_struct has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (20 pts), loops 2 (4 pts), match/switch 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-experimental-api-macros/src/lib.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb19075c26a3f6da1f1184ccc25f7c0463decc699e1a4367cb7fe4abb7cd906"}},{"ruleId":"D2","level":"warning","message":{"text":"review_regressions._run_normal_review_checks (cognitive 25): review_regressions._run_normal_review_checks has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 12 (15 pts), if/else 5, boolean chains 4, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mcp_conformance/review_regressions.py"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddcbad5528ba141aeabffc601dfc1f0c11f9c9e725316c6970ca79b657fb2e97"}},{"ruleId":"D2","level":"warning","message":{"text":"run_codex_compliance._run_official_case (cognitive 25): run_codex_compliance._run_official_case has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 5 (9 pts), if/else 5 (7 pts), loops 3 (5 pts), boolean chains 4 (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":"scripts/mcp_conformance/run_codex_compliance.py"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"06731237c8c907e5b0e8a2764cbefef92902acf14be09beccd09f0b6a2b5c123"}},{"ruleId":"D2","level":"warning","message":{"text":"ProtocolServer._call_tool (cognitive 25): ProtocolServer._call_tool has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 6, 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":"scripts/mcp_conformance/server.py"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd5ac20396876967e8548ad15f1849d41afa16fc24c063ff730708df97d9709"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandExecManager::start (cognitive 24): CommandExecManager::start has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 5, match/switch 3 (4 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/command_exec.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c26159b6ced7e3de7220548a2ea848d80d94724aa2394072e99d4a56a20b896"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server::codex_home_metrics::directory_sizes (cognitive 24): codex_app_server::codex_home_metrics::directory_sizes has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 3 (4 pts), match/switch 1 (2 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":"codex-rs/app-server/src/codex_home_metrics.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"66290f1c662bb9c31015cb268e6327516ec8dd001d3f632a4fbbbc6ccb37ed29"}},{"ruleId":"D2","level":"warning","message":{"text":"Requests::handle (cognitive 24): Requests::handle has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (15 pts), match/switch 3 (5 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-client/src/cloud_backend/requests.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a882fc2b1b08e9bd829c77d64fd88570fef69b28e218e5b26508eb88a299ae53"}},{"ruleId":"D2","level":"warning","message":{"text":"InProcessAppServerClient::start (cognitive 24): InProcessAppServerClient::start has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (13 pts), match/switch 3 (9 pts), boolean chains 1, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-client/src/lib.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb29c63a8c1033dcf63793431ba1a57ffda402a3a82405d23d880431b187fbf"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteControlWebsocket::run (cognitive 24): RemoteControlWebsocket::run has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (14 pts), match/switch 4 (8 pts), boolean chains 1, loops 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":"codex-rs/app-server-transport/src/transport/remote_control/websocket.rs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c816d2b1e7f18568ea258227896b2dbabce31549361032b26490f72ccb1c860"}},{"ruleId":"D2","level":"warning","message":{"text":"HostState::handle_request (cognitive 24): HostState::handle_request has cognitive complexity 24 (threshold 15). Drivers by points: match/switch 9 (18 pts), if/else 4 (6 pts) (nesting depth added 11). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/code-mode-host/src/lib.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f1966424dc8c226443c2e75632f046352665e00569ebd579122881bf32ee7b"}},{"ruleId":"D2","level":"warning","message":{"text":"RealtimeWebsocketConnection::from_sideband (cognitive 24): RealtimeWebsocketConnection::from_sideband has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (16 pts), match/switch 3 (6 pts), loops 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-api/src/endpoint/realtime_websocket/methods/sideband.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f6cfa7f88896255473553df911767c49784d8b5150a2b47598cd5e4a8f4eda"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::record_prepared_conversation_items (cognitive 24): Session::record_prepared_conversation_items has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 6, loops 4 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":4069}}}],"partialFingerprints":{"codehealthFindingId/v1":"145cb80bcb11d1fb9b5cef0770f166c527050a70943cf0ab57e269ac9a63b134"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::tools::tool_namespaces_info::collect_tool_namespaces_info (cognitive 24): codex_core::tools::tool_namespaces_info::collect_tool_namespaces_info has cognitive complexity 24 (threshold 15). Drivers by points: match/switch 3 (8 pts), if/else 4 (7 pts), loops 3 (5 pts), boolean chains 4 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/tool_namespaces_info.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c50499c67218b8b2738c5b8eb4cffa94aa72ebb0ab4fece1de5273fa506f1e4"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalProcess::start_process (cognitive 24): LocalProcess::start_process has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 5, match/switch 4 (5 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/local_process.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d83c36e7d8b71da4ba9b38a04a6fe3b8660ae89434c3bc7b8325892299dd2b7"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_exec_server::client::handle_server_notification (cognitive 24): codex_exec_server::client::handle_server_notification has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (23 pts), match/switch 1 (nesting depth added 13). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/client.rs"},"region":{"startLine":1921}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a281e6e3d42af48b9376986ce0af7290eabab52937384ea05103e6dc4d2bed2"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectionPool::lease (cognitive 24): ConnectionPool::lease has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (12 pts), match/switch 3 (6 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/guardian-v2/src/async_scorer/sampler/connection_pool.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"05173afebb353d706bc158732bb9b113ab01ef314904fa708d4184e4b2fea13e"}},{"ruleId":"D2","level":"warning","message":{"text":"McpEventStreamManager::start (cognitive 24): McpEventStreamManager::start has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (20 pts), match/switch 2 (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":"codex-rs/ext/mcp/src/stream_manager.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b35f8e181ef740537721c48cebf47e5e0d1e65e262b2de6b79d1737647301a"}},{"ruleId":"D2","level":"warning","message":{"text":"RetainedContext::record_user_message (cognitive 24): RetainedContext::record_user_message has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 6, loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/history/src/retained_context.rs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba0d71a65ca070ef4c28e9e20bc085cd1a8cd44603354d19b5300e8a8a381fd"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_hooks::engine::plugin_fingerprint::plugin_content_hash (cognitive 24): codex_hooks::engine::plugin_fingerprint::plugin_content_hash has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 3 (7 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/hooks/src/engine/plugin_fingerprint.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"846ed0fde37aa92e2cd2412f73df90520a73a12e62ff5a7731b3a1a87494abc4"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_network_proxy::network_policy::evaluate_host_policy_for_dial (cognitive 24): codex_network_proxy::network_policy::evaluate_host_policy_for_dial has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 3, match/switch 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":"codex-rs/network-proxy/src/network_policy.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"56dd9b33c744bf60c2fd4f64ab067ff557e81e03211ec69ae44188ca5de119f0"}},{"ruleId":"D2","level":"warning","message":{"text":"OauthLoginFlow::new (cognitive 24): OauthLoginFlow::new has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 4, match/switch 2 (3 pts), loops 1 (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":"codex-rs/rmcp-client/src/perform_oauth_login.rs"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9e1f26390614e6664e0337fca5e4ba8c78f102750758d08a8c43fcd96cbd42"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_rollout::compression::worker::cleanup_stale_temps_in_root (cognitive 24): codex_rollout::compression::worker::cleanup_stale_temps_in_root has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (11 pts), match/switch 3 (9 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout/src/compression.rs"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce624bd3c2f27785618db44de6dfcad7c3df098a2deda7b534f957076089b85f"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_rollout::list_files::collect_files_by_updated_at (cognitive 24): codex_rollout::list_files::collect_files_by_updated_at has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (14 pts), loops 4 (10 pts) (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":"codex-rs/rollout/src/list_files.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d778bd2ef1599488f5881715065c6a2f852af4c5ec97e40f7df5153f17769c6"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_rollout::search::scan_rollout_matches (cognitive 24): codex_rollout::search::scan_rollout_matches has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 2 (3 pts), match/switch 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout/src/search.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"23983223961f5a74d1edb27ac320c1e42430edb57269d0caee5fd45264937321"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_sandboxing::windows::resolve_windows_elevated_filesystem_overrides (cognitive 24): codex_sandboxing::windows::resolve_windows_elevated_filesystem_overrides has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 5, loops 2 (5 pts) (nesting depth added 6). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/sandboxing/src/windows.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"21db055b691f12b6b5f21f365534745282f09a71a07085a3928f5e1e774a294b"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_thread_store::local::rollout_migration::find_rollout_paths (cognitive 24): codex_thread_store::local::rollout_migration::find_rollout_paths has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (16 pts), boolean chains 3, loops 2 (3 pts), match/switch 1 (2 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":"codex-rs/thread-store/src/local/rollout_migration.rs"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c37151aa274406a99ec2d5e839a139990f405c6e18c6a58396901d73404a5b4"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_thread_store::local::unarchive_thread::unarchive_thread_with_index (cognitive 24): codex_thread_store::local::unarchive_thread::unarchive_thread_with_index has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (21 pts), loops 2, 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":"codex-rs/thread-store/src/local/unarchive_thread.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"1798238d72942dcfacf60b337c24a61954b1607fbe0d5402e141e05c531d1994"}},{"ruleId":"D2","level":"warning","message":{"text":"App::apply_agent_picker_thread_refresh (cognitive 24): App::apply_agent_picker_thread_refresh has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 4, loops 2, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/agent_picker.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81338cae285d45dfef7e4063b303583f38c7435b50484bb1353868cdade69c6"}},{"ruleId":"D2","level":"warning","message":{"text":"App::agents_overview_details (cognitive 24): App::agents_overview_details has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (18 pts), match/switch 2 (3 pts), boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/agents_overview_details.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"6309fff062a9912ec770a9ca1ed6f052764ad4ddc678ce20c034e3672d8c86e8"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncQuestions::footer_lines (cognitive 24): AsyncQuestions::footer_lines has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 4, loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/async_questions/render.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1f3e765279808352a66ef4479a20046c3b5bd9da3bcf11d0a909087ea90fbf"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatComposerHistory::advance_search_from (cognitive 24): ChatComposerHistory::advance_search_from has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (18 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/chat_composer_history.rs"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0396a8ca47d7dc8a2c3f3a73a6338be3870ef5a06707a4e674bd7223e2f49e"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestUserInputOverlay::render_ui_at (cognitive 24): RequestUserInputOverlay::render_ui_at has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/request_user_input/render.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3b51bd73eb4d291b11c4d50a926e7a365fdf4179ad616dea1b6b1ed229bf8d"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::on_connectors_loaded (cognitive 24): ChatWidget::on_connectors_loaded has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 1 (3 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/connectors.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea2ac59cd9657455daaa16450641722090124f38172c49bc22819de6aafc274"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::submit_initial_user_message_if_pending (cognitive 24): ChatWidget::submit_initial_user_message_if_pending has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/input_restore.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d100e05dc21fa2d5da402c69643c93466da252dcf3f1c3160f05d58a3c76ff"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::on_agent_message_item_completed (cognitive 24): ChatWidget::on_agent_message_item_completed has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 6, match/switch 2 (3 pts), loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/streaming.rs"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"400f870ca88251ed61e7e7b569e7fe6ad3422a672af60ea746d686b086f02370"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveCommandOutput::push_truncated_str (cognitive 24): LiveCommandOutput::push_truncated_str has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 3, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/exec_cell/live_output.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"9078cae16dd8416d6d38b58dbdc7624382b3994c550eee12f3fe2b234aa60ca9"}},{"ruleId":"D2","level":"warning","message":{"text":"MathParser::command (cognitive 24): MathParser::command has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (11 pts), match/switch 5 (9 pts), boolean chains 4 (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":"codex-rs/tui/src/markdown_render/math/render.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5be13655d95e85cf2425c24ff0d525697fa0d1f7773807584f3b7940a49f5f"}},{"ruleId":"D2","level":"warning","message":{"text":"Writer::end_codeblock (cognitive 24): Writer::end_codeblock has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (7 pts), boolean chains 3, match/switch 1 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/markdown_render.rs"},"region":{"startLine":1196}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2bacb0a63d286f085a6db3b254f4a34d4b33f8945ca37721bc93a34499a668"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthModeWidget::render_pick_mode (cognitive 24): AuthModeWidget::render_pick_mode has cognitive complexity 24 (threshold 15). Drivers by points: if/else 17 (19 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/onboarding/auth.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9226efbf1e670e926690f447517c2065e8da9093c978cef56e377f99281ec99"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::app::cloud_switch_wait::handle_cloud_switch_event (cognitive 24): codex_tui::app::cloud_switch_wait::handle_cloud_switch_event has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 3, loops 1 (2 pts), match/switch 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/cloud_switch_wait.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e59da689db365e43c35559c2d6d3a86f56a5d62ae2f15254f4d902704189f1"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::task_mentions::apply_task_references (cognitive 24): codex_tui::task_mentions::apply_task_references has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 4, loops 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/task_mentions.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c1ca742c9821a008e5d659893ec90cd8681254d758d8e2b22bf2b39dd34829"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::ui_tree::render::text::visit_chunks (cognitive 24): codex_tui::ui_tree::render::text::visit_chunks has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 3 (6 pts), boolean chains 3 (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":"codex-rs/tui/src/ui_tree/render/text.rs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b895645a2a520740a4da9cb1e351803566a50da6656ca90202a3b7df4f3676"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_windows_sandbox::acl::dacl_mask_allows_with_scope (cognitive 24): codex_windows_sandbox::acl::dacl_mask_allows_with_scope has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-rs/src/acl.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9365ee67a2a099b8054c46d3fe582c78701e7b64264745c6da989e5e635a7b"}},{"ruleId":"D2","level":"warning","message":{"text":"asciicheck.lint_utf8_ascii (cognitive 24): asciicheck.lint_utf8_ascii has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 4 (7 pts), boolean chains 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/asciicheck.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"63dce325ba69da479364cf47409b10b2fe724ad0c9779b66c17e7692e4fa825e"}},{"ruleId":"D2","level":"warning","message":{"text":"AccountRequestProcessor::get_auth_status_response (cognitive 23): AccountRequestProcessor::get_auth_status_response has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (15 pts), match/switch 2 (6 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/account_processor.rs"},"region":{"startLine":1117}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff377ca908afd27ea779b8c29f7f3eb6e6e9f32f97ac09770ca20844bd9fc93"}},{"ruleId":"D2","level":"warning","message":{"text":"ThreadRequestProcessor::thread_metadata_update_response_inner (cognitive 23): ThreadRequestProcessor::thread_metadata_update_response_inner has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (14 pts), match/switch 3 (5 pts), boolean chains 4 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":2053}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ec3808d2d562f0ffca0d6a3c3b8692f2d8dd7563d23115174384e3bcc25015"}},{"ruleId":"D2","level":"warning","message":{"text":"TurnRequestProcessor::turn_start_inner (cognitive 23): TurnRequestProcessor::turn_start_inner has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (17 pts), match/switch 4 (5 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":"codex-rs/app-server/src/request_processors/turn_processor.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b771303c34973653b4223f5ab4c6a5cb31a325f44943216675c073daf5567c"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server::request_processors::process_exec_processor::collect_spawn_process_output (cognitive 23): codex_app_server::request_processors::process_exec_processor::collect_spawn_process_output has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (13 pts), match/switch 2 (4 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/process_exec_processor.rs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5e7667c48acf3b32f7b271f1cef9d53996831731dcaf55a60798de0610e01a"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server_daemon::update_loop::run_installer_script (cognitive 23): codex_app_server_daemon::update_loop::run_installer_script has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (18 pts), match/switch 4, 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":"codex-rs/app-server-daemon/src/update_loop.rs"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a56e9ae1559a62eb70b12b3a7029ae7786112958e9e625a8a920d3f932e02e"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server_transport::transport::unix_socket::run_control_socket_acceptor (cognitive 23): codex_app_server_transport::transport::unix_socket::run_control_socket_acceptor has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 3 (7 pts), boolean chains 1, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-transport/src/transport/unix_socket.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd145ffc90d3fde046672508520464fe573d08b830609c579e691e6c4a1b2af"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_cli::plugin_cmd::configured_marketplace_snapshot_issues (cognitive 23): codex_cli::plugin_cmd::configured_marketplace_snapshot_issues has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 2, match/switch 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/plugin_cmd.rs"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b55ea741f157e52e6972e32b29a3200b314c8efd123b344b9c80f3217409022"}},{"ruleId":"D2","level":"warning","message":{"text":"NetworkMitmToml::validate_action_definitions (cognitive 23): NetworkMitmToml::validate_action_definitions has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/permissions_toml.rs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e089eef8db89c73865740b6a5af5db0536c702e41a107b8de761bc28ac3997"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_config::loader::validate_project_mitm_profiles (cognitive 23): codex_config::loader::validate_project_mitm_profiles has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 4, loops 4 (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":"codex-rs/config/src/loader/mod.rs"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b614e66f05e3da21d34738d4d26dd9656da64f96f31f7f6ba63a758978b627"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_connectors::merge::merge_connectors (cognitive 23): codex_connectors::merge::merge_connectors has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 7, loops 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/connectors/src/merge.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"0473d975cb3f0448ec0b5fac478a723b435909e0be0b6dbcff62668a3b9b77df"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextManager::drop_last_n_user_turns (cognitive 23): ContextManager::drop_last_n_user_turns has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 7 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/context_manager/history.rs"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"41073af03dab37a5549564a6f693b8919a5b207db9bb7c23793bae6252d67815"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecPolicyManager::create_exec_approval_requirement_for_parsed_commands (cognitive 23): ExecPolicyManager::create_exec_approval_requirement_for_parsed_commands has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 3, match/switch 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":"codex-rs/core/src/exec_policy.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1389a54396bb4be1780b22128f5ae4a22818118d533b56d3789d727cdee201"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::model_search::resolve (cognitive 23): codex_core::model_search::resolve has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (15 pts), match/switch 4 (6 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/model_search.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c325bcedbefd2ae76bab781034a2e7699135216a2dbd240418989e7cd4c07f"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::realtime_conversation::build_realtime_session_config (cognitive 23): codex_core::realtime_conversation::build_realtime_session_config has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (11 pts), match/switch 7 (8 pts), boolean chains 2, loops 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/realtime_conversation.rs"},"region":{"startLine":1692}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10dbbc1c48b33c902d228d3048db4ff8277d7386ea2e1190c4f83b3304d0c28"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::session::handlers::shutdown_session_runtime (cognitive 23): codex_core::session::handlers::shutdown_session_runtime has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/handlers.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"24de86e044277aea2a5297c2bb0c435f76f4169b3b4e2393b76ffff92bfe71b2"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core_plugins::agent_plugin_manifest::parse_agent_plugin_manifest_uri (cognitive 23): codex_core_plugins::agent_plugin_manifest::parse_agent_plugin_manifest_uri has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (19 pts), loops 3 (4 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/agent_plugin_manifest.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd515742b8e0c84027d29d26bb6af333ef66d2e5f4df4b32494c496c48bfbac0"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core_plugins::loader::load_plugin_mcp_servers_from_manifest_with_format (cognitive 23): codex_core_plugins::loader::load_plugin_mcp_servers_from_manifest_with_format has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 3 (7 pts), match/switch 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/loader.rs"},"region":{"startLine":1521}}}],"partialFingerprints":{"codehealthFindingId/v1":"e98fbf24f79537b837122071773f263da7b93b22ff073342b6f21c9c9db696b8"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_git_attribution::policy::resolve_attribution_policy (cognitive 23): codex_git_attribution::policy::resolve_attribution_policy has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (16 pts), match/switch 2 (5 pts), boolean chains 1, loops 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":"codex-rs/ext/git-attribution/src/policy.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f5e83b94f7635841b0a5ebf9d8dcb1a5e582a146e56e4918d1175888856dd6"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_skills_extension::loader::host_merge::load_and_merge_host_skill_roots_with_request_snapshots (cognitive 23): codex_skills_extension::loader::host_merge::load_and_merge_host_skill_roots_with_request_snapshots has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 4, match/switch 2 (4 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/skills/src/loader/host_merge.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a65c1cddb5410f82a3d8ea3a618a6594c0aa7c96b64155616af8d0555af6d7b"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_external_agent_migration::mcp::mcp_server_toml_table (cognitive 23): codex_external_agent_migration::mcp::mcp_server_toml_table has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (23 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/external-agent-migration/src/mcp.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc6c784300176f625f23715cdc13b4279faf0367767b0b32f8fb35ce1b8260e"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_external_agent_migration::sessions::records_cla::summarize_session (cognitive 23): codex_external_agent_migration::sessions::records_cla::summarize_session has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/external-agent-migration/src/sessions/records_cla.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"54433b6622e86f7c2c257fb66584b7fd81d02c9841eec7dfb9268fc96822ec95"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_git_utils::apply::unescape_c_string (cognitive 23): codex_git_utils::apply::unescape_c_string has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (13 pts), match/switch 2 (6 pts), loops 2 (4 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":"codex-rs/git-utils/src/apply.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0705240e4ca5351b8b9b8b7d61079c949e1b54945915e687ef215282f4f29f"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_message_history::lookup_history_entry (cognitive 23): codex_message_history::lookup_history_entry has cognitive complexity 23 (threshold 15). Drivers by points: match/switch 5 (13 pts), if/else 2 (5 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 13). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/message-history/src/lib.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f316d460a268139888be077fbeb5762414aac659f745ff7056d479b94a4ee1"}},{"ruleId":"D2","level":"warning","message":{"text":"CredentialBrokerState::environment (cognitive 23): CredentialBrokerState::environment has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 8 (9 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/credential_broker/environment.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8ea59c2c697c0e0cdf13c84f3319d7243acc1f3630ffa7088e29ef38a6e7f6"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_prompts::update_plan_instructions::without_update_plan_instructions (cognitive 23): codex_prompts::update_plan_instructions::without_update_plan_instructions has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 7, loops 2 (4 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":"codex-rs/prompts/src/update_plan_instructions.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a78c76a14c529fb0c0a77a4eb2d38124f12fee14343acac59b503905e8415f"}},{"ruleId":"D2","level":"warning","message":{"text":"Discovery::handle_reply (cognitive 23): Discovery::handle_reply has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 9, match/switch 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/local_stdio_transport.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f06c329c373d8c54841d35606abf53b87b3c84acc93937eca87d9ab6dd0ef4d"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_rmcp_client::request_input::request (cognitive 23): codex_rmcp_client::request_input::request has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (10 pts), match/switch 3 (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":"codex-rs/rmcp-client/src/request_input.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"880d34af27ffd83b900c893a3e78d94e2e5992ab5c94aea70a48afd71f39e0b7"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_rollout::list::find_thread_path_by_id_str_in_subdir (cognitive 23): codex_rollout::list::find_thread_path_by_id_str_in_subdir has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (12 pts), match/switch 5 (9 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout/src/list.rs"},"region":{"startLine":1273}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4bbfac3c064ba1306a0c35f0397679d34079ec286148d8147a70753ab7e3e89"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_rollout::metadata::collect_rollout_paths (cognitive 23): codex_rollout::metadata::collect_rollout_paths has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (12 pts), match/switch 3 (8 pts), loops 2 (3 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":"codex-rs/rollout/src/metadata.rs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"871a95df4a3e1ca08feb98d921b2beaa7730a53c9381edcbca2d5d16e7ffe4ea"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_sandboxing::seatbelt::build_seatbelt_unreadable_glob_policy (cognitive 23): codex_sandboxing::seatbelt::build_seatbelt_unreadable_glob_policy has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 3 (6 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":"codex-rs/sandboxing/src/seatbelt.rs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb39efc8fcb4205787f990e58cd64505f9b992dc7f822ddfc584dbc0d792c801"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_state::runtime::reclamation::reclaim_pages (cognitive 23): codex_state::runtime::reclamation::reclaim_pages has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 5, match/switch 2 (3 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/state/src/runtime/reclamation.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa22002393e71b1037a3c3455e1239b2b21a742cf5c69d572f962febebcf75c9"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_thread_store::local::thread_rollout_resolver::resolve (cognitive 23): codex_thread_store::local::thread_rollout_resolver::resolve has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (14 pts), match/switch 3 (7 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/thread_rollout_resolver.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa3b48d5a19ea11e80883c2bc111900a5e944b61a0e4ac656a46de8a2dcb341"}},{"ruleId":"D2","level":"warning","message":{"text":"App::handle_shared_app_keymap_action (cognitive 23): App::handle_shared_app_keymap_action has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 4 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/input.rs"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5141bb405b6b568137928668bced15f92e82cfd46904b3f56ab74c6f75a031d"}},{"ruleId":"D2","level":"warning","message":{"text":"App::start_managed_worktree (cognitive 23): App::start_managed_worktree has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 6, match/switch 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":"codex-rs/tui/src/app/managed_worktree_creation.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9b431a9802aa008ea0fa3a2c07961a31256d96e89107611912ed16352ad4d1"}},{"ruleId":"D2","level":"warning","message":{"text":"App::resume_config_for_target (cognitive 23): App::resume_config_for_target has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (15 pts), match/switch 4 (6 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/resume_config.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7755d5420cd5b55801a2f5c3e10eef4440d548e3255c5dec405164d3cc93d6"}},{"ruleId":"D2","level":"warning","message":{"text":"App::retry_safety_buffered_turn (cognitive 23): App::retry_safety_buffered_turn has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (18 pts), match/switch 3, boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"codex-rs/tui/src/app/safety_buffering.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"665b99836866bcea4a818f8569e2f18a973c51daffe6d7c6086daad8517c692d"}},{"ruleId":"D2","level":"warning","message":{"text":"App::adopt_fresh_session (cognitive 23): App::adopt_fresh_session has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (17 pts), match/switch 2 (4 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/session_lifecycle.rs"},"region":{"startLine":1411}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b5da465b505c64c7f91065bc25975a78be12770cef0f76671d6cfdda2746ac"}},{"ruleId":"D2","level":"warning","message":{"text":"App::finish_saved_chat (cognitive 23): App::finish_saved_chat has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 6, match/switch 2 (4 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/sidebar_loading.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"08bd1dbba2b87e5d5e1d9d7266ac9b973be07a454d5c074ac82f0726a696bc02"}},{"ruleId":"D2","level":"warning","message":{"text":"AppServerSession::side_chat_prompt (cognitive 23): AppServerSession::side_chat_prompt has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (12 pts), match/switch 3 (10 pts), loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app_server_session/side_chat_history.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"5519aaaabd3dc1d19d7b781dbf8c1019f0da90c2b40f9630184e4abf1eba2670"}},{"ruleId":"D2","level":"warning","message":{"text":"TextArea::handle_mouse (cognitive 23): TextArea::handle_mouse has cognitive complexity 23 (threshold 15). Drivers by points: if/else 17 (19 pts), boolean chains 3, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/textarea/mouse.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48ae346c0c7ba6b771736e7968177d45cc096879d1077c8118ade343bb310ab"}},{"ruleId":"D2","level":"warning","message":{"text":"TextArea::input_with_keymap (cognitive 23): TextArea::input_with_keymap has cognitive complexity 23 (threshold 15). Drivers by points: if/else 21 (22 pts), boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/textarea.rs"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39f8b91b67990f9cae20693b74ee5806dd5eb6478a790183d3a74f0b62c7802"}},{"ruleId":"D2","level":"warning","message":{"text":"TextArea::move_cursor_up (cognitive 23): TextArea::move_cursor_up has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (19 pts), match/switch 2 (4 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":"codex-rs/tui/src/bottom_pane/textarea.rs"},"region":{"startLine":1497}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3fd2e9f1229506988ef87d5f0e893619b1e53397bccee8395888cb10ce92ea9"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::on_ctrl_c (cognitive 23): ChatWidget::on_ctrl_c has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/interaction.rs"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"3925188570ffeead25acf7e87dec8c0062955565f5dda68dd7568fc24ce45477"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::open_legacy_permissions_popup (cognitive 23): ChatWidget::open_legacy_permissions_popup has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 8, match/switch 1 (2 pts), 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":"codex-rs/tui/src/chatwidget/permission_popups.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"02cb6c1459ea6b27013ac75a26cea33f34b18cb82bfc743790dd09863c5e5f0d"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::on_realtime_conversation_closed (cognitive 23): ChatWidget::on_realtime_conversation_closed has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 7, match/switch 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/realtime.rs"},"region":{"startLine":1763}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b156e58c1323a306b84ec63dfb21ea41ea339b4d577efa99997a334337e12ff"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::flush_answer_stream (cognitive 23): ChatWidget::flush_answer_stream has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/streaming.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"4901a32784f7be335670d8ff0b3589ba79c0b9257560cdb4443cc2c8694a9129"}},{"ruleId":"D2","level":"warning","message":{"text":"Writer::render_table_lines (cognitive 23): Writer::render_table_lines has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 6 (7 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":"codex-rs/tui/src/markdown_render.rs"},"region":{"startLine":1469}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5dd9d715ef358178a811d8fa009b73ca10f17b1cf3be57a03717fbc183f8a24"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptOverlay::handle_key (cognitive 23): TranscriptOverlay::handle_key has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 9 (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":"codex-rs/tui/src/pager_overlay/transcript.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0cc2b064c56fb81e884dd867651163a83b159ffc0016a489aefc95979b6bca5"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptView::next_search_match (cognitive 23): TranscriptView::next_search_match has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/transcript_view/search.rs"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c825f29ca0838fa71b6f8b65fdeab3aec9d190709a5cff46eaa82e092e21fe"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::config_update::read_remote_project_trust (cognitive 23): codex_tui::config_update::read_remote_project_trust has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 11, if/else 10, match/switch 2. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/config_update.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20757404a6929ba40671905838b6bde7fbc8b4d046d9a3afb63148bcccb74c2"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::daemon_recovery::check (cognitive 23): codex_tui::daemon_recovery::check has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 3 (5 pts), boolean chains 4, 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":"codex-rs/tui/src/daemon_recovery.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee81980794db460f3212fe32806e5ab50a449a679c5a05ea521d269ade70a46"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::history_cell::messages::build_user_message_lines_with_elements (cognitive 23): codex_tui::history_cell::messages::build_user_message_lines_with_elements has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/history_cell/messages.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"61fabd4abd4dde031a8c7490b36707f0fb71c5fe424f152af708c7f62fca7ac3"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::resume_picker_transcript_preview::load_transcript_preview (cognitive 23): codex_tui::resume_picker_transcript_preview::load_transcript_preview has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (18 pts), boolean chains 2, loops 1 (2 pts), match/switch 1 (nesting depth added 12). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/resume_picker_transcript_preview.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb10877e4ba7e1911b13434c845cbc5268d1bfdaf01cf19d30414503b3e02944"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::startup_hooks_review::run_startup_hooks_review_app (cognitive 23): codex_tui::startup_hooks_review::run_startup_hooks_review_app has cognitive complexity 23 (threshold 15). Drivers by points: match/switch 4 (12 pts), if/else 4 (10 pts), loops 1 (nesting depth added 14). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/startup_hooks_review.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb8199578ff5ce021ef28971acd0862c20355fa710318b3905446c6a4c5a554"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::statusline_provider::discovery::discover (cognitive 23): codex_tui::statusline_provider::discovery::discover has cognitive complexity 23 (threshold 15). Drivers by points: match/switch 3 (8 pts), if/else 2 (7 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/statusline_provider/discovery.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e3ebe4472b4e2eb31c4996d34dbff15cdd4d56623a9277485b7b6ecf55ad90"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::tui::job_control::suspend_process (cognitive 23): codex_tui::tui::job_control::suspend_process has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/tui/job_control.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d41fe9bef647e4ce81d39d75416f94e2a6e4e479a6ead8405998614583a86c"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_windows_sandbox_service::ipc::home::prepare_codex_home (cognitive 23): codex_windows_sandbox_service::ipc::home::prepare_codex_home has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (18 pts), loops 2 (3 pts), boolean chains 1, match/switch 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":"codex-rs/windows-sandbox-service/src/ipc/home.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3017fd2917f1d51c7153bb73b9aeef416a41be4ac25daffe42a6ac628660731b"}},{"ruleId":"D2","level":"warning","message":{"text":"AppServerClient.wait_for_notification (cognitive 23): AppServerClient.wait_for_notification has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 5, error handling 1 (2 pts), loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mcp_conformance/run_codex_compliance.py"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"171681000deccade59fc085683116451d9ef4c527a6524cb222fc5ef83b93561"}},{"ruleId":"D2","level":"warning","message":{"text":"errors._is_server_overloaded (cognitive 23): errors._is_server_overloaded has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 2 (5 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdk/python/src/openai_codex/errors.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e469863c2264bb7e0af35411e3bc7871cc1952446e44756677d5cd5bcba6fb68"}},{"ruleId":"D2","level":"warning","message":{"text":"resolve_python_cli_release.resolve_release (cognitive 23): resolve_python_cli_release.resolve_release has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 8, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/resolve_python_cli_release.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea438a61e15adf1e108a309f1429e81ead68c975d3c4b025d06f74776ebdf89"}},{"ruleId":"D2","level":"warning","message":{"text":"CredentialProviderEdits::apply_provider_merge (cognitive 22): CredentialProviderEdits::apply_provider_merge has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/config_manager_service_credential_edits.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e617db5116ccb26e8f6a30b1a5a6582b261c5bcbee7faf6309a43f88198a3f"}},{"ruleId":"D2","level":"warning","message":{"text":"ThreadRequestProcessor::thread_start_task (cognitive 22): ThreadRequestProcessor::thread_start_task has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (12 pts), match/switch 5 (6 pts), boolean chains 3, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":1450}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eec76f6abf41e1fdffb4781da431600595c487b3274ca102ace2cb44c9906a5"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server_daemon::background_command::set_working_directory (cognitive 22): codex_app_server_daemon::background_command::set_working_directory has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 4, loops 1, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-daemon/src/background_command.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"39326362321e5e4aca48de914a5bd8ae4b79df4c3ae330e208f678eb8683fd48"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_code_mode_runtime::runtime::run_runtime (cognitive 22): codex_code_mode_runtime::runtime::run_runtime has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (16 pts), match/switch 4 (5 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":"codex-rs/code-mode-runtime/src/runtime/mod.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b3529ff62acded1224ce0befced3d18ed59d3a2dfa17ebb200a83ce4371972"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_code_mode_runtime::ui::workers::run (cognitive 22): codex_code_mode_runtime::ui::workers::run has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 3 (4 pts), match/switch 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/code-mode-runtime/src/ui/workers.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c80f35b80475f7195f7a4f115819e27f855c95b45fe6379be2c659949ff743"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_api::endpoint::realtime_websocket::methods::websocket_url_from_api_url (cognitive 22): codex_api::endpoint::realtime_websocket::methods::websocket_url_from_api_url has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 4, loops 1 (3 pts), match/switch 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":"codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rs"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58f6ec5ebda84832e3e0ba3ba484ee6c9bd3d29676baf7c32490066893221c2"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_mcp::codex_apps::file_params::openai_file_schema_info (cognitive 22): codex_mcp::codex_apps::file_params::openai_file_schema_info has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-mcp/src/codex_apps/file_params.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b0ed566a110815e49dd06bb85a912581a3ac7e10302295d6b4264e7f328776"}},{"ruleId":"D2","level":"warning","message":{"text":"CapturedRootConversation::prepare (cognitive 22): CapturedRootConversation::prepare has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 7, match/switch 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/agent/control/user_authorization.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac18ecb0471d57ecd7555cfc693095133398f81332bf0e27598661198f979a7d"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::client_common::normalize_image_details (cognitive 22): codex_core::client_common::normalize_image_details has cognitive complexity 22 (threshold 15). Drivers by points: if/else 3 (12 pts), loops 3 (8 pts), match/switch 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/client_common.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"41975feeb8c62a58cb71721c7724af2cb6de11f6e8418ccf15f9874b1affe4dd"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::mcp_tool_call::handle_mcp_tool_call (cognitive 22): codex_core::mcp_tool_call::handle_mcp_tool_call has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (13 pts), match/switch 4 (7 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/mcp_tool_call.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"867d33e3be4a61d2c2240a88cc7997f1881914e9ac1543ebf81469fdf6729091"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginsManager::run_remote_installed_plugins_cache_refresh_loop (cognitive 22): PluginsManager::run_remote_installed_plugins_cache_refresh_loop has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (12 pts), match/switch 3 (6 pts), boolean chains 3, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/manager.rs"},"region":{"startLine":3484}}}],"partialFingerprints":{"codehealthFindingId/v1":"1102253bedf4ab99813e81d885a86b765db15b485464dc3182103f527168f335"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpResponseBodyStream::recv_inner (cognitive 22): HttpResponseBodyStream::recv_inner has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (16 pts), match/switch 3 (6 pts) (nesting depth added 12). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/client/http_response_body_stream.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b02ef64288cd2e4673e7b2d5844cf16990becd707d2bf3a3b302f670a30ba34"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecServerClient::start_process (cognitive 22): ExecServerClient::start_process has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (17 pts), match/switch 2 (3 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/client.rs"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a91bb4e032f7e2d48859e5e384ae82f8da3c81947fbba9fa0ffef5e244736fe"}},{"ruleId":"D2","level":"warning","message":{"text":"ShadowTaskContext::begin_turn (cognitive 22): ShadowTaskContext::begin_turn has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 5, loops 2 (4 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":"codex-rs/ext/skills/src/shadow_selection_experiment/task_context.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb7570f1f5b6343f489f4a87b3263bc12df1b4e48758960afd376054c65076d"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_skills_extension::catalog_delta::build_catalog_update (cognitive 22): codex_skills_extension::catalog_delta::build_catalog_update has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 7, loops 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/skills/src/catalog_delta.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"0309015cb92c6986d96dc6ca83b73d316205203b76b5c4dfd52e282a8274d256"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_git_utils::info::get_default_branch (cognitive 22): codex_git_utils::info::get_default_branch has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/git-utils/src/info.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"9818952cea4c62a779f574f99289881c9c1aba3dbca7906a70015167a646cb60"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_git_utils::trust::resolve_root (cognitive 22): codex_git_utils::trust::resolve_root has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 4, match/switch 3 (4 pts), loops 1 (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":"codex-rs/git-utils/src/trust.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3d99a47ae399c14fa29b6f1ae22305a6198531efcf5be97750baa468ad6f28"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_guardian_context::allocation::collect_demand (cognitive 22): codex_guardian_context::allocation::collect_demand has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (9 pts), match/switch 3 (6 pts), loops 3 (5 pts), boolean chains 2 (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":"codex-rs/guardian-context/src/allocation.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ddf6bbc4a7dc768ab6784beece0ed493d8fe055e0e17f8f040979c145d9e714"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_hooks::events::compact::parse_completed (cognitive 22): codex_hooks::events::compact::parse_completed has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (19 pts), match/switch 2 (3 pts) (nesting depth added 13). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/hooks/src/events/compact.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2bb7aeac8228e95ee668804a94191b515677befb532f3bb4bc6e357f504347"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_linux_sandbox::proxy_lifecycle::detach_bridge_stdio (cognitive 22): codex_linux_sandbox::proxy_lifecycle::detach_bridge_stdio has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (21 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":"codex-rs/linux-sandbox/src/proxy_lifecycle.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa693eb64b6de4561e269ae4a7e58bd9144bee23bdc45bb8b0d92046957e602e"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_memories_write::phase2::agent::handle (cognitive 22): codex_memories_write::phase2::agent::handle has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (16 pts), match/switch 2 (4 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/memories/write/src/phase2.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"d695c20499e78cd32bb5ac9d27b9d0cd9fda6bf922e47ec4e21445066d3f47e3"}},{"ruleId":"D2","level":"warning","message":{"text":"AwsSigV4Signer::sign (cognitive 22): AwsSigV4Signer::sign has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (14 pts), loops 4, boolean chains 2, match/switch 1 (2 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/aws_sigv4.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e81a5b8ea9fb50e17b3a9524a2940adf5d082e099d8a378f6a06c58d706edcd"}},{"ruleId":"D2","level":"warning","message":{"text":"BodySecretSubstitution::apply (cognitive 22): BodySecretSubstitution::apply has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 4 (5 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/secret_substitution.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3a1e74bd413451a35930459a418e9a3461f28646bda636bb2a72d8fda07865"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalFileSystemPolicyMatcher::can_write_path (cognitive 22): LocalFileSystemPolicyMatcher::can_write_path has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (5 pts), boolean chains 3 (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":"codex-rs/protocol/src/permissions/local_aliases.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"7152b1de23f5218f73481021c64d15e755784aa409cc410a834c007f1f2f9f1c"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalStdioServerLauncher::launch_server (cognitive 22): LocalStdioServerLauncher::launch_server has cognitive complexity 22 (threshold 15). Drivers by points: match/switch 7 (12 pts), if/else 6, boolean chains 3, loops 1 (nesting depth added 5). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/stdio_server_launcher.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dbb5e8813b5dcd42e825f6f0231680635dd13f743895594c37aa3e79bf979a5"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_rmcp_client::rmcp_client::active_time_timeout (cognitive 22): codex_rmcp_client::rmcp_client::active_time_timeout has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (16 pts), match/switch 2 (5 pts), 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":"codex-rs/rmcp-client/src/rmcp_client.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab9c1598f5e1399e6ca0698a81e0625f903087de4cb54aa910ad47c005ed3c3"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_rollout::list::read_head_for_summary (cognitive 22): codex_rollout::list::read_head_for_summary has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (18 pts), match/switch 1 (3 pts), 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":"codex-rs/rollout/src/list.rs"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddcbad205febccbe59b92c284480caba7baca1860ed024ba427649fa396aa500"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_shell_command::bash::try_parse_word_only_commands_sequence (cognitive 22): codex_shell_command::bash::try_parse_word_only_commands_sequence has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 3 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/shell-command/src/bash.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca020a1606c55c8e3faf919d71edf5b7fea5bb968c60b5cac92fd2b629ed79ba"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_skills::mentions::extract_tool_mentions_with_sigil (cognitive 22): codex_skills::mentions::extract_tool_mentions_with_sigil has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/skills/src/mentions.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"e133c20888612996cabfe23fe4abcbbab915266f902b50e389ef32ddfd8e9f0a"}},{"ruleId":"D2","level":"warning","message":{"text":"StateRuntime::start_periodic_logs_maintenance (cognitive 22): StateRuntime::start_periodic_logs_maintenance has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 2 (3 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/state/src/runtime/logs_maintenance.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ff75f5051870083884fe87b6f3fee206d968786fed27953f9c88a38526577a"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_thread_store::local::model_context::load_for_fork (cognitive 22): codex_thread_store::local::model_context::load_for_fork has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 2 (5 pts), match/switch 2 (4 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":"codex-rs/thread-store/src/local/model_context.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"8add95cb4f6589eea7c212792daf86f42a154a7081ef3fab392910f6d9a8d4a0"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_thread_store::local::thread_history::realtime::list_timeline (cognitive 22): codex_thread_store::local::thread_history::realtime::list_timeline has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 3 (4 pts), match/switch 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/thread_history/realtime.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"764389136239221291e0d3a016d56efb647e80d551694db51985aba3e18ec936"}},{"ruleId":"D2","level":"warning","message":{"text":"ThreadEventStore::snapshot (cognitive 22): ThreadEventStore::snapshot has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 6, match/switch 5 (6 pts), loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/thread_events.rs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa61f2ddb69da601cf5bfe063e5e39144b850bf47871f238e96e6d14df7e2640"}},{"ruleId":"D2","level":"warning","message":{"text":"App::finish_clipboard (cognitive 22): App::finish_clipboard has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 2 (4 pts), boolean chains 3 (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":"codex-rs/tui/src/app/clipboard.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"068835ad42f1a2690a51432da6b4ce576582552629a0e385984d808e08e6e38b"}},{"ruleId":"D2","level":"warning","message":{"text":"App::replay_thread_snapshot (cognitive 22): App::replay_thread_snapshot has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 2, loops 2, match/switch 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/thread_routing.rs"},"region":{"startLine":1882}}}],"partialFingerprints":{"codehealthFindingId/v1":"24acb3ba13f3d2dd2821a917d1da6d15175ed9b70a6fb7aa089cb0338d2020e1"}},{"ruleId":"D2","level":"warning","message":{"text":"App::handle_backtrack_preview_key (cognitive 22): App::handle_backtrack_preview_key has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 1, match/switch 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":"codex-rs/tui/src/app_backtrack/legacy_input.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ded892a99991845aece0daefbe1d542d37cf5b27adb1333c9aff09a3dce2185"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatComposer::handle_non_ascii_char (cognitive 22): ChatComposer::handle_non_ascii_char has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (18 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 12). 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":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":2140}}}],"partialFingerprints":{"codehealthFindingId/v1":"135cbd49f5ae68aec3215d5dd48029591bf0effb994bba1fa224e73a7aaa3f4c"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestUserInputOverlay::footer_tips (cognitive 22): RequestUserInputOverlay::footer_tips has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 5 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/request_user_input/mod.rs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"e62fc320f5e80a8f13eeb8595c99f3bdc5fea3b3611b9e248db0457a7c9967e9"}},{"ruleId":"D2","level":"warning","message":{"text":"TextArea::paired_text_object_range (cognitive 22): TextArea::paired_text_object_range has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (15 pts), match/switch 1 (4 pts), boolean chains 2, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/textarea/vim.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b8b9165feb4e93d4f85005b0c0bee79f753eb91540f8e4c5f166dff2744264"}},{"ruleId":"D2","level":"warning","message":{"text":"TextArea::apply_vim_operator (cognitive 22): TextArea::apply_vim_operator has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 7 (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":"codex-rs/tui/src/bottom_pane/textarea.rs"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"5836cf0dda38e2fe07df6b8d895de4bafe4f6d3bda1ccb9f1af1295fb571a7a2"}},{"ruleId":"D2","level":"warning","message":{"text":"TextArea::move_cursor_down (cognitive 22): TextArea::move_cursor_down has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (19 pts), match/switch 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/textarea.rs"},"region":{"startLine":1568}}}],"partialFingerprints":{"codehealthFindingId/v1":"14cb7b3add4d1ea81774aa09e70cdc660c11b2d13e04e6eabfc7050d7ca8f00f"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::handle_composer_input_result (cognitive 22): ChatWidget::handle_composer_input_result has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 6, match/switch 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":"codex-rs/tui/src/chatwidget/input_flow.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"df68ce03e831bce0def9bf72de0becd3c385dc918cf8027854f8cd1b4eb16afb"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::bottom_pane_renderable (cognitive 22): ChatWidget::bottom_pane_renderable has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 5 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/rendering.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab4d3595df297ab1b40c4d9352d84d17c39abba2126b84b59e3e34ebcdb6ab1"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::on_committed_user_message (cognitive 22): ChatWidget::on_committed_user_message has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 7, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget.rs"},"region":{"startLine":1354}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46e76468031a017b29bece722ae5ed181b8ed9b7f7aa288659eae44c9c1bc4b"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecCell::compact_command_lines (cognitive 22): ExecCell::compact_command_lines has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/exec_cell/compact.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3bf8bff0c04da282a46124e52621c24c52c93b03b459ea45b85a453059f6b5"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptView::move_cell_text_cursor (cognitive 22): TranscriptView::move_cell_text_cursor has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (5 pts), boolean chains 2, match/switch 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":"codex-rs/tui/src/transcript_view/select_mode/table.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd56fb5c3824e07dfac0d019beac9d962202c16ddf17c094461da7438c45947"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::bottom_pane::chat_composer::sparkle_field::render_stars (cognitive 22): codex_tui::bottom_pane::chat_composer::sparkle_field::render_stars has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (18 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":"codex-rs/tui/src/bottom_pane/chat_composer/sparkle_field.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"591300b66ca5130cfe8e30e158234afd08961c5cac4e15376e04d0a929e26d91"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::chatwidget::skills::extract_tool_mentions_from_text_with_sigil (cognitive 22): codex_tui::chatwidget::skills::extract_tool_mentions_from_text_with_sigil has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/skills.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2c846fad7cdf040e92ed06f35f0435a0326506a6651e84d3e22328f0f5b2d6"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::chatwidget::user_messages::mention_bindings_from_user_inputs (cognitive 22): codex_tui::chatwidget::user_messages::mention_bindings_from_user_inputs has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 3, loops 2 (3 pts), match/switch 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":"codex-rs/tui/src/chatwidget/user_messages.rs"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"409d5b4af51d6487de1c0873c70f57a9bdb4b67d49264de867639db5f4d3ca22"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::goal_files::materialize_goal_draft (cognitive 22): codex_tui::goal_files::materialize_goal_draft has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 2, match/switch 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/goal_files.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac08134b17c93ac50006926fcf6634d822b16b2d53c3ddbf01708419a9f19668"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::inline_visualization::rewrite_inline_visualizations (cognitive 22): codex_tui::inline_visualization::rewrite_inline_visualizations has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 5, loops 2, match/switch 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":"codex-rs/tui/src/inline_visualization.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f54f7ae09250e2f1783ae4fee221bed8a4327d7d1b00e98a7804969ae66eda1"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::thread_transcript::item_to_cells (cognitive 22): codex_tui::thread_transcript::item_to_cells has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 1, match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/thread_transcript.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf866696eb48a63b40fd920d5479e03ff71957b5252b569c3baea42fb35c3c8"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::wrapping::map_owned_wrapped_line_to_range (cognitive 22): codex_tui::wrapping::map_owned_wrapped_line_to_range has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 2, loops 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/wrapping.rs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7bf650160ed053c4adc37d93997526016cb3a231012988d18c247bd13b30ec4"}},{"ruleId":"D2","level":"warning","message":{"text":"PathUri::join (cognitive 22): PathUri::join has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 3, loops 2 (3 pts), match/switch 2 (3 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/utils/path-uri/src/lib.rs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"a837668929e912cdbe137c8adb25be4321c31623bdc9ded5650c37ddedf5906d"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_utils_pty::linux_fds::close_from_proc (cognitive 22): codex_utils_pty::linux_fds::close_from_proc has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/utils/pty/src/linux_fds.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"867f4da7bc2bcfc28e9ee7df1d4a5e97ece7e9c49dd43811bd9def582620debf"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_windows_sandbox::provisioning_client::connect (cognitive 22): codex_windows_sandbox::provisioning_client::connect has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (17 pts), match/switch 2 (4 pts), 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":"codex-rs/windows-sandbox-rs/src/provisioning_client.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f60f55df7ec5d5f710acd422d484c4514afec9a9cdd41128a8eb79e013e511b"}},{"ruleId":"D2","level":"warning","message":{"text":"update_sdk_artifacts._annotation_to_source (cognitive 22): update_sdk_artifacts._annotation_to_source has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 3 (6 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdk/python/scripts/update_sdk_artifacts.py"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"4daadcac148c1a1988541d02c078e70b8ed54eb69a912c33728ba2b01c887c01"}},{"ruleId":"D2","level":"warning","message":{"text":"issue_labeler.suggest_labels (cognitive 22): issue_labeler.suggest_labels has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (10 pts), error handling 3 (8 pts), boolean chains 3, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/issue_labeler.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"752706ac2bbaafb753febb835dfb9f5eebfc7ca8b415330ec4af6db0ed98eaa6"}},{"ruleId":"D2","level":"warning","message":{"text":"PidBackend::finish_updater_start (cognitive 21): PidBackend::finish_updater_start has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 2 (4 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-daemon/src/backend/pid_windows.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12001ebc158cff87b19ab080bda5be55105674afef9ab7cbc66a5005d4feb4d"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server_transport::transport::websocket::run_websocket_inbound_loop (cognitive 21): codex_app_server_transport::transport::websocket::run_websocket_inbound_loop has cognitive complexity 21 (threshold 15). Drivers by points: match/switch 5 (12 pts), if/else 3 (8 pts), loops 1 (nesting depth added 12). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-transport/src/transport/websocket.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a327d8bb1b8efe6115f5ee2ad06c3f1c8c90d0ad8ef9ba23a5f1571fc1c5338"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_cli::doctor::filesystem_paths::source (cognitive 21): codex_cli::doctor::filesystem_paths::source has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3, match/switch 2 (3 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":"codex-rs/cli/src/doctor/filesystem_paths.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"deeeeb6b919f316ab6de70f239d7064a6b6810074520c4ff540ef3eaeae41511"}},{"ruleId":"D2","level":"warning","message":{"text":"Apply::run (cognitive 21): Apply::run has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 4, match/switch 3 (4 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cloud-tasks-client/src/http.rs"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2d4d94fb8f20772f8c67cb16a7a8e7087dcee0efadb02d394ccea30dd7db25"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_code_mode_runtime::runtime::audio::wav_duration_seconds (cognitive 21): codex_code_mode_runtime::runtime::audio::wav_duration_seconds has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/code-mode-runtime/src/runtime/audio.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c8285de62f5f57f4e7af79c225a3e45c6cd73f911eb6ab222b9b85a5a5eb74"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextManager::record_retained_message (cognitive 21): ContextManager::record_retained_message has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 10, if/else 7 (9 pts), match/switch 1 (2 pts) (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/context_manager/history_user_authorization.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40601e4432b9ce9caa858d1fae05d6975e79443485dd0e7dd5c06dd81b79d53"}},{"ruleId":"D2","level":"warning","message":{"text":"RealtimeConversationManager::handoff_out (cognitive 21): RealtimeConversationManager::handoff_out has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 3, match/switch 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":"codex-rs/core/src/realtime_conversation.rs"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2fb786b1f23ff8ad3e1dab133a1290ec57420a271f47bce3eae4be756b5c02"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::update_environment_configuration (cognitive 21): Session::update_environment_configuration has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 5, match/switch 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/environment.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eeafa010d232a34f7231232ed3acf6adacfb49a025ea1bfcacf7097b6a69b40"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::apply_turn_settings (cognitive 21): Session::apply_turn_settings has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12, boolean chains 8, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/step_activation.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"3933f3b5242140880335a385a0a5ed9c1cdb519f861bf6dbe69c10b649db2301"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutedToolCalls::record_nested_tool_call (cognitive 21): ExecutedToolCalls::record_nested_tool_call has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/executed_tool_calls.rs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"deeac5d6f648107a0f4fecb7c068cc5b642124eea1cb0edf463735c7c4f505ce"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::config::permissions::compile_resolved_permission_profile (cognitive 21): codex_core::config::permissions::compile_resolved_permission_profile has cognitive complexity 21 (threshold 15). Drivers by points: loops 3 (11 pts), if/else 6 (9 pts), boolean chains 1 (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":"codex-rs/core/src/config/permissions.rs"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da2fe949648f436f06c77d6d6ee9b5068a68d49af23436ad8e6ba3edb272196"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::connectors::list_accessible_connectors_from_mcp_tools_with_mcp_manager (cognitive 21): codex_core::connectors::list_accessible_connectors_from_mcp_tools_with_mcp_manager has cognitive complexity 21 (threshold 15). Drivers by points: if/else 16 (17 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/connectors.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9be348b32ca7f6cce9244956c5fe2bfafb696e1bb1056a2e136938c088e1911"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::session::file_audio::prepare_new_items (cognitive 21): codex_core::session::file_audio::prepare_new_items has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/file_audio.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"03820c0409ba2142508aff56d0a5a91a41e8a3045fdf145d2a12ada2848c61b2"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::tools::handlers::request_permissions::resolve_permission_path_strings (cognitive 21): codex_core::tools::handlers::request_permissions::resolve_permission_path_strings has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/handlers/request_permissions.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9a8e9ea7579e78c363e0724e211e203233871940f7500454f6f89d68c9203d"}},{"ruleId":"D2","level":"warning","message":{"text":"EventProcessorWithHumanOutput::process_server_notification (cognitive 21): EventProcessorWithHumanOutput::process_server_notification has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (12 pts), match/switch 3 (6 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec/src/event_processor_with_human_output.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"2499577b31056f6240dac1efeca7aaa517064659888842d8168b3284929ae3b5"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_exec::daybreak::program_for_turn (cognitive 21): codex_exec::daybreak::program_for_turn has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (15 pts), match/switch 2 (5 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec/src/daybreak.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"16503c30a3ef0bbf51a7f4c675fb7830631f99fa15146fe916f550a586d9189b"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutorCapabilityDiscoveryCache::discover (cognitive 21): ExecutorCapabilityDiscoveryCache::discover has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (13 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/capability_discovery_cache.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32e71769484557538f413355806d927cee61aa72139a2f359bfcab3b88a5074"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_exec_server::process_sandbox::prepare_exec_request_with_telemetry (cognitive 21): codex_exec_server::process_sandbox::prepare_exec_request_with_telemetry has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 5, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/process_sandbox.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd3f9df704230acbbdd3cc2e8293c88f6951aa9dae8c24bef71b0e9af0940de"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_skills_extension::invocation::detect_implicit_skill_invocation (cognitive 21): codex_skills_extension::invocation::detect_implicit_skill_invocation has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4, loops 2 (3 pts), match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/skills/src/invocation.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c208f838af568ed2d8c0e597c413c09cd91a4ca8f04c5589e744575b9d3dba09"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_feedback::upload::send_envelope (cognitive 21): codex_feedback::upload::send_envelope has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 8, match/switch 1 (2 pts), 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":"codex-rs/feedback/src/upload.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08eb7448ad1929bffdeb132634c4af891928f43ee52a6e9bbe47ecd4a099112"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_git_utils::apply::read_diff_git_token (cognitive 21): codex_git_utils::apply::read_diff_git_token has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (15 pts), match/switch 2 (3 pts), loops 2, 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":"codex-rs/git-utils/src/apply.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ef93e6f697a0cec7fa5e67fe5c0e37402c19abec74a2b1811c04d53e92eac3"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_git_utils::info::branch_remote_and_distance (cognitive 21): codex_git_utils::info::branch_remote_and_distance has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (16 pts), match/switch 2 (4 pts), 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":"codex-rs/git-utils/src/info.rs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"b725b4586c7335eff1fe53f8ebd3c476baadd4255805ba1a70f652e4e38d01fe"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_hooks::config_rules::hook_states_from_stack (cognitive 21): codex_hooks::config_rules::hook_states_from_stack has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 2 (3 pts), match/switch 1 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/hooks/src/config_rules.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c2f42bc3156ffa1e0a206dd00c7bce637981ff2aa038fa6ebde7fd1a87893c"}},{"ruleId":"D2","level":"warning","message":{"text":"CodexAuth::from_auth_dot_json (cognitive 21): CodexAuth::from_auth_dot_json has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (16 pts), match/switch 4 (5 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/login/src/auth/manager.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc86ffc60548f07731aad65982a6aa048dcb8a1bc34d0f2a432b2975b813983"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_login::server::run_login_server (cognitive 21): codex_login::server::run_login_server has cognitive complexity 21 (threshold 15). Drivers by points: match/switch 5 (12 pts), if/else 3 (7 pts), loops 2 (nesting depth added 11). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/login/src/server.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3b388bb7ab6c41852540b18daf0cf002c732ed9cec718869366baac23fe893"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalAgentMessageBoard::post_inner (cognitive 21): LocalAgentMessageBoard::post_inner has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (14 pts), loops 2 (4 pts), match/switch 2, boolean chains 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/message-board/src/local.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4152be55b8a3afd3fd77dee1deaae12ff47f038a1b9c4ab2a82e300c21618cf"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_message_history::batch::scan_batch_forward (cognitive 21): codex_message_history::batch::scan_batch_forward has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/message-history/src/batch.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d711773dbdcbd4f3b21239ba40214f7de8ec0de3d88b12bac4c708b7e87536b"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_network_proxy::proxy::apply_proxy_env_overrides (cognitive 21): codex_network_proxy::proxy::apply_proxy_env_overrides has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 2 (4 pts), match/switch 1 (2 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":"codex-rs/network-proxy/src/proxy.rs"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4a752e3f0fa8ce897abaeb72159bddc55f49a13899222d587395995d85f5c9"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_responses_api_proxy::forward_request (cognitive 21): codex_responses_api_proxy::forward_request has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (14 pts), match/switch 2 (3 pts), boolean chains 2, 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":"codex-rs/responses-api-proxy/src/lib.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc77c622c9b0be546c96ae4c6cfda5b9a07dc606860189de3d1dfdcf19e8f0f"}},{"ruleId":"D2","level":"warning","message":{"text":"EventNotificationTransport::receive (cognitive 21): EventNotificationTransport::receive has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/event_notification_transport.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"490e25ed72fbed66fdf24015e609c88e8730d06c47cdc307af94f2916408bcb9"}},{"ruleId":"D2","level":"warning","message":{"text":"RmcpClient::connect_pending_transport_with_initialize_retries (cognitive 21): RmcpClient::connect_pending_transport_with_initialize_retries has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (11 pts), match/switch 4 (8 pts), boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/streamable_http_retry.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fba906f046cab3ed5bc996b849c3298ac97dfdbe9dd518b134ae5b9e5fa8987"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_rmcp_client::utils::build_default_headers (cognitive 21): codex_rmcp_client::utils::build_default_headers has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (9 pts), match/switch 4 (8 pts), loops 2 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/utils.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eabdbaf44591cfe7618d9a4cfb9ab3c0579e943c6617ec60715e809779feade"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_rollout::search::scan_compressed_rollout_matches (cognitive 21): codex_rollout::search::scan_compressed_rollout_matches has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 4 (5 pts), match/switch 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout/src/search.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1c0662f30a1d22d214eb21a3fc04a240acc2b598e8ba65366e4851bf4083cd"}},{"ruleId":"D2","level":"warning","message":{"text":"StateRuntime::prune_logs_after_insert (cognitive 21): StateRuntime::prune_logs_after_insert has cognitive complexity 21 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 6 (9 pts), boolean chains 2 (nesting depth added 9). 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":"codex-rs/state/src/runtime/logs.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54a16f423cad3b765be80cd32e5fc4a79e57ea2a2565b262df45c594a28e26e"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_thread_store::local::helpers::resolve_thread_names (cognitive 21): codex_thread_store::local::helpers::resolve_thread_names has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (12 pts), match/switch 3 (6 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/helpers.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc9d90a8dbb516cecc6a498519e9caeadb4983f1347b87b79b990fd10a4609e"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentsOverviewView::render (cognitive 21): AgentsOverviewView::render has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 3, match/switch 2, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"codex-rs/tui/src/app/agent_center/render.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1898cb3f9f7b23ef9527c5610a4d4244247f0fb417f133992d4ad177ddb5d40"}},{"ruleId":"D2","level":"warning","message":{"text":"Draft::patch (cognitive 21): Draft::patch has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 5, match/switch 2 (3 pts), 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":"codex-rs/tui/src/app/provider/editor/form.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4d22a2e20c0e4a86494cb8bef50d1ad6876d4c9d3b0c5848e9ee0028500ee3"}},{"ruleId":"D2","level":"warning","message":{"text":"App::handle_polled_backend_event (cognitive 21): App::handle_polled_backend_event has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 3, match/switch 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":"codex-rs/tui/src/app/backend_events.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf9d99a36249ff01c462c1c72896033c7a5416781b9904c316d39162d1416e4"}},{"ruleId":"D2","level":"warning","message":{"text":"App::handle_divider_event (cognitive 21): App::handle_divider_event has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 2, match/switch 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":"codex-rs/tui/src/app/side_pane.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e86eef2bdbdcf06336994a794e979a7d4a33ebb42873f59d63b16da33cfe311"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatComposer::apply_external_edit (cognitive 21): ChatComposer::apply_external_edit has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 6 (7 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":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":1318}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c1042a83665cd14a11afd17aff833059e6bf98c7c3d39e811783be851e1d26"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatComposer::prepare_submission_text_with_options (cognitive 21): ChatComposer::prepare_submission_text_with_options has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 7 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":3117}}}],"partialFingerprints":{"codehealthFindingId/v1":"8453f7ab2c336dc1b36a599ff5c1046f370996674ee920b10680e0f982b7c4f4"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandPopup::filtered (cognitive 21): CommandPopup::filtered has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 2 (3 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":"codex-rs/tui/src/bottom_pane/command_popup.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"345ca72cdf4afb156b147e741d7db1c93b98f1738821c80d307a66c2395206a6"}},{"ruleId":"D2","level":"warning","message":{"text":"HooksBrowserView::event_table_lines (cognitive 21): HooksBrowserView::event_table_lines has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 2 (4 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":"codex-rs/tui/src/bottom_pane/hooks_browser_view.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4a007df6fb2b9cad06fc4da33cf67a89f4d6c8262d5d07fc05910d22040ca6"}},{"ruleId":"D2","level":"warning","message":{"text":"PendingInputPreview::as_renderable (cognitive 21): PendingInputPreview::as_renderable has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 3 (6 pts), boolean chains 4 (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":"codex-rs/tui/src/bottom_pane/pending_input_preview.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3e37fb131f6f40372ec29e8299a03822f2ac59c98c9f795259bdb5d205a0e6"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::plugins_popup_params (cognitive 21): ChatWidget::plugins_popup_params has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 7, loops 2 (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":"codex-rs/tui/src/chatwidget/plugin_catalog.rs"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e3c28f1c64b50203ced7d2bf7c243b76d9026dbe81b537b2eaeb88704e71f3"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::speak_completed_realtime_delegation (cognitive 21): ChatWidget::speak_completed_realtime_delegation has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 6, match/switch 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/realtime.rs"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc15d8540ce6f23ca26249c02b550c16e8400828550571a4afb8b2629ecc7639"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::handle_reasoning_shortcut (cognitive 21): ChatWidget::handle_reasoning_shortcut has cognitive complexity 21 (threshold 15). Drivers by points: if/else 17 (19 pts), boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/reasoning_shortcuts.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78dbd29722548454717d11fb95e447353fc445427a4844dfefa73a57f1cacc6"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::handle_restricted_key (cognitive 21): ChatWidget::handle_restricted_key has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 6 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/reconnect.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"4858e5323d2aa1b8a50d5c62569404c27bb756ae1dde39066094d93aafec48e9"}},{"ruleId":"D2","level":"warning","message":{"text":"EmptyStateAnimation::render_in_at (cognitive 21): EmptyStateAnimation::render_in_at has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 8 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/empty_state_animation.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"495cd3e0df637fce4af427f6fb2c23297f1557246f552b53e9b22b7d8bb659aa"}},{"ruleId":"D2","level":"warning","message":{"text":"UserHistoryCell::transcript_hyperlink_lines (cognitive 21): UserHistoryCell::transcript_hyperlink_lines has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 1, loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/history_cell/messages.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9d91626b3c1322d69b343534569f042d82c2777d87f4b654ef323f5a15c274"}},{"ruleId":"D2","level":"warning","message":{"text":"KeymapContextSet::contains_action (cognitive 21): KeymapContextSet::contains_action has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 14, if/else 5, match/switch 1 (2 pts) (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":"codex-rs/tui/src/keymap/chords.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"981655b4a0c0e665bdc9ce9c88b80f7396f15eb11c637493a69ffc8c5a844ae7"}},{"ruleId":"D2","level":"warning","message":{"text":"Writer::html (cognitive 21): Writer::html has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 3 (5 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":"codex-rs/tui/src/markdown_render.rs"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"32cdc7c3fd44e62fe155035ea2a4371b9a0f35ed4391547011b979ef8422f45e"}},{"ruleId":"D2","level":"warning","message":{"text":"Writer::collect_table_column_metrics (cognitive 21): Writer::collect_table_column_metrics has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/markdown_render.rs"},"region":{"startLine":1703}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea7be5f14e6d9f113f337f1eb6e18e902f680aae6afdf09ae43233e920d32cb"}},{"ruleId":"D2","level":"warning","message":{"text":"OnboardingScreen::handle_key_event (cognitive 21): OnboardingScreen::handle_key_event has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 4 (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":"codex-rs/tui/src/onboarding/onboarding_screen.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eebb0246539238e55ff8ce163d7b77676bbc489d9948a25f1f99e05479d492b"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptOverlay::render (cognitive 21): TranscriptOverlay::render has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/pager_overlay/transcript.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"517c9695f9c8aef6e5b1bbfd3955afeb3002e1bb0aa31c24f01d2bbc0c255fd8"}},{"ruleId":"D2","level":"warning","message":{"text":"PickerState::handle_background_event (cognitive 21): PickerState::handle_background_event has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 4 (7 pts), boolean chains 2 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/resume_picker.rs"},"region":{"startLine":1872}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe043589ba80ed8c73f7579392a7ba024cbd37507495b740090b2f4e21f6e2a"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusThreadUsage::lines (cognitive 21): StatusThreadUsage::lines has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 2, 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":"codex-rs/tui/src/status/thread_usage.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da10b0e1bbbe6862fcbdc140057bf1915fa9e7a5f7541396d4d6ac9a59fd4d3"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::history_cell::separators::runtime_metrics_label (cognitive 21): codex_tui::history_cell::separators::runtime_metrics_label has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 2 (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":"codex-rs/tui/src/history_cell/separators.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"87984712c1d6416b1a360b9ace57926255fdddc3ba9dd4ba121e2b2bdd5d7846"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::render::highlight::list_available_themes (cognitive 21): codex_tui::render::highlight::list_available_themes has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 11). 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":"codex-rs/tui/src/render/highlight.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"51df07ad4b9511769801e45dfc3f4a4ce6d40aed5b9948b5f1bec163392746c3"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::resume_picker::render_list (cognitive 21): codex_tui::resume_picker::render_list has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/resume_picker.rs"},"region":{"startLine":3259}}}],"partialFingerprints":{"codehealthFindingId/v1":"115ce8297ed25154156d8858c8390456da12368a476c4061e418097a08f291ff"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_utils_pty::process_group::signal_process_group_with_member_fallback (cognitive 21): codex_utils_pty::process_group::signal_process_group_with_member_fallback has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (15 pts), match/switch 2 (3 pts), loops 2, boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/utils/pty/src/process_group.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"64286937a50fa88fbc2d2a0d15817fd2a895fa83444e36ca12c5a6985709fb12"}},{"ruleId":"D2","level":"warning","message":{"text":"PreparedWindowsSandboxCleanup::finish (cognitive 21): PreparedWindowsSandboxCleanup::finish has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (10 pts), match/switch 3 (7 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-rs/src/uninstall_windows.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7dacb924209d681a385d526f44158264e4260622971e0853432ee72c3d5cb19"}},{"ruleId":"D2","level":"warning","message":{"text":"run_codex_compliance._evaluate_regression_gate (cognitive 21): run_codex_compliance._evaluate_regression_gate has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 6, loops 2, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mcp_conformance/run_codex_compliance.py"},"region":{"startLine":1744}}}],"partialFingerprints":{"codehealthFindingId/v1":"947168a43c8b1c33951e66e99af8159f386c84e470316cc2f7454a5102545121"}},{"ruleId":"D2","level":"warning","message":{"text":"update_sdk_artifacts._normalized_schema_bundle_text (cognitive 21): update_sdk_artifacts._normalized_schema_bundle_text has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 3 (6 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":"sdk/python/scripts/update_sdk_artifacts.py"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3d1e4cdab3b669d6b60c8874cf2aefa19d7676497faa7625284c8b331da222"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginRequestProcessor::plugin_read_response (cognitive 20): PluginRequestProcessor::plugin_read_response has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (10 pts), match/switch 5 (8 pts), boolean chains 2 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/plugins.rs"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0658f1e829447a8bd6a5d85dd8817f45a9a0c64bba4c47222e11e2ad831b88"}},{"ruleId":"D2","level":"warning","message":{"text":"ThreadRequestProcessor::thread_search_response_inner (cognitive 20): ThreadRequestProcessor::thread_search_response_inner has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 3 (4 pts), match/switch 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":2932}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa714ccab1c191515d9ee614e10b0cbef35747c61e317374caf8bae2baadc9e"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkerRuntime::run_with_backend_availability (cognitive 20): WorkerRuntime::run_with_backend_availability has cognitive complexity 20 (threshold 15). Drivers by points: if/else 3 (9 pts), match/switch 3 (7 pts), loops 2 (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":"codex-rs/app-server/src/turn_cost_worker.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ce36f2b35efa17f5f831c4b2edf798f99f908fcc97ec69f0508d87e3315448"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server::request_processors::process_exec_processor::run_process (cognitive 20): codex_app_server::request_processors::process_exec_processor::run_process has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 3 (9 pts), if/else 3 (8 pts), boolean chains 2, loops 1 (nesting depth added 11). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/process_exec_processor.rs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"07dc16f0c2415ffbfea0da769c87a9e7242dfdc32449f516587f6ed2ca7dfe76"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server_daemon::prepare_install::package_tree (cognitive 20): codex_app_server_daemon::prepare_install::package_tree has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 3, 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":"codex-rs/app-server-daemon/src/prepare_install.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"d805e605df3e0c74e68b814f3060c32f0353417cb727c1464769371cb25d1f5f"}},{"ruleId":"D2","level":"warning","message":{"text":"ScanState::observe (cognitive 20): ScanState::observe has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 3, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/export.rs"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"a189fb6b263f9eb281b50ea6ab17ec332ef5c0ffdc0c4c02d852b0717f11eb69"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server_protocol::export::variant_title_collision_key (cognitive 20): codex_app_server_protocol::export::variant_title_collision_key has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/export.rs"},"region":{"startLine":1886}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0cc2d009454b8ac640130720ef36e27c66f7fce8eee200b0d165f5fee1d5cca"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server_transport::transport::remote_control::controller::start_remote_control (cognitive 20): codex_app_server_transport::transport::remote_control::controller::start_remote_control has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 4 (9 pts), if/else 5 (8 pts), boolean chains 2, loops 1 (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-transport/src/transport/remote_control/controller.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcffd0abed69a93413ff6787aa174269b47072309cfa841a526d2b9c592ea566"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_arg0::arg0_dispatch (cognitive 20): codex_arg0::arg0_dispatch has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 4 (11 pts), if/else 8, boolean chains 1 (nesting depth added 7). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/arg0/src/lib.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68c92b0c786cad2e849372e0e1c88803bb838e17ac961c38f2a6f37d4c61838"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_cli::doctor::thread_inventory::parity_check_from_scan_and_rows (cognitive 20): codex_cli::doctor::thread_inventory::parity_check_from_scan_and_rows has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13, boolean chains 6, loops 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/doctor/thread_inventory.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6006d7785dbb428355bd2409eabb54ce289eb1b9cc567d0a024e72d7e88ab9"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_cloud_tasks::env_detect::get_git_origins (cognitive 20): codex_cloud_tasks::env_detect::get_git_origins has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4, loops 2 (4 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":"codex-rs/cloud-tasks/src/env_detect.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c514acd7cc660f8d2469fb8174372f1325fc4b7c07fa9df4b0dae4c058184c"}},{"ruleId":"D2","level":"warning","message":{"text":"GrpcCodeModeSessionProvider::open_binding (cognitive 20): GrpcCodeModeSessionProvider::open_binding has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (11 pts), match/switch 4 (5 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":"codex-rs/code-mode/src/grpc_session/mod.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46bfdbaff2f523b084779bb714c9c8759ef3d15043e604d07b063f307fa3e8c"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectionDriver::run (cognitive 20): ConnectionDriver::run has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (15 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/code-mode/src/remote_session/connection/driver.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a958963dddd9aed83036b1b17bfa6d6fb24ca26b9cf64611d5af5156d11815"}},{"ruleId":"D2","level":"warning","message":{"text":"McpConnectionSet::stable_catalog_revisions (cognitive 20): McpConnectionSet::stable_catalog_revisions has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 7, 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":"codex-rs/codex-mcp/src/connection_manager/tool_catalog.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"464a6edf512a468355e8359593c0c38e6c58683153ef156b36216c05dd6d6532"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_mcp::rmcp_client::start_server_task (cognitive 20): codex_mcp::rmcp_client::start_server_task has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 4, match/switch 2 (3 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-mcp/src/rmcp_client.rs"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"6820ff40d2d2e0a1d1bddc2554c99b4ab567e3888f31e2d740787cc1008a0f60"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalAgentRuntime::capture_sender_user_messages (cognitive 20): LocalAgentRuntime::capture_sender_user_messages has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (9 pts), match/switch 3 (9 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/agent/control/sender_context.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b9f9fc66a1881654c9d450ff97bfe2d9a040aa7b7a883118eddb58e8fd539a"}},{"ruleId":"D2","level":"warning","message":{"text":"McpManager::selected_plugins_for_step (cognitive 20): McpManager::selected_plugins_for_step has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/mcp.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb47da00bcb93e17d4cdebd12ab43281ae23e6594d9b8e38c52d0db95a6df369"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::refresh_managed_network_proxy_for_current_permission_profile (cognitive 20): Session::refresh_managed_network_proxy_for_current_permission_profile has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (16 pts), match/switch 3, 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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":1484}}}],"partialFingerprints":{"codehealthFindingId/v1":"44878e5b03e93a804e3ece6ec336dd629e2372bd58f20c408eb3372bd6eb3fbe"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::maybe_publish_terminal_agent_result (cognitive 20): Session::maybe_publish_terminal_agent_result has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 3, match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":2812}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d570bf06ff29b68577078648192549dec160bab03828a25082cb9b804dbe0ed"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::agents_md::agents_md_paths (cognitive 20): codex_core::agents_md::agents_md_paths has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 4 (5 pts), match/switch 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":"codex-rs/core/src/agents_md.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6623ac4158b96e32b0410ec62c283305787bba00c7e5227466e75dbff70fbc4"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::responses_metadata::bounded_turn_metadata_json (cognitive 20): codex_core::responses_metadata::bounded_turn_metadata_json has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 3 (4 pts), match/switch 1 (2 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":"codex-rs/core/src/responses_metadata.rs"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"7780c03ee2136ba296fa79f1247ffc7d21141ffed60168c454c133491fb091bc"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::session::turn::run_auto_compact (cognitive 20): codex_core::session::turn::run_auto_compact has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/turn.rs"},"region":{"startLine":1687}}}],"partialFingerprints":{"codehealthFindingId/v1":"609e9a3334be3d1c5a5f6485322e95d121f69615d666b6a6809ee61c7b35fb33"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core_plugins::toggles::collect_plugin_enabled_candidates (cognitive 20): codex_core_plugins::toggles::collect_plugin_enabled_candidates has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 2 (4 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/toggles.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e07ac6477248ab933aa65fbea497d1361f65791528a1993bc9ad8a596fcfdb"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalProcess::exec_read (cognitive 20): LocalProcess::exec_read has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/local_process.rs"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf1724d6d5c2dd3fa7c2d420ecb8b744566daf7f314c90838d3ca6aae803787"}},{"ruleId":"D2","level":"warning","message":{"text":"InstallationsTool::handle (cognitive 20): InstallationsTool::handle has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 3, loops 2, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/skills/src/tools/installations.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4fce5e34b34ce3c71d64ee6e441bebbfba11c68a07da0aa4ba5194e89a4e87"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_skills_extension::selection::collect_explicit_skill_mentions (cognitive 20): codex_skills_extension::selection::collect_explicit_skill_mentions has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 4 (6 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/skills/src/selection.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b306309af2ea4b6361fc9ca6b7f8a127938232e927b2b37ff3522c7bf13e509"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_keyring_store::error_kind::classify (cognitive 20): codex_keyring_store::error_kind::classify has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (10 pts), match/switch 3 (9 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/keyring-store/src/error_kind.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8e9a5145e494326d8e378a2ee77e56f5646fefba8a884bbceb53afb4815624"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_linux_sandbox::proxy_routing::activate_proxy_routes_in_netns (cognitive 20): codex_linux_sandbox::proxy_routing::activate_proxy_routes_in_netns has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 2, boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/linux-sandbox/src/proxy_routing.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"db517d7ef246c8855ac077145c171fe28755763ca5120bc8228c453eb300c8fa"}},{"ruleId":"D2","level":"warning","message":{"text":"OAuthSessionManager::refresh (cognitive 20): OAuthSessionManager::refresh has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/login/src/oauth_session.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e093597c9b7758952d4274bcaf683973c7129713c31b3e150a37551d7b503da"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryAgentMessageBoard::post_inner (cognitive 20): InMemoryAgentMessageBoard::post_inner has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 2, loops 1, match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"codex-rs/message-board/src/in_memory.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d278a39862b4a6fd3027a1f1bf4febf1f228cea2f6f5bb35c90a0bf55c5379"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_network_proxy::credential_broker::providers::github::translate_request_header (cognitive 20): codex_network_proxy::credential_broker::providers::github::translate_request_header has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (17 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":"codex-rs/network-proxy/src/credential_broker/providers/github.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"7556de7fc5cdfa8d51592505da83595c44a115ad05377848ed34e7427597cd47"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_protocol::models::executed_tool_calls::truncate_call_arguments_to_fit (cognitive 20): codex_protocol::models::executed_tool_calls::truncate_call_arguments_to_fit has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (14 pts), loops 3 (6 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":"codex-rs/protocol/src/models/executed_tool_calls.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9c77dd81f4e940c203c66e96fc69404322b250018fe3e112e2a89b6aa3ef0a"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_rollout::compression::access_metadata::copy (cognitive 20): codex_rollout::compression::access_metadata::copy has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 3, 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":"codex-rs/rollout/src/compression/access_metadata.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"95bdd09b192f74ab1c17c1c7fc42fd6b9dba29f4d80b095299cedd592dff0af3"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_shell_command::shell_snapshot_literals::literal_word_bytes (cognitive 20): codex_shell_command::shell_snapshot_literals::literal_word_bytes has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 4, loops 2 (4 pts), match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/shell-command/src/shell_snapshot_literals.rs"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"4528410a3d908fb398686cc17a6977d585f548a4c93073b7432c7fe77399dd5b"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tools::json_schema::traversal::for_each_schema_child (cognitive 20): codex_tools::json_schema::traversal::for_each_schema_child has cognitive complexity 20 (threshold 15). Drivers by points: loops 4 (9 pts), if/else 5 (8 pts), boolean chains 3 (nesting depth added 8). 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. This shape REPEATS in the file: one other method here (codex_tools::json_schema::traversal::for_each_schema_child_mut) 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":"codex-rs/tools/src/json_schema/traversal.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5ea3253a7d4e2db99c2e1dd8927551598dcda9f9e931bb106ab8e6d5552918"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tools::json_schema::traversal::for_each_schema_child_mut (cognitive 20): codex_tools::json_schema::traversal::for_each_schema_child_mut has cognitive complexity 20 (threshold 15). Drivers by points: loops 4 (9 pts), if/else 5 (8 pts), boolean chains 3 (nesting depth added 8). 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. This shape REPEATS in the file: one other method here (codex_tools::json_schema::traversal::for_each_schema_child) 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":"codex-rs/tools/src/json_schema/traversal.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce57ed8f86ed62e8b1cefb1b9df77ca718fe4344edaab00dd0fdc9eeab0bd50d"}},{"ruleId":"D2","level":"warning","message":{"text":"Live::filtered_history (cognitive 20): Live::filtered_history has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 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, 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":"codex-rs/tui/src/analytics/client.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"58255628b9f214276f9b404cae05b10696d6f920469097273c53e5f236b7be09"}},{"ruleId":"D2","level":"warning","message":{"text":"Renderer::paint_bars (cognitive 20): Renderer::paint_bars has cognitive complexity 20 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 2 (9 pts), boolean chains 1 (nesting depth added 13). 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":"codex-rs/tui/src/analytics/plot/painting.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b76a873111c583d7256e2a3303887a05e23f5ba3d1a4aefcc7e8e96747c8fc7"}},{"ruleId":"D2","level":"warning","message":{"text":"App::active_keymap_contexts (cognitive 20): App::active_keymap_contexts has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 5, match/switch 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/input.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b1963f86e77ba4dcbd1325468386b7b81c5c6d68a033a76efe5610c24d844e"}},{"ruleId":"D2","level":"warning","message":{"text":"App::prepare_realtime_transcript_replay (cognitive 20): App::prepare_realtime_transcript_replay has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/realtime_delivery.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e56a9ba49e94d1431df9d4ad4bba72f2b8e2f638a1ed5bdfa0c8293d4636f4"}},{"ruleId":"D2","level":"warning","message":{"text":"App::submit_thread_op (cognitive 20): App::submit_thread_op has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (14 pts), match/switch 2 (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":"codex-rs/tui/src/app/thread_routing.rs"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d50d5ba4b0336b1e7873969384cf8a6f701b70757ab9edbad3ce8969373813"}},{"ruleId":"D2","level":"warning","message":{"text":"Hints::fit (cognitive 20): Hints::fit has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 3, boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/chat_composer/passive_hints.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"035d586ad94b4daa0915b1d8e5bbd26287f441a6ff50fc862d97d1cbff0a4603"}},{"ruleId":"D2","level":"warning","message":{"text":"ListSelectionView::accept (cognitive 20): ListSelectionView::accept has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 1 (3 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/list_selection_view.rs"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e69148c377afd03bdd15d0bfafc05a4be900d5666c5a0353f8a4f3a6725731"}},{"ruleId":"D2","level":"warning","message":{"text":"TextArea::quoted_text_object_range (cognitive 20): TextArea::quoted_text_object_range has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (12 pts), match/switch 1 (4 pts), boolean chains 3, 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":"codex-rs/tui/src/bottom_pane/textarea/vim.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3421a75a2c6410399a26553cbd077a3e64ccdc7ce01385d968bcd1a1f32d0a"}},{"ruleId":"D2","level":"warning","message":{"text":"TextArea::handle_vim_extra_command (cognitive 20): TextArea::handle_vim_extra_command has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (16 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/textarea/vim_commands.rs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d90035830c62c8497b2cb31471e4eee34570feb074923721ab1cb7e4d77a0dc"}},{"ruleId":"D2","level":"warning","message":{"text":"RateLimitWarningState::take_warnings (cognitive 20): RateLimitWarningState::take_warnings has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/rate_limits.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa84d7fb7662a4ada4fab5b751e3b625a466882281c4a40b4bde83fa3ae6f5e6"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::handle_quick_dial_menu (cognitive 20): ChatWidget::handle_quick_dial_menu has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 2, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/quick_dials.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"a070f5c4a24188ed18bbffceed95d38d528a666cdf2859b503e7aa631a6e85e0"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::handle_manage_skills_closed (cognitive 20): ChatWidget::handle_manage_skills_closed has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 2, boolean chains 1, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/skills.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"215b8eff3da37e3a8a8726e35698a635f1879f0c9f37a22b77703604611944fc"}},{"ruleId":"D2","level":"warning","message":{"text":"ExternalAgentConfigMigrationScreen::render_items (cognitive 20): ExternalAgentConfigMigrationScreen::render_items has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 3, 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":"codex-rs/tui/src/external_agent_config_migration/render.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"831cf97c666cd9c11c686e11855ddf47da4d40015a18b4013d6d08718a041f7a"}},{"ruleId":"D2","level":"warning","message":{"text":"RuntimeKeymap::configure_search (cognitive 20): RuntimeKeymap::configure_search has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 6, match/switch 2 (3 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":"codex-rs/tui/src/keymap/vim_search.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a7d59620111ae7887a63fe365ece412463a808960176bebb6f467722a9a6f35"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineDirectives::events (cognitive 20): InlineDirectives::events has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (13 pts), match/switch 1 (3 pts), boolean chains 2, loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/markdown_render/inline_directives.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad1d841a87827fd8eb0d714bde64340a77e43d30f21b123d536921e17dad9eb3"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthModeWidget::handle_key_event (cognitive 20): AuthModeWidget::handle_key_event has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/onboarding/auth.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"a210c50253ee9233aca5bd55173f49cba98a74b18f5647ea3bab178fe088388d"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthModeWidget::handle_sign_in_option (cognitive 20): AuthModeWidget::handle_sign_in_option has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 3, match/switch 1 (nesting depth added 6). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/onboarding/auth.rs"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"3996131b54b9c2aab019728cb21bc3ab13765e0397bbcec6ede5d446954cffde"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderInput::line (cognitive 20): ProviderInput::line has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/onboarding/provider_setup.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"1023793205e6525ccbcce2373735fe2d87816dcf191057f644808dbf6c56056e"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::app::recap_history::recent_exchanges (cognitive 20): codex_tui::app::recap_history::recent_exchanges 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":"codex-rs/tui/src/app/recap_history.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb45ba6d101e4e5285e299d1b5a5b5437e8b7eb99391cd4f50cf897908c8f6a7"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::insert_history::insert_history_hyperlink_lines_with_mode_and_wrap_policy (cognitive 20): codex_tui::insert_history::insert_history_hyperlink_lines_with_mode_and_wrap_policy has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 4 (9 pts), match/switch 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":"codex-rs/tui/src/insert_history.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"2956747de93390edbe77d52d835d811e3ac98d21e81ad27d21819c3fb5ce90fb"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::startup_draft_input::handle_startup_draft_key (cognitive 20): codex_tui::startup_draft_input::handle_startup_draft_key has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 7 (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":"codex-rs/tui/src/startup_draft_input.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ce91c71789f6d4c05bc388f37381a555ad2c2c830d264b2958f1faf1b5763d"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_windows_sandbox::deny_read_resolver::expand_deny_read_paths (cognitive 20): codex_windows_sandbox::deny_read_resolver::expand_deny_read_paths has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 4 (6 pts), match/switch 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":"codex-rs/windows-sandbox-rs/src/deny_read_resolver.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"4709e872b94eafc3dcb2bce17886874ab88fa2ec5a1c9ca955a67ffa8a5e2306"}},{"ruleId":"D2","level":"warning","message":{"text":"publish_r2_release.main (cognitive 20): publish_r2_release.main has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 7, error handling 1, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/publish_r2_release.py"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa2b750c2ffda3f2cef47ab37e1a6210f4cd0d3cc868d9f314f4906a2c0241a"}},{"ruleId":"D2","level":"warning","message":{"text":"run_bazel.bazel_args_with_remote_config (cognitive 20): run_bazel.bazel_args_with_remote_config has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 6, error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/run_bazel.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"873cf35f23a48ff9325c94e1b0fa16b95d364106249027d5a000320396c68472"}},{"ruleId":"D2","level":"warning","message":{"text":"build_npm_package.stage_sources (cognitive 20): build_npm_package.stage_sources has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (20 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":"codex-cli/scripts/build_npm_package.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f59d6bc504dce1ff09bb534fdd1082375fc6c994c9f1c8bebc724719475b32b"}},{"ruleId":"D2","level":"warning","message":{"text":"Notifications::on_turn_start (cognitive 19): Notifications::on_turn_start has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (9 pts), match/switch 2 (6 pts), loops 2 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/agent-message-board-client/src/notifications.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"43766e9563b4a21b93c76508a7161b1ab291dadaa3ac41c0e3f5ec87d3692ec2"}},{"ruleId":"D2","level":"warning","message":{"text":"AnalyticsReducer::ingest_code_mode_tool_call (cognitive 19): AnalyticsReducer::ingest_code_mode_tool_call has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 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":"codex-rs/analytics/src/reducer.rs"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb2f20f845b83f09e1dd82899c9c3eeb226ea0d0de73f064ed6341d2b8b20bf"}},{"ruleId":"D2","level":"warning","message":{"text":"AccountRequestProcessor::gateway_oauth_login (cognitive 19): AccountRequestProcessor::gateway_oauth_login has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (11 pts), match/switch 4 (7 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":"codex-rs/app-server/src/request_processors/account_processor/gateway_oauth.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60b0655d120d09c8cb909d1086fbb48285cd5bd71f0819b3e97115b1c17239d"}},{"ruleId":"D2","level":"warning","message":{"text":"AppsRequestProcessor::apps_installed (cognitive 19): AppsRequestProcessor::apps_installed has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 3, match/switch 2 (3 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/apps_processor/installed.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"61fd264e14d95c04efd1f6874788f8a3b3409f32276beb5c16f1b6b4147bb4d8"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkerRuntime::query_chatgpt_turn_costs (cognitive 19): WorkerRuntime::query_chatgpt_turn_costs has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/turn_cost_worker_chatgpt.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"0683a142bc785838a0b5e406fcd61d6c32b7f2bc7c03f1f6beeb47f8534803e3"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server::otel_reloader::spawn (cognitive 19): codex_app_server::otel_reloader::spawn has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (10 pts), match/switch 3 (8 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/otel_reloader.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75eff3a4a1fd905af2a84f25f6be2ef12e1fba35695d888a07c458c46ce2de7"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_cli::doctor::network::check (cognitive 19): codex_cli::doctor::network::check has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 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":"codex-rs/cli/src/doctor/network.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"8898bd8eda99a519c3ffb2333681aaa1d56fd0dab8ff0a9cb68fab2e7ab94e75"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_cloud_tasks_client::http::api::extract_assistant_messages_from_turn (cognitive 19): codex_cloud_tasks_client::http::api::extract_assistant_messages_from_turn has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 2 (6 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cloud-tasks-client/src/http.rs"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"840cbd81ff66bea14486c539487f5b1194a440dc957a6bef051fb59ec6dc1d59"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_code_mode_host::peer::drive_cell (cognitive 19): codex_code_mode_host::peer::drive_cell has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 4 (9 pts), if/else 4 (7 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/code-mode-host/src/peer.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"273cec86c9f14184c343c2008a93db3ccd3c6aa1071c258c0ad66607b8618f6f"}},{"ruleId":"D2","level":"warning","message":{"text":"RealtimeWebsocketEvents::next_event (cognitive 19): RealtimeWebsocketEvents::next_event has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), match/switch 3 (7 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":"codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"41895e805983f4a8923c05bd49f244392f0b02c4b2a98d342387deb542472c1e"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolCatalogTransportIdentity::new (cognitive 19): ToolCatalogTransportIdentity::new has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 3, loops 2 (3 pts), match/switch 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":"codex-rs/codex-mcp/src/tool_catalog_cache.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fefe83a12310b7b7549e0a2eb39763112a1478a2d953bf20f7041d0e6b39b8e"}},{"ruleId":"D2","level":"warning","message":{"text":"NetworkToml::apply_to_network_proxy_config (cognitive 19): NetworkToml::apply_to_network_proxy_config has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13, match/switch 1 (3 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/permissions_toml.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84f34376e9a16a8a70fbcf4e4d64d77942d5314ff507e0eb543644d1e1f3cd3"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillConfigRules::resolve_disabled_paths (cognitive 19): SkillConfigRules::resolve_disabled_paths has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (4 pts), match/switch 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/skills_config.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"88206ebf542aaba708375e83422980b33801acc9357c941515fb365222ec26ba"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_config::diagnostics::first_layer_config_error_for_entries (cognitive 19): codex_config::diagnostics::first_layer_config_error_for_entries has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (16 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/diagnostics.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd2d5e712ba8a0a8207fd812048dc8f6c811e1eb1f57f389254d2220bd9d0f6"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_connectors::app_tool_policy::apps_config_overlays (cognitive 19): codex_connectors::app_tool_policy::apps_config_overlays has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/connectors/src/app_tool_policy.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"2834b6624306efaa1e1a979d779475279a034ea1ebe14ea64bc4f318ee602569"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalAgentControl::resume_agent_from_rollout (cognitive 19): LocalAgentControl::resume_agent_from_rollout has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (9 pts), match/switch 2 (6 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/agent/control/spawn.rs"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c803fc9f1df4be38839b7f5888322a172abbd6dcd079a42ead0c9a73dcae1b8"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigDocument::apply (cognitive 19): ConfigDocument::apply has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 3, loops 1 (3 pts), match/switch 2 (3 pts) (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/config/edit.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"144e0c04af1740fdf776910a87bd700dd16e3eb5f34a9d6ffed4ca5d21fabd1c"}},{"ruleId":"D2","level":"warning","message":{"text":"TurnEnvironment::shell_snapshot (cognitive 19): TurnEnvironment::shell_snapshot has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 6, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/turn_context.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e43a36eaaea48213d5599f43fa7c29457fe1fa5c1ba500b1b2ed23f14865b2"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::mcp_tool_call::handle_approved_mcp_tool_call (cognitive 19): codex_core::mcp_tool_call::handle_approved_mcp_tool_call has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 4 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/mcp_tool_call.rs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4b53cffa18797bb1e1ab6d921f97a218c4ce403efe3a6fd4adf4461419bc30"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::realtime_context::format_thread_group (cognitive 19): codex_core::realtime_context::format_thread_group has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/realtime_context.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25e49f07717db03c5ca5186a8a5608ef29af18e00480164ef08418dcdbb7e58"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginsManager::read_plugin_detail_for_marketplace_plugin (cognitive 19): PluginsManager::read_plugin_detail_for_marketplace_plugin has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 3, loops 1, match/switch 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/manager.rs"},"region":{"startLine":2793}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d50644571449ee0e71706df298ace9d5d39dd4baeff03ff4afeef97868f047f"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginsManager::schedule_remote_installed_plugins_cache_refresh (cognitive 19): PluginsManager::schedule_remote_installed_plugins_cache_refresh has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 2, loops 1 (2 pts), match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/manager.rs"},"region":{"startLine":3236}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41796519ebc446d696dc9c4d33778bf3644cedf9139b26822934a91dd455564"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core_plugins::store::replace_plugin_root_atomically (cognitive 19): codex_core_plugins::store::replace_plugin_root_atomically has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (13 pts), match/switch 2 (4 pts), boolean chains 2 (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":"codex-rs/core-plugins/src/store.rs"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"0387e8732a302aba2c22f98c8eccbc6d1ca5580236163168fe327e466b8a240b"}},{"ruleId":"D2","level":"warning","message":{"text":"EventProcessorWithJsonOutput::map_item_with_id (cognitive 19): EventProcessorWithJsonOutput::map_item_with_id has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 9 (17 pts), if/else 1 (2 pts) (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec/src/event_processor_with_jsonl_output.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"de87acfe6519145f5b3c8c6a0ca545bf0096b0cce5779023a39f48cae5c0dd98"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_exec_server::process_sandbox::prepare_managed_network (cognitive 19): codex_exec_server::process_sandbox::prepare_managed_network has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 4, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/process_sandbox.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f55d9fc4fac7db2707382d1cf8283c6d42ef099d5a62439db3fb633f9ac7fc1"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_exec_server::shell_snapshot::capture_snapshot (cognitive 19): codex_exec_server::shell_snapshot::capture_snapshot has cognitive complexity 19 (threshold 15). Drivers by points: if/else 17 (19 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/shell_snapshot.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"81655a5faede51818906f2200ff032264d0f30ffe22ab64d501e31ea6307a850"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_guardian_reviewer::retry::run_with_retry (cognitive 19): codex_guardian_reviewer::retry::run_with_retry has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (9 pts), match/switch 3 (8 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/guardian-reviewer/src/retry.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25ecb61bad78afa2a82a9ef1d44abd9b25e629a598094f7d561c6d858d718fc"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectionPool::start_refill (cognitive 19): ConnectionPool::start_refill has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (3 pts), 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":"codex-rs/ext/guardian-v2/src/async_scorer/sampler/connection_pool.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58b09630deb1fdb93cb7defd10710c425ffce991a326184000fe4b7013fbc89"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_skills_extension::catalog::merge_catalogs (cognitive 19): codex_skills_extension::catalog::merge_catalogs has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (7 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/skills/src/catalog.rs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffba156bed4d031ca2c8a24a53e18b885dab9d173140d9f081ae71d50e926e6b"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_external_agent_migration::sessions::append::append_existing_session (cognitive 19): codex_external_agent_migration::sessions::append::append_existing_session has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13, boolean chains 4, match/switch 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":"codex-rs/external-agent-migration/src/sessions/append.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"df38cfc8482a4a44470e23452b4dde2a91ef32174dc55213117b1b8da14c1bfd"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_external_agent_migration::sessions::records_cur::summarize_session (cognitive 19): codex_external_agent_migration::sessions::records_cur::summarize_session has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (18 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":"codex-rs/external-agent-migration/src/sessions/records_cur.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa8d6e1dcd215f7608958934ffc6b98d788e6a08bf5d0a305746a18894204dc"}},{"ruleId":"D2","level":"warning","message":{"text":"FeedbackSnapshot::upload_tags (cognitive 19): FeedbackSnapshot::upload_tags has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/feedback/src/lib.rs"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"b304b6ae52c57c8f98b8bac21e3bacb2b4aa9ef38f8a66b93d22cec2aa772166"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_git_utils::info::diff_against_sha (cognitive 19): codex_git_utils::info::diff_against_sha has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4, loops 1 (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":"codex-rs/git-utils/src/info.rs"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab4e3f21857d68973a3dcd59d4b12e0702f3f7e4e5bab18780e0db5dff77662"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_login::auth::manager::enforce_login_restrictions_with_agent_identity_authapi_base_url (cognitive 19): codex_login::auth::manager::enforce_login_restrictions_with_agent_identity_authapi_base_url has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 4 (10 pts), if/else 6 (8 pts), boolean chains 1 (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/login/src/auth/manager.rs"},"region":{"startLine":1441}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b13b9c6407267416d08b45bd131e45261ffb5f4d1cb921646e1546f137704e9"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAiModelsEndpoint::fetch_models (cognitive 19): OpenAiModelsEndpoint::fetch_models has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 5, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/model-provider/src/models_endpoint.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee78bae3f297e7e887bb9ae965bf98d6eb7959662c7e377fcdfe66eb15554cc"}},{"ruleId":"D2","level":"warning","message":{"text":"CredentialBrokerState::restore_child_env (cognitive 19): CredentialBrokerState::restore_child_env has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 7, if/else 3 (7 pts), loops 3 (5 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/credential_broker.rs"},"region":{"startLine":1504}}}],"partialFingerprints":{"codehealthFindingId/v1":"282c1e455aa0c22c55468c6aa866d17234cce66e1aa8ec93f37d75e11f2d9d06"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_network_proxy::mitm_hook::validate_mitm_hook_config (cognitive 19): codex_network_proxy::mitm_hook::validate_mitm_hook_config has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (16 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":"codex-rs/network-proxy/src/mitm_hook.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8bfac682600a56e1d4dde75dc0a0a62264cabc811f718512fd1fadf1c82492"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_prompts::permissions_instructions::approval_text (cognitive 19): codex_prompts::permissions_instructions::approval_text has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 4 (5 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":"codex-rs/prompts/src/permissions_instructions.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"df63f4f911b774949dbd0252960a7677d9be1f70491274b1ce29e1e0154bca44"}},{"ruleId":"D2","level":"warning","message":{"text":"FileSystemSandboxPolicy::writable_roots (cognitive 19): FileSystemSandboxPolicy::writable_roots has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 4, match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"codex-rs/protocol/src/permissions.rs"},"region":{"startLine":1575}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60164f320e80c1c4b5c0a23c0deb8dbf0d51c4e1aaabee49f718b750fd8fd11"}},{"ruleId":"D2","level":"warning","message":{"text":"SandboxPolicy::get_writable_roots_with_cwd (cognitive 19): SandboxPolicy::get_writable_roots_with_cwd has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 4 (9 pts), if/else 3 (8 pts), boolean chains 2 (nesting depth added 10). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/protocol.rs"},"region":{"startLine":1445}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1ed751de76175a9fb2d5a0c8c34d2bbc2b60710dffd49d74df4b7ecef0f46a"}},{"ruleId":"D2","level":"warning","message":{"text":"PreparedLaunchPolicy::resolve (cognitive 19): PreparedLaunchPolicy::resolve has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/sandboxing/src/launch.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3554176a3ede4978a0864474bbd00f88eba2b2642b7a60e9fde1ee1ade9846"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_sandboxing::seatbelt::dynamic_network_policy_for_network (cognitive 19): codex_sandboxing::seatbelt::dynamic_network_policy_for_network has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3, loops 1 (2 pts), match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/sandboxing/src/seatbelt.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e8038549c746ded4804323b3020b1577aad6c4c3bb6afc8fa3acbe6a4142d52"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_sandboxing::windows::resolve_windows_restricted_token_filesystem_overrides (cognitive 19): codex_sandboxing::windows::resolve_windows_restricted_token_filesystem_overrides has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/sandboxing/src/windows.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"155a6db221a924c6d564ac5dce308ff83cc6e31f8aebe53b5d251f2a69607dad"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_shell_command::parse_command::parse_grep_like (cognitive 19): codex_shell_command::parse_command::parse_grep_like has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/shell-command/src/parse_command.rs"},"region":{"startLine":1787}}}],"partialFingerprints":{"codehealthFindingId/v1":"46cd7951a1ed9fb2ca6765a5ce79b223e97800cda848df39e1f1c85c18cfb61d"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_skills::selection::select_skills_from_mentions (cognitive 19): codex_skills::selection::select_skills_from_mentions has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 4, 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":"codex-rs/skills/src/selection.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f24485cf9e5134d5310113cdfc670d429a249e96879eb7b454785fb92438fe"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_state::runtime::logs::push_log_filters (cognitive 19): codex_state::runtime::logs::push_log_filters has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 2 (4 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":"codex-rs/state/src/runtime/logs.rs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e52ac3e55da8ca35184de0d6611cd8f2a32e08fd20cd688a24c903dc318c170"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryThreadStore::list_threads (cognitive 19): InMemoryThreadStore::list_threads has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (5 pts), boolean chains 1, match/switch 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":"codex-rs/thread-store/src/in_memory.rs"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f7268b307df46fbc676cc6bcea095d00ac107ecbb9d8cd1fe8aebf78659f2c"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_thread_store::local::original_history::read (cognitive 19): codex_thread_store::local::original_history::read has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2, loops 1 (2 pts), match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/original_history.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aae6aa7b7f0bbb821f752cae7af49ca1f2b54c4c4d035cfda879f0e20555492"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_thread_store::local::rollout_migration::rollback_plan::user_response_matches_event (cognitive 19): codex_thread_store::local::rollout_migration::rollback_plan::user_response_matches_event has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 5 (12 pts), if/else 3 (4 pts), boolean chains 2, loops 1 (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/rollout_migration/rollback_plan.rs"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"5874d21866f188085de82d46919d51d98961413e3f9f501165e8f7e8b93e220e"}},{"ruleId":"D2","level":"warning","message":{"text":"BackendSessions::next_event (cognitive 19): BackendSessions::next_event has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4, match/switch 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/backend_sessions.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ac75464bd70a18e216f7b1fcaa401dfb318b0654f389d453010b55888e0dce"}},{"ruleId":"D2","level":"warning","message":{"text":"AppExitInfo::format_exit_messages (cognitive 19): AppExitInfo::format_exit_messages has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (16 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/exit_summary.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"345a5243d365b8583b29415520e1ff61e2b1051523a686f2ef57c1c614aeb205"}},{"ruleId":"D2","level":"warning","message":{"text":"App::handle_exit_mode (cognitive 19): App::handle_exit_mode has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), match/switch 2 (3 pts), boolean chains 2, 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":"codex-rs/tui/src/app/event_dispatch.rs"},"region":{"startLine":4229}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f56893aba9ed63f4ae893ca2f88820b9c8fa73bde39e58984adefa08c21453f"}},{"ruleId":"D2","level":"warning","message":{"text":"App::paint_conversation (cognitive 19): App::paint_conversation has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11, boolean chains 7, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/owned_transcript.rs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22852cbd4c5a252a06a813a17ed70708edeb3d8379b405cfb9f1b96d9e1ce99"}},{"ruleId":"D2","level":"warning","message":{"text":"App::backfill_loaded_subagent_threads (cognitive 19): App::backfill_loaded_subagent_threads has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 2 (3 pts), loops 2, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/session_lifecycle.rs"},"region":{"startLine":1630}}}],"partialFingerprints":{"codehealthFindingId/v1":"397d53e780df7fc00541dc52037ae08ad6a01e8b7b5e5ad98a8d6af4b39ea8f4"}},{"ruleId":"D2","level":"warning","message":{"text":"AppServerSession::resume_thread_with_permission_overrides (cognitive 19): AppServerSession::resume_thread_with_permission_overrides has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10, boolean chains 8, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app_server_session/rollout_history.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"519ef2e1761822ca50ec21d69dfe4658b24fd083345d1a714ccd01e5a76636b0"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatComposer::handle_key_event_with_mentions_v2_popup (cognitive 19): ChatComposer::handle_key_event_with_mentions_v2_popup has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (15 pts), match/switch 2 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":2379}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1790917f9d4101387868847bcf88c4dd237abfbf650dfba83bf56524da015ce"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatComposer::sync_command_popup (cognitive 19): ChatComposer::sync_command_popup has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 3, match/switch 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":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":4129}}}],"partialFingerprints":{"codehealthFindingId/v1":"880e9cf6edc23bfb45b9489cf173684ab6d998868c7ad21a153b42a832bc6a41"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatComposerHistory::on_entry_response (cognitive 19): ChatComposerHistory::on_entry_response has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/chat_composer_history.rs"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10c043f05fb93e41055c7eafc5013e9540d74fa41320f767c71393394f797f1"}},{"ruleId":"D2","level":"warning","message":{"text":"WarningsView::handle_key (cognitive 19): WarningsView::handle_key has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 2, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/warnings_view.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"4001d2d95115bd709e3c2a309ce75d5948171fc37ec1140a1216b5b8bda941a7"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::refresh_backend_banner_visibility (cognitive 19): ChatWidget::refresh_backend_banner_visibility has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 6, loops 1 (2 pts), match/switch 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/backend_banners.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"91891c2a951aa6b6a889e03149e69e808ffc4a44d117ff8eb7cca552f414bd57"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::queue_user_message_with_options_and_source (cognitive 19): ChatWidget::queue_user_message_with_options_and_source has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 9 (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":"codex-rs/tui/src/chatwidget/input_flow.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d6165f0d00d1a1e6ba20ddc1937b41cb574782a4f097ff3c8d911d9a7b6ef2"}},{"ruleId":"D2","level":"warning","message":{"text":"HintLine::new (cognitive 19): HintLine::new has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (18 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":"codex-rs/tui/src/footer_hint.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"da71078f02082edf59ee9df6f6c75e28300371068091721f64f2299aa1314052"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyChordMatcher::advance (cognitive 19): KeyChordMatcher::advance has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 7 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/keymap/chords.rs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"9544fee808f30f545724dbd745509a1640b5021ecf194396ac9eea67bcdb91cd"}},{"ruleId":"D2","level":"warning","message":{"text":"Writer::text (cognitive 19): Writer::text has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/markdown_render.rs"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"3411fd24333b14115fa6d5289c79d6491115de0b414eb9ba11713205204dc62f"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptOverlay::handle_event (cognitive 19): TranscriptOverlay::handle_event has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 5, match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/pager_overlay/transcript.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4a546e1450570d58988a45f534a19233241f7eee5ac08404db2e5952ae9468"}},{"ruleId":"D2","level":"warning","message":{"text":"FlexRenderable::allocate (cognitive 19): FlexRenderable::allocate has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 4, 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":"codex-rs/tui/src/render/renderable.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a214903e1c4488f9c1656c6ad55a48ba9783b9c6bb242287e292f2605bc4ed1"}},{"ruleId":"D2","level":"warning","message":{"text":"PickerState::ingest_page (cognitive 19): PickerState::ingest_page has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 3, loops 1, match/switch 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":"codex-rs/tui/src/resume_picker.rs"},"region":{"startLine":2037}}}],"partialFingerprints":{"codehealthFindingId/v1":"115e37754ad25a9d92517cb4bbdbaa03e7ceaefae2458223ff37b222d40763fc"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusHistoryCell::rate_limit_row_lines (cognitive 19): StatusHistoryCell::rate_limit_row_lines has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (16 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/status/card.rs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c73f46a6c7cd4dfc5173e5564cc1ff7be82abfbea31f22743dccd06849591c9"}},{"ruleId":"D2","level":"warning","message":{"text":"TextLayout::table_cell_position (cognitive 19): TextLayout::table_cell_position has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 4, 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":"codex-rs/tui/src/transcript_view/text.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef5a60432c324a8dd1d70bc3ede5f99b44fb2c5f0a3dbb2f37e5bd65642313d"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptView::handle_search_key (cognitive 19): TranscriptView::handle_search_key has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 4, match/switch 2 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/transcript_view/search.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"6630444128132a845800fd6323b43d8f886521814e5cb80ee1e85ac3db09217e"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::analytics::tasks::read (cognitive 19): codex_tui::analytics::tasks::read has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), loops 3, match/switch 1 (2 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/analytics/tasks.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1aa7ed6f883e16a0b877f6a20ee9457189d5f71c3ca2efe342a17b3b1dad038"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::app::background_requests::plugin_remote_section_error_next_step (cognitive 19): codex_tui::app::background_requests::plugin_remote_section_error_next_step has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10, boolean chains 9. 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":"codex-rs/tui/src/app/background_requests.rs"},"region":{"startLine":1062}}}],"partialFingerprints":{"codehealthFindingId/v1":"390bef493a0027ee54d5fa3e01479802b2d7f317cd353ef97e5947f582c9e570"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::bottom_pane::chat_composer::vim_register::sync (cognitive 19): codex_tui::bottom_pane::chat_composer::vim_register::sync has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (10 pts), match/switch 2 (6 pts), loops 1 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/chat_composer/vim_register.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ea54a5eb7d23ee26aac6979284512679ce7a2c3fdb3edd707349086453afd5"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::bottom_pane::selection_popup_common::apply_row_state_style (cognitive 19): codex_tui::bottom_pane::selection_popup_common::apply_row_state_style has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (4 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":"codex-rs/tui/src/bottom_pane/selection_popup_common.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f079b510d07c6cbdfd80072aeabf773589d8422b68c3185ab6675a8bdf8620"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::bottom_pane::status_line_style::status_line_from_segments_with_resolver (cognitive 19): codex_tui::bottom_pane::status_line_style::status_line_from_segments_with_resolver has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/status_line_style.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89f8d7404eebfff8e8ddf06de6063d7ba48ad86ddf3b077e583ad992e33f814"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::keymap::chords::leader_defaults::register (cognitive 19): codex_tui::keymap::chords::leader_defaults::register has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (11 pts), boolean chains 5, 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":"codex-rs/tui/src/keymap/chords/leader_defaults.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5377233bf053428918e53ee103c1258f0e75f1696a053c48c3f14bf3ddf15b"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::resume_picker::spawn_app_server_source (cognitive 19): codex_tui::resume_picker::spawn_app_server_source has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 6 (17 pts), if/else 1, loops 1 (nesting depth added 11). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/resume_picker.rs"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc9b4f643e01913fbb466f51357a1b8976e843b4e4dd01c770a4c8958cf9350"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::session_lock::linux::observe (cognitive 19): codex_tui::session_lock::linux::observe has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 4, match/switch 3 (4 pts), loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/session_lock/linux.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d23f5fbedf23dec3b715216da2ae7df79d590a8dfb1c693d21c4b83d9a1f1e"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::thread_transcript::tools::historical_tool_fallback (cognitive 19): codex_tui::thread_transcript::tools::historical_tool_fallback has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 5 (8 pts), if/else 4 (7 pts), boolean chains 4 (nesting depth added 6). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/thread_transcript/tools.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"111b744b9dc15f4ec9280cf97147596acc5e339a9205aecd9b1e50991353be17"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::worktree_browser::fetch (cognitive 19): codex_tui::worktree_browser::fetch has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (18 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":"codex-rs/tui/src/worktree_browser.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffaa54ad759b57c12f96369d298060b3f99e9cfe54950fb9026cc1f146971838"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineHiddenTagParser::push_str (cognitive 19): InlineHiddenTagParser::push_str has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/utils/stream-parser/src/inline_hidden_tag.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1811bfcd6884712c22ec18b90ad0ab7e3859418d1f4ba1f87e5098e1f7480f"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_windows_sandbox::elevated::runner_client::connect_pipe_with_timeout (cognitive 19): codex_windows_sandbox::elevated::runner_client::connect_pipe_with_timeout has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (18 pts), match/switch 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":"codex-rs/windows-sandbox-rs/src/elevated/runner_client.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0871c14ffdfc13f96f07ef96f2c8452b60a70767847f2f04ecaea11add4a669"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_windows_sandbox::elevated_impl::windows_impl::run_windows_sandbox_capture_for_permission_profile (cognitive 19): codex_windows_sandbox::elevated_impl::windows_impl::run_windows_sandbox_capture_for_permission_profile has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 4 (11 pts), if/else 6 (7 pts), loops 1 (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-rs/src/elevated_impl.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2332187ced7a9ea3ab6ec1c4287986c6b653b0d9a64e495449ac9b9f4fb6b5"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_windows_sandbox::uninstall_windows::processes::stop (cognitive 19): codex_windows_sandbox::uninstall_windows::processes::stop has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 3 (5 pts), match/switch 1 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-rs/src/uninstall_windows/processes.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a8328db83a6fb3aab280781b98bea880d6b253327f19a8d3fc52eb69ebbf60"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_windows_sandbox::wrapper::create_windows_sandbox_command_args_for_permission_profile (cognitive 19): codex_windows_sandbox::wrapper::create_windows_sandbox_command_args_for_permission_profile has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16 (18 pts), loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-rs/src/wrapper.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b795613f0ada64b15e7d714b8fca52cba9dd2219365bcf10ef11bcf219b820"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_windows_sandbox_service::ipc::authentication::authenticate_impersonated_client (cognitive 19): codex_windows_sandbox_service::ipc::authentication::authenticate_impersonated_client has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 1 (2 pts), match/switch 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":"codex-rs/windows-sandbox-service/src/ipc/authentication.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3438f3aff7f333b8e6afc4868d2cbf52da072a281951c4c7dd8fec6952166ff"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_windows_sandbox_service::machine_policy::validate_requirements (cognitive 19): codex_windows_sandbox_service::machine_policy::validate_requirements has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 7, loops 1 (2 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-service/src/machine_policy.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"89689925336cab8de1d25ab147c07e255ed7fd5e81e49f90b03631b89eda014e"}},{"ruleId":"D2","level":"warning","message":{"text":"FixtureRequestHandler.do_POST (cognitive 19): FixtureRequestHandler.do_POST has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (13 pts), error handling 3 (5 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mcp_conformance/server.py"},"region":{"startLine":1433}}}],"partialFingerprints":{"codehealthFindingId/v1":"832798b60e0024a1d1f674685575bee8fa6f5b3315f29292731f8e132eb61a8b"}},{"ruleId":"D2","level":"warning","message":{"text":"update_sdk_artifacts._annotate_variant_list (cognitive 19): update_sdk_artifacts._annotate_variant_list has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 6, ternaries 1 (2 pts), 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":"sdk/python/scripts/update_sdk_artifacts.py"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab99a6a641cc43394627908a98b5400bb6bbd9ab6ca6bbf87c829692785d4b1"}},{"ruleId":"D2","level":"warning","message":{"text":"_initialize_metadata.validate_initialize_metadata (cognitive 19): _initialize_metadata.validate_initialize_metadata has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 10, if/else 7 (9 pts) (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdk/python/src/openai_codex/_initialize_metadata.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"29332277b361c5451de3dbad423346086430a8d9707520a216ea617fc08c8200"}},{"ruleId":"D2","level":"warning","message":{"text":"NotarizationConfiguration.from_environment (cognitive 19): NotarizationConfiguration.from_environment has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12, boolean chains 5, error handling 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":".github/scripts/macos-signing/notarize_with_akv.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"efcbd62c0aff38ab68ce07b442bad99ff0ecd1ea43399f8c824eff005f79720a"}},{"ruleId":"D2","level":"warning","message":{"text":"publish_r2_release.should_update_channel (cognitive 19): publish_r2_release.should_update_channel has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 3, error handling 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":".github/scripts/publish_r2_release.py"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c60a3c6b4b019b747c719f98b1d89c151d74cb1ef0236137af228334c813114"}},{"ruleId":"D2","level":"warning","message":{"text":"exec.toTomlValue (cognitive 19): exec.toTomlValue has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdk/typescript/src/exec.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a69aba6d5de989f206041ce2211747d0388cb902f63b3f7ff80824aa96c4e18"}},{"ruleId":"D2","level":"warning","message":{"text":"AnalyticsReducer::ingest_sampling_response_completed (cognitive 18): AnalyticsReducer::ingest_sampling_response_completed has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 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":"codex-rs/analytics/src/reducer.rs"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaec3bf4453dff3f5ab987e6004820db1b2305d16737cb8f2289ea7d0236433c"}},{"ruleId":"D2","level":"warning","message":{"text":"AnalyticsReducer::ingest_skill_invoked (cognitive 18): AnalyticsReducer::ingest_skill_invoked has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (11 pts), match/switch 3 (6 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":"codex-rs/analytics/src/reducer.rs"},"region":{"startLine":1458}}}],"partialFingerprints":{"codehealthFindingId/v1":"101e595ec92b0691bf64bfe8c90d528709423c0ca32a16af0af13001160dc519"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginRequestProcessor::start_plugin_mcp_oauth_logins (cognitive 18): PluginRequestProcessor::start_plugin_mcp_oauth_logins has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 5 (10 pts), if/else 3 (6 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/plugins.rs"},"region":{"startLine":1915}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f8c0422ac32fd304b02ef69bd40f365583e9e6cefc2e991d24ee39ffe616aa"}},{"ruleId":"D2","level":"warning","message":{"text":"ThreadGoalRequestProcessor::state_db_for_materialized_thread (cognitive 18): ThreadGoalRequestProcessor::state_db_for_materialized_thread has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (18 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":"codex-rs/app-server/src/request_processors/thread_goal_processor.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e70b7e5bf521c144a1c7aa0acdbc84b80993333bccedda06769c5cc8566b4b8"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server::bespoke_event_handling::on_command_execution_request_approval_response (cognitive 18): codex_app_server::bespoke_event_handling::on_command_execution_request_approval_response has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 4 (10 pts), if/else 6, boolean chains 2 (nesting depth added 6). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/bespoke_event_handling.rs"},"region":{"startLine":2071}}}],"partialFingerprints":{"codehealthFindingId/v1":"5669803434c8c0caeb761635cf480671cafa1bf52b4cd507b28ff4327fe7b428"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server::command_exec::run_command (cognitive 18): codex_app_server::command_exec::run_command has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 3 (9 pts), if/else 3 (8 pts), loops 1 (nesting depth added 11). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/command_exec.rs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"4333d7dd6760eb65ee98430a14a5ac517f153ffe05a003ef51d72aa9447fdb3b"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server::request_processors::thread_processor::paginate_thread_turns (cognitive 18): codex_app_server::request_processors::thread_processor::paginate_thread_turns has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 1, match/switch 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":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":6258}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4344448d7493639ae2a29fd20cdee246fae37d00e634f00973503c8d3d3ca9"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server_client::cloud_backend::handle_request (cognitive 18): codex_app_server_client::cloud_backend::handle_request has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), match/switch 4 (5 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-client/src/cloud_backend/mod.rs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d012dfc9cb55d6cd346a77c2511bd53ca1d6bfe00d9be6993cdc854863e1b4"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server_client::cloud_backend::requests::cloud_message (cognitive 18): codex_app_server_client::cloud_backend::requests::cloud_message has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 4 (10 pts), if/else 4 (6 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-client/src/cloud_backend/requests.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b25440a94dc42c28636229b2f77a29597fa6e3342e9217d9243a825fd2afb0"}},{"ruleId":"D2","level":"warning","message":{"text":"Daemon::set_remote_control_locked (cognitive 18): Daemon::set_remote_control_locked has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (14 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-daemon/src/lib.rs"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b0a815defc4f39046f05b9def08717c09d5739e3de50550e7987715ad9c5cc0"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server_protocol::export::annotate_object (cognitive 18): codex_app_server_protocol::export::annotate_object has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8, loops 4 (7 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/export.rs"},"region":{"startLine":1790}}}],"partialFingerprints":{"codehealthFindingId/v1":"1160d15542da3e8e7446d088a74cf85316b4845bfd702d6e8dd657f889dc5ebb"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server_transport::transport::remote_control::segment::split_server_envelope_for_transport (cognitive 18): codex_app_server_transport::transport::remote_control::segment::split_server_envelope_for_transport has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 1, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-transport/src/transport/remote_control/segment.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b664bf465f70e507e61e2e305a85deb28c1297513e47d40e7d6848411d5ad97"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_cli::doctor::provider_reachability_check (cognitive 18): codex_cli::doctor::provider_reachability_check has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 2 (4 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":"codex-rs/cli/src/doctor.rs"},"region":{"startLine":2813}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb146b0a2d6acd9e9118648cf1be5ca8c3f89387dc5d573b0b40eee8e3013cf"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_cli::doctor::filesystem_paths::check (cognitive 18): codex_cli::doctor::filesystem_paths::check has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), match/switch 2 (5 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":"codex-rs/cli/src/doctor/filesystem_paths.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa45c6e4ccc5d425c2e591e5eb59537774d2853223ad77f9449163e45f54db8"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_cli::doctor::output::redact_detail (cognitive 18): codex_cli::doctor::output::redact_detail has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/doctor/output.rs"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4835c30fbe7ce2d49dbe97c23942007036d27bdf6aca967b5e38265682829e6"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_cli::doctor::thread_inventory::thread_id_from_rollout (cognitive 18): codex_cli::doctor::thread_inventory::thread_id_from_rollout has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 5 (12 pts), if/else 3 (5 pts), loops 1 (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/doctor/thread_inventory.rs"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"af91b54b91dcab3a5201e3d4a27f721785861efc7bf0c79f6b023b1a7f462bcc"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_cli::doctor::updates::latest_macos_staged_build (cognitive 18): codex_cli::doctor::updates::latest_macos_staged_build has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 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":"codex-rs/cli/src/doctor/updates.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"659d45a0ba03703f5b6dbc5c9a200738204ce44d34f0b35a73d6a75ab3640880"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_cli::mcp_login::read_terminal_callback (cognitive 18): codex_cli::mcp_login::read_terminal_callback has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (11 pts), match/switch 2 (5 pts), boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/mcp_login.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b10b42746d664873923e0bafe2fe2f2d8596a535f8678090adfe2d443eb5e20"}},{"ruleId":"D2","level":"warning","message":{"text":"Client::add_user_message (cognitive 18): Client::add_user_message has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 8 (11 pts), boolean chains 5, if/else 2 (nesting depth added 3). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cloud-client/src/turns.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"03da10c3b2bfea84b6d2c547569c69063ed5e5d441ed1843176b75641ea57ba4"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_code_mode_runtime::runtime::value::normalize_output_image (cognitive 18): codex_code_mode_runtime::runtime::value::normalize_output_image has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 2, match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"codex-rs/code-mode-runtime/src/runtime/value.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2c8e7eb01852420e776c7c9dd82d5d26dafcc1ffe521fe18b3acd6346f56a2"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_mcp::agent_plugin_config::resolve_existing_path_prefix (cognitive 18): codex_mcp::agent_plugin_config::resolve_existing_path_prefix has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 2 (4 pts), match/switch 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-mcp/src/agent_plugin_config.rs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ca1bf5237354fab7ee4aa82209ed42ac71ed7b7deda44a0ef9183e0f3ebfc3"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_mcp::rmcp_client::add_plugin_provenance_to_tool (cognitive 18): codex_mcp::rmcp_client::add_plugin_provenance_to_tool has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14 (17 pts), loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"codex-rs/codex-mcp/src/rmcp_client.rs"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"df57980edef0139f92913b23bfaee51e34a8c54367165fa149a0050573b350b4"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_config::fingerprint::record_origins (cognitive 18): codex_config::fingerprint::record_origins has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 2 (4 pts), boolean chains 1, match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/fingerprint.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f82a029921bdb6ee4df5a3fbff38aa69aab5ae474f665c4a17a656b21aea3d42"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_config::strict_config::ignored_config_warning (cognitive 18): codex_config::strict_config::ignored_config_warning has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (8 pts), loops 4 (5 pts), match/switch 2 (5 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/strict_config.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbbe65a485d91cbbab90ddf32b02f7b20ae44c78fefd66d7302ffdef9aecbf4a"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::start_task (cognitive 18): Session::start_task has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 5, match/switch 2, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tasks/mod.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c4ef6909fa27b9e9fd5e60bfa0b0954cc0b5bd55fa2ad95d681512e16bfea3"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::request_user_approval (cognitive 18): Session::request_user_approval has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 1, match/switch 1 (nesting depth added 5). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/approvals.rs"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa3797b46f2dd4297135fc48e875d93d5244fd4cf29ca519306b1179d432af52"}},{"ruleId":"D2","level":"warning","message":{"text":"ApplyPatchRuntime::run (cognitive 18): ApplyPatchRuntime::run has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 2 (3 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/runtimes/apply_patch.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"86444422610053c21b0c1d41d1b03a27355fb709be96aa78a0be28bd459cc9a7"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::compact::run_compact_task_inner_impl (cognitive 18): codex_core::compact::run_compact_task_inner_impl has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (15 pts), match/switch 1 (2 pts), 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":"codex-rs/core/src/compact.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"8983a3943fa9a0f6acabf1a80053d5c9467fdefdd7fed10ac6c761b64c31de27"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::exec_policy::render_decision_for_unmatched_command_for_platform (cognitive 18): codex_core::exec_policy::render_decision_for_unmatched_command_for_platform has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), match/switch 4 (7 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":"codex-rs/core/src/exec_policy.rs"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78cb025c271aa4f000469bae7fda65432099bc42f4d9dae387bb4ed2093a950"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::guardian::request_budget::prepare_prompt (cognitive 18): codex_core::guardian::request_budget::prepare_prompt has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 1 (2 pts), match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/guardian/request_budget.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3691392e61ceca107c11505d2035d297ea7305405feab3c61a2526ddd58d82a"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::mcp_skill_dependencies::collect_missing_mcp_dependencies (cognitive 18): codex_core::mcp_skill_dependencies::collect_missing_mcp_dependencies has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (8 pts), match/switch 2 (6 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/mcp_skill_dependencies.rs"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d8192bfb5dea7ed63cda40af34dfc87fada6ae316f4eefa6ae8340c1ec9f80"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::session::turn_input::start_if_idle (cognitive 18): codex_core::session::turn_input::start_if_idle has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 5, match/switch 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/turn_input.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"36cd033f6ce3222f680bb7f6628faad159f1a52d9932e79a72c94ba6c1faf4fd"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core_plugins::loader::merge_configured_plugins_with_remote_installed (cognitive 18): codex_core_plugins::loader::merge_configured_plugins_with_remote_installed has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 3 (4 pts), match/switch 1 (2 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":"codex-rs/core-plugins/src/loader.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a5c76765fe7bc3139b235115f71043369ff10caa9bedababb21f6d63d6e36f"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core_plugins::marketplace_upgrade::activation::activate_marketplace_root (cognitive 18): codex_core_plugins::marketplace_upgrade::activation::activate_marketplace_root has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), match/switch 3 (6 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":"codex-rs/core-plugins/src/marketplace_upgrade/activation.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed4f1ade15eaf59e84eebebc43d23d69c346946fa35f24e01f6728499a113d8"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core_plugins::remote::remote_installed_plugin_sync::sync_remote_installed_plugin_bundles_once_with_snapshot (cognitive 18): codex_core_plugins::remote::remote_installed_plugin_sync::sync_remote_installed_plugin_bundles_once_with_snapshot has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 4, match/switch 2 (4 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/remote/remote_installed_plugin_sync.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e5409685d48ddb908c17809b63bfca64e5e63145a94a1d27a30cb3e3792dbe"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core_plugins::remote::remote_installed_plugin_sync::remove_stale_remote_plugin_caches (cognitive 18): codex_core_plugins::remote::remote_installed_plugin_sync::remove_stale_remote_plugin_caches has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/remote/remote_installed_plugin_sync.rs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"04fa089788afb2803783547c5326c13dfd4f690637b0b67720228dcdce7485af"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core_plugins::startup_sync::remove_stale_curated_repo_temp_dirs (cognitive 18): codex_core_plugins::startup_sync::remove_stale_curated_repo_temp_dirs has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 5 (9 pts), if/else 4 (8 pts), loops 1 (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/startup_sync.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9413aa5355e7f4ca0592b4351b9e2d8f5f37eef68a682d77b106b6b4616674e"}},{"ruleId":"D2","level":"warning","message":{"text":"GoalRuntimeHandle::stop_active_goal_for_turn (cognitive 18): GoalRuntimeHandle::stop_active_goal_for_turn has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 4, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/goal/src/runtime.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a77c1a2c1017177a654896f7f13335f25305cd9b453ddd8403ef3e0c344b191"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_guardian_v2::async_scorer::decisions::request_body (cognitive 18): codex_guardian_v2::async_scorer::decisions::request_body has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (3 pts), match/switch 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":"codex-rs/ext/guardian-v2/src/async_scorer/decisions.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"724563ebb7ff913216981cafa6b6441e04699ddfdfb57be4607da8ffd0791d86"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_memories_extension::local::search::search_entries (cognitive 18): codex_memories_extension::local::search::search_entries has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/memories/src/local/search.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"4706b899c8d058d1720de9554f7f84868066c319e4a8063d566b19c3782ca991"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_skills_extension::dynamic_skill_selector::character_ngram::grams (cognitive 18): codex_skills_extension::dynamic_skill_selector::character_ngram::grams has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/skills/src/dynamic_skill_selector/character_ngram.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90dde69e2a8043db925d6f7b508e0d91b76ab7ccb455ac22bae07cd55556433"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_skills_extension::loader::host::load_skills_under_root (cognitive 18): codex_skills_extension::loader::host::load_skills_under_root has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 7 (9 pts), if/else 5 (7 pts), loops 2 (nesting depth added 4). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/skills/src/loader/host.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb4aa3702e2ee29d84f4fc648ebbbf5f79c3a81c20eac6910ad874c7cd73aa9"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_external_agent_migration::detect::sessions::connectors_cur::cached_connector_names_by_server_id (cognitive 18): codex_external_agent_migration::detect::sessions::connectors_cur::cached_connector_names_by_server_id has cognitive complexity 18 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 2 (8 pts) (nesting depth added 12). 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":"codex-rs/external-agent-migration/src/detect/sessions/connectors_cur.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"356dd29d28aa0a441bdd49c2309097fc6bb0545ace3a0d3817e2998ca6934b9a"}},{"ruleId":"D2","level":"warning","message":{"text":"Features::apply_map (cognitive 18): Features::apply_map has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), match/switch 2 (4 pts), boolean chains 1, 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":"codex-rs/features/src/lib.rs"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"7090f950366b7587d34ad9f80845975577952522fcb79908e728814690f8f0e0"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_features::unstable_features_warning_event (cognitive 18): codex_features::unstable_features_warning_event has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 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":"codex-rs/features/src/lib.rs"},"region":{"startLine":2491}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7e69df0adfc103ced8e590804f8f775d057b9829a84327e3c96a8a419ac30e"}},{"ruleId":"D2","level":"warning","message":{"text":"Ranking::advance (cognitive 18): Ranking::advance has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), match/switch 2 (4 pts), boolean chains 3, 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":"codex-rs/file-search/src/snapshot.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"56264cb91480fae862743f860f3f10758a0cb5a097f727221239912895f1561a"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_file_search::walker_worker (cognitive 18): codex_file_search::walker_worker has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), match/switch 3 (5 pts), boolean chains 2, 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":"codex-rs/file-search/src/lib.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1049caf92f6a6a4f265cf257ea9d16a501deeee9bb446c0190d50e7c6fd3d1"}},{"ruleId":"D2","level":"warning","message":{"text":"FileWatcher::notify_subscribers (cognitive 18): FileWatcher::notify_subscribers has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 5 (8 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":"codex-rs/file-watcher/src/lib.rs"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"241323a6f78f3c455d56821250e3c51827834ff694fcc94937bcdb8df083b950"}},{"ruleId":"D2","level":"warning","message":{"text":"PreparedElasticContext::enforce_budget (cognitive 18): PreparedElasticContext::enforce_budget has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (3 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":"codex-rs/guardian-context/src/allocation.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c8d51eb09e17c65663b9bf53c8968a32c77ed6d1b07ac65dee4b44f5b43e6a"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_history::model_id_ordinals::next_model_id_ordinals (cognitive 18): codex_history::model_id_ordinals::next_model_id_ordinals has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 2 (4 pts), match/switch 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/history/src/model_id_ordinals.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"163f49571995d53a211397657567167c9f39194857e27b04ac2f698beadfe95a"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_linux_sandbox::bwrap::glob_files (cognitive 18): codex_linux_sandbox::bwrap::glob_files has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (3 pts), match/switch 2, 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":"codex-rs/linux-sandbox/src/bwrap.rs"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db9fc8a2bd39bfa08ba43c899bd6bea1f62e641fe3f5b6fb6777ef8b9f10186"}},{"ruleId":"D2","level":"warning","message":{"text":"GatewayOAuthConfig::validate (cognitive 18): GatewayOAuthConfig::validate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 4, match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/model-provider-info/src/gateway_oauth.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"187ab5b3755ec50222b4ba490b2db9e82729bd82c748211cd5ee2cbac237361b"}},{"ruleId":"D2","level":"warning","message":{"text":"ResponseInputItem::from_user_input (cognitive 18): ResponseInputItem::from_user_input has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 4 (12 pts), if/else 1 (3 pts), loops 2 (3 pts) (nesting depth added 11). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/models.rs"},"region":{"startLine":2301}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f3f01ef09c5ac452d6d6b88c9027e39fae1586059271bcccdafd2ac22daf8f"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_protocol::permission_profile_intersection::normalize_policy (cognitive 18): codex_protocol::permission_profile_intersection::normalize_policy has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 4, match/switch 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/permission_profile_intersection.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d6ae2d0d1f0fb49b2c0982e22279c4ca49e39651f5a135deae2f0e78bcf915"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_rmcp_client::perform_oauth_login::spawn_callback_server (cognitive 18): codex_rmcp_client::perform_oauth_login::spawn_callback_server has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (15 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/perform_oauth_login.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb636d28d95b320401edfe5b50d865ff4ccec16813b8fed8f268a0c8e7e0460"}},{"ruleId":"D2","level":"warning","message":{"text":"RolloutRecorder::find_latest_thread_path (cognitive 18): RolloutRecorder::find_latest_thread_path has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout/src/recorder.rs"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b5cd494fd874ee69d916e98542fe74253a74c013522a39657625bbd5ecffb8"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_rollout::recorder::fill_missing_thread_item_metadata (cognitive 18): codex_rollout::recorder::fill_missing_thread_item_metadata has cognitive complexity 18 (threshold 15). Drivers by points: if/else 16, boolean chains 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout/src/recorder.rs"},"region":{"startLine":1433}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b1109c671d817b6c0d3233c5c043bf5f5c4f002d5573fa2dd2d917b3c77eb6"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_rollout::state_db::list_threads_db (cognitive 18): codex_rollout::state_db::list_threads_db has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), match/switch 4 (5 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout/src/state_db.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"1578266b4cfb38f23a741720c22ce6dadf71bcb19fa8259c393dc9dc7ab55491"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_rollout_trace::reducer::conversation::normalize::append_reasoning_parts (cognitive 18): codex_rollout_trace::reducer::conversation::normalize::append_reasoning_parts has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 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":"codex-rs/rollout-trace/src/reducer/conversation/normalize.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa786ad2fce43f7fb597f8c8dd183d1baf4cb5ac12b093e8f756ed46871b17ca"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_shell_command::command_safety::windows_dangerous_commands::classify_powershell_words (cognitive 18): codex_shell_command::command_safety::windows_dangerous_commands::classify_powershell_words has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 10, if/else 7 (8 pts) (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":"codex-rs/shell-command/src/command_safety/windows_dangerous_commands.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"253fd3cdee0fc78128db8295ae5774edab7feb3c2d65d6805ce522b07f11ac9b"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_shell_command::command_safety::windows_dangerous_commands::is_dangerous_cmd (cognitive 18): codex_shell_command::command_safety::windows_dangerous_commands::is_dangerous_cmd has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8, boolean chains 6, match/switch 2 (3 pts), loops 1 (nesting depth added 1). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/shell-command/src/command_safety/windows_dangerous_commands.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca331f31751ac90bb96fadc2281dc4f5a61ee917c7461dfc880c9b350a173d7"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_shell_command::parse_command::sed_has_in_place_flag (cognitive 18): codex_shell_command::parse_command::sed_has_in_place_flag has cognitive complexity 18 (threshold 15). Drivers by points: if/else 2 (8 pts), match/switch 2 (6 pts), loops 2 (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":"codex-rs/shell-command/src/parse_command.rs"},"region":{"startLine":2252}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a059b98cb8d325ff3a0d99fac5f281158faa22ca28f44e4a01ed1c5144d516"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryStore::get_phase2_input_selection (cognitive 18): MemoryStore::get_phase2_input_selection has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 3 (4 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":"codex-rs/state/src/runtime/memories.rs"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcdacc26aff68c45e6a5121e6ec37f91bb3fe3b06d219dce54df9d2f30044fdb"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_thread_store::local::archive_thread::archive_thread_with_paths (cognitive 18): codex_thread_store::local::archive_thread::archive_thread_with_paths has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 2, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/archive_thread.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"5685f68d03be9571b05437acaf70c66d938aea40b921c4646ec789696fc29deb"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_thread_store::local::thread_history::segment_paging::page_turn_rows (cognitive 18): codex_thread_store::local::thread_history::segment_paging::page_turn_rows has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 pts), match/switch 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/thread_history/segment_paging.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"74137c00ef99f2fd3c81f976a19ed3ca7cfe1b6cfb0bc7c2f2dc3339431ec911"}},{"ruleId":"D2","level":"warning","message":{"text":"SideCompanion::finish_item (cognitive 18): SideCompanion::finish_item has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 4, match/switch 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/side_companion.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"2527f5c538ea4ee471476fcc91a2e9f27822b0a8d111cf42e3f60afc9503a6a8"}},{"ruleId":"D2","level":"warning","message":{"text":"ThreadEventStore::push_notification_inner (cognitive 18): ThreadEventStore::push_notification_inner has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 4, match/switch 2 (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":"codex-rs/tui/src/app/thread_events.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"66264c36a88c54ee9dd693c006c02edfb16a3a1041781e0509f6623be0fb2c1c"}},{"ruleId":"D2","level":"warning","message":{"text":"App::agents_overview_session_config (cognitive 18): App::agents_overview_session_config has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 5, match/switch 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/agents_overview.rs"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"624b3026c6c1dde6c727d08006e46b0c9753a21dc54788a92709a0fd2c9402a7"}},{"ruleId":"D2","level":"warning","message":{"text":"App::refresh_thread_usage_history_tail (cognitive 18): App::refresh_thread_usage_history_tail has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/history_ui.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26cc446c230fe4cdfed4f4cb1940065c4a495c75ff7f8915d09aa5f90746204"}},{"ruleId":"D2","level":"warning","message":{"text":"App::continue_passive_link_drag (cognitive 18): App::continue_passive_link_drag has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/link_hover.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fad674b1d861d294f6316659ad0004a1bb648ff2cb1a3ddf55861b87ec9a9c5"}},{"ruleId":"D2","level":"warning","message":{"text":"App::start_fresh_session (cognitive 18): App::start_fresh_session has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (16 pts), match/switch 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":"codex-rs/tui/src/app/session_lifecycle.rs"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f60f63b657d884b7a51d2de17c83b563dab08649ee8cc1e858c1e250f50b89"}},{"ruleId":"D2","level":"warning","message":{"text":"App::handle_start_side (cognitive 18): App::handle_start_side has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 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, 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":"codex-rs/tui/src/app/side.rs"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27dd3731a0e54a68b851182441955eb0888eb54c984215b8a1fc0a64678d468"}},{"ruleId":"D2","level":"warning","message":{"text":"App::handle_owned_backtrack_event (cognitive 18): App::handle_owned_backtrack_event has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 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":"codex-rs/tui/src/app_backtrack/legacy_input.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e4356614ec766f7ea31295d45b1016ffe66d2610b3048331ae92533c545f10"}},{"ruleId":"D2","level":"warning","message":{"text":"HooksBrowserView::render_footer (cognitive 18): HooksBrowserView::render_footer has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (17 pts), match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/hooks_browser_view.rs"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f4210fecfbd401272f2a30f834ec01013257b31c6b5ac632b3b2ac690a8d7f"}},{"ruleId":"D2","level":"warning","message":{"text":"TextArea::apply_vim_insert_action (cognitive 18): TextArea::apply_vim_insert_action has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 8 (9 pts) (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":"codex-rs/tui/src/bottom_pane/textarea/vim_commands.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb4eb0b250ebd01883f882cfc86264ca582422ae0f14cfd458ae17e23ee4da2"}},{"ruleId":"D2","level":"warning","message":{"text":"TextArea::replace_element_payload_by_id (cognitive 18): TextArea::replace_element_payload_by_id has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 1 (2 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":"codex-rs/tui/src/bottom_pane/textarea.rs"},"region":{"startLine":1750}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3330ef818ec9074fff05f0eb47709cc0bbd2f317e58248203af0d9845ed89f8"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::backend_banner_fallback (cognitive 18): ChatWidget::backend_banner_fallback has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 6 (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":"codex-rs/tui/src/chatwidget/backend_banners.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf08063e48951e64ba0e808007d58f93bdfda43a8d7de1fe5d0c1b56bc73cbb4"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::on_task_complete (cognitive 18): ChatWidget::on_task_complete has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/turn_runtime.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c692b2d2fddaf05449600336aafae7c44f3a90ecd7abb6aad2aa30303b0ffe"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineDirectives::new (cognitive 18): InlineDirectives::new has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 3, loops 2 (3 pts), match/switch 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":"codex-rs/tui/src/markdown_render/inline_directives.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b639b885dc06f23c530bb9baf18b32bd4b7facba48a2fa76621fb65f442a38bf"}},{"ruleId":"D2","level":"warning","message":{"text":"Writer::prefix_spans (cognitive 18): Writer::prefix_spans has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 3, 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":"codex-rs/tui/src/markdown_render.rs"},"region":{"startLine":2645}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5d38524464fe78629e19cc6099dbb802c195de488dd708a73cdbdee1606193"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptView::pointer_down (cognitive 18): TranscriptView::pointer_down has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 7 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/transcript_view/input.rs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28d9ec35959ab3d6ed296fe0642b074af276a039609217ecc672acd460ce112"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::analytics::activity_chart::chart_lines (cognitive 18): codex_tui::analytics::activity_chart::chart_lines has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (3 pts), boolean chains 1, match/switch 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":"codex-rs/tui/src/analytics/activity_chart.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac2a624cd5fc4b4be34dcc85e5e8106e5c24b10f723f1463d87ae6aecfaf454"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::analytics::tasks::descendants (cognitive 18): codex_tui::analytics::tasks::descendants has cognitive complexity 18 (threshold 15). Drivers by points: loops 5 (9 pts), if/else 2 (6 pts), match/switch 1 (3 pts) (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":"codex-rs/tui/src/analytics/tasks.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f404af00e032b75a5e337f5ee19767bf8ceeae4a8fce06c34a780db34c8797"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::bottom_pane::chat_composer::find_next_mention_token_range (cognitive 18): codex_tui::bottom_pane::chat_composer::find_next_mention_token_range has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":4573}}}],"partialFingerprints":{"codehealthFindingId/v1":"d544a6930775fdf6dfa04b1cd83cc5578882a4eb422d95d07287b6c9c8fed8ef"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::bottom_pane::selection_popup_common::render_rows_inner (cognitive 18): codex_tui::bottom_pane::selection_popup_common::render_rows_inner has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/selection_popup_common.rs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c367bc3980fb44242c2e60cff1f6d88e0b306d508400c5f370bc1d6312cf26"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::chatwidget::extract_first_bold (cognitive 18): codex_tui::chatwidget::extract_first_bold has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 2 (4 pts), boolean chains 2 (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":"codex-rs/tui/src/chatwidget.rs"},"region":{"startLine":2145}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a904415553bc5aae1491638f7b9a769727afb62754df6f45150f49bbe2cf51c"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::pets::picker::custom_pet_entries (cognitive 18): codex_tui::pets::picker::custom_pet_entries has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/pets/picker.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d58b44cf0d17ee7c683e88e85c5b9f6567a0e903e0944e21750e6e33edff26"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::terminal_hyperlinks::remap_wrapped_line (cognitive 18): codex_tui::terminal_hyperlinks::remap_wrapped_line has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 4 (8 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/terminal_hyperlinks.rs"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"21bffca91af9ff727fafecb39aa62deb1d75ab86290b5cad4d626d351b84755f"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::terminal_hyperlinks::trailing_url_end (cognitive 18): codex_tui::terminal_hyperlinks::trailing_url_end has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (7 pts), match/switch 3 (7 pts), boolean chains 2, 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":"codex-rs/tui/src/terminal_hyperlinks.rs"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8fafb73e39e1703b348173d0dd3d141a29c12ca379570e16a8bf49bc863355"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::thread_transcript::other_items::cells (cognitive 18): codex_tui::thread_transcript::other_items::cells has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), match/switch 2 (3 pts) (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/thread_transcript/other_items.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3e472d433567056d98d43cbd4d344db833323d9eeaeb4dacfcac9ba8d9666a"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_utils_pty::child_reaper::sender (cognitive 18): codex_utils_pty::child_reaper::sender has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 3 (8 pts), if/else 4 (7 pts), boolean chains 2, 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":"codex-rs/utils/pty/src/child_reaper.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"6505439389d251f515342fe5a926727b630493d0acca00eb68b203bb9f137664"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_utils_pty::pty::close_inherited_fds_except (cognitive 18): codex_utils_pty::pty::close_inherited_fds_except has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 2 (4 pts), boolean chains 2 (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":"codex-rs/utils/pty/src/pty.rs"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"51dd3e901784bd753a4b59b8cf2a93711145cb64c1632c7159a70e7ef8993367"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_windows_sandbox::unified_exec::backends::windows_common::start_runner_stdout_reader (cognitive 18): codex_windows_sandbox::unified_exec::backends::windows_common::start_runner_stdout_reader has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (9 pts), match/switch 3 (8 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-rs/src/unified_exec/backends/windows_common.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8594733ff424e2af9224d153573367f1610297801f0951562749486345831b1"}},{"ruleId":"D2","level":"warning","message":{"text":"layout.validate_package_dir (cognitive 18): layout.validate_package_dir has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 4 (5 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/codex_package/layout.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db21d387e81af30e98d2fff751b620684475ed6717ab5ea2bbc9566efbbc167"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_conformance_adapter._exercise_scenario (cognitive 18): codex_conformance_adapter._exercise_scenario has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (12 pts), loops 2 (4 pts), boolean chains 2 (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":"scripts/mcp_conformance/codex_conformance_adapter.py"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c48257278895fe7c5a56249f5047b8bf51709013a2a5372f70d441a62ccd27"}},{"ruleId":"D2","level":"warning","message":{"text":"run_codex_compliance._validate_registration (cognitive 18): run_codex_compliance._validate_registration has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 7 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mcp_conformance/run_codex_compliance.py"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"3294317f836f5d1636645f9fecda2320f94a22abdda07574601cf64204b8e0f3"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageRouter.route_notification (cognitive 18): MessageRouter.route_notification has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 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":"sdk/python/src/openai_codex/_message_router.py"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"508601d58e5bf7c11ec23e6288a867e90cc3966f247e754150c9ae471800607f"}},{"ruleId":"D2","level":"warning","message":{"text":"notarize_with_akv.notarize (cognitive 18): notarize_with_akv.notarize has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), error handling 2 (3 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/macos-signing/notarize_with_akv.py"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"22155f9c35622d8e18862089f61d7e1c319ebbf9ae1c86b47b042015f6986199"}},{"ruleId":"D2","level":"warning","message":{"text":"build_npm_package.main (cognitive 18): build_npm_package.main has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (14 pts), ternaries 2 (3 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-cli/scripts/build_npm_package.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"63bfa93ca650aa3e3137c5cfaefcb97f989432dd5fb50984c444749e51865c35"}},{"ruleId":"D2","level":"warning","message":{"text":"codex.detectPackageManager (cognitive 18): codex.detectPackageManager has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-cli/bin/codex.js"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f612df6512f1dbbf8ed6e445cd2d62b0f3f766b33ff4da1aa1f70e001700447"}},{"ruleId":"D2","level":"warning","message":{"text":"exec.flattenConfigOverrides (cognitive 18): exec.flattenConfigOverrides has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 2, ternaries 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdk/typescript/src/exec.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed076ff1d326dcadcf3049c32614bb53ea50d2e7e0fa739852f9ba99190bf84"}},{"ruleId":"D2","level":"warning","message":{"text":"McpRequestProcessor::read_mcp_resource (cognitive 17): McpRequestProcessor::read_mcp_resource has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 5, match/switch 2 (3 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/mcp_processor.rs"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"9491c8470f87ad8692c7dfdfd9e4b374000b514a2d10f91ee2cd1029af63b04f"}},{"ruleId":"D2","level":"warning","message":{"text":"ThreadRequestProcessor::thread_list_response_inner (cognitive 17): ThreadRequestProcessor::thread_list_response_inner has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (8 pts), match/switch 4 (5 pts), boolean chains 3, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":2753}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a5ad6067fe6755de818d3037189cdc7eb9cf9d450728c0e7c620c00c52ac8d"}},{"ruleId":"D2","level":"warning","message":{"text":"Replies::forward_next (cognitive 17): Replies::forward_next has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3, match/switch 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":"codex-rs/app-server-client/src/cloud_backend/mod.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4a2b2ba641aafc0858743f4b5cc718edfffb93ce1aa62d18f5eec2e0f43b58"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server_protocol::export::collect_namespaced_types (cognitive 17): codex_app_server_protocol::export::collect_namespaced_types has cognitive complexity 17 (threshold 15). Drivers by points: loops 3 (9 pts), if/else 3 (8 pts) (nesting depth added 11). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/export.rs"},"region":{"startLine":1686}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71fa34b89e6a846ebe75376a09ff97a1d49ad631971794d5f5a0093aa3ff673"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server_protocol::protocol::event_mapping::item_event_to_server_notification (cognitive 17): codex_app_server_protocol::protocol::event_mapping::item_event_to_server_notification has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 7 (11 pts), if/else 4 (6 pts) (nesting depth added 6). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/event_mapping.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"111471d043eca8e930d20172928c174f29965d61061852c1deca648492c58591"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteControlWebsocket::resolve_unknown_desired_state (cognitive 17): RemoteControlWebsocket::resolve_unknown_desired_state has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), match/switch 4 (7 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":"codex-rs/app-server-transport/src/transport/remote_control/websocket.rs"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e03f1fb46b9a4fe8a6bf2be9dbe66d98cbae3f94c873067d1d7b2de6148cb4f"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_cli::run_tui_with_recovery (cognitive 17): codex_cli::run_tui_with_recovery has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), match/switch 2 (4 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/main.rs"},"region":{"startLine":2619}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b1d19b1c88a2497f8f27453a1484b1ac2ec7602eacc91f657b3aa6f78b60b2"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_cli::migrate_nfs_db::run (cognitive 17): codex_cli::migrate_nfs_db::run has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 2, loops 2, match/switch 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/migrate_nfs_db.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f49b42dc220fc79f396fff6002d9f5aae8441dba307ffb4acc2cb3b9df8a489"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedTransport::client (cognitive 17): SharedTransport::client has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 4, match/switch 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/code-mode/src/grpc_session/transport.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de3523fc9c7e3501740b745d0757c23085ae11485f6f9eecc15974ac3408b41"}},{"ruleId":"D2","level":"warning","message":{"text":"GrpcSession::dispatch_tool (cognitive 17): GrpcSession::dispatch_tool has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), match/switch 2 (5 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/code-mode-host/src/grpc/routing.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"05eb52ab85c4011fd24156cd5c23df0229abbb54f31736d2c70bd8266606a14f"}},{"ruleId":"D2","level":"warning","message":{"text":"ResponsesWebsocketConnection::stream_request_with_observer (cognitive 17): ResponsesWebsocketConnection::stream_request_with_observer has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), match/switch 5 (7 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-api/src/endpoint/responses_websocket.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a240e39310c75f0a87c875cce6af9cdc62d4c89d3e79dc6772a7cf1afe9e41"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_config::tui_keymap::normalize_keybinding_stroke (cognitive 17): codex_config::tui_keymap::normalize_keybinding_stroke has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (13 pts), match/switch 1 (2 pts), boolean chains 1, 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":"codex-rs/config/src/tui_keymap.rs"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de70c9e0e0589308022bfe1ffdc057ded7d595596e8e654a36227a751fa742e"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalAgentControl::notify_parent_of_terminal_turn (cognitive 17): LocalAgentControl::notify_parent_of_terminal_turn has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (12 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"codex-rs/core/src/agent/control/completion.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5fe58120f62485881944b634d2192afad0c888100eb3bb7119847bf202efab"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentsMdManager::refresh (cognitive 17): AgentsMdManager::refresh has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/agents_md_manager.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"03afea6ecc1e6128a6a5538ddfb917468f001a6a755b30a652fdda6c77b40615"}},{"ruleId":"D2","level":"warning","message":{"text":"ResponsesHttpExecutor::stream_responses_http (cognitive 17): ResponsesHttpExecutor::stream_responses_http has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/client.rs"},"region":{"startLine":1969}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dde1536d924a1168f9ba44ece18d76ce1ab085d9f201e05d78abfd3ae37471a"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::update_settings_if (cognitive 17): Session::update_settings_if has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, boolean chains 5, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":2171}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4b5c5bf46c2655bc3bca8fd3194d3356ea8e3eaaa97a85a0afdb0c13dfe644"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::send_event (cognitive 17): Session::send_event has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":2727}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c20335e44caf804e65dd46fd8bd4999a341d6e820cf05d03da2c14a81a622fe"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::request_approval_with_user_prompt (cognitive 17): Session::request_approval_with_user_prompt has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), match/switch 3 (4 pts), boolean chains 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":"codex-rs/core/src/tools/approvals.rs"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d191053a7ffb9f01923014eb37d9feb5e570960c840ad5cc35d7f831a95c2b"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionConfiguration::apply (cognitive 17): SessionConfiguration::apply has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/session.rs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa412ab23ea4b4230dbad957ef3a1e31af29fc577268f198e9a407d299a89789"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionStartup::cleanup (cognitive 17): SessionStartup::cleanup has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (16 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":"codex-rs/core/src/session/startup.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"51895295655a3554718d5bf4ba767c179c453b8b1391516e18f5963cb4af5e19"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::client::handle_unauthorized (cognitive 17): codex_core::client::handle_unauthorized has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), match/switch 3 (5 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":"codex-rs/core/src/client.rs"},"region":{"startLine":3084}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c8f621d78d2be9ca958b7becff1107eb7061942404d6d5f52825b5993999b8"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::config::resolve_web_search_mode_for_turn (cognitive 17): codex_core::config::resolve_web_search_mode_for_turn has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (4 pts), boolean chains 2, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/config/mod.rs"},"region":{"startLine":3247}}}],"partialFingerprints":{"codehealthFindingId/v1":"918d60c48ef49a33b6099877ce2ab7095225878263a23d3bafc9e386a69ec155"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::config::managed_features::parse_feature_requirements (cognitive 17): codex_core::config::managed_features::parse_feature_requirements has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 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":"codex-rs/core/src/config/managed_features.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5221e1c61e129e762f7ffcfdea2f259e6f494858e05a7dd67ded4c7cdf34d30"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::mcp_openai_file::build_uploaded_argument_value (cognitive 17): codex_core::mcp_openai_file::build_uploaded_argument_value has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 3, match/switch 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/mcp_openai_file.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b66ac96d31393ae3bf120e9979d65ac4e5cbc51a05cf0e6bbe4a34a2ea0e3d"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::responses_retry::handle_response_stream_error (cognitive 17): codex_core::responses_retry::handle_response_stream_error has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 6, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/responses_retry.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"d479a5121c07fdd8e4c6d818baca13d87b22d03d5adbebab3369dc9aca638e65"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::unified_exec::async_watcher::start_streaming_output (cognitive 17): codex_core::unified_exec::async_watcher::start_streaming_output has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 3 (8 pts), if/else 3 (5 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/unified_exec/async_watcher.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ce11988b199372e5b709d5a9cc07213f9408be1db169ae39e3642e400a425d"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginsManager::write_remote_installed_plugins_cache_snapshot (cognitive 17): PluginsManager::write_remote_installed_plugins_cache_snapshot has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, boolean chains 6, match/switch 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":"codex-rs/core-plugins/src/manager.rs"},"region":{"startLine":1589}}}],"partialFingerprints":{"codehealthFindingId/v1":"d440b4865d6aaddb09b1f74898e1984a6214193e0dd7c859a2e8ca84e89dc1e1"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginsManager::schedule_non_curated_plugin_cache_refresh (cognitive 17): PluginsManager::schedule_non_curated_plugin_cache_refresh has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, if/else 7, match/switch 2. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/manager.rs"},"region":{"startLine":3351}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6bdb3fa68e27e78eb48bfe510cab60e74772b128de0f9f0dd0a3c7a41d273c"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginsManager::run_non_curated_plugin_cache_refresh_loop (cognitive 17): PluginsManager::run_non_curated_plugin_cache_refresh_loop has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), match/switch 3 (6 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":"codex-rs/core-plugins/src/manager.rs"},"region":{"startLine":3654}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a010fe7e5153a67d16a4c29e39c3fe36ad30f53293ad09896919a35f2ba22b"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core_plugins::agent_plugin_mcp_overlay::apply_codex_env_overlay (cognitive 17): codex_core_plugins::agent_plugin_mcp_overlay::apply_codex_env_overlay has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (3 pts), match/switch 2, 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":"codex-rs/core-plugins/src/agent_plugin_mcp_overlay.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b148403790b8915ac74caef3416359f79728ce24cf09a4cd3997a80d0f5e46"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core_plugins::catalog::merge_catalogs (cognitive 17): codex_core_plugins::catalog::merge_catalogs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/catalog.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff497f592d61180849988eedf92113f167024373777d125e5bbd7d90facf217"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core_plugins::loader::load_mcp_servers_from_file (cognitive 17): codex_core_plugins::loader::load_mcp_servers_from_file has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (7 pts), match/switch 4 (7 pts), boolean chains 2, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/loader.rs"},"region":{"startLine":1578}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae72897c9dc7c2d4a5dad89a2d97f1be619600eed0884d56d5968ba3f78bc0c7"}},{"ruleId":"D2","level":"warning","message":{"text":"EventProcessorWithHumanOutput::render_item_completed (cognitive 17): EventProcessorWithHumanOutput::render_item_completed has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 4 (7 pts), if/else 3 (6 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec/src/event_processor_with_human_output.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c7b12a4b17ddccd30461e02ad8d2ee78d658c3fc5ea51228aff1b97b25a30a"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_exec_server::discoverV2::capability_locations::discover_cached_plugins (cognitive 17): codex_exec_server::discoverV2::capability_locations::discover_cached_plugins has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 2 (3 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":"codex-rs/exec-server/src/discoverV2/capability_locations.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"6525155c11bf2746eabc38d58fdb6477ac82c4e8aefbfabd0a299d4fc5271a72"}},{"ruleId":"D2","level":"warning","message":{"text":"GoalService::set_thread_goal (cognitive 17): GoalService::set_thread_goal has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 3, match/switch 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/goal/src/api.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0476c77279709da51716bfaf54dc92e37ccedf0495f47aa6e48cda2e2a9463"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_memories_extension::local::list::list (cognitive 17): codex_memories_extension::local::list::list has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 1 (2 pts), boolean chains 1, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/memories/src/local/list.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"12460b27d0c747819fc854f9497475b04db5344750796858bc4949c7a68f23c1"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_skills_extension::catalog::apply_plugin_denials (cognitive 17): codex_skills_extension::catalog::apply_plugin_denials has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 3, 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":"codex-rs/ext/skills/src/catalog.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"6186ceb1a5e38c41f2937a3d11302778e3734928a9072731f5e57c7454450645"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_skills_extension::loader::host_merge::merge_host_skill_root_snapshots (cognitive 17): codex_skills_extension::loader::host_merge::merge_host_skill_root_snapshots has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/skills/src/loader/host_merge.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c5c976a9f7cef7764dc2cb2ea7f682c3b2152d9b1c2a0a1130b99067795b22"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_external_agent_migration::detect::sessions::cur::cur_transcript_files (cognitive 17): codex_external_agent_migration::detect::sessions::cur::cur_transcript_files has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 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":"codex-rs/external-agent-migration/src/detect/sessions/cur.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b9dd81812e6f2541504a776d1425c50dfc9b71598835697c344abe373fdd86"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_external_agent_migration::source_cur::cached_marketplace_plugins (cognitive 17): codex_external_agent_migration::source_cur::cached_marketplace_plugins has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), match/switch 2 (4 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/external-agent-migration/src/source_cur.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"55cccde58f2b1930fd2ff795ee12ef7ffd66417754cc5a8d43d851ed18469187"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_git_utils::info::branch_ancestry (cognitive 17): codex_git_utils::info::branch_ancestry has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/git-utils/src/info.rs"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"61afac0e3649bd4f2716a7231854459e5d2b85d0ca0ee3fa0ec778edd0ed07ac"}},{"ruleId":"D2","level":"warning","message":{"text":"ComposedContext::into_annotated_messages (cognitive 17): ComposedContext::into_annotated_messages has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (7 pts), match/switch 2 (6 pts), loops 2 (4 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":"codex-rs/guardian-context/src/composition.rs"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea57a0c147f5b231443935277cc514da0b4754be0ea53e81ad4f827e56504aa6"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_hooks::engine::command_runner::run_command (cognitive 17): codex_hooks::engine::command_runner::run_command has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 6 (9 pts), if/else 5 (7 pts), boolean chains 1 (nesting depth added 5). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/hooks/src/engine/command_runner.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b425c0889ba77a67b657396ca679c27f160b7ff044d92d10bfd56ffd68595f"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_hooks::events::interrupt::parse_completed (cognitive 17): codex_hooks::events::interrupt::parse_completed has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 2 (3 pts) (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/hooks/src/events/interrupt.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a656084a7de3ceed06149ec7620e8b0b6d5347e8f8880c1978db7178d9defcd"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_memories_write::phase2::run (cognitive 17): codex_memories_write::phase2::run has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), match/switch 5, boolean chains 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/memories/write/src/phase2.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"58bfc23b3be2be4a494e7c899415d1f4282510312012ea9a885df2d719333743"}},{"ruleId":"D2","level":"warning","message":{"text":"CredentialBroker::discover_parent_credentials_for_environment (cognitive 17): CredentialBroker::discover_parent_credentials_for_environment has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/credential_broker.rs"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb276eaac95e75d22fac465e350bf9b5d773e76fb0052b1c046a152ac1e9805b"}},{"ruleId":"D2","level":"warning","message":{"text":"TcpUpstreamProxy::connect (cognitive 17): TcpUpstreamProxy::connect has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 5 (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":"codex-rs/network-proxy/src/tcp_upstream.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ddc6ec302d893968c7ddf6ad79d5d26a58b1aa0e7d0c5c461dc75af6bebd98"}},{"ruleId":"D2","level":"warning","message":{"text":"OtelProvider::try_new (cognitive 17): OtelProvider::try_new has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 5 (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":"codex-rs/otel/src/provider.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee7798d5681bc0966a0fc23bdcefb06ecc8ba9896ffc25c84e3e98ff61b0691"}},{"ruleId":"D2","level":"warning","message":{"text":"OAuthStoreLock::acquire_in_with_mode (cognitive 17): OAuthStoreLock::acquire_in_with_mode has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), match/switch 6 (8 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/oauth/store_lock.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0846415b1fdd83bf91656ffc110c2feeb0f9ba7d909fe3c6b433815c569f72"}},{"ruleId":"D2","level":"warning","message":{"text":"RolloutPersistenceTelemetry::record_batch (cognitive 17): RolloutPersistenceTelemetry::record_batch has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 4 (5 pts), match/switch 1 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout/src/persistence_metrics.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbba97e77406dba1a6ae35622da84112406290b18f6b9d7d4d49171b841e6985"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_rollout_trace::reducer::replay_bundle (cognitive 17): codex_rollout_trace::reducer::replay_bundle has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 4, boolean chains 3 (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":"codex-rs/rollout-trace/src/reducer/mod.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c35f4a2cda26114d0487898d39a3e9095471081cdb3ad92fd69f0355e4f21dd2"}},{"ruleId":"D2","level":"warning","message":{"text":"TerminalQueryResponder::process (cognitive 17): TerminalQueryResponder::process has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 5, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/sandboxing/src/terminal_queries.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ce545cd6262fbe29a6f9d3e58fda175d62f4c65b5776c92f1819a2ca046a80"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_shell_command::bash::parse_plain_command_from_node (cognitive 17): codex_shell_command::bash::parse_plain_command_from_node has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (7 pts), match/switch 2 (6 pts), loops 2 (4 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":"codex-rs/shell-command/src/bash.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9faf48e65dd98e57eb6f67fd2fd98a4aa490e3a4b6a1d08d64ea011d8b6d077"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_shell_command::command_safety::powershell_tree_sitter::lower_command_text (cognitive 17): codex_shell_command::command_safety::powershell_tree_sitter::lower_command_text has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/shell-command/src/command_safety/powershell_tree_sitter.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be46412baf96872127a7747c524d1307bd07372a07976dfb2e6f84f115d481a"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_shell_command::parse_command::positional_operands (cognitive 17): codex_shell_command::parse_command::positional_operands has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/shell-command/src/parse_command.rs"},"region":{"startLine":1753}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc32105fd257e68d4a50378c4f67dd3622159c5cf67fa50b4f951c1fa7a675b"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_skills::selection::collect_explicit_skill_mentions (cognitive 17): codex_skills::selection::collect_explicit_skill_mentions has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 pts), boolean chains 2, loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/skills/src/selection.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8bfbc281f036590a7f7036882b280e51d1c7f3168de39958978041575cb95dc"}},{"ruleId":"D2","level":"warning","message":{"text":"SqliteConfig::open_read_write_pool_with_spec (cognitive 17): SqliteConfig::open_read_write_pool_with_spec has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (12 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/state/src/sqlite.rs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de43acb3fc6c698854d36a821532114f6210573636dbb9b490395f8e9aa3da4"}},{"ruleId":"D2","level":"warning","message":{"text":"Renderer::annotate_calendar (cognitive 17): Renderer::annotate_calendar has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/analytics/plot/annotations.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"19fb4fd567e9577f84bdecff7ae6cfb351304c0a060bff503168d40820a08bea"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentsOverviewView::center_footer_hints (cognitive 17): AgentsOverviewView::center_footer_hints has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/agent_center/hints.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa70bb00c2725216a0d138a890b1cd6d9817868ca9c8e584a400a37f9b8817c"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentsOverviewView::command_center_key (cognitive 17): AgentsOverviewView::command_center_key has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/agent_center/input.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06a1a806cc91ec44b6d3d064636eacc712053d3e38d9515f24d9904281578d8"}},{"ruleId":"D2","level":"warning","message":{"text":"App::render_transcript_lines_for_reflow (cognitive 17): App::render_transcript_lines_for_reflow has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 3, loops 3 (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":"codex-rs/tui/src/app/resize_reflow.rs"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"235226e3259f36bd7caff084ba0eb03793b7e84a0afb0e86541a51ee33920c64"}},{"ruleId":"D2","level":"warning","message":{"text":"App::select_agent_thread (cognitive 17): App::select_agent_thread has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, boolean chains 5, match/switch 1 (2 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/session_lifecycle.rs"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"922d78f0fd56b9c9e64bc7d5878c5db00f514966fe50f5a7488f10c3cde9fbd0"}},{"ruleId":"D2","level":"warning","message":{"text":"App::handle_active_thread_event (cognitive 17): App::handle_active_thread_event has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 5 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/thread_routing.rs"},"region":{"startLine":2185}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ccd74807c9d1e569ccae34060196fd5cdbd75c245d5c76c0a47a3133997d21c"}},{"ruleId":"D2","level":"warning","message":{"text":"AttachmentState::handle_remote_image_selection_key (cognitive 17): AttachmentState::handle_remote_image_selection_key has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 1, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/chat_composer/attachment_state.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d7f9081858e681a2e6319be15810f52ef2f32a6220565ed350d00b298370fb"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatComposer::handle_key_event_with_file_popup (cognitive 17): ChatComposer::handle_key_event_with_file_popup has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (16 pts), match/switch 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":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":2211}}}],"partialFingerprints":{"codehealthFindingId/v1":"edfea062d5e8cd56f193f1ca798bb00ba753b9b137cbfd7dee8e20ab375661e7"}},{"ruleId":"D2","level":"warning","message":{"text":"TextArea::apply_vim_search (cognitive 17): TextArea::apply_vim_search has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 1, match/switch 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":"codex-rs/tui/src/bottom_pane/textarea/vim_search.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d09f298e9b6338df45cf37d8f0b4dacf573b3281bc903ca287cc1d763e4e7a"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::handle_item_started_notification (cognitive 17): ChatWidget::handle_item_started_notification has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 5, match/switch 1 (nesting depth added 5). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/protocol.rs"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"6deb33cf5f57583cf7cb4f385c06f7d3bd83551038c9702b28d8291c67077711"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::handle_thread_item (cognitive 17): ChatWidget::handle_thread_item has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 2, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/replay.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d813833b828370923bf924df02c84169c84b71cad6a4db6aa46962c81cb95fc"}},{"ruleId":"D2","level":"warning","message":{"text":"McpToolCallCell::render_hyperlink_lines (cognitive 17): McpToolCallCell::render_hyperlink_lines has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 2, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/history_cell/mcp.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"f91387606f665a33c455fabc5c31a994677f5de05b466a98e690fc9ae989a230"}},{"ruleId":"D2","level":"warning","message":{"text":"Writer::start_item (cognitive 17): Writer::start_item has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (13 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/markdown_render.rs"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb6067efa83b047e61e89f4c8af4bd7d8aea053f100b87170472087ef3a6c21"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptView::owns_interaction_key (cognitive 17): TranscriptView::owns_interaction_key has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 12, if/else 5. 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":"codex-rs/tui/src/transcript_view/input.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"09aea1d1d0c2295029cde73a41626f5ba518afb6ed58e09829cead54c2524e73"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptView::move_select_word (cognitive 17): TranscriptView::move_select_word has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/transcript_view/select_mode/motion.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"701e8ebc9bd44b4dbe521a605443c23c7a933473f0ee77d53ec635825b5fcde0"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptView::render_parked (cognitive 17): TranscriptView::render_parked has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 6 (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":"codex-rs/tui/src/transcript_view.rs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea9be86f46c5ee788c5364bb72f2d47460d8271b5f7109727b8585bc31e92d8"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::app::realtime_delivery::completed_agent_items (cognitive 17): codex_tui::app::realtime_delivery::completed_agent_items has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 2 (4 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/realtime_delivery.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf14f16f08b2910089da28ecbe4d8a5064fd28ad22373e001d3adac91619ebf"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::app::transcript_export::export_activity_cell (cognitive 17): codex_tui::app::transcript_export::export_activity_cell has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (7 pts), loops 2 (5 pts), match/switch 2 (5 pts) (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/transcript_export.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32b67ad7a2dcefb22c115793c8a5386a5df180dd25d9f944c2a54bb68ecf50d"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::app_server_session::thread_resume_params_from_config (cognitive 17): codex_tui::app_server_session::thread_resume_params_from_config has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 5, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app_server_session.rs"},"region":{"startLine":2746}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f63d8f1a1a37874d8f75d4fd52af3f17875fb70c6cec3d7cf5ef3b74c847f0"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::daemon_startup::compatibility_warning (cognitive 17): codex_tui::daemon_startup::compatibility_warning has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), match/switch 4, boolean chains 3, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/daemon_startup.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c55e270d0e09d7b7dd929b2a4a395328f565686b61e28227eb4e73f60f63fae"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::task_mentions::spawn_search (cognitive 17): codex_tui::task_mentions::spawn_search has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/task_mentions.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c38d70873a07d7032a3599dc7a6deafc8e9415b380e188c99e5e364592ca71f"}},{"ruleId":"D2","level":"warning","message":{"text":"Playback::next (cognitive 17): Playback::next has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/voice-host/src/device_buffers.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1328d1edf6eeee16619dae796d14881ba090425280b256ffa05f608ac4ef20"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_windows_sandbox::acl::add_deny_ace (cognitive 17): codex_windows_sandbox::acl::add_deny_ace has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (16 pts), match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-rs/src/acl.rs"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8b446724e4454c21b424f6f507a334b5615fea8fc2be816fc042fef1084333"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_windows_sandbox::uninstall_windows::processes::sandbox_processes (cognitive 17): codex_windows_sandbox::uninstall_windows::processes::sandbox_processes has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (16 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":"codex-rs/windows-sandbox-rs/src/uninstall_windows/processes.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"353e57bbb81045bc209209bc6bd4f743ecdf2d01e942038e64893d515516cff9"}},{"ruleId":"D2","level":"warning","message":{"text":"cargo.build_source_binaries (cognitive 17): cargo.build_source_binaries has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (6 pts), ternaries 5, boolean chains 4, loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/codex_package/cargo.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a399a65ecb4832b6b9dc93421d3a56bdaf546ef508872ca8bdb1e9384c2415"}},{"ruleId":"D2","level":"warning","message":{"text":"official_conformance._run_scenario (cognitive 17): official_conformance._run_scenario has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, error handling 3 (4 pts), if/else 3, loops 1 (2 pts), ternaries 1 (nesting depth added 2). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mcp_conformance/official_conformance.py"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"b975742d683d6c8b32dfda0e3cce60b8f50413321c5f8f92c914396c8650a35e"}},{"ruleId":"D2","level":"warning","message":{"text":"run_codex_compliance.run_compliance (cognitive 17): run_codex_compliance.run_compliance has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 2 (3 pts), ternaries 3, boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mcp_conformance/run_codex_compliance.py"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0d8511e0c136b29a59e2c65e2c6064e6aa78024d23b9c574c5e22f704589a3"}},{"ruleId":"D2","level":"warning","message":{"text":"contract_releases.github_read (cognitive 17): contract_releases.github_read has cognitive complexity 17 (threshold 15). Drivers by points: if/else 2 (6 pts), boolean chains 4, ternaries 1 (4 pts), error handling 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/contract_releases.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d6486008e593dbbe1a5c370cb6846c99e71242a338219639934cda063c5510"}},{"ruleId":"D2","level":"warning","message":{"text":"ExternalAgentSessionImporter::import_sessions (cognitive 16): ExternalAgentSessionImporter::import_sessions has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 3, match/switch 2 (3 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/external_agent_migration/session_importer.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"12dbcef1f087781b8d1a23c036f1d9353fd7e8478a9d3eec8082b3c99bc46863"}},{"ruleId":"D2","level":"warning","message":{"text":"EnterpriseLoginState::start (cognitive 16): EnterpriseLoginState::start has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 6 (7 pts), if/else 5, boolean chains 4 (nesting depth added 1). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/account_processor/enterprise_login.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"deafad979624acaa3dae1798295f65a785aa94e8970d0a05607d67259efa2e4f"}},{"ruleId":"D2","level":"warning","message":{"text":"ThreadRequestProcessor::continue_daemon_turn (cognitive 16): ThreadRequestProcessor::continue_daemon_turn has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, match/switch 4, boolean chains 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/daemon_continuation.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"377da5719ca19cdf6ad2fcff349ac8faa5f18a1cd6e6186465f8543e7ea8c7c1"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkerRuntime::record_observation (cognitive 16): WorkerRuntime::record_observation has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 1, match/switch 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/turn_cost_worker.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1649fca2c336e056185aeaa6c4bedd084f0f07f8ee29c93c2efc267350fba99"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server::command_exec::spawn_process_output (cognitive 16): codex_app_server::command_exec::spawn_process_output has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 3 (7 pts), if/else 3 (5 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/command_exec.rs"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf100950da10ee403b0f87a7c2c2c4e747b76e41e577d6835ee56bcd0a47ea4"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server::config_manager_service::apply_merge (cognitive 16): codex_app_server::config_manager_service::apply_merge has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, if/else 4 (6 pts), match/switch 2 (3 pts), loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/config_manager_service.rs"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"32cb742e1d86272de22f9108b98d951feb922ea81b562032cf49239c6ac8362f"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server::thread_sample::collect_response (cognitive 16): codex_app_server::thread_sample::collect_response has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 2 (6 pts), if/else 1 (5 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/thread_sample.rs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"048109c9b398490d5f45d7410d21c5a3f165141003ca7b1188d00a1aeea32982"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server_protocol::export::variant_definition_name (cognitive 16): codex_app_server_protocol::export::variant_definition_name has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), match/switch 2 (6 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":"codex-rs/app-server-protocol/src/export.rs"},"region":{"startLine":1722}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd9250138ecac6e578dc247ea1b6d5cf9aa76eb044dffe26cca32d7f08d980f"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server_protocol::export::annotate_variant_list (cognitive 16): codex_app_server_protocol::export::annotate_variant_list has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 2, 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":"codex-rs/app-server-protocol/src/export.rs"},"region":{"startLine":1845}}}],"partialFingerprints":{"codehealthFindingId/v1":"434d834a81fd1e43e04e397739768a6b10959fefa312d4a5ce87a30ebc4c03df"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_app_server_transport::transport::remote_control::websocket::prepare_remote_control_enrollment (cognitive 16): codex_app_server_transport::transport::remote_control::websocket::prepare_remote_control_enrollment has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), match/switch 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":"codex-rs/app-server-transport/src/transport/remote_control/websocket.rs"},"region":{"startLine":1575}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bcf0f90b6b8f99f720e593da14538cc4bf3d07651997f7ea8586d3bc8e68439"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_cli::run_interactive_tui (cognitive 16): codex_cli::run_interactive_tui has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/main.rs"},"region":{"startLine":2559}}}],"partialFingerprints":{"codehealthFindingId/v1":"070b04c0bae5f81c28bd139f3e5df25d1c7b3405212491a0f2c4726389ffd7dc"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_cloud_client::items::summary (cognitive 16): codex_cloud_client::items::summary has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 5 (14 pts), loops 1 (2 pts) (nesting depth added 10). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cloud-client/src/items.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc73acc888f92c01f3992d32ca0524972dcec4bf0da8e072d58917665355321a"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_cloud_tasks::format_task_status_lines (cognitive 16): codex_cloud_tasks::format_task_status_lines has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (14 pts), match/switch 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cloud-tasks/src/lib.rs"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5251193e3b88aafd103ecb2611bfce33986b36bc3349f61a806b26894389e3"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_cloud_tasks::env_detect::autodetect_environment_id_with_origins (cognitive 16): codex_cloud_tasks::env_detect::autodetect_environment_id_with_origins has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), match/switch 2 (4 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cloud-tasks/src/env_detect.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79370327c85aebe1ec961cdfb30d8f4d7afe6cbc08bb5ea0983b3211365bfc8"}},{"ruleId":"D2","level":"warning","message":{"text":"ResourceOrigins::observe (cognitive 16): ResourceOrigins::observe has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 1 (2 pts), boolean chains 1, match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-mcp/src/resource_origin.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b1387ae05af28a6fbd3246e23d312b23630f9487352609f1f21fe1aaa22b6d"}},{"ruleId":"D2","level":"warning","message":{"text":"ManagedClientStartup::start (cognitive 16): ManagedClientStartup::start has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), match/switch 3 (5 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-mcp/src/rmcp_client.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"e890aea6fe017dcc1cb5f31ddfcf1254449837ce79f5d7d715794cc50b619e22"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_mcp::tools::normalize_tools_for_model_with_prefix (cognitive 16): codex_mcp::tools::normalize_tools_for_model_with_prefix has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (6 pts), loops 6, match/switch 2 (3 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-mcp/src/tools.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d9720ee261fd89ddc9dc604b81c90491a2f835cd5a06960f012a19c957a0ff1"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_config::key_aliases::normalize_table_key_aliases (cognitive 16): codex_config::key_aliases::normalize_table_key_aliases has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 2 (4 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":"codex-rs/config/src/key_aliases.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93607613ed7d8b37a697083cf90270ffe5c7dda1b99d7500a3a61db5bad149a"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_config::state::verify_layer_ordering (cognitive 16): codex_config::state::verify_layer_ordering has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 1, 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":"codex-rs/config/src/state.rs"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"dddd804d35b7b7adace6dc19fe779c2f44555249cd2f0939279da3dc4233e269"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeModeWaitHandler::handle_call (cognitive 16): CodeModeWaitHandler::handle_call has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), match/switch 2 (4 pts), boolean chains 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/code_mode/wait_handler.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"712314472e4fafcb2be850b3a13341228b5ec7ae2166344925b1ecd2bb8cf96a"}},{"ruleId":"D2","level":"warning","message":{"text":"SeenIds::from_history (cognitive 16): SeenIds::from_history has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 2 (4 pts), match/switch 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":"codex-rs/core/src/tools/executed_tool_calls/seen_ids.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d9ec2425e3b9dee55bb4607f335c2544425e446fe6cd0b3456603fb85ff9a6"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::compact_remote_v2::run_remote_compact_task_inner (cognitive 16): codex_core::compact_remote_v2::run_remote_compact_task_inner has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 2, match/switch 2 (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":"codex-rs/core/src/compact_remote_v2.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85d85b547a1a82dfe4d4e0363b5bdcaf1c71d6ef06f2a4fd1298b6630ec0ea5"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::compact_remote_v2_attempt::run_remote_compact_v2_attempt (cognitive 16): codex_core::compact_remote_v2_attempt::run_remote_compact_v2_attempt has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), match/switch 3 (4 pts), boolean chains 2, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/compact_remote_v2_attempt.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc324e29407ded52ee9d8e9626d252b338bcc7646e9abfe940e6062b4f7e50f"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::config::resolve_tool_suggest_config_from_config (cognitive 16): codex_core::config::resolve_tool_suggest_config_from_config has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), loops 3 (7 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":"codex-rs/core/src/config/mod.rs"},"region":{"startLine":2665}}}],"partialFingerprints":{"codehealthFindingId/v1":"b160254bbcdf4a2f572a5e0567d0a8bf677ab35310bdbda327c4be74cf920b37"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::exec::finalize_exec_result (cognitive 16): codex_core::exec::finalize_exec_result has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (15 pts), match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/exec.rs"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"d69e9a25b882b8ad33a0af43db10ff555620d89219a2960d468f31a66ca76143"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_core::guardian::decision::decide_approval (cognitive 16): codex_core::guardian::decision::decide_approval has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 4, match/switch 2 (3 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"codex-rs/core/src/guardian/decision.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e127a0be697d3e9b7eeba43adea6096016086fcd54441c77df452b09e176146"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestDispatcher::dispatch_request (cognitive 16): RequestDispatcher::dispatch_request has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), match/switch 3 (4 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"codex-rs/exec-server/src/server/request_dispatcher.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8b310bf82c486c4295524a65836aa591a07200461fb031616b50d1f13d6712"}},{"ruleId":"D2","level":"warning","message":{"text":"SnapshotCapture::wait_for_exit (cognitive 16): SnapshotCapture::wait_for_exit has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (15 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":"codex-rs/exec-server/src/shell_snapshot_process.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c872dcaec08aeb84f3fb7ef7f10969c61278f7e9173adcc11a379f5086cc1d1c"}},{"ruleId":"D2","level":"warning","message":{"text":"Policy::preserves_managed_requirements (cognitive 16): Policy::preserves_managed_requirements has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 5, loops 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/execpolicy/src/policy.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"033430144a0842c84da1fe290263a89a9f90afa8f4178011ba87a37a94f6d695"}},{"ruleId":"D2","level":"warning","message":{"text":"ReviewRequest::decide (cognitive 16): ReviewRequest::decide has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7, match/switch 3 (5 pts), boolean chains 4 (nesting depth added 2). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/guardian-reviewer/src/routing.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"594837116b25ab12c0c5f5e799ba5fca9f62720399cb6f18231ed6c5a9d1c929"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_image_generation_extension::tool::save_image_generation_result (cognitive 16): codex_image_generation_extension::tool::save_image_generation_result has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), match/switch 3 (4 pts), boolean chains 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/image-generation/src/tool.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"9013b374b68779f67011bd1038f290f615e0fa79819456628c1aa782480b3cdd"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_external_agent_migration::detect::sessions::cla::detect_recent_cla_sessions_with_limits (cognitive 16): codex_external_agent_migration::detect::sessions::cla::detect_recent_cla_sessions_with_limits has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/external-agent-migration/src/detect/sessions/cla.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"44088f64cb4ab9e509eb4847de59c71d9a4a7a4c9333190eb63f048906444125"}},{"ruleId":"D2","level":"warning","message":{"text":"FeaturesToml::entries (cognitive 16): FeaturesToml::entries has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, boolean chains 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/features/src/lib.rs"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"c101f8b7f890b39cf32155bb89b9b511382d29687c192191ba4be3a410d51345"}},{"ruleId":"D2","level":"warning","message":{"text":"ComposedContext::prune_omission_notices (cognitive 16): ComposedContext::prune_omission_notices has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 4 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/guardian-context/src/retained_instructions.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"54addbf8a4b62fa95d376e88f76fee837aa8e17203d2704b93469462eae0df8b"}},{"ruleId":"D2","level":"warning","message":{"text":"NodeReplContext::render_inputs (cognitive 16): NodeReplContext::render_inputs has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (5 pts), boolean chains 4, match/switch 2 (4 pts), loops 2 (3 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/guardian-context/src/preparation/repl.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f82a53600f2bba10802e783394e2a8c27309b9cfc062280b0dcf981b1045848"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_guardian_context::retained_instructions::render_retained_instructions (cognitive 16): codex_guardian_context::retained_instructions::render_retained_instructions has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 1 (2 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":"codex-rs/guardian-context/src/retained_instructions.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"67caf2fbf62315bd451aec3bb519a77f0319df1af71ebf148d01031145df67e5"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_hooks::engine::discovery::discover_handlers (cognitive 16): codex_hooks::engine::discovery::discover_handlers has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), loops 2 (5 pts), match/switch 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":"codex-rs/hooks/src/engine/discovery.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"b114e41e6e0f7f17a48d878e9cb113b9b43216767f509a9c95cd939d94bb0905"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_hooks::engine::output_parser::parse_pre_tool_use (cognitive 16): codex_hooks::engine::output_parser::parse_pre_tool_use has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), match/switch 2 (6 pts), boolean chains 1 (nesting depth added 5). 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":"codex-rs/hooks/src/engine/output_parser.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c5c82da4749be6304c9a5b721d384338476474a663af4150b1255d91bab16d"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_linux_sandbox::bwrap::expand_unreadable_globs (cognitive 16): codex_linux_sandbox::bwrap::expand_unreadable_globs has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3 (4 pts), match/switch 1 (2 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":"codex-rs/linux-sandbox/src/bwrap.rs"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"cddc4b25dd9cc2e709b5aa5d8844991049bf53e755c62e6e20ef46cf60b8beab"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalAgentMessageBoard::search_posts (cognitive 16): LocalAgentMessageBoard::search_posts has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/message-board/src/local/queries.rs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"67741b653d245f75709cec68daffd768120251574d57259823cc178f6fdda9d9"}},{"ruleId":"D2","level":"warning","message":{"text":"NetworkProxyState::host_blocked_with_lookup (cognitive 16): NetworkProxyState::host_blocked_with_lookup has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 5, match/switch 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/runtime.rs"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d14c6227aa624d255927c3840d7f271b04a4562698f18107f4f6fe6c45e563"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_network_proxy::aws_sigv4::mask_local_aws_env (cognitive 16): codex_network_proxy::aws_sigv4::mask_local_aws_env has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 2). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/aws_sigv4.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbbbcbba402940fc949465a2fc5d7b693743ab48521826d395ccae3bb63bbbb5"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_network_proxy::credential_broker::configured::prepare_credential_pattern (cognitive 16): codex_network_proxy::credential_broker::configured::prepare_credential_pattern has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), match/switch 2 (4 pts), boolean chains 2 (nesting depth added 6). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/credential_broker/configured.rs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bed4c6ed4b8d7a957397caf990e74736b86896922f6156676fd5cfc4af87af2"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_network_proxy::http_proxy::http_connect_accept (cognitive 16): codex_network_proxy::http_proxy::http_connect_accept has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7, match/switch 5 (6 pts), boolean chains 3 (nesting depth added 1). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c342d25e6579d1fd755e5fcb8435fc35f10d4bdc918be621ae142e397ee7e8e"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageReader::next (cognitive 16): MessageReader::next has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/realtime-webrtc/src/message_reader.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"986521ad521986c854792a518e12ec68e1e553098063b938d8893357da719b88"}},{"ruleId":"D2","level":"warning","message":{"text":"EmaAuthenticatedHttpClient::authenticate (cognitive 16): EmaAuthenticatedHttpClient::authenticate has cognitive complexity 16 (threshold 15). Drivers by points: if/else 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":"codex-rs/rmcp-client/src/ema_http_client.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7a7efe6d97ab1b5e85347b8ea9f53c8f79dfe231fc363add75b3fe56b5b6a0"}},{"ruleId":"D2","level":"warning","message":{"text":"RmcpClient::call_tool_inner (cognitive 16): RmcpClient::call_tool_inner has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), match/switch 5, boolean chains 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/rmcp_client.rs"},"region":{"startLine":1053}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa5f5cbb9f79a0c4f0cd53bb87e4b317c4b9de5379db18fae5599cbfe57524a"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_rmcp_client::http_client_adapter::legacy_discovery_fallback_response (cognitive 16): codex_rmcp_client::http_client_adapter::legacy_discovery_fallback_response has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 6, match/switch 2 (3 pts) (nesting depth added 2). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/http_client_adapter.rs"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d91350c963517649cb38b390d52b39c9f10f6e6ebf3b2ff7ddb1a71d964918"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_rmcp_client::oauth_client_registration::start_authorization (cognitive 16): codex_rmcp_client::oauth_client_registration::start_authorization has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 3, match/switch 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/oauth_client_registration.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f8087a8aed2ce4248a0307ba8f0641bffc3e058b204605c5938edc21abd4cc"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_sandboxing::bwrap::system_bwrap_has_user_namespace_access (cognitive 16): codex_sandboxing::bwrap::system_bwrap_has_user_namespace_access has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (9 pts), boolean chains 3, match/switch 2 (3 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/sandboxing/src/bwrap.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"924ffcccc72774e5f9366001bfd828fd467f7b28f734f1f3ed9dce939414dd51"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_shell_command::parse_command::skip_flag_values (cognitive 16): codex_shell_command::parse_command::skip_flag_values has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/shell-command/src/parse_command.rs"},"region":{"startLine":1706}}}],"partialFingerprints":{"codehealthFindingId/v1":"670d408d0dc9500e75d90ec711d0d9235e9e2bbd8f1af2b32ca653d4dcbcc6bb"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalHistoryAccount::includes (cognitive 16): LocalHistoryAccount::includes has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 6 (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":"codex-rs/thread-store/src/local_history_account.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"51fb0f91cd166547b18ee390e162c6d665edac7cee40824ac131e42f48526dcc"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_thread_store::local::thread_history::apply_projection (cognitive 16): codex_thread_store::local::thread_history::apply_projection has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (13 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/thread_history.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c94e41ba661c4778013c7ced3de1095589fce1f7d28f309c77af6e5cde4f45e"}},{"ruleId":"D2","level":"warning","message":{"text":"AnalyticsView::panel (cognitive 16): AnalyticsView::panel has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 1, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/analytics/panels.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"010d131aa03dd09965683affbee4e90234f6052a05c95525b9d78c27a542cbd7"}},{"ruleId":"D2","level":"warning","message":{"text":"Completion::finish (cognitive 16): Completion::finish has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), match/switch 3 (6 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/provider/write.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"696b957fd377ff26fa995642587f37cbccfd6530b5513b29fada3a1ebf6caa59"}},{"ruleId":"D2","level":"warning","message":{"text":"App::refresh_agent_picker_threads (cognitive 16): App::refresh_agent_picker_threads has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 2 (3 pts), match/switch 1 (3 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":"codex-rs/tui/src/app/agent_picker.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8b30004bb561e997e45fe267db5057b06277bb0fe8dd29a70b65e5af050ecd"}},{"ruleId":"D2","level":"warning","message":{"text":"App::persist_daybreak_selection (cognitive 16): App::persist_daybreak_selection has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 4, match/switch 3 (4 pts) (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/daybreak.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2dc19a8e242d792179420a6ae688bdb971137353c5d9a55b06fa6c16dc6e61"}},{"ruleId":"D2","level":"warning","message":{"text":"App::handle_older_history_page (cognitive 16): App::handle_older_history_page has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 4 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/history_pagination.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a9081312550815cd8926d555706129c1c62fd1a40ee5e7453cf73f7528c555"}},{"ruleId":"D2","level":"warning","message":{"text":"App::project_older_history_cells (cognitive 16): App::project_older_history_cells has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 3 (4 pts), boolean chains 3 (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":"codex-rs/tui/src/app/history_pagination.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"9411bb1254c09f4c6f3809e04465d9441b809d70419d8bf46e058ff02a0641ea"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatComposer::note_sparkle_paste (cognitive 16): ChatComposer::note_sparkle_paste has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/chat_composer/sparkle.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"6393c3de75994a4b588ee006b4af33c12bec2415ce1131617685af5e9cab020b"}},{"ruleId":"D2","level":"warning","message":{"text":"ListSelectionView::build_rows (cognitive 16): ListSelectionView::build_rows has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/list_selection_view.rs"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"37086350cf842b0e4db672a55ded927c58a455ce5b91b9b36657b0448cf1cdf7"}},{"ruleId":"D2","level":"warning","message":{"text":"BottomPane::handle_paste (cognitive 16): BottomPane::handle_paste has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/mod.rs"},"region":{"startLine":1091}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a4321baa9c0df9ba94e53dbc2451ff3f743c7a41e4098868418b7331fb6479"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestUserInputOverlay::handle_composer_input_result (cognitive 16): RequestUserInputOverlay::handle_composer_input_result has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 1, match/switch 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/request_user_input/mod.rs"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd415eceb55c3694e47fbd9ecef5609d9a3fdb7f237f3dbe23d1ab65062e567d"}},{"ruleId":"D2","level":"warning","message":{"text":"UsageNoticeState::update (cognitive 16): UsageNoticeState::update has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 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":"codex-rs/tui/src/chatwidget/usage_notice.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa71a5e4763c0bd49cd7392557bb4e1714669ba8761e21b9efc7e534abff019"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::reset_realtime_conversation (cognitive 16): ChatWidget::reset_realtime_conversation has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 3, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/realtime.rs"},"region":{"startLine":1863}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb13c47f7f3760861010e170c802ecdcbeaf5b641b74266f1e6f9ef45337f09"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::restore_reconnected_input (cognitive 16): ChatWidget::restore_reconnected_input has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/reconnect.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9ff9d47f39906b81c66b0d75b13159804b327ebcb146a33368a97fefb0ba8e"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWidget::reset_after_prompt_revert (cognitive 16): ChatWidget::reset_after_prompt_revert has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 2 (3 pts), match/switch 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":"codex-rs/tui/src/chatwidget/session_flow.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"3150b44f36a8aedbc1b18b1d864f063ca79e2f378c59512df2fd1ada328e66f9"}},{"ruleId":"D2","level":"warning","message":{"text":"TabStrip::render (cognitive 16): TabStrip::render has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), match/switch 4 (7 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":"codex-rs/tui/src/sidebar_tab_strip.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d71c70ce780eea7ec6baeb68b2567bf408d141326e6333288e0582ac45afc6f"}},{"ruleId":"D2","level":"warning","message":{"text":"ProsePreview::update (cognitive 16): ProsePreview::update has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, boolean chains 4, loops 1, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/streaming/prose_preview.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9e99f574c8263a04cbf6d0daae8a11d14506e2fa1248bd14aa0574b7d31970"}},{"ruleId":"D2","level":"warning","message":{"text":"TranscriptView::advance_search (cognitive 16): TranscriptView::advance_search has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 2, 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":"codex-rs/tui/src/transcript_view/search.rs"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"236f83977a86cfbf9ec6d0da00032aef332123f1220860724b0c44a6a07526f3"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::app::realtime_delivery::replayed_voice_texts (cognitive 16): codex_tui::app::realtime_delivery::replayed_voice_texts has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 3 (4 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/realtime_delivery.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16d848d16b0735f00cc2563be5f09529e1d67cb0b9db4bf0ce8040486451b52"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::app::reconnect::reconnect (cognitive 16): codex_tui::app::reconnect::reconnect has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), match/switch 3 (6 pts), boolean chains 2, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/reconnect.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfea006de8082ba3dd244872a62eae741c101168569109fef94e7e203c3836d5"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::app::sidebar_close::request (cognitive 16): codex_tui::app::sidebar_close::request has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, boolean chains 3, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/sidebar_close.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"30787e12f4043b7a84bf5c775c933a7ad8c91c8c8abf4f77cb4fb1f9619aa5c9"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::bottom_pane::effort_ignition_styles::paint_bands (cognitive 16): codex_tui::bottom_pane::effort_ignition_styles::paint_bands has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 3 (5 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/effort_ignition_styles.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab74913f88fe3ef3a00f44201003d71566b034ff0c7e12a2f758e4d038d7439b"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::bottom_pane::selection_row_layout::build_full_line (cognitive 16): codex_tui::bottom_pane::selection_row_layout::build_full_line has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/selection_row_layout.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b553a6189dc2a0866dc84a7cc6e99662ed44c06373708724b803777c385406"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::clipboard_paste::text::reader (cognitive 16): codex_tui::clipboard_paste::text::reader has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), match/switch 2 (5 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/clipboard_paste/text.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0f2518815f5d4cd44647bb9e8fa68ebca1669e374990ddeffa4174d02a0326"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::dynamic_tools_response::serialize (cognitive 16): codex_tui::dynamic_tools_response::serialize has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), loops 4 (7 pts) (nesting depth added 4). 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":"codex-rs/tui/src/dynamic_tools_response.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb053074a04a4c1c9c6c400c6c6aae737262872df017d72390faa669cedf503"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::external_agent_config_migration::flow::handle_external_agent_config_migration_prompt (cognitive 16): codex_tui::external_agent_config_migration::flow::handle_external_agent_config_migration_prompt has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 5 (10 pts), if/else 4, loops 2 (nesting depth added 5). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/external_agent_config_migration/flow.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"25fd202688c648ad6b4b00b16d0be3156d27b591dee0fc66a3b14744fdcfc4c2"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::history_cell::async_replies::render (cognitive 16): codex_tui::history_cell::async_replies::render has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 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":"codex-rs/tui/src/history_cell/async_replies.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdceba6bbe6d4f0196c92a673e404601aa5094c1f5b5d1809abe56fa69d6528a"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::history_cell::session::fullscreen_session_lines (cognitive 16): codex_tui::history_cell::session::fullscreen_session_lines has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/history_cell/session.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed87150f4b6aa3e52f6d4ba49fb8457cb481bb5592293267a4b41e64e181b9e9"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::keymap::chords::validate_chord_conflicts (cognitive 16): codex_tui::keymap::chords::validate_chord_conflicts has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/keymap/chords.rs"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd0f782f29a497028d7fda1501e6fee3c435b924c954301b40c5a722991f526"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::markdown_render::table_key_value::render_records (cognitive 16): codex_tui::markdown_render::table_key_value::render_records has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 3 (5 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/markdown_render/table_key_value.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc1281d66b615237920538b341c1917b25211a38c7b7fbfc5d2f7002454dec6"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::resume_picker::footer_hint_lines (cognitive 16): codex_tui::resume_picker::footer_hint_lines has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, match/switch 4 (5 pts), boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/resume_picker.rs"},"region":{"startLine":2955}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7df91de5aac2b5e5c1ae99cffd3908c9d59f55c7ba17ff8b064cd0f33167f8a"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::terminal_probe::startup_replay::startup_replay_input (cognitive 16): codex_tui::terminal_probe::startup_replay::startup_replay_input has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/terminal_probe/startup_replay.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87d99e9558e3efbf7b1780831055fee1a8d3fc6145422904d5c60af66a23bbe"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::transcript_view::copy_mode::literal_block_ranges (cognitive 16): codex_tui::transcript_view::copy_mode::literal_block_ranges has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (13 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/transcript_view/copy_mode.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"264f521df604f7313fb2dbcb67bac322d4e77f317a712ece6faf72980124e7e7"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_tui::wrapping::wrap_projected_ranges (cognitive 16): codex_tui::wrapping::wrap_projected_ranges has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/wrapping.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a0082542de4dba637e0d52134b79eb02295546689cfb424790842fc43589cc"}},{"ruleId":"D2","level":"warning","message":{"text":"TaggedLineParser::parse (cognitive 16): TaggedLineParser::parse has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/utils/stream-parser/src/tagged_line_parser.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4521a27b8809f0ab769385e1a09df8cb7d4deeea56e548ffedadb39bcbb42a2"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaybackWriter::write (cognitive 16): PlaybackWriter::write has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 3, loops 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/voice-host/src/playback.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"723016082151128c11d2022d81a0b451c413207dfe3cf3e0ed0ab8a4a1b010aa"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_websocket_client::dialer::connect (cognitive 16): codex_websocket_client::dialer::connect has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 5 (9 pts), if/else 4 (6 pts), boolean chains 1 (nesting depth added 6). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/websocket-client/src/dialer.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4770e813191ac4317ff8f551911047d451f3a2237baa3a3694c3e06ba6ac69c0"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_windows_sandbox::setup::run_setup_exe_payload (cognitive 16): codex_windows_sandbox::setup::run_setup_exe_payload has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 1, match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-rs/src/setup.rs"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"843122e0904b220aecdb543ae4c987aef5e1aa44e2d2bafa642b926cd2a0a45b"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_windows_sandbox::uninstall_windows::processes::blocking_logon_session (cognitive 16): codex_windows_sandbox::uninstall_windows::processes::blocking_logon_session has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-rs/src/uninstall_windows/processes.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1d6ed3ecc1086239762829cf7931e873d6fbafc9f000b15150d43fad6eb796"}},{"ruleId":"D2","level":"warning","message":{"text":"codex_windows_sandbox_service::service::runtime_lifecycle::run (cognitive 16): codex_windows_sandbox_service::service::runtime_lifecycle::run has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 2, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-service/src/service/runtime_lifecycle.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7aa211281720d7cca8c669ae05c343a683828a46bc3950f9b8ed263b6710f49"}},{"ruleId":"D2","level":"warning","message":{"text":"review_regressions.run_review_regressions (cognitive 16): review_regressions.run_review_regressions has cognitive complexity 16 (threshold 15). Drivers by points: loops 5 (9 pts), if/else 3 (4 pts), boolean chains 2, ternaries 1 (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":"scripts/mcp_conformance/review_regressions.py"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd1dd3b7bb5da990afb0d37c2048756a884482e052cfa1aafb559afa3ea3d4e"}},{"ruleId":"D2","level":"warning","message":{"text":"run_codex_compliance._validate_inventory (cognitive 16): run_codex_compliance._validate_inventory has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 3, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mcp_conformance/run_codex_compliance.py"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"325a09647c183d7bc9b507a4a3f14fd0675e4c7001c9e9429949048cee277af0"}},{"ruleId":"D2","level":"warning","message":{"text":"ProtocolServer._handle_modern (cognitive 16): ProtocolServer._handle_modern has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mcp_conformance/server.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"559e0c4937970b5e2647891dd391689b39dec3b56848377084cd6e66dd522484"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ChatWidget: TooManyMethods \u2014 1060 methods, declared across 90 files: src/chatwidget.rs (101), chatwidget/status_surfaces.rs (61), chatwidget/interaction.rs (58), chatwidget/settings.rs (57), \u002B86 more file(s). The bar is 30 methods; this is 1030 over it, 35.33\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget.rs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ddeac5b947c9a45c4c017c2b03d90d9029d7875385bc60c1c4bffdd31a03e14"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: App.handle_event: MethodTooLong \u2014 handle_event runs 2974 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 2874 over it, 29.74\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":"codex-rs/tui/src/app/event_dispatch.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3fdd7b89346e48bf48ae767e520fae67c45ce3b4a206b4d7fdf77d7d9239b0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: App: TooManyMethods \u2014 597 methods, declared across 86 files: app/thread_routing.rs (62), app/config_persistence.rs (38), app/session_lifecycle.rs (34), app/side.rs (33), \u002B82 more file(s). The bar is 30 methods; this is 567 over it, 19.90\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app.rs"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba095aef37d47d92988ac3066acbeb00c249cb1e1e6951513cb9ed47c1a2912"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Config.load_config_with_layer_stack: MethodTooLong \u2014 load_config_with_layer_stack runs 1293 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 1193 over it, 12.93\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":"codex-rs/core/src/config/mod.rs"},"region":{"startLine":3392}}}],"partialFingerprints":{"codehealthFindingId/v1":"28fde6305df19f933cf1c69b019a554b8edde0597a89d7b7d0255d1ad16fd30a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Session: TooManyMethods \u2014 330 methods, declared across 34 files: session/mod.rs (167), session/mcp.rs (24), session/turn_context.rs (16), tasks/mod.rs (14), \u002B30 more file(s). The bar is 30 methods; this is 300 over it, 11.00\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/session.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"972527d9b5fbf465a038c168c61a6601494852edf9ccab58a2c125159dee57ae"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ThreadRequestProcessor: ClassTooLong \u2014 4339 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), 132 methods, 2 blocks, lines 506-6186. The bar is 400 significant lines; this is 3939 over it, 10.85\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f51592c9dc788d41f00df41413704bbfd23b8eea6f3ef3187856ec5cefd2b34"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: request_processors/thread_processor.rs: FileTooLong \u2014 5300 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), about 82% of them inside a single declaration: ThreadRequestProcessor (2 blocks, 506-6186), declaring 44 free functions. The bar is 500 significant lines; this is 4800 over it, 10.60\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":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2605249a8780e506c47013671a11df71a91c2217b5e6c4a605be4478b8a30fc4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ChatComposer: TooManyMethods \u2014 294 methods, declared across 17 files: bottom_pane/chat_composer.rs (175), chat_composer/history_search.rs (16), chat_composer/footer_state.rs (15), chat_composer/paste_input.rs (14), \u002B13 more file(s). The bar is 30 methods; this is 264 over it, 9.80\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38f971ec5dc79ba65f43a4162675ba55bbdbc890cef2d001df983cc852d63dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_app_server::bespoke_event_handling::apply_bespoke_event_handling: FunctionTooLong \u2014 codex_app_server::bespoke_event_handling::apply_bespoke_event_handling runs 940 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 840 over it, 9.40\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":"codex-rs/app-server/src/bespoke_event_handling.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"3712bc7ce525abf5387fe5de6d7e477ba21e46295c461b86ea97bf9c7d5a7b37"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_cloud_tasks::run_cloud: FunctionTooLong \u2014 codex_cloud_tasks::run_cloud runs 919 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 819 over it, 9.19\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":"codex-rs/cloud-tasks/src/lib.rs"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"45fb2151c1c8f1c79cc084ce38d61acf87bec4b1f6eb9e5165dd7d1d76321220"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: session/mod.rs: FileTooLong \u2014 4553 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), about 83% of them inside a single declaration: Session (2 blocks, 601-6083). The bar is 500 significant lines; this is 4053 over it, 9.11\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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec3e175fc58e9c011692fa4085362ad082a8cc20c52b733eccffca3766cd120"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_tui::run_ratatui_app: FunctionTooLong \u2014 codex_tui::run_ratatui_app runs 871 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 771 over it, 8.71\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":"codex-rs/tui/src/lib.rs"},"region":{"startLine":1239}}}],"partialFingerprints":{"codehealthFindingId/v1":"74cc3643d3d6fabd3832283fbf57ce12e4d64a3a0f88a6fc4c113c5a6b6e1bf1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RuntimeKeymap.resolve: MethodTooLong \u2014 resolve runs 804 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 704 over it, 8.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":"codex-rs/tui/src/keymap.rs"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9be3c0249ac83d5297db220d393dea434ee71889b5f0ca9b032de8cb0d0681"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_tui::startup_orchestration::run_main_inner: FunctionTooLong \u2014 codex_tui::startup_orchestration::run_main_inner runs 791 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 691 over it, 7.91\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":"codex-rs/tui/src/startup_orchestration.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d87b600baae245d09f08b9466b4cba2aaa45459ae81fb2a0e98bad0d3e3a002"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BottomPane: TooManyMethods \u2014 234 methods, declared across 9 files: bottom_pane/mod.rs (187), bottom_pane/startup.rs (16), chat_composer/sparkle.rs (8), bottom_pane/questions.rs (7), \u002B5 more file(s). The bar is 30 methods; this is 204 over it, 7.80\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/mod.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"26326d6bc7abb301daea0ad2484baa620970e384e14d84e361bd9a62278f00e7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MessageProcessor.handle_initialized_client_request: MethodTooLong \u2014 handle_initialized_client_request runs 746 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 646 over it, 7.46\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":"codex-rs/app-server/src/message_processor.rs"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"587d63e0c18f1524b4e5a62ec5a4977d6ecb479822cc88a17e0a9f05465b38b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config/mod.rs: FileTooLong \u2014 3695 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), declaring 63 free functions. The bar is 500 significant lines; this is 3195 over it, 7.39\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/config/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f598f256d09d7490e22c2cac658f239a32d3f2e675d15e3303d5c52a1c19fd3c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::session::turn::try_run_sampling_request: FunctionTooLong \u2014 codex_core::session::turn::try_run_sampling_request runs 726 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 626 over it, 7.26\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":"codex-rs/core/src/session/turn.rs"},"region":{"startLine":2869}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00e213435c1b831cdc40e041c5f33749de159559041edd6c0224690c3787c86"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChatComposer: ClassTooLong \u2014 2826 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), 294 methods, 5 blocks, lines 632-5017. The bar is 400 significant lines; this is 2426 over it, 7.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f996b4e51a67a1e2acde30b5b8f09706475dc666d1c6f0d370aa1f7b3bfbdc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_app_server::run_main_with_transport_options: FunctionTooLong \u2014 codex_app_server::run_main_with_transport_options runs 690 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 590 over it, 6.90\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":"codex-rs/app-server/src/lib.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c2fd8840e0ba44bd1224f208da2053b214302b38689679515de8a97000fe42"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: McpConnectionSet.new: MethodTooLong \u2014 new runs 681 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 581 over it, 6.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-mcp/src/connection_manager.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f178a8c78262070913c337f507347e9ffe54b595df71d439ec0aebc496fd9b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/reducer.rs: FileTooLong \u2014 3303 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), declaring 47 free functions. The bar is 500 significant lines; this is 2803 over it, 6.61\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":"codex-rs/analytics/src/reducer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf7f59019399157d9e348f3ba8ca2472d8a09a8427cb29a5e19b6ddfbda9219"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/event_dispatch.rs: FileTooLong \u2014 3270 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), about 99% of them inside a single declaration: App (32-4429). The bar is 500 significant lines; this is 2770 over it, 6.54\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":"codex-rs/tui/src/app/event_dispatch.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9390ab1111fb1acd0cda6e35fcf594136508985aba198c15431408d5925d7f35"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ChatWidget: TooManyFields \u2014 194 stored fields beside 1060 methods. The bar is 30 stored fields; this is 164 over it, 6.47\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget.rs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"df54d4ba68f1384e814d310d528ea1c619138cf7f9062e666672231a51b12f50"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bottom_pane/chat_composer.rs: FileTooLong \u2014 3195 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), about 88% of them inside a single declaration: ChatComposer (5 blocks, 632-5017). The bar is 500 significant lines; this is 2695 over it, 6.39\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":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"935a6659a0dc74d199d9d2765b74a275455a855befa13eaa5007a67006743eb6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/protocol.rs: FileTooLong \u2014 3189 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 2689 over it, 6.38\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/protocol.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2bdd263397ceb9e4537f2f4bcfe5007819c6cbd4adb418e5fb8f0cedf311e19"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_tui::dynamic_tools::execute_inner: FunctionTooLong \u2014 codex_tui::dynamic_tools::execute_inner runs 632 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 532 over it, 6.32\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":"codex-rs/tui/src/dynamic_tools.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"feee667c5a10cb3f4aba21bbd6d74e8e5493b798639019bbb5ed8b075df974fd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TextArea: TooManyMethods \u2014 186 methods, declared across 7 files: bottom_pane/textarea.rs (120), textarea/vim_commands.rs (23), textarea/vim.rs (16), textarea/vim_search.rs (10), \u002B3 more file(s). The bar is 30 methods; this is 156 over it, 6.20\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/textarea.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"131f399e0e4a8a98855a5dbfe2b584f641d6a37d6dfce48261791aa6ac77ceda"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/resume_picker.rs: FileTooLong \u2014 3091 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), declaring 86 free functions. The bar is 500 significant lines; this is 2591 over it, 6.18\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":"codex-rs/tui/src/resume_picker.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ba65f80a81b4e6b65fc41a841eb7bfff51a4a5884b0ce1bf7abd818262ff79"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TranscriptView: TooManyMethods \u2014 183 methods, declared across 21 files: src/transcript_view.rs (29), transcript_view/selection.rs (25), transcript_view/search.rs (24), transcript_view/disclosure.rs (13), \u002B17 more file(s). The bar is 30 methods; this is 153 over it, 6.10\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/transcript_view.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73a598794deb9c88e384c597499f9cff30ee7a77a12e82a7ddc9e141f90bd70"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::session::turn::run_turn: FunctionTooLong \u2014 codex_core::session::turn::run_turn runs 581 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 481 over it, 5.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/turn.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"badde97ae5f7d1a3646874aadc901b5f6a28cfef2bfb42d569a6e0c251f56c31"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: session/turn.rs: FileTooLong \u2014 2898 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), declaring 35 free functions. The bar is 500 significant lines; this is 2398 over it, 5.80\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":"codex-rs/core/src/session/turn.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4377877588eea2ce7746566eeead0003be63a21aeeb5d235861fe025447e84"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/manager.rs: FileTooLong \u2014 2836 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), about 79% of them inside a single declaration: PluginsManager (2 blocks, 633-3795). The bar is 500 significant lines; this is 2336 over it, 5.67\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":"codex-rs/core-plugins/src/manager.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc278d427da4820979a74db7c0af1bd5cb93ed433fa492256fd0efa04d4a9bd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Config: TooManyFields \u2014 169 stored fields beside 50 methods. The bar is 30 stored fields; this is 139 over it, 5.63\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/config/mod.rs"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"125daad2e6c0982e13400f9a1dfb848159a2f13ac4bcff98174f9da58e478de4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PluginsManager: ClassTooLong \u2014 2242 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), 98 methods, 2 blocks, lines 633-3795. The bar is 400 significant lines; this is 1842 over it, 5.61\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/manager.rs"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc117603e157bc0317c6e43179da44da1e1bfd61991b0df4dc1cdb4f7666a960"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ThreadRequestProcessor.thread_fork_inner: MethodTooLong \u2014 thread_fork_inner runs 536 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 436 over it, 5.36\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":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":5297}}}],"partialFingerprints":{"codehealthFindingId/v1":"8edee5ae8bb0ded956a66afbee0f3d2e86ca2e44c48bad0981757bae23e17e7a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: auth/manager.rs: FileTooLong \u2014 2671 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), declaring 31 free functions. The bar is 500 significant lines; this is 2171 over it, 5.34\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/login/src/auth/manager.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f278ee4fcf0aab1d053412debdeec584387877337a275d3945f3f3bbfa6fdc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/client.rs: FileTooLong \u2014 2534 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 2034 over it, 5.07\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":"codex-rs/core/src/client.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2805a098d74084514ab9d73b079cdabd75ff5fc40e9623428d1645a52de71303"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Config: ClassTooLong \u2014 2013 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), 50 methods, 4 blocks, lines 639-5132. The bar is 400 significant lines; this is 1613 over it, 5.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/config/mod.rs"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67a2f87362f135197bfc9cd70e4abf3b2dd1646568d1675102dd93c8065296e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ThreadRequestProcessor.thread_resume_inner: MethodTooLong \u2014 thread_resume_inner runs 495 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 395 over it, 4.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":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":3959}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c17967f40138d4ad18d4f9b586b571f782e133692fc2ab4e7b290d59a483bb7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/thread_manager.rs: FileTooLong \u2014 2421 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 1921 over it, 4.84\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":"codex-rs/core/src/thread_manager.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20e5f4c54ae10a5362eb0dcfb525b2a2fada932ab409d60c24fd7cd16224a0b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/app_server_session.rs: FileTooLong \u2014 2403 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), declaring 37 free functions. The bar is 500 significant lines; this is 1903 over it, 4.81\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":"codex-rs/tui/src/app_server_session.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0356013276a32986b5ad13733f4cd555f442bad785f773d11c275d07290a497b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/realtime_conversation.rs: FileTooLong \u2014 2330 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), declaring 44 free functions. The bar is 500 significant lines; this is 1830 over it, 4.66\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":"codex-rs/core/src/realtime_conversation.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc82e6f8a7b399071ec69741b08fe9abd1be2622f93156ac379f65e90a8cb7e1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/doctor.rs: FileTooLong \u2014 2317 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), declaring 90 free functions. The bar is 500 significant lines; this is 1817 over it, 4.63\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/doctor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fef8fcec77cf6501b3d15d316613df68d831d3046640073b703305d9ed0dedc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AnalyticsReducer: ClassTooLong \u2014 1807 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), 57 methods, 2 blocks, lines 217-2923. The bar is 400 significant lines; this is 1407 over it, 4.52\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/analytics/src/reducer.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f5542f072ab3009235dc1246b30b1a504976c3bfd249bc63cb8c6d30614586"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ThreadRequestProcessor: TooManyMethods \u2014 132 methods, declared across 12 files: request_processors/thread_processor.rs (109), request_processors/thread_attachments.rs (5), request_processors/thread_delete.rs (5), request_processors/thread_sections.rs (5), \u002B8 more file(s). The bar is 30 methods; this is 102 over it, 4.40\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"795eda724980aa431d3b51c0cad7520648caedcf240528203c037aa108221b90"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_exec::run_main: FunctionTooLong \u2014 codex_exec::run_main runs 440 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 340 over it, 4.40\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":"codex-rs/exec/src/lib.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"4958ae1b0bd916c268b78c5e997acacabd84dcc2500d15368afcfebc5b2330bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/mcp_tool_call.rs: FileTooLong \u2014 2176 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), declaring 58 free functions. The bar is 500 significant lines; this is 1676 over it, 4.35\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":"codex-rs/core/src/mcp_tool_call.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5727beb9bba57cff4509eaad5ec5d5c425e8ae79fba708eda7203455221072d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_exec::run_exec_session: FunctionTooLong \u2014 codex_exec::run_exec_session runs 430 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 330 over it, 4.30\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":"codex-rs/exec/src/lib.rs"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a4f9f4dc6e5b3374d24ab930429a3801e462cae5c1e41c9c28b8ebc2a24c78"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/keymap.rs: FileTooLong \u2014 2139 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), about 71% of them inside a single declaration: RuntimeKeymap (2 blocks, 88-2768). The bar is 500 significant lines; this is 1639 over it, 4.28\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/keymap.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4936eb8fa3824467ee5ff88a94208ae9ba383711b2d1a62c4da45562420a10cf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_app_server::in_process::start_uninitialized: FunctionTooLong \u2014 codex_app_server::in_process::start_uninitialized runs 427 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 327 over it, 4.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/in_process.rs"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d07ed7e8977c86991de37c97c679f049f9e419a66bc2ea4be5655fe90510fe8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AppServerSession: TooManyMethods \u2014 127 methods, declared across 14 files: src/app_server_session.rs (78), app_server_session/history.rs (11), app_server_session/side_chat_history.rs (7), app_server_session/rollout_history.rs (6), \u002B10 more file(s). The bar is 30 methods; this is 97 over it, 4.23\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app_server_session.rs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"e231f293385271ed6d0b7cc7e6f4f35143300b0329f5c2cd2463bde4c6aba51c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ThreadManagerState.spawn_thread: MethodTooLong \u2014 spawn_thread runs 420 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 320 over it, 4.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/thread_manager.rs"},"region":{"startLine":2491}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6af53d72ffb7e6c8880cb9298243997b4d673eb0ad5b91ea9baeaa052355900"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ToolOrchestrator.run: MethodTooLong \u2014 run runs 406 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 306 over it, 4.06\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":"codex-rs/core/src/tools/orchestrator.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa50bb5853cf432d3e587337ab46f3e6797ac5e7f112b1efd107be695da888a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/main.rs: FileTooLong \u2014 2029 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), declaring 46 free functions. The bar is 500 significant lines; this is 1529 over it, 4.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":"codex-rs/cli/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b1929bb688b422738c1e4c2fe10a1d7b88ed4c321b5dc4a0d71b5e2d786923"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 1992 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), declaring 41 free functions. The bar is 500 significant lines; this is 1492 over it, 3.98\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":"codex-rs/tui/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0386bc58b1afa329fd092a114b952d202b4cfdf037363d82b1896fd8624b6c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RuntimeKeymap.validate_conflicts: MethodTooLong \u2014 validate_conflicts runs 398 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 298 over it, 3.98\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/keymap.rs"},"region":{"startLine":2173}}}],"partialFingerprints":{"codehealthFindingId/v1":"c271887c645b2132c863348ac4a19fb3d769a9a08bb9f7771713b7eb275b96ae"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: request_processors/plugins.rs: FileTooLong \u2014 1971 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), about 70% of them inside a single declaration: PluginRequestProcessor (2 blocks, 62-2196). The bar is 500 significant lines; this is 1471 over it, 3.94\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":"codex-rs/app-server/src/request_processors/plugins.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfdf3fd8592ff0961e562bf85e9bf7cb1e92b2017b1c684184d6a361e71651e3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CodexThread: TooManyMethods \u2014 118 methods, declared across 2 files: src/codex_thread.rs (117), session/extension_interruption.rs (1). The bar is 30 methods; this is 88 over it, 3.93\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/codex_thread.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef00daaf1090b9f3513cab89e54500e07f802bcebda16a6fd51be741beb941e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/config_requirements.rs: FileTooLong \u2014 1962 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 1462 over it, 3.92\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":"codex-rs/config/src/config_requirements.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8102422b67110133f1e18d3c3bab43014f72e7351fef4db3628ac5a3a820e42"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/remote.rs: FileTooLong \u2014 1952 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), declaring 59 free functions. The bar is 500 significant lines; this is 1452 over it, 3.90\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":"codex-rs/core-plugins/src/remote.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95f2fac0bb44ded62952a16a14e758d9a75d2e7fe461c72cc9a2a087675d78a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 1946 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), declaring 43 free functions. The bar is 500 significant lines; this is 1446 over it, 3.89\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":"codex-rs/exec/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d09dd5e53407784bd3795d445ef434b4030669798dde0391da3658ff25ae740c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Writer: ClassTooLong \u2014 1547 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), 79 methods, 2 blocks, lines 508-2677. The bar is 400 significant lines; this is 1147 over it, 3.87\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/markdown_render.rs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"961f1c96efb9fee72f846ee1b2147a4b0f9a5c70de9a0d5f74205300761864b8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Session.initialize: MethodTooLong \u2014 initialize runs 384 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 284 over it, 3.84\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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"282f30149fcf8e61986c609c32d738b81cf23bfeb5be1e8ae0f76417b1c6c214"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: App: TooManyFields \u2014 115 stored fields beside 597 methods. The bar is 30 stored fields; this is 85 over it, 3.83\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app.rs"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6c724bb5934efc0af1cfe2a63a905b4e1aa80423634c6cb569b537352c186b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_app_server::request_processors::thread_lifecycle::start_listener: FunctionTooLong \u2014 codex_app_server::request_processors::thread_lifecycle::start_listener runs 383 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 283 over it, 3.83\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":"codex-rs/app-server/src/request_processors/thread_lifecycle.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"525379e8a1b33bb52fbd2b8d8d36fa82a49efbea54f0b4ca075593d77778082f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RuntimeKeymap: ClassTooLong \u2014 1528 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), 8 methods, 2 blocks, lines 88-2768. The bar is 400 significant lines; this is 1128 over it, 3.82\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/keymap.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19c0ea608b3fafc67396075ac30c2ab0bb7a5b3b057ed078630dc12c49c108a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Session.build_world_state_for_step: MethodTooLong \u2014 build_world_state_for_step runs 377 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 277 over it, 3.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":"codex-rs/core/src/session/world_state.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cad623f36fa6b4c18c0d6871ce8aeca3f7c43e45296212e0ee2c769d939f93c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StateRuntime: TooManyMethods \u2014 113 methods, declared across 16 files: runtime/threads.rs (46), src/runtime.rs (10), runtime/logs.rs (9), runtime/projects.rs (8), \u002B12 more file(s). The bar is 30 methods; this is 83 over it, 3.77\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/state/src/runtime.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f7b2b8756e57e2f19504ee0d3db9f91712064669882237ba2909771ff5b296"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::guardian::review_session::run_review_on_session: FunctionTooLong \u2014 codex_core::guardian::review_session::run_review_on_session runs 375 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 275 over it, 3.75\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":"codex-rs/core/src/guardian/review_session.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ed82b666c851fdcc1e55850a7dac29deafbb8fca7a24b173fe21abf6d1013b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BottomPane: ClassTooLong \u2014 1496 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), 234 methods, 3 blocks, lines 304-2717. The bar is 400 significant lines; this is 1096 over it, 3.74\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/mod.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c9f7f8ae797763325396b8540a6d8007f0b65de170e7271fbd5f4b22795e83"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mcp_conformance/run_codex_compliance.py: FileTooLong \u2014 1858 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1358 over it, 3.72\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":"scripts/mcp_conformance/run_codex_compliance.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff162b330758c4422bb8125a45bfabfe4e9ec4e16238730a88d4ba2b6346b69"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_network_proxy::http_proxy::http_plain_proxy: FunctionTooLong \u2014 codex_network_proxy::http_proxy::http_plain_proxy runs 371 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 271 over it, 3.71\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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff889ec0ff3923b50da948c15e64b0cd90c0141f3025a98657a92f1056b41a0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/markdown_render.rs: FileTooLong \u2014 1849 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), about 84% of them inside a single declaration: Writer (2 blocks, 508-2677). The bar is 500 significant lines; this is 1349 over it, 3.70\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":"codex-rs/tui/src/markdown_render.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2999960918bb35ba2818b9167b833fca26bd1b91423a81fbd4793a5c9bbad70"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: App.attach_agents_overview_thread: MethodTooLong \u2014 attach_agents_overview_thread runs 364 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 264 over it, 3.64\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":"codex-rs/tui/src/app/agents_overview.rs"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"290ae4231ec6a412815f011ae07a0c4e9eba79527ae9218a96741f6d17499062"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TextArea: ClassTooLong \u2014 1452 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), 186 methods, 6 blocks, lines 145-2394. The bar is 400 significant lines; this is 1052 over it, 3.63\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/textarea.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee1f6c06dcfcce9a8f8d27a577789e452ff435bd35bba7343848ae776640b59"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/models.rs: FileTooLong \u2014 1810 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), declaring 32 free functions. The bar is 500 significant lines; this is 1310 over it, 3.62\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/models.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5560a7ae8134d829502636585ab55e1742736849f3d0e49b5fe4cbd2c3c07249"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 1808 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 1308 over it, 3.62\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/features/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2bf6570e4e85b4a1a2013ca320d05983d6e969980b5b2843e6a87ac719c827"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_app_server_protocol::protocol::event_mapping::item_event_to_server_notification: FunctionTooLong \u2014 codex_app_server_protocol::protocol::event_mapping::item_event_to_server_notification runs 358 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 258 over it, 3.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/event_mapping.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"124d2d98869b63d589e8742ca7ab98db043336ef957515c4b3e9b226b7e31dcf"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MessageProcessor: ClassTooLong \u2014 1427 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), 25 methods, 2 blocks, lines 151-2062. The bar is 400 significant lines; this is 1027 over it, 3.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/message_processor.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85dcd2ace974e36cd0cc0c2b9cf287b041b54a0cc3ceae321cc82760615c041"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ConfigToml: TooManyFields \u2014 107 stored fields beside 3 methods. The bar is 30 stored fields; this is 77 over it, 3.57\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/config_toml.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f77945d31a9472a9e3ee4a86d1987d1a858fcbd584ae32c58c42208825e8abe"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TraceReducer.apply_event: MethodTooLong \u2014 apply_event runs 355 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 255 over it, 3.55\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":"codex-rs/rollout-trace/src/reducer/mod.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c1340bd66660aaaf7f793d1b999f4cb0937634e10196fdc51ac5767191b6d4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConfigRequirements.try_from: MethodTooLong \u2014 try_from runs 353 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 253 over it, 3.53\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":"codex-rs/config/src/config_requirements.rs"},"region":{"startLine":2195}}}],"partialFingerprints":{"codehealthFindingId/v1":"758f8f9c0e7ddde1bfb2ca4657c97b38133d18d805530919918ff29e9aee77d9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UnifiedExecRuntime.run: MethodTooLong \u2014 run runs 353 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 253 over it, 3.53\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":"codex-rs/core/src/tools/runtimes/unified_exec.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"1976a726cba4521a79a73a2836fa014dab6d0224f3d75b46b6487d7bfea98663"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bottom_pane/mod.rs: FileTooLong \u2014 1757 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), about 85% of them inside a single declaration: BottomPane (3 blocks, 304-2717). The bar is 500 significant lines; this is 1257 over it, 3.51\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":"codex-rs/tui/src/bottom_pane/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57abb814aa957696b6fcd269dd29f08331745547049d0aca7e98e5fc9852db68"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/permissions.rs: FileTooLong \u2014 1724 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), declaring 33 free functions. The bar is 500 significant lines; this is 1224 over it, 3.45\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":"codex-rs/protocol/src/permissions.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbad85b5fe51ca9eb2111dd5f9dafbfa2ab75c22a0bb417f15717d7b56f656f4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PluginRequestProcessor: ClassTooLong \u2014 1373 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), 43 methods, 2 blocks, lines 62-2196. The bar is 400 significant lines; this is 973 over it, 3.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/plugins.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8d9ce23cc1acb2527c765cd0ad83c8dc000d4a94595dce23381e6b83e3deb4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CredentialBroker.virtualize_env: MethodTooLong \u2014 virtualize_env runs 342 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 242 over it, 3.42\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":"codex-rs/network-proxy/src/credential_broker.rs"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ee705d092fab9f9cb7dd97de723bc002dd31300fd6ca0b4b5e8bd66397315e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bespoke_event_handling.rs: FileTooLong \u2014 1709 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 1209 over it, 3.42\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":"codex-rs/app-server/src/bespoke_event_handling.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d889e878e81e08ced8901a2ef522c6746e1767c69969bc83bf039f23a20867"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatWidget.submit_user_message_with_prepared_images: MethodTooLong \u2014 submit_user_message_with_prepared_images runs 340 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 240 over it, 3.40\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":"codex-rs/tui/src/chatwidget/input_submission.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df2114005f4b63fb49bc3ba77dc70276091d0dd5ce77e15ac15606f414aa6a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: session/session.rs: FileTooLong \u2014 1676 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), about 74% of them inside a single declaration: Session (2 blocks, 73-2164). The bar is 500 significant lines; this is 1176 over it, 3.35\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":"codex-rs/core/src/session/session.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5698f944cda12ef58310102953bb86bc77c2d0dee9abc2be5f655256a3ee6a3b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_shell_command::parse_command::summarize_main_tokens: FunctionTooLong \u2014 codex_shell_command::parse_command::summarize_main_tokens runs 334 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 234 over it, 3.34\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":"codex-rs/shell-command/src/parse_command.rs"},"region":{"startLine":2290}}}],"partialFingerprints":{"codehealthFindingId/v1":"4552b798353ed2f819a2c1d15ff7e56ca4d29d8f69b48c830a9ee48c76dcc851"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/recorder.rs: FileTooLong \u2014 1649 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 1149 over it, 3.30\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":"codex-rs/rollout/src/recorder.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7788f9539bc866db97e1f9875c6d344742db1894cdccf433c481d38f47226dd9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NetworkApprovalService.handle_inline_policy_request: MethodTooLong \u2014 handle_inline_policy_request runs 329 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 229 over it, 3.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/network_approval.rs"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"2462be1c89162897bd7f217aa790b406252411d5646f09a08362d7acd122866e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatWidget.dispatch_command_from_source: MethodTooLong \u2014 dispatch_command_from_source runs 328 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 228 over it, 3.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":"codex-rs/tui/src/chatwidget/slash_dispatch.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"12658bdc91dad76e25e7fe048745c2b51987334e0174b83d5624f8cee5cdfca3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AppServerSession: ClassTooLong \u2014 1311 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), 127 methods, 2 blocks, lines 392-2318. The bar is 400 significant lines; this is 911 over it, 3.28\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app_server_session.rs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7c746f55d71a06a907d9561335f0c607c33b0a59a4dbd74a6846dfb23247ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/message_processor.rs: FileTooLong \u2014 1638 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), about 87% of them inside a single declaration: MessageProcessor (2 blocks, 151-2062). The bar is 500 significant lines; this is 1138 over it, 3.28\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/message_processor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3dc744d974a28c53b3a87cad18805ebfd004cccfc6813848834845dd8d97b7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MessageProcessor.new: MethodTooLong \u2014 new runs 327 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 227 over it, 3.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/message_processor.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f58fee871a601696f0b86bd57201aa6a7187fca77c61e2ceeaf756ca2092dcb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PluginsManager: TooManyMethods \u2014 98 methods, declared across 3 files: src/manager.rs (95), src/remote_mutations.rs (2), src/discoverable.rs (1). The bar is 30 methods; this is 68 over it, 3.27\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/manager.rs"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaaeb9e51f2c8316eb5d9cea03e11ed343ee0ee988a3d7d70ff734c8ebd949b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 1616 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 1116 over it, 3.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cloud-tasks/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d79e2850309e4db417022a68fcc343f2e065711c7b3310a5f5e739fc64cc376"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: App.change_working_directory_with_managed: MethodTooLong \u2014 change_working_directory_with_managed runs 322 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 222 over it, 3.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/working_directory.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0f09fbc37f43e410aa71e5c4b5043c084ea588dd8e49d659a27044481bb4e5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/thread_routing.rs: FileTooLong \u2014 1608 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), about 99% of them inside a single declaration: App (19-2277). The bar is 500 significant lines; this is 1108 over it, 3.22\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/thread_routing.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3a98942d4e397e7e7e2013f5ca336cbba114fcb75e05e723c7c558759dca4f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatWidget.handle_server_notification: MethodTooLong \u2014 handle_server_notification runs 321 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 221 over it, 3.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/protocol.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae95801a94b65abaf8db770052eae2653e281705f0be33c9d8aabdcba54c77f3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GuardianV2Extension.score_tool: MethodTooLong \u2014 score_tool runs 320 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 220 over it, 3.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/guardian-v2/src/async_scorer/observation.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d351556c21b817a0df1a79de7e2dbc6e86abb1566f297a311ef3924df7a84cbe"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LocalAgentControl.ensure_v2_agent_loaded: MethodTooLong \u2014 ensure_v2_agent_loaded runs 318 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 218 over it, 3.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/agent/control/spawn.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ceb2eaa6eeb7625d3be4a6fdf68aa93f308ea9568d2c4a2fec2cb846f3d826b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: App.handle_server_notification_event: MethodTooLong \u2014 handle_server_notification_event runs 317 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 217 over it, 3.17\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":"codex-rs/tui/src/app/app_server_events.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e194a5f229975922f753761bfcd47f9bfbb5e9a638864d57560cb9507f098fb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: v2/thread.rs: FileTooLong \u2014 1575 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 1075 over it, 3.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/v2/thread.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3b958329d8374a1c35114e503be90650475f0c18b74c4e5864e37098f83a53"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::session::handlers::submission_loop: FunctionTooLong \u2014 codex_core::session::handlers::submission_loop runs 315 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 215 over it, 3.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":"codex-rs/core/src/session/handlers.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b86ab8415b766e153a14f5c2e8f7c0537d3764d757b30bbfa7a3233b64d4692"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/rmcp_client.rs: FileTooLong \u2014 1568 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), about 75% of them inside a single declaration: RmcpClient (2 blocks, 416-1999). The bar is 500 significant lines; this is 1068 over it, 3.14\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/rmcp_client.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c036cedc0c8acd77e04c65b1e9072d0102a4e57e679e87a551084d1839d4ed"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TraceReducer: TooManyMethods \u2014 94 methods, declared across 9 files: reducer/code_cell.rs (23), tool/agents.rs (22), reducer/tool.rs (14), reducer/conversation.rs (13), \u002B5 more file(s). The bar is 30 methods; this is 64 over it, 3.13\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout-trace/src/reducer/mod.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e08099ebda5a535f90c060c1fa739ffe57e0086c8695231ea7a99fa7d7756a6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LocalAgentControl.spawn_agent_internal: MethodTooLong \u2014 spawn_agent_internal runs 313 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 213 over it, 3.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":"codex-rs/core/src/agent/control/spawn.rs"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7650f8c35d7c8dd6a721e23ceeb850f8510313dd0fbbd3aa6b9250b248b55e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Session: ClassTooLong \u2014 1248 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), 330 methods, 2 blocks, lines 73-2164. The bar is 400 significant lines; this is 848 over it, 3.12\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/session.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"7630fa3b1f658e638469dc5ace13e622bc27aec8e169d6a786545f0d46850cd4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bottom_pane/textarea.rs: FileTooLong \u2014 1560 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), about 93% of them inside a single declaration: TextArea (6 blocks, 145-2394). The bar is 500 significant lines; this is 1060 over it, 3.12\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":"codex-rs/tui/src/bottom_pane/textarea.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"189e34c1903e7704b5c2adfd4a4be5ac805ae0c5b4a4b8023e4b7915ef286b1b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ContextManager.reconstruct_rollout: MethodTooLong \u2014 reconstruct_rollout runs 308 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 208 over it, 3.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":"codex-rs/core/src/session/rollout_reconstruction.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5f66b7081a6b3aff7d47ceec4a3538d1d4e14efcf4715778d9a7f7caa66cfd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::shell_snapshot::capture_snapshot: FunctionTooLong \u2014 codex_core::shell_snapshot::capture_snapshot runs 308 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 208 over it, 3.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":"codex-rs/core/src/shell_snapshot.rs"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32910521f34ea3378f206e082a4594c420f0ed5740d1b98e9ac9fac516b692d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chatwidget/plugin_catalog.rs: FileTooLong \u2014 1529 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), declaring 49 free functions. The bar is 500 significant lines; this is 1029 over it, 3.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":"codex-rs/tui/src/chatwidget/plugin_catalog.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eaaf16a88b0d98709a1a4a3890729f0c865b688f80ce7afa9700e1cd7b955f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_config::loader::load_config_layers_state: FunctionTooLong \u2014 codex_config::loader::load_config_layers_state runs 297 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 197 over it, 2.97\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":"codex-rs/config/src/loader/mod.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"919e681882aa05354046eb2f1939526bca6d5295f490a7eb3c7201117809adcb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AuthManager: TooManyMethods \u2014 89 methods, declared across 3 files: auth/manager.rs (83), manager/workspace_switching.rs (4), manager/workspace_routing.rs (2). The bar is 30 methods; this is 59 over it, 2.97\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/login/src/auth/manager.rs"},"region":{"startLine":2236}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f395c791bc1ed494935c6dcbfc8e3ad575873a75aa9024417e3429160eed724"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: unified_exec/process_manager.rs: FileTooLong \u2014 1475 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), about 76% of them inside a single declaration: UnifiedExecProcessManager (447-1882). The bar is 500 significant lines; this is 975 over it, 2.95\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":"codex-rs/core/src/unified_exec/process_manager.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c846c93b637f06b401006ec3f18522afe88e1358a405d16b8b9fac32fb3ef9e8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: protocol/common.rs: FileTooLong \u2014 1470 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 970 over it, 2.94\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":"codex-rs/app-server-protocol/src/protocol/common.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"984e9dcb6647ce5150660cfd929d64d9adfb7399749821e543e3167c7d876a03"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/session_lifecycle.rs: FileTooLong \u2014 1469 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), about 97% of them inside a single declaration: App (60-2035). The bar is 500 significant lines; this is 969 over it, 2.94\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":"codex-rs/tui/src/app/session_lifecycle.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a87b6fc4a88f323f395177b86fd0abefb930161619427b2be7c7ddff7e917ee"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RmcpClient: ClassTooLong \u2014 1175 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), 50 methods, 2 blocks, lines 416-1999. The bar is 400 significant lines; this is 775 over it, 2.94\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/rmcp_client.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4f813af9ebe745384c24fa20f9ad6e2b894486bc37d338d4f430c45895af86"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_shell_command::shell_snapshot_literals::literal_words_with_quoting: FunctionTooLong \u2014 codex_shell_command::shell_snapshot_literals::literal_words_with_quoting runs 293 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 193 over it, 2.93\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":"codex-rs/shell-command/src/shell_snapshot_literals.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25c4e76f1849d45effa9de0c4eb90a7bf8406c9328b4ada9bef38b626f024d2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TurnRequestProcessor: ClassTooLong \u2014 1170 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), 42 methods, 2 blocks, lines 87-1616. The bar is 400 significant lines; this is 770 over it, 2.93\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/turn_processor.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd824256d7709a9d24d5e99a5641856ce248a1270ab841bdb27f25d1af7726a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/export.rs: FileTooLong \u2014 1457 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), declaring 96 free functions. The bar is 500 significant lines; this is 957 over it, 2.91\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":"codex-rs/app-server-protocol/src/export.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61754588a014ee79be9e708a8a0b6835adc788789abd305decc22832a4fcde3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: loader/mod.rs: FileTooLong \u2014 1450 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), declaring 43 free functions. The bar is 500 significant lines; this is 950 over it, 2.90\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":"codex-rs/config/src/loader/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f665497dbc48048196aa7bf187bbee4b504dae5e9fb9d6441861a494519cd792"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chatwidget/realtime.rs: FileTooLong \u2014 1450 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), about 87% of them inside a single declaration: ChatWidget (254-1978). The bar is 500 significant lines; this is 950 over it, 2.90\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":"codex-rs/tui/src/chatwidget/realtime.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b164008670a8cdf04ca9366ffa320f3a6055fb39aa11b82734bdb19fac9b153d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_analytics::reducer::tool_item_event: FunctionTooLong \u2014 codex_analytics::reducer::tool_item_event runs 289 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 189 over it, 2.89\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":"codex-rs/analytics/src/reducer.rs"},"region":{"startLine":3095}}}],"partialFingerprints":{"codehealthFindingId/v1":"007abaae6f3abfdf056f26ab31dc481943087c0fa3174f6740d5453113bdd0ff"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatComposer.render_with_options: MethodTooLong \u2014 render_with_options runs 289 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 189 over it, 2.89\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":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":4659}}}],"partialFingerprints":{"codehealthFindingId/v1":"290433c3925b87c9ff5727a4b4e84f5448ee327e81374ef90e6975d78b64d523"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: v2/item.rs: FileTooLong \u2014 1438 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 938 over it, 2.88\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/v2/item.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae908a473c16391d20e6ab898c84491205878b1d5840a06409ee32381cfcfae"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RuntimeKeymap.built_in_defaults: MethodTooLong \u2014 built_in_defaults runs 287 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 187 over it, 2.87\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":"codex-rs/tui/src/keymap.rs"},"region":{"startLine":1828}}}],"partialFingerprints":{"codehealthFindingId/v1":"a33b53a188fa6360dc0e0dd29b4886ad3e434f6e9723bdf8d92f6985cf085dfe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: protocol/thread_history.rs: FileTooLong \u2014 1434 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), about 78% of them inside a single declaration: ThreadHistoryBuilder (3 blocks, 291-1857). The bar is 500 significant lines; this is 934 over it, 2.87\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":"codex-rs/app-server-protocol/src/protocol/thread_history.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94fe7d59f27b46eeb433cf19771b12f8b2fcf1f919ebf2622f6c936b79c4f55"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_code_mode_runtime::cell_actor::run_cell: FunctionTooLong \u2014 codex_code_mode_runtime::cell_actor::run_cell runs 286 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 186 over it, 2.86\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/code-mode-runtime/src/cell_actor/mod.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"93305a254902bfac6ebd90e52a6ada2aaeb822af37442132d17dcae5c8f0c9f0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatWidget.dispatch_prepared_command_with_args: MethodTooLong \u2014 dispatch_prepared_command_with_args runs 285 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 185 over it, 2.85\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":"codex-rs/tui/src/chatwidget/slash_dispatch.rs"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c32a8390412ce472b1fc64058606d1dc92e563c3e36c64ff4dfb1eab1449dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: remote_control/websocket.rs: FileTooLong \u2014 1422 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 922 over it, 2.84\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":"codex-rs/app-server-transport/src/transport/remote_control/websocket.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09a3ce6c2d6448c3b3259ab22d7bc604624809eedfc2566ce814a4ca73b5253"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: App.handle_owned_transcript_event: MethodTooLong \u2014 handle_owned_transcript_event runs 284 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 184 over it, 2.84\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":"codex-rs/tui/src/app/owned_transcript.rs"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17156e89a507fe0fa0399f9848fabfda9e3dd9cdab359fa7f8e201574094b3e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/client.rs: FileTooLong \u2014 1412 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 912 over it, 2.82\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/client.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0c6697c121707d46e32883f2dca76486b35dceb9b5a845af9896cfb853e84f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ListSelectionView: ClassTooLong \u2014 1127 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), 53 methods, 6 blocks, lines 342-1916. The bar is 400 significant lines; this is 727 over it, 2.82\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/list_selection_view.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"42757c8b4e33b95a003cc6dfca9006856c626cc84482755808af407beb8766b5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ThreadHistoryBuilder: ClassTooLong \u2014 1124 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), 80 methods, 3 blocks, lines 291-1857. The bar is 400 significant lines; this is 724 over it, 2.81\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/thread_history.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c3e12a9c66972058802c6bf4dad75bc6de492c8b9900bb84b67ac45f116c82"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/chatwidget.rs: FileTooLong \u2014 1401 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 901 over it, 2.80\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":"codex-rs/tui/src/chatwidget.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55d781f02a4af9d292f9ce8a777bed20c7365370427b752cf26ead32e74c856"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/startup.rs: FileTooLong \u2014 1396 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 896 over it, 2.79\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":"codex-rs/tui/src/app/startup.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea08bf38c500a9953d2d248a729e3d9872b20d8598b4ff72c051c125099f9c0f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnalyticsReducer.ingest_notification: MethodTooLong \u2014 ingest_notification runs 279 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 179 over it, 2.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":"codex-rs/analytics/src/reducer.rs"},"region":{"startLine":2068}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69c99c2370f1bbc8c1d55b3de950fc4bb39db2e76ece3a271b95ccd914adb38"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: runtime/threads.rs: FileTooLong \u2014 1394 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), about 74% of them inside a single declaration: StateRuntime (2 blocks, 12-1318). The bar is 500 significant lines; this is 894 over it, 2.79\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":"codex-rs/state/src/runtime/threads.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a1ae3711470d345e00abc3ee3400f7374c2b58bd4374a3fabab72a9b4047fc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UnifiedExecProcessManager.exec_command_inner: MethodTooLong \u2014 exec_command_inner runs 278 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 178 over it, 2.78\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":"codex-rs/core/src/unified_exec/process_manager.rs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"b011e849e531031188483c592a3a9e088af479beb068d9ce7b53985c408a71a2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/loader.rs: FileTooLong \u2014 1387 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), declaring 49 free functions. The bar is 500 significant lines; this is 887 over it, 2.77\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":"codex-rs/core-plugins/src/loader.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"095051653fcf75a562c42789507a1ddbd364c0692fc269bc701f521cf458813b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ThreadRequestProcessor.thread_start_task: MethodTooLong \u2014 thread_start_task runs 277 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 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":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":1450}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94a5ca2285ea591892c4312ed6f2948de31ebf839cae2d1aabcb204371b49d1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ReadTool.handle: MethodTooLong \u2014 handle runs 275 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 175 over it, 2.75\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":"codex-rs/ext/skills/src/tools/read.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3809c55f1412b5cb7fab283bfbdcdbf0db93a750fb35f2561d7b0db263aa68"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AuthManager: ClassTooLong \u2014 1090 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), 89 methods, 3 blocks, lines 2236-3818. The bar is 400 significant lines; this is 690 over it, 2.73\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/login/src/auth/manager.rs"},"region":{"startLine":2236}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09115ea64d6f21bd738c8c033e5cf6ddad482916f5eb8801c8c530db04d34bf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/proxy.rs: FileTooLong \u2014 1361 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 861 over it, 2.72\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":"codex-rs/network-proxy/src/proxy.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb5364f53e8a3d33cd26c8acdde30d22e8f40eff732316e675031c6a08586a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bottom_pane/list_selection_view.rs: FileTooLong \u2014 1352 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), about 83% of them inside a single declaration: ListSelectionView (6 blocks, 342-1916). The bar is 500 significant lines; this is 852 over it, 2.70\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":"codex-rs/tui/src/bottom_pane/list_selection_view.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cbce44ca21b44e1082621df927fcb1ad5f1c2ee3366aa48bd47b8381ecf525c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mcp_conformance/server.py: FileTooLong \u2014 1350 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 850 over it, 2.70\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":"scripts/mcp_conformance/server.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d94888d86a885f0f491e8bfe4aac1925f030483c225da7fab659ff7802ef99"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_app_server_daemon::prepare_install::prepare_from_package: FunctionTooLong \u2014 codex_app_server_daemon::prepare_install::prepare_from_package runs 270 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 170 over it, 2.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-daemon/src/prepare_install.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"609a178e0b9add53a32740176c110558efe638a0e6632edcb0cecdf4e72d559e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::mcp_tool_call::handle_approved_mcp_tool_call: FunctionTooLong \u2014 codex_core::mcp_tool_call::handle_approved_mcp_tool_call runs 269 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 169 over it, 2.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":"codex-rs/core/src/mcp_tool_call.rs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6c0e7789ea09f29cb05dd9a6d662de9dc1a1f168b1e4ed7d8368361105f21e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/events.rs: FileTooLong \u2014 1340 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 840 over it, 2.68\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/analytics/src/events.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31727b7cbe00d8b80b64fa24808cf9114111f3d974d02e99eebe541bc57023bc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ThreadHistoryBuilder: TooManyMethods \u2014 80 methods. The bar is 30 methods; this is 50 over it, 2.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/thread_history.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"565b3327ea2253b4051480a3da2e06b19b86a3ad72c549db82be246777a81077"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Session.capture_step_context_inner: MethodTooLong \u2014 capture_step_context_inner runs 266 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 166 over it, 2.66\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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":4340}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7630afe932a406655f3f5cc3a5a00f2ed2ce6f82470289340a735a463dfb4b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExternalAgentConfigService.detect_migrations: MethodTooLong \u2014 detect_migrations runs 264 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 164 over it, 2.64\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":"codex-rs/external-agent-migration/src/detect/mod.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"7413a19aa2a61f4fa10a1e2469714aa8aa0e03b5fa6bc0d835fa681f17613820"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Writer: TooManyMethods \u2014 79 methods, declared across 2 files: src/markdown_render.rs (78), markdown_render/task_lists.rs (1). The bar is 30 methods; this is 49 over it, 2.63\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/markdown_render.rs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a35f81a77de3341a88afcb34f2b640f0103ba1762f6f5c8cfe4c8d807afc15"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/credential_broker.rs: FileTooLong \u2014 1312 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), about 64% of them inside a single declaration: CredentialBroker (2 blocks, 60-1438). The bar is 500 significant lines; this is 812 over it, 2.62\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":"codex-rs/network-proxy/src/credential_broker.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f6f85fa808f704113ab6b2ec4d3f06453c15a9d562b7df6eefa0971ca5827d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ModelClientSession.stream_responses_websocket: MethodTooLong \u2014 stream_responses_websocket runs 262 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 162 over it, 2.62\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":"codex-rs/core/src/client.rs"},"region":{"startLine":2186}}}],"partialFingerprints":{"codehealthFindingId/v1":"1790d3499298076ad9b26e8417ca2f405bacdec187e69a6feef42bd9e3be47ce"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RequestUserInputOverlay: TooManyMethods \u2014 78 methods, declared across 3 files: request_user_input/mod.rs (64), request_user_input/layout.rs (7), request_user_input/render.rs (7). The bar is 30 methods; this is 48 over it, 2.60\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/request_user_input/mod.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9b62da6468733d2f7647a639531c997388a3af904c6a20a79a49df93cc9c73"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/dynamic_tools.rs: FileTooLong \u2014 1278 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 778 over it, 2.56\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":"codex-rs/tui/src/dynamic_tools.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1030d596b3df333d5189b6120f8ad0d0a42fe5c2786d1be6045161fb0eb05461"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: request_processors/turn_processor.rs: FileTooLong \u2014 1272 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), about 92% of them inside a single declaration: TurnRequestProcessor (2 blocks, 87-1616). The bar is 500 significant lines; this is 772 over it, 2.54\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":"codex-rs/app-server/src/request_processors/turn_processor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a87a48d68649454b8bce8fbde955dbdc525ccf3a5776fb9adb8113dda6587b0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CollectedContext.compose_prepared: MethodTooLong \u2014 compose_prepared runs 254 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 154 over it, 2.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/guardian-context/src/composition.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f8c1f483bfe2550b17a05acce38617e03c58a176f6d097be625ab36481ab9c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bottom_pane/mcp_server_elicitation.rs: FileTooLong \u2014 1268 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 768 over it, 2.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":"codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd08710e54b5e65346146bd5b750d36bda7aaefdfbf58925ca0ac0c11cc50182"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::session::mcp::review_guardian_mcp_elicitation: FunctionTooLong \u2014 codex_core::session::mcp::review_guardian_mcp_elicitation runs 253 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 153 over it, 2.53\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":"codex-rs/core/src/session/mcp.rs"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"eabb9167bf50510710f5b80c2a2bea08b5a5d7393840d01e3bab31bef2f7db2c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AccountRequestProcessor: ClassTooLong \u2014 1011 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), 71 methods, 2 blocks, lines 110-1518. The bar is 400 significant lines; this is 611 over it, 2.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/account_processor.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c20c0c0ba86e08da1d996f6f172cd427dc5affe38f0630f2ea9c7ed2037d41"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExecutedToolCalls.attach_pending_to_prompt_with_state: MethodTooLong \u2014 attach_pending_to_prompt_with_state runs 252 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 152 over it, 2.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/executed_tool_calls/request_metadata.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"0979ce878bc156b82a039059e7b019f14da6057839acc0834573fa39c410033b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SessionTelemetry: ClassTooLong \u2014 1006 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), 58 methods, 2 blocks, lines 126-1497. The bar is 400 significant lines; this is 606 over it, 2.52\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/otel/src/events/session_telemetry.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"166098f147b6a4e34c09a6538c4c36f30833d825e07d0f312606212d69b3b0b2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/rmcp_client.rs: FileTooLong \u2014 1257 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 757 over it, 2.51\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":"codex-rs/codex-mcp/src/rmcp_client.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be6f6d0d8b6f3953356789b1bd60e3cdf1efa32718cba94c80b425236fb09de"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MemoryStore: ClassTooLong \u2014 1005 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), 24 methods, 2 blocks, lines 33-1406. The bar is 400 significant lines; this is 605 over it, 2.51\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/state/src/runtime/memories.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e923938977e03d0a5e0afc752867dd957bc55b16347f495f3ee96ef2954cb8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/connection_manager.rs: FileTooLong \u2014 1256 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), about 78% of them inside a single declaration: McpConnectionSet (2 blocks, 379-1649). The bar is 500 significant lines; this is 756 over it, 2.51\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":"codex-rs/codex-mcp/src/connection_manager.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1adde043f86b81a01fd79aafaef7121ac5f69719db1c0f2236e10f5c7f353434"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_hooks::engine::discovery::append_matcher_groups: FunctionTooLong \u2014 codex_hooks::engine::discovery::append_matcher_groups runs 251 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 151 over it, 2.51\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":"codex-rs/hooks/src/engine/discovery.rs"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"33bb40cbfbbd2e83d287a1fb20fa68995a1c75ff4716b8bb872885abbf94d485"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnalyticsView.history_lines: MethodTooLong \u2014 history_lines runs 245 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 145 over it, 2.45\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":"codex-rs/tui/src/analytics/chart.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe212f337faab91c788e1ecda16cc489cf6a0c2bf9e1d6ee327aaa7dd80beaa"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: McpConnectionSet: ClassTooLong \u2014 974 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), 52 methods, 2 blocks, lines 379-1649. The bar is 400 significant lines; this is 574 over it, 2.44\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-mcp/src/connection_manager.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"648ec76766fef9af7de8e261c7fab991529acc7d361b4e661d1674d34d2f9c8a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ThreadManager: TooManyMethods \u2014 73 methods, declared across 3 files: src/thread_manager.rs (67), thread_manager/shutdown.rs (5), thread_manager/managed.rs (1). The bar is 30 methods; this is 43 over it, 2.43\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/thread_manager.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d5aac35f64ade921363f4f8cf9e41dcb6ae8be16621ad5337fe04a4e646eaa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StreamableHttpClientAdapter.post_message: MethodTooLong \u2014 post_message runs 243 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 143 over it, 2.43\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":"codex-rs/rmcp-client/src/http_client_adapter.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95b42217c94643aa08a79f755dc5b41c8ce77b35f32e2d6085e67171419d237"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FileSystemSandboxPolicy: ClassTooLong \u2014 970 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), 70 methods, 5 blocks, lines 264-2101. The bar is 400 significant lines; this is 570 over it, 2.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/permissions.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72677671bab1e855825cf13d8dfd0d733737df1118ef15ee0c56c43eb9b362b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: App.finish_reconnect: MethodTooLong \u2014 finish_reconnect runs 242 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 142 over it, 2.42\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":"codex-rs/tui/src/app/reconnect.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c39d465b1db98688dc9c04e14cd051f8ee6ad331496c633f0db69f0a1256bf8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PickerState: ClassTooLong \u2014 967 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), 54 methods, 2 blocks, lines 1124-2549. The bar is 400 significant lines; this is 567 over it, 2.42\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/resume_picker.rs"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7b712c6f441b358ddc3778a5682e185a2464856cd881b1e71d6bd7890f81cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_shell_command::shell_snapshot_credentials::prepare_snapshot_credentials: FunctionTooLong \u2014 codex_shell_command::shell_snapshot_credentials::prepare_snapshot_credentials runs 241 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 141 over it, 2.41\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":"codex-rs/shell-command/src/shell_snapshot_credentials.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ddb069ad77cb0238c987116d0d62f2805518c01c87092053f636d39097d297a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: session/turn_context.rs: FileTooLong \u2014 1204 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 704 over it, 2.41\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":"codex-rs/core/src/session/turn_context.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ddde7f397b83dd8a6d2cc16218cf9e8c80d412b0aa323b56817f28db21c194"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_guardian_context::transcript::collect_transcript_for_review: FunctionTooLong \u2014 codex_guardian_context::transcript::collect_transcript_for_review runs 240 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 140 over it, 2.40\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":"codex-rs/guardian-context/src/transcript.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf67aff3fee55393f15159a23b65df6d64a4d1c1d5cda3a0c212a7346b375ae"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RequestUserInputOverlay: ClassTooLong \u2014 959 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), 78 methods, 3 blocks, lines 140-1530. The bar is 400 significant lines; this is 559 over it, 2.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/request_user_input/mod.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"997bcef8d0879985d1750fd4033fc97f651fc67e3746d1a444bcf744500ea32a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BoardTool.execute: MethodTooLong \u2014 execute runs 238 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 138 over it, 2.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":"codex-rs/message-board/src/tools.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95b43a38c4b69dbd47970ee804ef9a072a13858fa7f18fd3723d063024bfade"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ThreadManager: ClassTooLong \u2014 947 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), 73 methods, 2 blocks, lines 316-1982. The bar is 400 significant lines; this is 547 over it, 2.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/thread_manager.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57f2f9db49130cbb7781ebd6c303be5e44ce5052766bdfe94dbcaf1b9c12095"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AccountRequestProcessor: TooManyMethods \u2014 71 methods, declared across 9 files: request_processors/account_processor.rs (48), account_processor/gateway_oauth.rs (6), account_processor/workspace_switching.rs (5), account_processor/workspace_routing.rs (4), \u002B5 more file(s). The bar is 30 methods; this is 41 over it, 2.37\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/account_processor.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0f8c56b67e555603a96a8b69e305d7ac79e34058bb15f6ceb5851999478d08"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 1183 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 683 over it, 2.37\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":"codex-rs/app-server/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad38ca00e9ce0b386a923f5dd3ad2e0e8bd54f27a9ff1b1c3824f526f32da802"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_cli::doctor::sandbox::sandbox_check: FunctionTooLong \u2014 codex_cli::doctor::sandbox::sandbox_check runs 236 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 136 over it, 2.36\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":"codex-rs/cli/src/doctor/sandbox.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c0d3fb4fc9de282cbc87a6733277cbe0517cb7b032d24efaf7644810f37bf0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ToolRegistry.dispatch_any_with_state: MethodTooLong \u2014 dispatch_any_with_state runs 234 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 134 over it, 2.34\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":"codex-rs/core/src/tools/registry.rs"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8f9f408b97e2795745790abb2b8406c9ed50096e9556db3188d221041aa7a4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: request_processors/account_processor.rs: FileTooLong \u2014 1169 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), about 86% of them inside a single declaration: AccountRequestProcessor (2 blocks, 110-1518). The bar is 500 significant lines; this is 669 over it, 2.34\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":"codex-rs/app-server/src/request_processors/account_processor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e348e3cedf3891f5912be14a522948f4172ea33f87f89fc65f29b037d2042a4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Client: TooManyMethods \u2014 70 methods, declared across 9 files: src/client.rs (49), client/rate_limit_resets.rs (11), client/thread_usage.rs (3), client/turn_usage.rs (2), \u002B5 more file(s). The bar is 30 methods; this is 40 over it, 2.33\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/backend-client/src/client.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ee0049f05b2b928986bf9ef22014163eedab77620c077578688717f6b189e3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FileSystemSandboxPolicy: TooManyMethods \u2014 70 methods, declared across 4 files: src/permissions.rs (61), permissions/target.rs (7), permissions/enforcement.rs (1), permissions/local_aliases.rs (1). The bar is 30 methods; this is 40 over it, 2.33\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/permissions.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52408176dc9739467b9209ae473c1bfa5349cf10812453f19dcbd4dfebd906e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/list.rs: FileTooLong \u2014 1166 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), declaring 31 free functions. The bar is 500 significant lines; this is 666 over it, 2.33\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":"codex-rs/rollout/src/list.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"271ec0a15f42b0d9d1d8860733428d3426c95013729635c5f82f9909def36060"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ThreadRequestProcessor.resume_running_thread: MethodTooLong \u2014 resume_running_thread runs 232 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 132 over it, 2.32\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":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":4669}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4bfdb9a347110a5c96ec8afde99c6651eb70ca6952de37ed6c3e900bbcf346"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: runtime/memories.rs: FileTooLong \u2014 1150 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), about 87% of them inside a single declaration: MemoryStore (2 blocks, 33-1406). The bar is 500 significant lines; this is 650 over it, 2.30\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":"codex-rs/state/src/runtime/memories.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2f8385afeecde9a02e309484ce1c19b17e7b26ab0c0807d95f693f544f6a2c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_thread_store::local::update_thread_metadata::apply_metadata_update: FunctionTooLong \u2014 codex_thread_store::local::update_thread_metadata::apply_metadata_update runs 230 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 130 over it, 2.30\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":"codex-rs/thread-store/src/local/update_thread_metadata.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42b7e5522f3cba575eecd842e9e6c0afc73777aba32c01a37da2dec23d89d4f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: App.handle_key_event: MethodTooLong \u2014 handle_key_event runs 230 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 130 over it, 2.30\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":"codex-rs/tui/src/app/input.rs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ff7f48ce4552bdc77a3f7e946bef3a4449ebbf52286b1675035719f0245830"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Session.on_task_finished: MethodTooLong \u2014 on_task_finished runs 229 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 129 over it, 2.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tasks/mod.rs"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea2afa0651dc28b27b886055db168827bbd7c47e18ef3afa3a6fa30d022c62b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: events/session_telemetry.rs: FileTooLong \u2014 1143 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), about 88% of them inside a single declaration: SessionTelemetry (2 blocks, 126-1497). The bar is 500 significant lines; this is 643 over it, 2.29\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/otel/src/events/session_telemetry.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cbc5a2e3e752b9020f75a9a31e5d3dc2fdaf267d63464f513901342b35d170d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_network_proxy::socks5::handle_socks5_tcp: FunctionTooLong \u2014 codex_network_proxy::socks5::handle_socks5_tcp runs 228 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 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":"codex-rs/network-proxy/src/socks5.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfaf8508ca305c8ea346f8b84898a2b2995477c912d5e6998936a69f765b7094"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: CodexTurnEventParams: TooManyFields \u2014 68 stored fields. The bar is 30 stored fields; this is 38 over it, 2.27\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/analytics/src/events.rs"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee4fbbd03ab32c061e58547f4aeeeded3f00570b15966bf4208af62f0930665"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AccountRequestProcessor.read_account: MethodTooLong \u2014 read_account runs 226 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 126 over it, 2.26\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":"codex-rs/app-server/src/request_processors/account_processor/workspace_routing.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3850165d3eb90f89888e1b10fec89b28eb98778abe07cd34ad3c3a09feba75e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_cli::mcp_cmd::run_list: FunctionTooLong \u2014 codex_cli::mcp_cmd::run_list runs 226 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 126 over it, 2.26\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":"codex-rs/cli/src/mcp_cmd.rs"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"85098f788a09edfd498d51c70fe8a877ea660ad9f071a1dd2b06d9cc1c94b805"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: App.switch_to_new_backend_session: MethodTooLong \u2014 switch_to_new_backend_session runs 226 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 126 over it, 2.26\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":"codex-rs/tui/src/app/backend_selection.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c437475beffa94679fd141897c2a4cdb42740c50e46816e48947ca500539029"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_network_proxy::state::validate_policy_against_constraints: FunctionTooLong \u2014 codex_network_proxy::state::validate_policy_against_constraints runs 225 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 125 over it, 2.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":"codex-rs/network-proxy/src/state.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb02a059030d9e745625a0aa3d56366d468c9fe12ad125f1acefd4a2745a8e0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/app_event.rs: FileTooLong \u2014 1123 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), about 76% of them inside a single declaration: AppEvent (354-1972). The bar is 500 significant lines; this is 623 over it, 2.25\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":"codex-rs/tui/src/app_event.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"485dfed2f7b7c18b5dd44debd6bd6a468ff037e2901ff4dfd2d91a14d0efbda7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_thread_store::local::thread_history::apply_change_set: FunctionTooLong \u2014 codex_thread_store::local::thread_history::apply_change_set runs 224 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 124 over it, 2.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/thread_history.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f75d240ee5d7cf2b6182a7692e4153c2b9e79712ee212b114ac12f82c59c33"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ThreadManagerState: ClassTooLong \u2014 892 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), 27 methods, 2 blocks, lines 584-3101. The bar is 400 significant lines; this is 492 over it, 2.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/thread_manager.rs"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80abf8eb76dfe38ee2b066342ad0bddb9b0694b18465dcbfaf15a897cce902e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PidBackend.start_inner: MethodTooLong \u2014 start_inner runs 223 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 123 over it, 2.23\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":"codex-rs/app-server-daemon/src/backend/pid_start.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"540b6c208a4c6bdb6e26e09c4e570c972e2df4e8dcf82100fb2d234bc9c2034e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/setup.rs: FileTooLong \u2014 1114 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), declaring 51 free functions. The bar is 500 significant lines; this is 614 over it, 2.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-rs/src/setup.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a219b34263c8822dc8d98dbcd177cc4b57addd6345f34598ad03a055ddbf024f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/app.rs: FileTooLong \u2014 1112 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 612 over it, 2.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"110c21b124b32777df0ddb594c05cdfda451c925e0d4acd1c49c27eab3ad3c6c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnalyticsReducer.ingest: MethodTooLong \u2014 ingest runs 221 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 121 over it, 2.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/analytics/src/reducer.rs"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"44dcfb63dcf0ba5c18a44bb17d103d99d77402b9e6ed39764b34908315602626"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_mermaid::sequence::render: FunctionTooLong \u2014 codex_mermaid::sequence::render runs 221 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 121 over it, 2.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/mermaid/src/sequence.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1e7154e6815777bfbd5e724c114f692af1951126052ff715dbb32e6282a618"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: context_manager/history.rs: FileTooLong \u2014 1102 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), about 60% of them inside a single declaration: ContextManager (3 blocks, 105-1269). The bar is 500 significant lines; this is 602 over it, 2.20\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/context_manager/history.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b49b608adb156925f6d9944915ca14f583d97174ff39f5bb93679b750cc595"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::agent::history::prepare_forked_history: FunctionTooLong \u2014 codex_core::agent::history::prepare_forked_history runs 220 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 120 over it, 2.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/agent/history.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"492fd60080ed7fe109b2587743c10002df88adfec7ac5fe8cdc692f5eceab4b0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LocalProcess.start_process: MethodTooLong \u2014 start_process runs 220 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 120 over it, 2.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/local_process.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9261eab1a327e62b67f84d3882f4ceffe811238d28e54114f6bf49bb94d655b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ListSelectionView.render: MethodTooLong \u2014 render runs 220 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 120 over it, 2.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/list_selection_view.rs"},"region":{"startLine":1617}}}],"partialFingerprints":{"codehealthFindingId/v1":"3058a6ec539a310edad86a3590ee634227c66cc4b68d41ace43c946a1200ccf9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_tui::analytics::normalize::history: FunctionTooLong \u2014 codex_tui::analytics::normalize::history runs 217 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 117 over it, 2.17\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":"codex-rs/tui/src/analytics/normalize.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce3c5949dcd6380716d80f415934737f99aeab6e58cb6a208267386e1259061"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NetworkProxyState: TooManyMethods \u2014 65 methods. The bar is 30 methods; this is 35 over it, 2.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/runtime.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02d4b7151eaf6fdb9045f7f085d8226874e033c8fdb65999014be102165a1a9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: local/rollout_migration.rs: FileTooLong \u2014 1083 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), about 71% of them inside a single declaration: LocalThreadStore (275-1260). The bar is 500 significant lines; this is 583 over it, 2.17\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/rollout_migration.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e4fb6022223771c3db3edb2ab43e61ff944913081cb8b397437c0a7f1c7551"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mcp_conformance/review_regressions.py: FileTooLong \u2014 1081 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 581 over it, 2.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":"scripts/mcp_conformance/review_regressions.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc21273424cdfd5eba50b90ee27912666effcbb5aa053d2a7d0fd24e26cc7509"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: McpConnectionSet.capture_binding_with_metadata: MethodTooLong \u2014 capture_binding_with_metadata runs 215 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 115 over it, 2.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":"codex-rs/codex-mcp/src/connection_manager/tool_catalog.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e49c66ecc464d63fb3c3cd425ee2173c9266cedc37c4dd2ba214f7d9487e63a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/environment_selection.rs: FileTooLong \u2014 1071 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 571 over it, 2.14\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":"codex-rs/core/src/environment_selection.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7417d4b4ae4ee585d37584ef94d53a4650ea804b928c695b94b5dd8990c79f4b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AppEvent: ClassTooLong \u2014 852 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), 0 methods. The bar is 400 significant lines; this is 452 over it, 2.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app_event.rs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"033c45938a2b0fd4308789d9f98891394dbcd217e9e53843562a5a703b8d704f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_api::api_bridge::map_api_error_details: FunctionTooLong \u2014 codex_api::api_bridge::map_api_error_details runs 213 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 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":"codex-rs/codex-api/src/api_bridge.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"82bf1a1097e27ccf13e7ebdf33d3155efec58ce3bf92f45e2cf1bca9af62c1fa"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CodexThread: ClassTooLong \u2014 851 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), 118 methods, 2 blocks, lines 202-1574. The bar is 400 significant lines; this is 451 over it, 2.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/codex_thread.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"b77c3652a84b0e2aa96dadcdc121bd88953135d244cb2b816447237169ba28b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: request_processors/thread_lifecycle.rs: FileTooLong \u2014 1060 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 560 over it, 2.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":"codex-rs/app-server/src/request_processors/thread_lifecycle.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e83ffde844e26caaad8a52d49da2c8f7689afd3b37388a92347b9456559e55"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/tui.rs: FileTooLong \u2014 1060 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), about 61% of them inside a single declaration: Tui (3 blocks, 136-1683). The bar is 500 significant lines; this is 560 over it, 2.12\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":"codex-rs/tui/src/tui.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a7565ad2a1d980f41c4589c778e022bf7f4a705cfde302b4cb7ede9b0e891f7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PluginRequestProcessor.plugin_list_response: MethodTooLong \u2014 plugin_list_response runs 212 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 112 over it, 2.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":"codex-rs/app-server/src/request_processors/plugins.rs"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a43e09ffa93731791a8b3432005b87d2e5a67232be20ea281a34d358687efc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ElicitationRequestManager.make_sender: MethodTooLong \u2014 make_sender runs 212 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 112 over it, 2.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":"codex-rs/codex-mcp/src/elicitation.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"88fda8210b5e7323cb6637b088e212c281fa19391e46adfb32c60e61e770743d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SandboxManager.transform: MethodTooLong \u2014 transform runs 212 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 112 over it, 2.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":"codex-rs/sandboxing/src/manager.rs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"de52f52c4a7d56d08b38e2ea9e047ff8e8a921a4de37d9a025bfb5d322ae580e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_windows_sandbox::setup_provisioning::run_setup_full: FunctionTooLong \u2014 codex_windows_sandbox::setup_provisioning::run_setup_full runs 212 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 112 over it, 2.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":"codex-rs/windows-sandbox-rs/src/setup_provisioning.rs"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3acb44151d53a4885a3436f3be704bb7580ea2f31d74d8671059ae3e5995364"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: session/mcp.rs: FileTooLong \u2014 1058 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), about 67% of them inside a single declaration: Session (85-1005). The bar is 500 significant lines; this is 558 over it, 2.12\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":"codex-rs/core/src/session/mcp.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f25cae2fdd2863f50c728974845cc14dc0ed839c22d161eb4da02bce9220a3b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: request_user_input/mod.rs: FileTooLong \u2014 1058 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), about 91% of them inside a single declaration: RequestUserInputOverlay (3 blocks, 140-1530). The bar is 500 significant lines; this is 558 over it, 2.12\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":"codex-rs/tui/src/bottom_pane/request_user_input/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed2910671e9a6691c4546fe49d0881a9d40bc1977c2c89cf3e2bf7b6b7df46e2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/network_approval.rs: FileTooLong \u2014 1056 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 556 over it, 2.11\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":"codex-rs/core/src/tools/network_approval.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec99e584999e3a45b2bce3076b841dc91f429d76c3f59bb5f8f6b0230dd059b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_thread_store::local::update_thread_metadata::update_thread_metadata: FunctionTooLong \u2014 codex_thread_store::local::update_thread_metadata::update_thread_metadata runs 211 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 111 over it, 2.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/update_thread_metadata.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbeabe592c564bc8f11462680ec25b7d5974800d449f7d6f4324df7dafe0646e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: App.handle_sidebar_input: MethodTooLong \u2014 handle_sidebar_input runs 211 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 111 over it, 2.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/side_focus.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3dfb1380bf168840f92518772ffda884b8cf47c6a633498e049b5b1793147c7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ExecServerClient: TooManyMethods \u2014 63 methods, declared across 5 files: src/client.rs (47), src/client_transport.rs (10), client/rpc_http_client.rs (3), client/accepted.rs (2), \u002B1 more file(s). The bar is 30 methods; this is 33 over it, 2.10\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/client.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c96ce111fd6410872f209e186ae06d921eeb2dfda4d5fc2949632d53251f10b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CredentialBroker: ClassTooLong \u2014 835 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), 22 methods, 2 blocks, lines 60-1438. The bar is 400 significant lines; this is 435 over it, 2.09\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/credential_broker.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e618de4e42e30ccbe3f9e4abbbbe3f421f44edba17b2446f29724bf8a8cee63f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chatwidget/slash_dispatch.rs: FileTooLong \u2014 1036 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), about 97% of them inside a single declaration: ChatWidget (43-1452). The bar is 500 significant lines; this is 536 over it, 2.07\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":"codex-rs/tui/src/chatwidget/slash_dispatch.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1739c720cdb43ab728a54f65372a7d6de6962faa508d5af32bc3d06a864dc582"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FeedbackRequestProcessor.feedback_response: MethodTooLong \u2014 feedback_response runs 207 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 107 over it, 2.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/feedback_processor.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d779431e9fd424d2f84133c8d28a0af70fbe3526ad8e31c83148de64e6c8b5d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::tasks::user_shell::execute_user_shell_command: FunctionTooLong \u2014 codex_core::tasks::user_shell::execute_user_shell_command runs 207 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 107 over it, 2.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tasks/user_shell.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a4abb8982228c858376ae28a121280069d1c96665e8c7e72feacfbbf09bfed"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/agents_overview.rs: FileTooLong \u2014 1030 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), about 90% of them inside a single declaration: App (127-1340). The bar is 500 significant lines; this is 530 over it, 2.06\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/agents_overview.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92973ad0693555d681983fd1723c96518fcbc434bdbdf9370ec49fdad6f55e4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RemoteAppServerClient.connect_with_stream: MethodTooLong \u2014 connect_with_stream runs 206 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 106 over it, 2.06\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":"codex-rs/app-server-client/src/remote.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9dcf17f08a61a675f3133d13ef10051033df280347fc349c192246f00c71efa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::mcp_tool_call::handle_mcp_tool_call: FunctionTooLong \u2014 codex_core::mcp_tool_call::handle_mcp_tool_call runs 206 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 106 over it, 2.06\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":"codex-rs/core/src/mcp_tool_call.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3261172bcf3c9afcb6925bde49be826faeee92fbbbe28f0c78250c858ff483"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnalyticsView.summary_lines: MethodTooLong \u2014 summary_lines runs 206 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 106 over it, 2.06\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":"codex-rs/tui/src/analytics/summary_panel.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb9b5eba9eb768c10709b7e895ff605adb1727d479f3d21847272d9add620ec"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/codex_thread.rs: FileTooLong \u2014 1029 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), about 83% of them inside a single declaration: CodexThread (2 blocks, 202-1574). The bar is 500 significant lines; this is 529 over it, 2.06\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/codex_thread.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd84b82d3e9b38bb6803e38f99c9b047639070358a785f618069a58368aabec6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RealtimeConversationManager.start_inner: MethodTooLong \u2014 start_inner runs 205 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 105 over it, 2.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/realtime_conversation.rs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f044fb8f6a84efa0c0e9441acfad82650c9b1059c30ef38c9eb7118fadc2392"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_app_server::request_processors::thread_lifecycle::handle_pending_thread_resume_request: FunctionTooLong \u2014 codex_app_server::request_processors::thread_lifecycle::handle_pending_thread_resume_request runs 204 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 104 over it, 2.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":"codex-rs/app-server/src/request_processors/thread_lifecycle.rs"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56d5c6e04ab86fa343c95bbf579a3a95ca1ad6c4f6a17f4c0d2fc22e63cf705"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::guardian::recorded_tool_call::review_tool_call: FunctionTooLong \u2014 codex_core::guardian::recorded_tool_call::review_tool_call runs 204 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 104 over it, 2.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":"codex-rs/core/src/guardian/recorded_tool_call.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f53a63f586b699075924f3017d4565f003379fc9e235ed4c452605958450174"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_thread_store::local::thread_history_materialization::read_projection_batches: FunctionTooLong \u2014 codex_thread_store::local::thread_history_materialization::read_projection_batches runs 204 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 104 over it, 2.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":"codex-rs/thread-store/src/local/thread_history_materialization.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90896539c2a8ae7bc364136b079bbcf9abcf8f08287b8da2a68c8f4f84a1b98"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/runtime.rs: FileTooLong \u2014 1019 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), about 68% of them inside a single declaration: NetworkProxyState (4 blocks, 284-1284). The bar is 500 significant lines; this is 519 over it, 2.04\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":"codex-rs/network-proxy/src/runtime.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23f084e3d0bbf8869c57607691fccabfa32a7006e20dd0b5798f058326b92e2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CodexClient: TooManyMethods \u2014 61 methods. The bar is 30 methods; this is 31 over it, 2.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdk/python/src/openai_codex/client.py"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65b9388bec95c2dba836ce9aad7dd45c47dbeb58c18cc4a67a583f741ecaf16"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RolloutRecorder.list_threads_with_db_fallback: MethodTooLong \u2014 list_threads_with_db_fallback runs 203 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 103 over it, 2.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout/src/recorder.rs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"afacb46629153de9316b157512941ce94e67a4e1e146d5c29253dec02bbcffa6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_cli::debug_sandbox::run_command_under_sandbox: FunctionTooLong \u2014 codex_cli::debug_sandbox::run_command_under_sandbox runs 202 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 102 over it, 2.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/debug_sandbox.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"3399282fabec63cfbf7db86da31788dac4204c21e5017d596d35c105abc5a49f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnalyticsView.chat_lines: MethodTooLong \u2014 chat_lines runs 202 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 102 over it, 2.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/analytics/chat_panel.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c6b125a7a6f4df03b9e84b6fce7fcc1ae3ae7c6181d1dad0e4f4ee028d0081"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/http_proxy.rs: FileTooLong \u2014 1005 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 505 over it, 2.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c3f26a565e1a6230d9302263b7ad626698def821a3c638d84da520d49678aa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ShellSnapshotCache.prepare: MethodTooLong \u2014 prepare runs 201 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 101 over it, 2.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/shell_snapshot.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"428e4670ca574d2a672a3260256599043344a11bf21aae9939bdf437dc8cdbc2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AgentsOverviewView.render_center_rows: MethodTooLong \u2014 render_center_rows runs 201 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 101 over it, 2.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/agent_center/rows.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d85598a7018422eed972de00c93e3c174c293ec71f5ea50df4800b2e160961e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: App.handle_server_request_event: MethodTooLong \u2014 handle_server_request_event runs 201 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 101 over it, 2.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/app_server_events.rs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"936e390339d691533b190b200ac76efe99df3a1dfe5c869cdd1d20fcdea7892a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/background_requests.rs: FileTooLong \u2014 1004 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 504 over it, 2.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/background_requests.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"223e959e4aea92289a288917c382902e1e108f22106a7b6ea3cae80b8136370d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: McpRequestProcessor.mcp_server_oauth_login_response: MethodTooLong \u2014 mcp_server_oauth_login_response runs 200 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 100 over it, 2.00\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":"codex-rs/app-server/src/request_processors/mcp_processor.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ceb185402451e4a0eb46aea21dee854486a8da4586721947af46e1871adad8d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SampleTask.run: MethodTooLong \u2014 run runs 199 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 99 over it, 1.99\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":"codex-rs/app-server/src/thread_sample.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"3577ac320df85c20fa74a9e566925b52d4bf5a856fb7440505843470b5b55cd1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnalyticsView.task_lines: MethodTooLong \u2014 task_lines runs 197 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 97 over it, 1.97\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":"codex-rs/tui/src/analytics/task_panel.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c6ea14b2063a59370fe1fabf284f2b7001518aab70dd2cae3911f9d0493a07"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: App.start_agents_overview_refresh: MethodTooLong \u2014 start_agents_overview_refresh runs 197 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 97 over it, 1.97\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":"codex-rs/tui/src/app/agents_overview_threads.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06be3c04591c6b4690d28fb85f3ebfc6c609a86e20d4d8a62165285cc3f44e0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ContextManager: TooManyMethods \u2014 59 methods, declared across 3 files: context_manager/history.rs (53), context_manager/history_user_authorization.rs (5), session/rollout_reconstruction.rs (1). The bar is 30 methods; this is 29 over it, 1.97\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/context_manager/history.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e7becb758c6078f3da68c78680531a8ccefb38c6b82ed376f99cca8ba73c09"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_apply_patch::apply_hunks_to_files: FunctionTooLong \u2014 codex_apply_patch::apply_hunks_to_files runs 196 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 96 over it, 1.96\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":"codex-rs/apply-patch/src/lib.rs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7bf1c54df6517231d43d4ace307639bf94be19a5252554c1250641d948d2d84"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/compression.rs: FileTooLong \u2014 978 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 478 over it, 1.96\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":"codex-rs/rollout/src/compression.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c10173a66e373f28ae87d32dd611ea1da3bec5187aa6dda12e2c54192cc9763"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/local_file_system.rs: FileTooLong \u2014 977 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 477 over it, 1.95\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":"codex-rs/exec-server/src/local_file_system.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac3f34f850b27a06f1d43ff63c9d7426143db441f4c1bba0c1aa60cdc71d9b9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: realtime_websocket/methods.rs: FileTooLong \u2014 974 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 474 over it, 1.95\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":"codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b2f8c5ce78239242bf11f0efbe6e686ae1d808a8d14d72fe806117d973ec6b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ModelClient: ClassTooLong \u2014 778 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), 38 methods, 2 blocks, lines 300-1598. The bar is 400 significant lines; this is 378 over it, 1.95\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/client.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"72399f216930d71b4a97426592d3f51aa5d931528973a642606fa9fec2906e70"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/setup_provisioning.rs: FileTooLong \u2014 972 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 472 over it, 1.94\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":"codex-rs/windows-sandbox-rs/src/setup_provisioning.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb135175c9f57edd5ebe7236902c4fa0db3668c260b6ce58c02ace7420c5317"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AuthModeWidget: ClassTooLong \u2014 776 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), 43 methods, 5 blocks, lines 205-1308. The bar is 400 significant lines; this is 376 over it, 1.94\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/onboarding/auth.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b8d5ac501ba0575589b4983ecc61483f5b98427d876f531e34a7dc09bd38d86"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_exec_server::shell_snapshot_credentials::prepare: FunctionTooLong \u2014 codex_exec_server::shell_snapshot_credentials::prepare runs 194 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 94 over it, 1.94\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":"codex-rs/exec-server/src/shell_snapshot_credentials.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b2a4e473fb1f33a7e382867f38d8d4591bd52d138be59602e6ac64360bf94b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SessionTelemetry: TooManyMethods \u2014 58 methods, declared across 3 files: events/session_telemetry.rs (55), src/skill_invocation.rs (2), src/guardian_assessment.rs (1). The bar is 30 methods; this is 28 over it, 1.93\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/otel/src/events/session_telemetry.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df6456f1b0dc860abf1a475841532aa3dc93b0b61313d13865ed138d7cea288"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/parse_command.rs: FileTooLong \u2014 964 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), declaring 38 free functions. The bar is 500 significant lines; this is 464 over it, 1.93\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":"codex-rs/shell-command/src/parse_command.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e85d3d0ba2258b97ee694a2d50024872251bdc20c439b2e5d7f581981285c1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NetworkProxy: ClassTooLong \u2014 771 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), 42 methods, 5 blocks, lines 570-1800. The bar is 400 significant lines; this is 371 over it, 1.93\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/proxy.rs"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b45e61bd9e76e6df8d9f75eef94691acbe7a19853b40880f19235449cff10f5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::guardian::input_budget::finalize: FunctionTooLong \u2014 codex_core::guardian::input_budget::finalize runs 192 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 92 over it, 1.92\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/guardian/input_budget.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"97df56023e41b19b6f6463aef518a08a0c19a4be018f913ce9aa80eeaa78e6a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_tui::dynamic_tools::turn_summary: FunctionTooLong \u2014 codex_tui::dynamic_tools::turn_summary runs 191 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 91 over it, 1.91\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":"codex-rs/tui/src/dynamic_tools.rs"},"region":{"startLine":1383}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e89ca4657d9c4bab7b476d2c1a1207395dca5535b95071ab0223b70381f408c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/oauth.rs: FileTooLong \u2014 954 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), declaring 41 free functions. The bar is 500 significant lines; this is 454 over it, 1.91\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":"codex-rs/rmcp-client/src/oauth.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd8832b96798a0638d378eb59c086559b1c1500388291d9eb9b8887da4b00e4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: control/spawn.rs: FileTooLong \u2014 952 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), about 91% of them inside a single declaration: LocalAgentControl (112-1260). The bar is 500 significant lines; this is 452 over it, 1.90\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":"codex-rs/core/src/agent/control/spawn.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d051500e72867fee914f232c199f74aff4912d6e22ecff3f2f0662afed78455"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AnalyticsReducer: TooManyMethods \u2014 57 methods. The bar is 30 methods; this is 27 over it, 1.90\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/analytics/src/reducer.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"76277645afc5587336b558584be28f10e2297fa5ea5d1707a1f00029f84f35a2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TurnRequestProcessor.turn_start_inner: MethodTooLong \u2014 turn_start_inner runs 190 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 90 over it, 1.90\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":"codex-rs/app-server/src/request_processors/turn_processor.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"7413364ca2ab3b1ee562c68cd855fda20422dd4f74533825db072085efe48049"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExecServerClient.spawn_rpc_reader: MethodTooLong \u2014 spawn_rpc_reader runs 190 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 90 over it, 1.90\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":"codex-rs/exec-server/src/client_recovery.rs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b326a50ebeed84c3517c670cfbc7dd07ec34f61ea0dd252c8fc7291f1482460"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: v2/config.rs: FileTooLong \u2014 946 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 446 over it, 1.89\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":"codex-rs/app-server-protocol/src/protocol/v2/config.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f4e27fd52364f92603d327a766767e2125d715a3c89a32d3fa1aa2106ad573"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_tui::markdown_copy::render_selection: FunctionTooLong \u2014 codex_tui::markdown_copy::render_selection runs 189 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 89 over it, 1.89\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":"codex-rs/tui/src/markdown_copy.rs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7097562e8357b8283a9b0cb2e29bb6ce27a4dbc2e0a4130724480040b3f9d1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NativeChild.spawn: MethodTooLong \u2014 spawn runs 189 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 89 over it, 1.89\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":"codex-rs/utils/pty/src/posix_child.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce4db2950e37c0e18efed29eb954f94ad5b08ef8025d1e5d604cbb5d9bd7c2c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/local_process.rs: FileTooLong \u2014 941 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 441 over it, 1.88\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/local_process.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d7a2af980a84c62bfedd30264d6ffdaeb9b20343415ddefc6bc114284e8e85"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/config_persistence.rs: FileTooLong \u2014 940 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), about 90% of them inside a single declaration: App (75-1412). The bar is 500 significant lines; this is 440 over it, 1.88\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":"codex-rs/tui/src/app/config_persistence.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd03fc462df26d5ad3e045db7f59132a5c0c721216efc33e5804da4e2a9efece"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: McpManager.runtime_config_with_context: MethodTooLong \u2014 runtime_config_with_context runs 188 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 88 over it, 1.88\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":"codex-rs/core/src/mcp.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"db82b3756796b9864c9ab544dba329e18ed1f81a05e214233f617825e666fce2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: onboarding/auth.rs: FileTooLong \u2014 938 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), about 83% of them inside a single declaration: AuthModeWidget (5 blocks, 205-1308). The bar is 500 significant lines; this is 438 over it, 1.88\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":"codex-rs/tui/src/onboarding/auth.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0466673477f320637d3ee8d2f6a48a65d6fe301e0e711ec463522fbbc8343646"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::tools::runtimes::maybe_wrap_shell_lc_with_snapshot: FunctionTooLong \u2014 codex_core::tools::runtimes::maybe_wrap_shell_lc_with_snapshot runs 187 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 87 over it, 1.87\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":"codex-rs/core/src/tools/runtimes/mod.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"3425a02bf2d3b2ea7dcbdae79a6330a27ab68bfa0aadb31d7dee5e8c3044e87e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UnifiedExecProcessManager.write_stdin_inner: MethodTooLong \u2014 write_stdin_inner runs 187 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 87 over it, 1.87\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":"codex-rs/core/src/unified_exec/process_manager.rs"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6dcf2d18a8a95068dc3478c818d93559731f8b4369dfa5406af4938e93cf01"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_thread_store::local::thread_history::realtime::list_timeline: FunctionTooLong \u2014 codex_thread_store::local::thread_history::realtime::list_timeline runs 187 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 87 over it, 1.87\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":"codex-rs/thread-store/src/local/thread_history/realtime.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe49f043445689e66f6b80003a4627c21858887890bbd750d5baf5c0a9f00d2c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_tui::debug_config::render_debug_config_lines: FunctionTooLong \u2014 codex_tui::debug_config::render_debug_config_lines runs 187 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 87 over it, 1.87\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":"codex-rs/tui/src/debug_config.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"7608058e6318eff54ed661bf581883856b8f63fc5b35755e4076b93ec36ddb28"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExternalAgentSessionImporter.persist_session: MethodTooLong \u2014 persist_session runs 186 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 86 over it, 1.86\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/external_agent_migration/session_importer.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"30784c3af8b777d63fbc7d08c30abb8cea47ae0223c032db36b84846a9e9d82e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_tui::diff_render::render_change_with_preview: FunctionTooLong \u2014 codex_tui::diff_render::render_change_with_preview runs 186 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 86 over it, 1.86\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/diff_render.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c1b639fcd65a8128c759b95e264b4b41d07adae0db988b074519f5400f8a18"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::compact_remote_v2_installation::build_and_install_compaction: FunctionTooLong \u2014 codex_core::compact_remote_v2_installation::build_and_install_compaction runs 185 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 85 over it, 1.85\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":"codex-rs/core/src/compact_remote_v2_installation.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"daaa2d844074657167db41de97c58ddbae6c7867d103db7d2cfcb35b0d30900f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Session.assemble_initial_context: MethodTooLong \u2014 assemble_initial_context runs 185 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 85 over it, 1.85\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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":5124}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0a248adbdce1113f9b5460fb23bdb545da3112812a249b16bd4f1c31cab483"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExternalAgentConfigService.import: MethodTooLong \u2014 import runs 185 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 85 over it, 1.85\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":"codex-rs/external-agent-migration/src/service.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"7498f8732b2e1ff44fdd8f8e77a4bf2e40cd138efa0cc98f0e295572dae61197"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: App.render_owned_transcript: MethodTooLong \u2014 render_owned_transcript runs 185 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 85 over it, 1.85\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":"codex-rs/tui/src/app/owned_transcript.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"77586b6a442e262dfa130e4a97b2fb0ea4763f2f0fe0385111cc424e9568b3e8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/shell_snapshot.rs: FileTooLong \u2014 923 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 423 over it, 1.85\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":"codex-rs/core/src/shell_snapshot.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c62eeae6015c0f839a0f3b7561a890ad8e84e6173fd2fe27683267e696ffb9b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 921 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), about 68% of them inside a single declaration: Daemon (2 blocks, 344-1229). The bar is 500 significant lines; this is 421 over it, 1.84\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-daemon/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d388113fdf09701462f03641897e19e9919aaf10029972ad4b4f28b6083e8d5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/owned_transcript.rs: FileTooLong \u2014 920 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), about 90% of them inside a single declaration: App (142-1230). The bar is 500 significant lines; this is 420 over it, 1.84\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/owned_transcript.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28882dfee81ad66a2ed8835a939c53c0c49f5ec635895ccdc213762b77c45e2f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OauthLoginFlow.new: MethodTooLong \u2014 new runs 184 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 84 over it, 1.84\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":"codex-rs/rmcp-client/src/perform_oauth_login.rs"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"667c80b9b47b26983258c16bc7c34ba9952b4c82d73b099e9c2fb5eefdd3bffe"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: App.enqueue_thread_notification: MethodTooLong \u2014 enqueue_thread_notification runs 184 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 84 over it, 1.84\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":"codex-rs/tui/src/app/thread_routing.rs"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb75a2486c9b9b5f98d161e713907987f48146d1d5d26b512208c9e19c31dd0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Tui: TooManyMethods \u2014 55 methods, declared across 6 files: src/tui.rs (45), tui/screen_size.rs (5), tui/selection_clipboard.rs (2), tui/history_tail.rs (1), \u002B2 more file(s). The bar is 30 methods; this is 25 over it, 1.83\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/tui.rs"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79d927347b827b31a025d14a3584420b6739a900ae77d854f4a7cd916790a85"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: McpServerElicitationOverlay: ClassTooLong \u2014 732 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), 43 methods, 4 blocks, lines 679-1710. The bar is 400 significant lines; this is 332 over it, 1.83\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e4abe65f04ca6491af3e948e458a7c3cb0608022036c0e6f29c0b0e71a16c7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/exec.rs: FileTooLong \u2014 913 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 413 over it, 1.83\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/exec.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34f7db9e98ff41724853be052a53dbad3417f69d6ae0d24741b08fc9e43db78"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StateRuntime.prune_logs_after_insert: MethodTooLong \u2014 prune_logs_after_insert runs 182 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 82 over it, 1.82\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/state/src/runtime/logs.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9346a7c0ba25028b4b7faccf888a1afa1f9e20465ecaccf00ddb28aaaf737fb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatWidget.on_session_configured_with_display_and_fork_parent_title: MethodTooLong \u2014 on_session_configured_with_display_and_fork_parent_title runs 182 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 82 over it, 1.82\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/session_flow.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc6f060ec18416451ac5f7567e2103467454d0a0c62e0ab5ea2642b9dc67267"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_windows_sandbox::windows_impl::run_windows_sandbox_capture_with_filesystem_overrides: FunctionTooLong \u2014 codex_windows_sandbox::windows_impl::run_windows_sandbox_capture_with_filesystem_overrides runs 182 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 82 over it, 1.82\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-rs/src/lib.rs"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"17da83ff3d3118cca14e06fef6c8fc733ea741a8c69bf200a5a7a528af4047d1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CommandExecRequestProcessor.exec_one_off_command_inner: MethodTooLong \u2014 exec_one_off_command_inner runs 181 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 81 over it, 1.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/command_exec_processor.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"6282f37e3bdf94fb5f4e2ae10f65c8b8cb5e7c134214e4c9b24ee5e3406eb577"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PickerState: TooManyMethods \u2014 54 methods, declared across 2 files: src/resume_picker.rs (49), resume_picker/archive.rs (5). The bar is 30 methods; this is 24 over it, 1.80\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/resume_picker.rs"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54bf51be65f8acfab01935df2bd6a38732bb58c046eee5e401a6549f3dff3d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/mcp_cmd.rs: FileTooLong \u2014 896 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 396 over it, 1.79\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":"codex-rs/cli/src/mcp_cmd.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac3ad87a9e800f886eb87d611702e288169d155116247093979a6c447ea31bd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PluginRequestProcessor.plugin_read_response: MethodTooLong \u2014 plugin_read_response runs 179 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 79 over it, 1.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":"codex-rs/app-server/src/request_processors/plugins.rs"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed24c667b0e98a111836f79506fc5b273dbdd47ced6f716b4de26b7d0ec95ec9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Session.start_task: MethodTooLong \u2014 start_task runs 179 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 79 over it, 1.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":"codex-rs/core/src/tasks/mod.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb2f5fab0654b5a4f591e1a4bcc4aa3e215f1b5b26a3b74728ae76e877ba20c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MathMarkdown.new: MethodTooLong \u2014 new runs 179 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 79 over it, 1.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":"codex-rs/tui/src/markdown_render/math.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"708d384b8e1a15d3f819c109913743cb71afc227216e8e21daee04816c1e1fb0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/runtime.rs: FileTooLong \u2014 893 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), about 69% of them inside a single declaration: McpRuntime (2 blocks, 137-1121). The bar is 500 significant lines; this is 393 over it, 1.79\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":"codex-rs/codex-mcp/src/runtime.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c5c161355238259913c732a7b9605694380b424eebf918a1fb4618cad8acfc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chatwidget/status_surfaces.rs: FileTooLong \u2014 893 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), about 81% of them inside a single declaration: ChatWidget (105-1156). The bar is 500 significant lines; this is 393 over it, 1.79\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":"codex-rs/tui/src/chatwidget/status_surfaces.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb21ef06a56f89e5e0e8ab731988b501b405063f1e0c7b43a8081ee073af135"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/exec_policy.rs: FileTooLong \u2014 892 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 392 over it, 1.78\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/exec_policy.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93109823da6e20b8df6a211e8efda098dfca47337d99406d6775048857f95548"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/wrapping.rs: FileTooLong \u2014 891 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), declaring 41 free functions. The bar is 500 significant lines; this is 391 over it, 1.78\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/wrapping.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80fa3ecf42eaebb8ca4f773fda421871bfda91c454a064a9679f8f9b72d6aa7e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RemoteControlWebsocket: ClassTooLong \u2014 712 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), 15 methods, 2 blocks, lines 258-1323. The bar is 400 significant lines; this is 312 over it, 1.78\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-transport/src/transport/remote_control/websocket.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"983c4941bd556a3ad93af8e06daa17c49f40ff89e2d03d6e356306345201f933"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LocalThreadStore.migrate_one_rollout: MethodTooLong \u2014 migrate_one_rollout runs 178 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 78 over it, 1.78\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":"codex-rs/thread-store/src/local/rollout_migration.rs"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e02d433e6c8d9ee59c371f590db2161a9c9b595a4995d2dedd4dc1bf4647a4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: App.try_submit_active_thread_op_via_app_server: MethodTooLong \u2014 try_submit_active_thread_op_via_app_server runs 178 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 78 over it, 1.78\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":"codex-rs/tui/src/app/thread_routing.rs"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3d140445238d31d802b51c43c417be14781e4bfb207768727ae3dcd9c47422"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/protocol.rs: FileTooLong \u2014 889 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 389 over it, 1.78\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server-protocol/src/protocol.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e1bd0e04458884fc5bb38fc8e013c91ec4950435e77411ea3e314e1d5aed4a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/client.rs: FileTooLong \u2014 887 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 387 over it, 1.77\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":"codex-rs/analytics/src/client.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb81ca5180ff07a4c2a5f6392ae436c9b61b45dfa8d2bc04e4f032fa1d54505"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_cli::doctor::build_report: FunctionTooLong \u2014 codex_cli::doctor::build_report runs 177 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 77 over it, 1.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":"codex-rs/cli/src/doctor.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"210997e1ebba133a86fbf9b6a905c7f7d3a22ae4482b1e2917eefc1b010d82f7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExecServerCommand.run: MethodTooLong \u2014 run runs 177 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 77 over it, 1.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":"codex-rs/exec-server-cli/src/command.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94052631deefcfe2e77bd3dc2b6900931745920a6e633653117aa17e1e4d5ff"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_thread_store::local::thread_history::search::search_thread_occurrences: FunctionTooLong \u2014 codex_thread_store::local::thread_history::search::search_thread_occurrences runs 177 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 77 over it, 1.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":"codex-rs/thread-store/src/local/thread_history/search.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"059539cd363f3c277c425208847e6315f2f17830f5f072934d3a576944467c03"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RequestUserInputOverlay.handle_key_event: MethodTooLong \u2014 handle_key_event runs 177 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 77 over it, 1.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":"codex-rs/tui/src/bottom_pane/request_user_input/mod.rs"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"171f28e5ae17a67b0536b153f2c090fa9b6cf2cc9ddef60441797613dd6f5c06"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ListSelectionView: TooManyMethods \u2014 53 methods. The bar is 30 methods; this is 23 over it, 1.77\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/list_selection_view.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1046bd731ab2ed04a5a3693b787ffdf86c8ab8dec66826c32ba97cf1a6eb7b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: App.retry_safety_buffered_turn: MethodTooLong \u2014 retry_safety_buffered_turn 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":"codex-rs/tui/src/app/safety_buffering.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d986a07a67a816ccf0d155e3faf50a828ab0c0fa2948a523933241cc2c01e5a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatWidget.plugins_popup_params: MethodTooLong \u2014 plugins_popup_params 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":"codex-rs/tui/src/chatwidget/plugin_catalog.rs"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1577e80ba22b7684ff20667344e77713bb782afc819d81ac9ea57901676035"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_network_proxy::credential_broker::matching::virtualize_text: FunctionTooLong \u2014 codex_network_proxy::credential_broker::matching::virtualize_text runs 175 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 75 over it, 1.75\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":"codex-rs/network-proxy/src/credential_broker/matching.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f8dad821823d7427cab62891a2f04d66b8d6ca1e00381d3f5ad0e56e5601d5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/render.rs: FileTooLong \u2014 874 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 374 over it, 1.75\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":"codex-rs/ext/skills/src/render.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb04871d4eb353083907b3ff98b40a0d9d20da3b2b73f77544188efe2e0fb00"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NetworkProxyState: ClassTooLong \u2014 697 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), 65 methods, 4 blocks, lines 284-1284. The bar is 400 significant lines; this is 297 over it, 1.74\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/runtime.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"c988c7a70637292e430144c8529dd7f21322401d6cb0c8be8a673afe31e74b41"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 871 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 371 over it, 1.74\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":"codex-rs/windows-sandbox-rs/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"061eb0d2689863a8b021018ff381a7c2410f05f5929811535e49224220df220d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AnalyticsEventsClient: TooManyMethods \u2014 52 methods. The bar is 30 methods; this is 22 over it, 1.73\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/analytics/src/client.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1c21d7933c1ad1fa4dfdc54b10ec6013a1102fecd4a8108d53fd508d8f0c80"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ConfigManager: TooManyMethods \u2014 52 methods, declared across 5 files: src/config_manager.rs (35), src/config_manager_service.rs (9), src/application_network.rs (5), src/config_manager_service_model_providers.rs (2), \u002B1 more file(s). The bar is 30 methods; this is 22 over it, 1.73\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/config_manager.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68ca734a88cacbbdde60b09f0ab352687dd9726ed25d8eae628018a5305ed93"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: McpConnectionSet: TooManyMethods \u2014 52 methods, declared across 7 files: src/connection_manager.rs (25), connection_manager/tool_catalog.rs (12), connection_manager/resources.rs (11), connection_manager/network_policy.rs (1), \u002B3 more file(s). The bar is 30 methods; this is 22 over it, 1.73\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-mcp/src/connection_manager.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e5b13b72fd8fe65c8b2cda46b79c4157fa7d74b42e36572061cb860464024e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AnalyticsView: TooManyMethods \u2014 52 methods, declared across 15 files: src/analytics.rs (11), analytics/chrome.rs (9), analytics/sections.rs (9), analytics/task_panel.rs (4), \u002B11 more file(s). The bar is 30 methods; this is 22 over it, 1.73\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/analytics.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"981fe53e7d99fccc041b70064252dd4f1e1dd1e24172f0d220bdb19b9df50af4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: McpRequestProcessor.list_mcp_server_status_response: MethodTooLong \u2014 list_mcp_server_status_response runs 173 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 73 over it, 1.73\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":"codex-rs/app-server/src/request_processors/mcp_processor.rs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce688f1aac918e60798cfdc2d117f415afa94ec360c441796f52a716224626b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::compact_remote_v2_attempt::run_remote_compact_v2_attempt: FunctionTooLong \u2014 codex_core::compact_remote_v2_attempt::run_remote_compact_v2_attempt runs 173 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 73 over it, 1.73\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":"codex-rs/core/src/compact_remote_v2_attempt.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"48520341d7e6888ebfaec222f8dc50b5a2f3b4fba7e6d75db887e174662b7628"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_tui::resume_picker::sources::spawn: FunctionTooLong \u2014 codex_tui::resume_picker::sources::spawn runs 173 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 73 over it, 1.73\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":"codex-rs/tui/src/resume_picker/sources.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9b9202ec862ad96638185dbc94899a1e19381560f4e07cd7dec965f0296346"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/hook_runtime.rs: FileTooLong \u2014 862 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), declaring 32 free functions. The bar is 500 significant lines; this is 362 over it, 1.72\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":"codex-rs/core/src/hook_runtime.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa0ba43610b41db8f144bf5bb043a9f127e762112a452c99c2a887341cf2c3ad"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::realtime_conversation::handle_handoff_output: FunctionTooLong \u2014 codex_core::realtime_conversation::handle_handoff_output runs 172 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 72 over it, 1.72\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":"codex-rs/core/src/realtime_conversation.rs"},"region":{"startLine":2648}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5bf8a8866f72556a5bf823acc358614ab57d09851997eb13e6a766364f97e86"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_windows_sandbox::wrapper::create_windows_sandbox_command_args_for_permission_profile: FunctionTooLong \u2014 codex_windows_sandbox::wrapper::create_windows_sandbox_command_args_for_permission_profile runs 172 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 72 over it, 1.72\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":"codex-rs/windows-sandbox-rs/src/wrapper.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1feca2382b140ac3128ea546a2a2f62d00ca402dac51a1193a8d38fd20faf1dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: session/turn_input.rs: FileTooLong \u2014 859 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 359 over it, 1.72\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":"codex-rs/core/src/session/turn_input.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b64f06230f83361b5afc669d5dee058acff7f67bf08389c8f7c2133a4d3c3d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/plugin_cmd.rs: FileTooLong \u2014 856 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 356 over it, 1.71\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":"codex-rs/cli/src/plugin_cmd.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2ea9081e0af2a8f19a6a6d854fccff0b968db3fb12b7a47696273499c02161"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RequestPluginInstallHandler.handle_call: MethodTooLong \u2014 handle_call runs 171 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 71 over it, 1.71\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":"codex-rs/core/src/tools/handlers/request_plugin_install.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc2a90daa0ce15446d667dd2c944312c3626ceee42693a98993cf5c56eebdd7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_protocol::permission_profile_intersection::intersect_effective_permission_profiles: FunctionTooLong \u2014 codex_protocol::permission_profile_intersection::intersect_effective_permission_profiles runs 171 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 71 over it, 1.71\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":"codex-rs/protocol/src/permission_profile_intersection.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a555a116ce8ed2d186575ae8d9e852187732c640e57915f69c55584d6cd73f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tasks/mod.rs: FileTooLong \u2014 853 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), about 78% of them inside a single declaration: Session (279-1184). The bar is 500 significant lines; this is 353 over it, 1.71\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":"codex-rs/core/src/tasks/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ae1646442a915709a3e80ca4b6dfcce4af6ef93ce55554e7db64a062ca0c3f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PickerState: TooManyFields \u2014 51 stored fields beside 54 methods. The bar is 30 stored fields; this is 21 over it, 1.70\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/resume_picker.rs"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"69bb60042c214a1565c849174bd7f4f2555e8941729654c6783a9a942616ea6c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_cli::doctor::thread_inventory::parity_check_from_scan_and_rows: FunctionTooLong \u2014 codex_cli::doctor::thread_inventory::parity_check_from_scan_and_rows runs 170 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 70 over it, 1.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/doctor/thread_inventory.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae6123bfb8449ffeefee33b536b2a26e1756d73648489684cc3cae0d467233f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_exec_server::capability_discovery::discover_root: FunctionTooLong \u2014 codex_exec_server::capability_discovery::discover_root runs 170 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 70 over it, 1.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/capability_discovery.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"89fcaf7cbbe356c44bd8dd922fa8eaf1790d46fa7d9ab2a862d7293ae29aaba5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatWidget.on_realtime_transcript_done: MethodTooLong \u2014 on_realtime_transcript_done runs 170 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 70 over it, 1.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/realtime.rs"},"region":{"startLine":1460}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7687811af5077e4c95079ec0310e7bcdf23c794fb4641d027c2f7cbffebe10e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: endpoint/responses_websocket.rs: FileTooLong \u2014 848 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 348 over it, 1.70\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":"codex-rs/codex-api/src/endpoint/responses_websocket.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fddddea40445ae4fab471747cecd6c8c8cfa42503686f11fb7fa90d6ea87f83e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_git_utils::apply::parse_git_apply_output: FunctionTooLong \u2014 codex_git_utils::apply::parse_git_apply_output runs 169 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 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":"codex-rs/git-utils/src/apply.rs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"942cdfa7b758e42b32e92488cb65963efbe3cd883af8f5e4961a4f4dd58ccaed"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_windows_sandbox::elevated_impl::windows_impl::run_windows_sandbox_capture_for_permission_profile: FunctionTooLong \u2014 codex_windows_sandbox::elevated_impl::windows_impl::run_windows_sandbox_capture_for_permission_profile runs 169 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 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":"codex-rs/windows-sandbox-rs/src/elevated_impl.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1de7329d4f5fe1ba49e6864467180d135ac6bc6878918521d12559599194734"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: doctor/output.rs: FileTooLong \u2014 844 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), declaring 66 free functions. The bar is 500 significant lines; this is 344 over it, 1.69\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":"codex-rs/cli/src/doctor/output.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fccb15a6dbd8507e9d39e3d142d67bfb84854872c879a0ea05558bac77da4ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/acl.rs: FileTooLong \u2014 844 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), declaring 31 free functions. The bar is 500 significant lines; this is 344 over it, 1.69\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":"codex-rs/windows-sandbox-rs/src/acl.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb97ff5d4492e6a429ae3c94ec38f8698ebb98bc06a828da982669f290a5f13"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ThreadItemPayload.from: MethodTooLong \u2014 from runs 168 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 68 over it, 1.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/v2/item.rs"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"844b93e8d7f4fce9f415a83234343db8daafc7d614527586e5e4b1f58691c8bf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::realtime_conversation::prepare_realtime_start: FunctionTooLong \u2014 codex_core::realtime_conversation::prepare_realtime_start runs 168 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 68 over it, 1.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/realtime_conversation.rs"},"region":{"startLine":1472}}}],"partialFingerprints":{"codehealthFindingId/v1":"50cdb6fda6d3074571bf1fc7c5bc62a211fb91300e10d7b73ae3e1b2f99803bf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_memories_write::rollout_input::serialize_tiered_input: FunctionTooLong \u2014 codex_memories_write::rollout_input::serialize_tiered_input runs 168 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 68 over it, 1.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/memories/write/src/rollout_input.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"80bef1ee69b8ce1c1e5d6776433d5103c228f5beb74c3ec722668e3b01e47170"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LocalThreadStore.migrate_rollout_path: MethodTooLong \u2014 migrate_rollout_path runs 168 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 68 over it, 1.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/rollout_migration.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"7666f1c69cfb0593d3e09eb558c586cd01ac85aa6eb32b219ca20c858cdfbc77"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BedrockState.render: MethodTooLong \u2014 render runs 168 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 68 over it, 1.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/onboarding/bedrock.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"adfa41e2bc3bcf604fa7a1a9cd33af8c04831c424cc457ecae9fad8b8ea85411"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/marketplace.rs: FileTooLong \u2014 835 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), declaring 40 free functions. The bar is 500 significant lines; this is 335 over it, 1.67\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":"codex-rs/core-plugins/src/marketplace.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c6b76505fec020c756e0079a2dbc0acedab402d668759ee8f1cdf652acdc08"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ChatComposer: TooManyFields \u2014 50 stored fields beside 294 methods. The bar is 30 stored fields; this is 20 over it, 1.67\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"373f803349b682014a4e5150b17874af917ae0119d7dead9c3cda02dd79cd7e4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Config: TooManyMethods \u2014 50 methods, declared across 6 files: config/mod.rs (39), config/windows_sandbox_config.rs (4), config/auth_keyring.rs (2), config/runtime_refresh.rs (2), \u002B2 more file(s). The bar is 30 methods; this is 20 over it, 1.67\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/config/mod.rs"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bdf0e166148d4e9378b16fba1244d9392f94b65a6d1f9a2d854a7ba72fbaf30"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RmcpClient: TooManyMethods \u2014 50 methods, declared across 2 files: src/rmcp_client.rs (46), src/streamable_http_retry.rs (4). The bar is 30 methods; this is 20 over it, 1.67\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/rmcp_client.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c199d1208daeb978eae1144d77f086190abb6b6c839a191679e9ead18aa57a3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ContextManager: ClassTooLong \u2014 665 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), 59 methods, 3 blocks, lines 105-1269. The bar is 400 significant lines; this is 265 over it, 1.66\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/context_manager/history.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"cead6d2b4d1edcb07110dd3d65562deb41d8e285b55ef8248fab507466385055"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_api::endpoint::responses_websocket::run_websocket_response_stream: FunctionTooLong \u2014 codex_api::endpoint::responses_websocket::run_websocket_response_stream runs 166 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 66 over it, 1.66\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":"codex-rs/codex-api/src/endpoint/responses_websocket.rs"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2570f667b0ebde4e4e777b0919b1ff47064a0b37ac0d7835e4a18c18c63c376"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: App.update_feature_flags: MethodTooLong \u2014 update_feature_flags runs 166 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 66 over it, 1.66\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":"codex-rs/tui/src/app/config_persistence.rs"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f75769a6082714fdf5efba52cfb044e326421dd8c48f76e056028e0fd8dc63f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatWidget.handle_thread_item: MethodTooLong \u2014 handle_thread_item runs 166 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 66 over it, 1.66\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":"codex-rs/tui/src/chatwidget/replay.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ddb9bd60d6288aae5216c7b84409e07cb07b704632a596b33435b3646f6983"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_tui::keymap_setup::build_keymap_action_menu_params: FunctionTooLong \u2014 codex_tui::keymap_setup::build_keymap_action_menu_params runs 166 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 66 over it, 1.66\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":"codex-rs/tui/src/keymap_setup.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd436025ff8bcde35ffa1fc6e16cf04a8ca97e07d10e2953e2607bb2ea2b9a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/startup_sync.rs: FileTooLong \u2014 825 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), declaring 44 free functions. The bar is 500 significant lines; this is 325 over it, 1.65\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":"codex-rs/core-plugins/src/startup_sync.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"316f0c4787b1df948bf537b297bcdca4917fdb741c7130bea231a4fb5954e3e5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RollbackPlanner.observe: MethodTooLong \u2014 observe runs 165 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 65 over it, 1.65\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/rollout_migration/rollback_plan.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5450253a9b65f1b8c364f6ac7004db168f16a6d52e876c1c482a2a9ae697cb0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_tui::history_cell::approvals::new_approval_decision_cell: FunctionTooLong \u2014 codex_tui::history_cell::approvals::new_approval_decision_cell runs 165 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 65 over it, 1.65\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/history_cell/approvals.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"693b40421b03207eb24ca335911b9b9705376838936ce50f77a74e652cf10df0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/http_client_adapter.rs: FileTooLong \u2014 821 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 321 over it, 1.64\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/http_client_adapter.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9f7134620caac9209f51b099c2fb8016cdca8dad58011ab70b18d40a0a45b0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/diff_render.rs: FileTooLong \u2014 821 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), declaring 41 free functions. The bar is 500 significant lines; this is 321 over it, 1.64\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/diff_render.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18163daf5cef41af73719a3fdb770299920f7c05a2e3e9218cc205a604559402"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ResponsesHttpExecutor.stream_responses_http: MethodTooLong \u2014 stream_responses_http runs 164 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 64 over it, 1.64\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":"codex-rs/core/src/client.rs"},"region":{"startLine":1969}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68d60fcb19733c669fe45df616705e65929c31150bf1036900e62d115f256c5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RolloutRecorder: ClassTooLong \u2014 655 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), 19 methods, 2 blocks, lines 83-1294. The bar is 400 significant lines; this is 255 over it, 1.64\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout/src/recorder.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5b67c2676c2dfdfdcf01432be160cc0cb9fb94b34de807a2cbdc6830fbda2c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: SessionSpawnArgs: TooManyFields \u2014 49 stored fields. The bar is 30 stored fields; this is 19 over it, 1.63\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2459e251ea3eb343f1c58adacb66084983d5e5f47feb5e419c21071a174bdc1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bottom_pane/approval_overlay.rs: FileTooLong \u2014 816 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 316 over it, 1.63\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/approval_overlay.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecddcb8a1b6c05a9dcb0dcb52b2f83e39835a63f908216748755702dc2a8080d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PluginRequestProcessor.plugin_search_response: MethodTooLong \u2014 plugin_search_response runs 163 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 63 over it, 1.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/plugins/search.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7db5badc240847e92bd911cc7b425d0360f0f4b761a5b4edca3da114a2410c6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PluginsManager.read_plugin_detail_for_marketplace_plugin: MethodTooLong \u2014 read_plugin_detail_for_marketplace_plugin runs 163 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 63 over it, 1.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/manager.rs"},"region":{"startLine":2793}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28992eeb13c0088e46ca1a5b5f2e815cee2c12d37ab6282521823efc99b9960"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core_plugins::remote::remote_installed_plugin_sync::sync_remote_installed_plugin_bundles_once_with_snapshot: FunctionTooLong \u2014 codex_core_plugins::remote::remote_installed_plugin_sync::sync_remote_installed_plugin_bundles_once_with_snapshot runs 163 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 63 over it, 1.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/remote/remote_installed_plugin_sync.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"4309fb63dae51c1c719f7249f4e669ee03fe840855655c4a5af590add919c2db"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_exec_server::process_sandbox::prepare_exec_request_with_telemetry: FunctionTooLong \u2014 codex_exec_server::process_sandbox::prepare_exec_request_with_telemetry runs 163 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 63 over it, 1.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/process_sandbox.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"6752c987ad6c7829556b9bdd02d02bdd55ff1133235b3104dc6795634d6ccc04"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_tui::config_update::read_remote_project_trust: FunctionTooLong \u2014 codex_tui::config_update::read_remote_project_trust runs 163 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 63 over it, 1.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/config_update.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"267b985c37b5d031fafb2ced35d61694dcd583d8b6d063f3f9c955c7bc127830"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/remote.rs: FileTooLong \u2014 814 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 314 over it, 1.63\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/remote.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f42d815571ac42e42547bde17675fb8b885ab1955d28523d3b9fde54cdc6642"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/manager.rs: FileTooLong \u2014 811 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 311 over it, 1.62\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/models-manager/src/manager.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c90e1313fa2d41475e33da933cbf1f01bb2754d6f774912bf1aa6324da5b704"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CapturedRootConversation.prepare: MethodTooLong \u2014 prepare runs 162 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 62 over it, 1.62\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":"codex-rs/core/src/agent/control/user_authorization.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"57da31d65b9709e71898a143db67c3784de471262bbedf04f9c33dd594e085f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: v2/plugin.rs: FileTooLong \u2014 809 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 309 over it, 1.62\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/v2/plugin.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9396bffeb51c72a07af6171106c19d89e4e39d9b6494fd740197371e9447b244"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/approvals.rs: FileTooLong \u2014 807 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 307 over it, 1.61\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":"codex-rs/core/src/tools/approvals.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d24719331eaaedf4d60d34f7c250a3e82c7ee6957bd02da83b3f8cb02db032"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: engine/discovery.rs: FileTooLong \u2014 807 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 307 over it, 1.61\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":"codex-rs/hooks/src/engine/discovery.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab8a40489d3ac62c3b7b7870f3812b2f68c95ba17368e7937811b5fbcbede0b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::session::turn::run_sampling_request: FunctionTooLong \u2014 codex_core::session::turn::run_sampling_request runs 161 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 61 over it, 1.61\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":"codex-rs/core/src/session/turn.rs"},"region":{"startLine":1895}}}],"partialFingerprints":{"codehealthFindingId/v1":"1628bc8ab5fe346203fe762b52dd760848687f16e4aafaf609c25c4e5026a118"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_network_proxy::http_proxy::http_connect_accept: FunctionTooLong \u2014 codex_network_proxy::http_proxy::http_connect_accept runs 161 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 61 over it, 1.61\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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"b772698716e3ebf14c1068ee03e7391dfa446069d30bb8a4d9de5c6bcdf47bd4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: McpRequestProcessor: ClassTooLong \u2014 643 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), 16 methods, 2 blocks, lines 23-839. The bar is 400 significant lines; this is 243 over it, 1.61\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/mcp_processor.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"88671e61b74bf1670138cc372c3f4d56da6a3c5ed4f4275a2e88e5b3c15dc966"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Tui: ClassTooLong \u2014 642 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), 55 methods, 3 blocks, lines 136-1683. The bar is 400 significant lines; this is 242 over it, 1.61\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/tui.rs"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"1226d67cde4136624623a9295bb4dc15a92e9f857126caa7f15a1b1a5506f889"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: McpRuntime: TooManyMethods \u2014 48 methods, declared across 2 files: src/runtime.rs (47), runtime/status.rs (1). The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-mcp/src/runtime.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"698ae35dcefe6980d789996e10c1c5384c2223676f6f9f37bde542743ef8b9a9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StateRuntime.upsert_thread_metadata: MethodTooLong \u2014 upsert_thread_metadata runs 160 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 60 over it, 1.60\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":"codex-rs/state/src/runtime/threads.rs"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"882025fea00e73ae9071ad68f0f1c4b40b18c1c731f9dbec02467b799b601dd2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ModelClientSession: ClassTooLong \u2014 637 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), 14 methods, 5 blocks, lines 330-2702. The bar is 400 significant lines; this is 237 over it, 1.59\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/client.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f47f378ceda876e664aaa110f17d8d2273c9c4d27068d631fec8d581e5afb8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_mcp::rmcp_client::start_server_task: FunctionTooLong \u2014 codex_mcp::rmcp_client::start_server_task runs 159 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 59 over it, 1.59\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":"codex-rs/codex-mcp/src/rmcp_client.rs"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c114e80b3433eed6b1ebd3ae4811b06ca3a08021df97dafe6bfbe8f614ca176"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Session.request_user_approval: MethodTooLong \u2014 request_user_approval runs 159 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 59 over it, 1.59\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":"codex-rs/core/src/tools/approvals.rs"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3986f773b4d0b44079018f3840d782fceddd8200c2b6dcbc35486c797e2b30"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UnifiedExecProcess.spawn_exec_server_output_task: MethodTooLong \u2014 spawn_exec_server_output_task runs 159 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 59 over it, 1.59\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":"codex-rs/core/src/unified_exec/process.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3f688a472108fa22fb9662ecf554dc956875b574ddfb51de45c6ab1956161a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: App.activate_prepared_session_after_clear: MethodTooLong \u2014 activate_prepared_session_after_clear runs 159 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 59 over it, 1.59\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":"codex-rs/tui/src/app/session_lifecycle.rs"},"region":{"startLine":1833}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffdb76699b45a1ce394b3fa2cf9dff3fe3967376976738924112910f8a4a01a0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatWidget.handle_key_event_with_activation_key: MethodTooLong \u2014 handle_key_event_with_activation_key runs 159 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 59 over it, 1.59\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":"codex-rs/tui/src/chatwidget/interaction.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c68421be01ed23c2c7e30768517477016097ed92f899d0bc4c7d475a4649408"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_tui::session_archive_commands::start_app_server_for_session_command: FunctionTooLong \u2014 codex_tui::session_archive_commands::start_app_server_for_session_command runs 159 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 59 over it, 1.59\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":"codex-rs/tui/src/session_archive_commands.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"29041a94857fd542b401fe2a4a3826c55b1f9f35ded8db6910fa8f60da469237"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_voice_host::run: FunctionTooLong \u2014 codex_voice_host::run runs 159 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 59 over it, 1.59\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":"codex-rs/voice-host/src/main.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"35cdeadd8b47547786b4f3b5f2fb5fee1e033e5f599206f8336ee0c8fef19405"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/startup_orchestration.rs: FileTooLong \u2014 794 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 294 over it, 1.59\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":"codex-rs/tui/src/startup_orchestration.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4754f0f4d948c4d98765e83da1278fde6073cd4a9ab8bd46eb7f96218788a8c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConfigManager.persist_user_edits: MethodTooLong \u2014 persist_user_edits runs 158 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 58 over it, 1.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/config_manager_service.rs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6277edd25afd7dc318a6508b79bd02a55235fbfa840c3388f130509f03a8a0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatWidget.on_guardian_assessment: MethodTooLong \u2014 on_guardian_assessment runs 158 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 58 over it, 1.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/tool_requests.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"860f3d0354d26739662c284c7e95da01eea43789432b03ef087dee4b69a2b4b0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mcp_conformance/codex_conformance_adapter.py: FileTooLong \u2014 788 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 288 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":"scripts/mcp_conformance/codex_conformance_adapter.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09cc964496e1d64d5550ea07bb82311a52a2e2134687f64e907876523738ef0b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/openai_models.rs: FileTooLong \u2014 788 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 288 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":"codex-rs/protocol/src/openai_models.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a368e0cde701d7fb516d6c6118b14078ed8bf01af3a7ee65bec79115028a4888"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Daemon: ClassTooLong \u2014 629 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), 40 methods, 2 blocks, lines 344-1229. The bar is 400 significant lines; this is 229 over it, 1.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-daemon/src/lib.rs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dce90b43c83ba3b1587ec68c181429982f47613d7467e50dce0628e5556a74e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: transcript_view/selection.rs: FileTooLong \u2014 785 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), about 78% of them inside a single declaration: TranscriptView (230-1057). The bar is 500 significant lines; this is 285 over it, 1.57\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":"codex-rs/tui/src/transcript_view/selection.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a247f18a5ce7bbf777d5938a329dd59618afc7c074e5ea57fdca90e5d44613dc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnalyticsView.dashboard_lines: MethodTooLong \u2014 dashboard_lines runs 157 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 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":"codex-rs/tui/src/analytics/dashboard.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1914cf58c534a80810cf362d507c131378adaf457b96eb9d120264af20d6fa4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AsyncCodexClient: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdk/python/src/openai_codex/async_client.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad8db9ff52a7d4ca7d3de2e533c74e44dceb737795ec5f3d12618a32d79186a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ModelInfo: TooManyFields \u2014 47 stored fields beside 8 methods. The bar is 30 stored fields; this is 17 over it, 1.57\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/openai_models.rs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a25b67c7bde177e43bf76abb2dea800eedd861ca2a95453cdb3d59d640e3198"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/registry.rs: FileTooLong \u2014 782 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 282 over it, 1.56\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":"codex-rs/core/src/tools/registry.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43fac744e4deea153158784171167d4c4baa9f5360fa95fac4ec69ebc941b085"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Requests.handle: MethodTooLong \u2014 handle runs 156 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 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":"codex-rs/app-server-client/src/cloud_backend/requests.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"befc2f68149663d6be1721d0708bb00d96dde84ca6d97ca4c9856d44cc23ced6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ThreadRequestProcessor.thread_revert_response: MethodTooLong \u2014 thread_revert_response runs 156 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 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":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":2262}}}],"partialFingerprints":{"codehealthFindingId/v1":"13828bb770ef9c78153dd7ec648e76dbcd9d3f2b9890be922c0fbc82b4d02010"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::mcp_tool_call::request_mcp_tool_user_approval: FunctionTooLong \u2014 codex_core::mcp_tool_call::request_mcp_tool_user_approval runs 156 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 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":"codex-rs/core/src/mcp_tool_call.rs"},"region":{"startLine":1825}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c3c021cc75ffacb910c072f4f3585c2a6086189cd42a6361c4f17dddd3789f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_thread_store::local::search_threads::search_threads: FunctionTooLong \u2014 codex_thread_store::local::search_threads::search_threads runs 156 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 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":"codex-rs/thread-store/src/local/search_threads.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed306c306795488aa54a2614bbc3b04bdb4aa4d9892044ddf12974e382489b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_tui::config_panel::settings: FunctionTooLong \u2014 codex_tui::config_panel::settings runs 156 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 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":"codex-rs/tui/src/config_panel/mod.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"2853bcb740bd83bb3e07633ba4a3b483e0ec50c70bfb655add9e3763d6dbcbb7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_cli::mcp_cmd::run_get: FunctionTooLong \u2014 codex_cli::mcp_cmd::run_get runs 155 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 55 over it, 1.55\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":"codex-rs/cli/src/mcp_cmd.rs"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"20709cd259129937cef987c82ccfe0b78a02b98184ae63e6980436b5e24e4b4e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::realtime_conversation::handle_start_inner: FunctionTooLong \u2014 codex_core::realtime_conversation::handle_start_inner runs 155 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 55 over it, 1.55\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":"codex-rs/core/src/realtime_conversation.rs"},"region":{"startLine":1868}}}],"partialFingerprints":{"codehealthFindingId/v1":"abcbfda3e21b72c747807b84e9c017612c00f7bf3263ccc7d6aaf7bd41cd3891"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LegacyRolloutCanonicalizer.process_line: MethodTooLong \u2014 process_line runs 155 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 55 over it, 1.55\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":"codex-rs/thread-store/src/local/rollout_migration/canonicalizer.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8015d4acdfda03e7c2a2af419fa83d536c0b4d0b932fb14a6fa9c3991589b3a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PickerState.handle_key: MethodTooLong \u2014 handle_key runs 155 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 55 over it, 1.55\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":"codex-rs/tui/src/resume_picker.rs"},"region":{"startLine":1615}}}],"partialFingerprints":{"codehealthFindingId/v1":"202b08da619743061dba485c982b1cc31803178f37dbfc4fd435a5927aaeff9c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_windows_sandbox_service::registered_runtime::removal::prepare: FunctionTooLong \u2014 codex_windows_sandbox_service::registered_runtime::removal::prepare runs 155 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 55 over it, 1.55\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":"codex-rs/windows-sandbox-service/src/registered_runtime/removal.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b7a5963acb452ae9d996262c6bbb21d2d86eeb56bfdbf3c52f3ef17bb92211"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/ui.rs: FileTooLong \u2014 774 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 274 over it, 1.55\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":"codex-rs/cloud-tasks/src/ui.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30aa340b4e2017c0a772e4d17038cc35a499c7c14b425c7b3729f3be08565ee"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: McpRuntime: ClassTooLong \u2014 618 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), 48 methods, 2 blocks, lines 137-1121. The bar is 400 significant lines; this is 218 over it, 1.55\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-mcp/src/runtime.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b13029f8979755257ede5b21eaea1a88bc1ae693ed9d19a02fa28aa5728604"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/types.rs: FileTooLong \u2014 771 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 271 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":"codex-rs/config/src/types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c17caeec1818c4f95c22d01016d549a42f7461a4cf547eb58e1cf0dc3650ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_cli::mcp_cmd::run_add: FunctionTooLong \u2014 codex_cli::mcp_cmd::run_add runs 154 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 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/mcp_cmd.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"172eb98c8486b554599300d6b18dc695b79c8ee79cbc6e568149456650c9fc88"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::compact::run_compact_task_inner_impl: FunctionTooLong \u2014 codex_core::compact::run_compact_task_inner_impl runs 154 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 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/compact.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"81cce700949e3f8fc8976032a6b0c71845fb2c86737b73998e7bb8e391870a64"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Session.new_turn_context_from_configuration: MethodTooLong \u2014 new_turn_context_from_configuration runs 154 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 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/turn_context.rs"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"576b77c2f5896b3ee1ae5d9fd3cce295336af00653cd41a8542dc3e0e022b160"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_skills_extension::loader::host::load_skills_under_root: FunctionTooLong \u2014 codex_skills_extension::loader::host::load_skills_under_root runs 154 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 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/skills/src/loader/host.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c596b570ce2fdb1a2019e8fe60a870eeba24a6722a3d5d7a311422327c832ec"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: App.paint_conversation: MethodTooLong \u2014 paint_conversation runs 154 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 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/owned_transcript.rs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e0002ffd10e3933ce1642791e55145c605223453854592795ac39b89c88321"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_tui::worktree_startup::prepare: FunctionTooLong \u2014 codex_tui::worktree_startup::prepare runs 154 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 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/worktree_startup.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8fc2312338556e7e7d9d8dda2fdc63e23c2e7759a33e5ec02ff681191bfe31e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/remote.rs: FileTooLong \u2014 769 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 269 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":"codex-rs/app-server-client/src/remote.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"725687c27c57c1d7cf3abfea813479f8fba0838de21cf3040fa739bddbc574ae"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AsyncQuestions: TooManyMethods \u2014 46 methods, declared across 5 files: async_questions/mod.rs (19), async_questions/state.rs (13), async_questions/input.rs (11), async_questions/render.rs (2), \u002B1 more file(s). The bar is 30 methods; this is 16 over it, 1.53\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/async_questions/mod.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2801f035bd4414250bac2f2cec07e797e4fbefdf88e90b55fd7f2ab7aeaf1a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ConfigRequirementsToml: TooManyFields \u2014 46 stored fields beside 5 methods. The bar is 30 stored fields; this is 16 over it, 1.53\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/config_requirements.rs"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f8930b5e8218bd0c6c78e574f4ed980ea42e0e2b27947270cd9057c4ff513a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ConfigRequirementsWithSources: TooManyFields \u2014 46 stored fields beside 3 methods. The bar is 30 stored fields; this is 16 over it, 1.53\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/config_requirements.rs"},"region":{"startLine":1346}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a12ee5fcc407a6f6cc08f55dff23445930cc8e5ed5e28bc8b18449c242214d4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: SessionServices: TooManyFields \u2014 46 stored fields beside 2 methods. The bar is 30 stored fields; this is 16 over it, 1.53\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/state/service.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8313d81a958cb0ce4d18ea01177487108b82f27c6128cdb17b132205d0d713"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/environment.rs: FileTooLong \u2014 766 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 266 over it, 1.53\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":"codex-rs/exec-server/src/environment.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad7b89484513ef898d6ec482a4ad2bb37713a57ea73757d4a0f5a6eda1cdeac1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/relay.rs: FileTooLong \u2014 764 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 264 over it, 1.53\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":"codex-rs/exec-server/src/relay.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6411c20cb71547b999ee7813c31454a19688c4b7eb6e81add7e9fb5abc5ee13"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/server.rs: FileTooLong \u2014 762 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 262 over it, 1.52\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":"codex-rs/login/src/server.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5741304292a1b72ec7fef479b2c9204323724ae13bce083c85744b8b7d79d701"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: request_processors/config_processor.rs: FileTooLong \u2014 760 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 260 over it, 1.52\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":"codex-rs/app-server/src/request_processors/config_processor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2d02b2c0d57c952c303e96e2689cb715bba549943c17a24c530f2889b02861"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_mermaid::draw::render: FunctionTooLong \u2014 codex_mermaid::draw::render runs 152 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 52 over it, 1.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/mermaid/src/draw.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3be4cf3d2ffd1ab20ee1a958ddbd9d1936afae2f0f64e1af9c3bfaeb3eddec"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_thread_store::local::rollout_migration::legacy_event::completed_item: FunctionTooLong \u2014 codex_thread_store::local::rollout_migration::legacy_event::completed_item runs 152 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 52 over it, 1.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/rollout_migration/legacy_event.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5addaa1424cf7ea1af7fcf6bfbd7f3ba25725f7fef1d917d65fabe3147e6bb9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: remote_control/mod.rs: FileTooLong \u2014 758 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), about 60% of them inside a single declaration: RemoteControlSession (2 blocks, 110-850). The bar is 500 significant lines; this is 258 over it, 1.52\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":"codex-rs/app-server-transport/src/transport/remote_control/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d0cd69143d5d475c65b2f9447b99a6784098b004e545be87de44e49416b148"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/config_manager_service.rs: FileTooLong \u2014 757 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 257 over it, 1.51\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":"codex-rs/app-server/src/config_manager_service.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d68c7f3074667d85ecd8286004402cdb43874e97bb0061babf000ced364a499b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_thread_store::local::thread_history::realtime_stream::read_page: FunctionTooLong \u2014 codex_thread_store::local::thread_history::realtime_stream::read_page runs 151 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 51 over it, 1.51\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":"codex-rs/thread-store/src/local/thread_history/realtime_stream.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"3936d72597b3e03776785be8e38117a5fbd4dfce884408c12d0fadd88b95fa61"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_tui::onboarding::onboarding_screen::run_onboarding_screen_inner: FunctionTooLong \u2014 codex_tui::onboarding::onboarding_screen::run_onboarding_screen_inner runs 151 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 51 over it, 1.51\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":"codex-rs/tui/src/onboarding/onboarding_screen.rs"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"485ee6f340bd0936b82c544628c0f7db7242798e66e597c8352436551377597f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 751 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 251 over it, 1.50\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":"codex-rs/feedback/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87090d9275c2c22ba189b876fa7e009825bb577c892b823cbc494aa5a131b5c2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ListSelectionView: TooManyFields \u2014 45 stored fields beside 53 methods. The bar is 30 stored fields; this is 15 over it, 1.50\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/list_selection_view.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0803c87432f005f0cd81df83e72664c9e754cffc3af8c2b1ecd2d63e76d9f5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LocalAgentControl: TooManyMethods \u2014 45 methods, declared across 14 files: agent/control.rs (18), control/spawn.rs (7), control/budget.rs (3), control/legacy.rs (3), \u002B10 more file(s). The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/agent/control.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6df9ee28a00bfbf8d2c4f9536fc758754f6636a90608ee3918b4050e88b154"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TextLayout: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/transcript_view/text.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a50ced3b38ed24032b28aecaee6dcac16ac449a1316a3757b2053864840ade"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_analytics::reducer::codex_turn_event_params: FunctionTooLong \u2014 codex_analytics::reducer::codex_turn_event_params runs 150 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 50 over it, 1.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/analytics/src/reducer.rs"},"region":{"startLine":3944}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae27a7cc5c004c476aa1a9b2eedf1f53c7e9c8478073d65ee92c7b51ff328737"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_mcp::rmcp_client::make_rmcp_client: FunctionTooLong \u2014 codex_mcp::rmcp_client::make_rmcp_client runs 150 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 50 over it, 1.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-mcp/src/rmcp_client.rs"},"region":{"startLine":1443}}}],"partialFingerprints":{"codehealthFindingId/v1":"acedecc3189a22312ebfed7ef4181f8b75e7f0d9c2bb40dfb8373c7d1882bb73"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StatusHistoryCell.content_lines: MethodTooLong \u2014 content_lines runs 150 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 50 over it, 1.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/status/card.rs"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"0376871b0812c86d726277d8e5279c1721b4e5c3f46777f5d18f82fd721826e2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: transcript_view/text.rs: FileTooLong \u2014 748 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), about 75% of them inside a single declaration: TextLayout (2 blocks, 46-905). The bar is 500 significant lines; this is 248 over it, 1.50\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":"codex-rs/tui/src/transcript_view/text.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16180d1d3ca5d44a4879a21591019972829695ad54dad855f2f962607fe8a0c7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SkillsExtension.contribute: MethodTooLong \u2014 contribute runs 149 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 49 over it, 1.49\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":"codex-rs/ext/skills/src/extension.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0fa434917e144e742aeba0e1cf40fde1386007ae7fae5618ac7925c86002bc6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_rollout::metadata::backfill_sessions_with_lease: FunctionTooLong \u2014 codex_rollout::metadata::backfill_sessions_with_lease runs 149 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 49 over it, 1.49\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":"codex-rs/rollout/src/metadata.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"16feac7d3fda917ab7e0dc83e6c0eef2fd5a97e0cd7e821b936af61bd9c60423"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Config.resolve_runtime_refresh: MethodTooLong \u2014 resolve_runtime_refresh runs 148 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 48 over it, 1.48\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":"codex-rs/core/src/config/runtime_refresh.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba371463dc78c4abbd4d000ce4b833ef45484e0a09a382827be49ca13ac2b2bd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Handler.handle_call: MethodTooLong \u2014 handle_call runs 148 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 48 over it, 1.48\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":"codex-rs/core/src/tools/handlers/multi_agents/wait.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd2c509fccf8b50a9968a9ed7c86c8450d3ee1f78c1fe14b11c1d5d4458ac28"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RealtimeConversationManager: ClassTooLong \u2014 591 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), 20 methods, 2 blocks, lines 183-1386. The bar is 400 significant lines; this is 191 over it, 1.48\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/realtime_conversation.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"e364f14b89e33b7b4ce9abe9803b99941e8ec56f9e0eb9fd4d2701f5f084251d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: v2/mcp.rs: FileTooLong \u2014 736 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 236 over it, 1.47\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/v2/mcp.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db72c2cb69829027fa191b7bba39cbcd9a160b25d0ce54aacbf5be805cf5ddbc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: session/handlers.rs: FileTooLong \u2014 736 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 236 over it, 1.47\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/handlers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da03cb18ae80d838fc432071bed5e7ac780d6ec4eeae9fae5ca24511f718795"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppsRequestProcessor.apps_installed: MethodTooLong \u2014 apps_installed runs 147 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 47 over it, 1.47\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":"codex-rs/app-server/src/request_processors/apps_processor/installed.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e91f0aa98a66658f5c382a933c21be8d89d8a6666bef58f4a983fe2a857fc0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SamplingExecution.run: MethodTooLong \u2014 run runs 147 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 47 over it, 1.47\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":"codex-rs/ext/guardian-v2/src/async_scorer/sampler/execution.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa91e9fe2e61521df279d6dcb9ac643904af70bfc3389a6423e4b5b9790352b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnalyticsView.handle_key: MethodTooLong \u2014 handle_key runs 147 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 47 over it, 1.47\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":"codex-rs/tui/src/analytics.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8f2492c03608054d95bf257103987834510dac4abb84c06dd16f07cc20421c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ManagedWorktreeTools.execute_inner: MethodTooLong \u2014 execute_inner runs 147 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 47 over it, 1.47\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":"codex-rs/tui/src/managed_worktree_tools.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c15d0450cca4d6de06b2da2bcba51a61f86feeb0849095978c1fb8a7cb5b50a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: RealtimeConversationUiState: TooManyFields \u2014 44 stored fields beside 1 method. The bar is 30 stored fields; this is 14 over it, 1.47\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/realtime.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"d087eb6f51b1c81f9e06edaab6cc23dde6421be2eddeb5f3a8b1a0422764470f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: openai_codex/client.py: FileTooLong \u2014 731 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 231 over it, 1.46\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":"sdk/python/src/openai_codex/client.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e17bfbf3495dafd3d3784555462194547feaceb8459d07d75b5ff0a2570b57"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/error.rs: FileTooLong \u2014 730 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 230 over it, 1.46\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":"codex-rs/protocol/src/error.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"224701adc352ca9dceb7bdd7e29c102fca3b33d71a30f01a6af41f7d66bf0b1b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConnectionDriver.complete_request: MethodTooLong \u2014 complete_request runs 146 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 46 over it, 1.46\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":"codex-rs/code-mode/src/remote_session/connection/driver/responses.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2770e36558613d8155b248eccf590a0bc45a808c3f15ea02663c1b5d34c083"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConfigRequirementsWithSources.merge_unset_fields: MethodTooLong \u2014 merge_unset_fields runs 146 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 46 over it, 1.46\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":"codex-rs/config/src/config_requirements.rs"},"region":{"startLine":1414}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb1d67a0ec3be20f39a70e49e0bc2d0435aa692fbbd89c1477fc3e39d7ba40e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_guardian_reviewer::completion::complete_review: FunctionTooLong \u2014 codex_guardian_reviewer::completion::complete_review runs 146 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 46 over it, 1.46\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":"codex-rs/ext/guardian-reviewer/src/completion.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bca3f055dacf63a9ff547977daf724c3eff44bde1e32c2b72290c3dece3dc6a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MemoryStore.try_claim_stage1_job: MethodTooLong \u2014 try_claim_stage1_job runs 146 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 46 over it, 1.46\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":"codex-rs/state/src/runtime/memories.rs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1f85d25bbc38ca772d17073493fb927d1322c3f7e29685a22d7c774589c9c1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_tui::markdown::unwrap_markdown_fences_with_sources: FunctionTooLong \u2014 codex_tui::markdown::unwrap_markdown_fences_with_sources runs 146 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 46 over it, 1.46\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":"codex-rs/tui/src/markdown.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"64458a028166f2f6aa2bd4ad67476c46e20d6a7d3a4541f8e0750cb352a40289"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TranscriptView.footer_with_navigation: MethodTooLong \u2014 footer_with_navigation runs 146 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 46 over it, 1.46\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":"codex-rs/tui/src/transcript_view/footer.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a00d479e6402d0787f9f97fc5a0bd48ebd59f643bac93c4cdda1b12601a802"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/outgoing_message.rs: FileTooLong \u2014 729 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), about 73% of them inside a single declaration: OutgoingMessageSender (2 blocks, 137-1011). The bar is 500 significant lines; this is 229 over it, 1.46\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":"codex-rs/app-server/src/outgoing_message.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"157692cb1a0c828fc6cd2e1854cba47894e7910abf9596435deb3fbd631ff384"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/perform_oauth_login.rs: FileTooLong \u2014 729 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 229 over it, 1.46\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":"codex-rs/rmcp-client/src/perform_oauth_login.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eba120bf3414e08395fde511bfbe45e305592d9c0f32a2d5fce1c247257e1bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chatwidget/plugins.rs: FileTooLong \u2014 728 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), about 93% of them inside a single declaration: ChatWidget (63-1040). The bar is 500 significant lines; this is 228 over it, 1.46\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":"codex-rs/tui/src/chatwidget/plugins.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2819da28983160c02a66ea491736bedb2cee8b252428986b7ed1c75a8699b2b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/client_recovery.rs: FileTooLong \u2014 727 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 227 over it, 1.45\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":"codex-rs/exec-server/src/client_recovery.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"793135953c0eaa48b3b0e644a642dfc3ff6170355d09b0729c409fdd21278aa2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ThreadEnvironments: ClassTooLong \u2014 581 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), 26 methods, 2 blocks, lines 309-1175. The bar is 400 significant lines; this is 181 over it, 1.45\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/environment_selection.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"c940ed3c4cdc5b361514c1ba6c52f9fb1c64ca13e80fdca4f4db991acc26b79e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_rollout_trace::protocol_event::tool_runtime_trace_event: FunctionTooLong \u2014 codex_rollout_trace::protocol_event::tool_runtime_trace_event runs 145 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 45 over it, 1.45\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":"codex-rs/rollout-trace/src/protocol_event.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"26be237153cb2efb01f5c0190954f56fa06e24e8d2335a0dd84bf6cf9689644c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: App.run_agents_overview_action: MethodTooLong \u2014 run_agents_overview_action runs 145 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 45 over it, 1.45\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":"codex-rs/tui/src/app/agents_overview_actions.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4d60c009ef0850d76b34f406c8e684dbacc9cd19fd67ba73291ea28bfc85a8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: App.resume_config_for_target: MethodTooLong \u2014 resume_config_for_target runs 145 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 45 over it, 1.45\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":"codex-rs/tui/src/app/resume_config.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"752eeaf71d954d56e28f952f7090512fce76004bf6582178a93d385e5ddd1211"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/side.rs: FileTooLong \u2014 724 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), about 85% of them inside a single declaration: App (200-1041). The bar is 500 significant lines; this is 224 over it, 1.45\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":"codex-rs/tui/src/app/side.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb965788475149b1391578734d0017edd08fd85bca442489f3217ba1773da145"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExternalAgentConfigRequestProcessor.import: MethodTooLong \u2014 import runs 144 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 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/external_agent_migration/processor.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3937af37867e59a86078c47311de17b0e9753ce63455346ce9ac5f2f45b990a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppsRequestProcessor.apps_list_response: MethodTooLong \u2014 apps_list_response runs 144 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 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/apps_processor.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5edcc3e793040eac2b92a2739ec2eb0189f897272613c6834271de167b16d9e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PluginContributor.selected_plugins: MethodTooLong \u2014 selected_plugins runs 144 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 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/mcp/src/plugin.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"a797dea398ab921f66e4c944e2ee3615742c7f9c96ec1266ef8ce950f745e340"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_mermaid::relations::parse: FunctionTooLong \u2014 codex_mermaid::relations::parse runs 144 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 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/mermaid/src/relations.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"680ce3ef8e8aa3da916018dd77b0faf6f04f6f33f5ba79611462f13ce7363809"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_tui::app::app_server_event_targets::server_notification_thread_target: FunctionTooLong \u2014 codex_tui::app::app_server_event_targets::server_notification_thread_target runs 144 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 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/app_server_event_targets.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"903649c4b7a717acc3c4fe76431ee5f6f68f5e2afc2af679c251e7b0011682e9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PluginRequestProcessor: TooManyMethods \u2014 43 methods, declared across 4 files: request_processors/plugins.rs (38), plugins/local.rs (2), plugins/search.rs (2), plugins/reconcile.rs (1). The bar is 30 methods; this is 13 over it, 1.43\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/plugins.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"521370391a26c2f7e687f6c423bc3bf5415c70c36d79a097cd0e44cf761aaa87"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: McpServerElicitationOverlay: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1edfa39507b02bb9b6cd4c6d0cc4122bf5a301b13bf46eebcc1f0ba1e691bc9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AuthModeWidget: TooManyMethods \u2014 43 methods, declared across 6 files: onboarding/auth.rs (33), onboarding/bedrock.rs (3), onboarding/gateway.rs (3), onboarding/gateway_login.rs (2), \u002B2 more file(s). The bar is 30 methods; this is 13 over it, 1.43\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/onboarding/auth.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"beab5a7a9e605d6cbbdca3fdcb90d7e8a5794c2b6622e81d77c6464e862094c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/compact.rs: FileTooLong \u2014 716 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 216 over it, 1.43\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/compact.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47d4afa47f5d1eb79775eef6d4f4b8ddf5ffe303a27ec1b6c6831b9369bfea9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/socks5.rs: FileTooLong \u2014 715 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 215 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":"codex-rs/network-proxy/src/socks5.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f24adb8166a2f00f0233d0e3da9e54a18ca7ea8810fb56d754eb999f4f63d3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExternalAgentConfigService.import_plugins: MethodTooLong \u2014 import_plugins runs 143 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 43 over it, 1.43\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":"codex-rs/external-agent-migration/src/plugins.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"15530e593c04fd2a15963f72cc7956b0a33402b2e354b028c94f0e40e026ed18"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OAuthHttpClientAdapter.execute_request: MethodTooLong \u2014 execute_request runs 143 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 43 over it, 1.43\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":"codex-rs/rmcp-client/src/oauth_http_client.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"6823d90501ee22e7878f0763eb99c4f24bca0626c41c42a6e8996c4503d27698"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnalyticsView.render_controls: MethodTooLong \u2014 render_controls runs 143 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 43 over it, 1.43\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":"codex-rs/tui/src/analytics/controls.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"84940e6e53e9189f742188cf46c7191f90f6ccabfd75a569dc93d7182106b32f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnalyticsView.plan_lines: MethodTooLong \u2014 plan_lines runs 143 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 43 over it, 1.43\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":"codex-rs/tui/src/analytics/plan_panel.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e51e3eb425382aa36e46e36a5237f5e03ac99c64dac31ca56a80c8c00622d7f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: App.agents_overview_session_config: MethodTooLong \u2014 agents_overview_session_config runs 143 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 43 over it, 1.43\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":"codex-rs/tui/src/app/agents_overview.rs"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"c516618204206ccc0193a39fc3ccef18b410a05130757e26db2b94d291c9db00"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: App.handle_side_focus_key: MethodTooLong \u2014 handle_side_focus_key runs 143 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 43 over it, 1.43\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":"codex-rs/tui/src/app/side_focus.rs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac76349bcba1abf526598d6b8d2c257bbe31e55fcece3a3133afb11431e2ce79"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_windows_sandbox::unified_exec::backends::legacy::spawn_windows_sandbox_session_legacy: FunctionTooLong \u2014 codex_windows_sandbox::unified_exec::backends::legacy::spawn_windows_sandbox_session_legacy runs 143 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 43 over it, 1.43\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":"codex-rs/windows-sandbox-rs/src/unified_exec/backends/legacy.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"513bce4a3627d774fb4bbf3f7d2786d0f39100252bb97a0a55c5cdd81ee66817"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/rpc.rs: FileTooLong \u2014 714 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 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":"codex-rs/exec-server/src/rpc.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ac90b053aede6baffb6cd6b33650429d9ceed1e42ca6f47808b78b3053a4f6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: onboarding/onboarding_screen.rs: FileTooLong \u2014 712 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 212 over it, 1.42\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":"codex-rs/tui/src/onboarding/onboarding_screen.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"200e8a7fe5fd037f5581d1384062e6080f288e3eb412897aa834a441072aedee"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: request_processors/mcp_processor.rs: FileTooLong \u2014 710 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), about 91% of them inside a single declaration: McpRequestProcessor (2 blocks, 23-839). The bar is 500 significant lines; this is 210 over it, 1.42\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/mcp_processor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1ee644de5ae6fdf58df9ff37e755d7f44033b0e14236d6e5fa459862c263a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::exec::consume_output: FunctionTooLong \u2014 codex_core::exec::consume_output runs 142 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 42 over it, 1.42\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":"codex-rs/core/src/exec.rs"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"70cd03212d7f31be8759ed6ddf8ca1431c00a7c4dc9fb2b5ba341d571ccd961e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RmcpClient.create_pending_transport: MethodTooLong \u2014 create_pending_transport runs 142 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 42 over it, 1.42\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":"codex-rs/rmcp-client/src/rmcp_client.rs"},"region":{"startLine":1391}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1dcacdc5eab9ea3d9b2b91192c3f4c1a98933bf05b66db97d4a8b637ea0398"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: local/update_thread_metadata.rs: FileTooLong \u2014 709 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 209 over it, 1.42\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":"codex-rs/thread-store/src/local/update_thread_metadata.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b70f574b09a84d5434b6d7c17d0a9e59805cf54ea850dd28c6bf827fc7195e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/schema.rs: FileTooLong \u2014 708 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 208 over it, 1.42\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":"codex-rs/hooks/src/schema.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e4d2d80e5da77f2b026b4377649978f3045a969525a4ee54a366c106f276e3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/seatbelt.rs: FileTooLong \u2014 708 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 208 over it, 1.42\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":"codex-rs/sandboxing/src/seatbelt.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6aaab06072adb9dbe0f60112ea762f8075e0f4f9c0664c9fb5e51c5b47b6925"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ResponseItem: ClassTooLong \u2014 566 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), 29 methods, 3 blocks, lines 1133-2224. The bar is 400 significant lines; this is 166 over it, 1.42\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/models.rs"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27dbbe4652ddaacbefd2ea2aa942720b8b0534ee471f24d8dbc7790a0eaba2a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Client: ClassTooLong \u2014 565 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), 70 methods, 3 blocks, lines 183-960. The bar is 400 significant lines; this is 165 over it, 1.41\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/backend-client/src/client.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d12d476cdb0bd1c08cfac1fce849bde938429f125a071e437d24bd6f7cd32d4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EventProcessorWithJsonOutput.map_item_with_id: MethodTooLong \u2014 map_item_with_id runs 141 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 41 over it, 1.41\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":"codex-rs/exec/src/event_processor_with_jsonl_output.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89143c46f330923b1c3c7c33091d32fe408adba743db58ca338fd9bf2638d6c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AwsSigV4Signer.sign: MethodTooLong \u2014 sign runs 141 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 41 over it, 1.41\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":"codex-rs/network-proxy/src/aws_sigv4.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"508d2604e4f8d39bac7bd4c86b8a3022c00e240318ca45ebcff6b3bdb7d3d972"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AgentsOverviewView.handle_key_event: MethodTooLong \u2014 handle_key_event runs 141 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 41 over it, 1.41\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":"codex-rs/tui/src/app/agents_overview_view.rs"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"4358fb9e70cea2e954d67aa31d810db2967c48165d25aa1420e587a696b1781c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: status/card.rs: FileTooLong \u2014 704 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), about 62% of them inside a single declaration: StatusHistoryCell (3 blocks, 128-971). The bar is 500 significant lines; this is 204 over it, 1.41\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":"codex-rs/tui/src/status/card.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d51d6a04aa669332c1c56df835a8b7406916de9fd92bf5b5fc61c4e893d4bc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TranscriptView: ClassTooLong \u2014 562 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), 183 methods, 3 blocks, lines 92-838. The bar is 400 significant lines; this is 162 over it, 1.41\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/transcript_view.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4763fe82fa77e9c2a81a85abe9c3ba37bffd4e0d6169226faeeb0feeccd1035"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/client.rs: FileTooLong \u2014 702 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), about 80% of them inside a single declaration: Client (3 blocks, 183-960). The bar is 500 significant lines; this is 202 over it, 1.40\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":"codex-rs/backend-client/src/client.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b1b07a7558eadabd2dfc0a786d0f18b206ea0e552c356ba1c1baa1dd2ca749"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TextLayout: ClassTooLong \u2014 560 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), 45 methods, 2 blocks, lines 46-905. The bar is 400 significant lines; this is 160 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/transcript_view/text.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6111c3d4fc72102a39df5431e577f89cd38bc8838511bebeadc073d1216ade"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TurnRequestProcessor: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/turn_processor.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"11716e146754b002963d3dc494dd054543533305a197c07a9fbbef1471c2c1ac"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NetworkProxy: TooManyMethods \u2014 42 methods, declared across 2 files: src/proxy.rs (40), proxy/execution_scope.rs (2). The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/proxy.rs"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"630165ff796e62b0edc901a93f4e129b34ec6cf95f48d8bdc7ce5863172b48b3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnalyticsReducer.ingest_code_mode_tool_call: MethodTooLong \u2014 ingest_code_mode_tool_call runs 140 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 40 over it, 1.40\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":"codex-rs/analytics/src/reducer.rs"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fbad7a24b581d905aeb5bc71e123b846342f4a282383c4d628696fb269551b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::tools::handlers::multi_agents::spawn::handle_spawn_agent: FunctionTooLong \u2014 codex_core::tools::handlers::multi_agents::spawn::handle_spawn_agent runs 140 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 40 over it, 1.40\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":"codex-rs/core/src/tools/handlers/multi_agents/spawn.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d015f9771d11f0ef6a5bac1b338462878e87b32c2f768f4c0de6c27efc5366a0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_tui::bottom_pane::chat_composer::completion_target::current_prefixed_token_range_with_dollar_predicate: FunctionTooLong \u2014 codex_tui::bottom_pane::chat_composer::completion_target::current_prefixed_token_range_with_dollar_predicate runs 140 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 40 over it, 1.40\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":"codex-rs/tui/src/bottom_pane/chat_composer/completion_target.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e44f4af7e991ebf0f6c6bb7f1b14bf50c182dc36f63fa17d181647b6451cf76"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatWidget.plugin_detail_popup_params: MethodTooLong \u2014 plugin_detail_popup_params runs 140 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 40 over it, 1.40\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":"codex-rs/tui/src/chatwidget/plugin_catalog.rs"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"76411269786235e12ef171828f77bc1e555297d129e88048c41b42d488d8c182"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/client_transport.rs: FileTooLong \u2014 698 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 198 over it, 1.40\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":"codex-rs/exec-server/src/client_transport.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f58c77a3982b765aa392fbb31390a0e231f70eb5436644f0df2c88807d74b47"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/request_processors.rs: FileTooLong \u2014 697 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 197 over it, 1.39\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6fe32bc59641b012812572f8e90cd038af90703a9c74bd713d3b1534effdb8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ThreadRequestProcessor.thread_list_response_inner: MethodTooLong \u2014 thread_list_response_inner runs 139 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 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":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":2753}}}],"partialFingerprints":{"codehealthFindingId/v1":"602dd0b7b358f3c661c5bc0b366de26ed284772592766c9ca884e30de2c0a7b7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chatwidget/input_restore.rs: FileTooLong \u2014 690 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), about 99% of them inside a single declaration: ChatWidget (16-903). The bar is 500 significant lines; this is 190 over it, 1.38\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/input_restore.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bcbb80735350533c816a61e6cd9537d938eee6ff0c4c108bb1391bd562b3b57"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: openai_codex/api.py: FileTooLong \u2014 687 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 187 over it, 1.37\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":"sdk/python/src/openai_codex/api.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab863829393895d36b17fef135bcf04ebf9df29b58b5f5d4b238c8acb0e350c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: keymap/chords.rs: FileTooLong \u2014 687 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 187 over it, 1.37\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":"codex-rs/tui/src/keymap/chords.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce2e68bb5334b7dc69c0a7c4437764d9c8d3d9e3e4cfbe41a38da4b495d51501"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: transcript_view/search.rs: FileTooLong \u2014 687 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), about 78% of them inside a single declaration: TranscriptView (110-856). The bar is 500 significant lines; this is 187 over it, 1.37\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":"codex-rs/tui/src/transcript_view/search.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d5328afa15ac3d567fe4bfb585df93f320667d9a5cc9eb88154786593f738d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::mcp_openai_file::build_uploaded_argument_value: FunctionTooLong \u2014 codex_core::mcp_openai_file::build_uploaded_argument_value runs 137 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 37 over it, 1.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/mcp_openai_file.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3656ada81706aaa8125d903d1a50036613d659239591c497c40816f0f72c5e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/http.rs: FileTooLong \u2014 684 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 184 over it, 1.37\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":"codex-rs/cloud-tasks-client/src/http.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56937d280d6040c4811d69b46bb12cd3d5e1c75eca9eaf05529188f8a5a8ca6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OutgoingMessageSender: TooManyMethods \u2014 41 methods, declared across 3 files: src/outgoing_message.rs (35), src/user_verification_auth.rs (5), src/account_notifications.rs (1). The bar is 30 methods; this is 11 over it, 1.37\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/outgoing_message.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e9cedc632447719805af3387c1d221ea62d072d3452f076f8bcd94dd9c8b60"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: TurnContext: TooManyFields \u2014 41 stored fields beside 30 methods. The bar is 30 stored fields; this is 11 over it, 1.37\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/turn_context.rs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"20490008e9c69cef8dc5f50e5463c736c72934ec7ff03e1f150b5d617b1a1791"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/certs.rs: FileTooLong \u2014 683 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), declaring 35 free functions. The bar is 500 significant lines; this is 183 over it, 1.37\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":"codex-rs/network-proxy/src/certs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b144f778239d4cba95cccc287bbcd7f03d3ee5b5c05b958a0c1c58c891eeca77"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_app_server_daemon::migration::run: FunctionTooLong \u2014 codex_app_server_daemon::migration::run runs 136 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 36 over it, 1.36\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":"codex-rs/app-server-daemon/src/migration.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5dedad088686485b1a61034a08def006f696eee2684bf4158506c77089a6e76"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CommandExecManager.start: MethodTooLong \u2014 start runs 136 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 36 over it, 1.36\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":"codex-rs/app-server/src/command_exec.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff3d94391470149b041ffcb97ae1f93dce9e4d7d3020d570e92613e950b9046"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_api::sse::responses::process_responses_event: FunctionTooLong \u2014 codex_api::sse::responses::process_responses_event runs 136 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 36 over it, 1.36\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":"codex-rs/codex-api/src/sse/responses.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"8509e8a155b2d3ad4afc2a1bda0bd126ed38769bc7085bb58a1e1ab53e1fcbc0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_config::requirements_layers::stack::populate_merged_regular_fields_with_sources: FunctionTooLong \u2014 codex_config::requirements_layers::stack::populate_merged_regular_fields_with_sources runs 136 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 36 over it, 1.36\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":"codex-rs/config/src/requirements_layers/stack.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e1137e5ce11f99e09970ee8dc8fc63a538350964dac32d88d9e95a5fa749987"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_login::server::process_request: FunctionTooLong \u2014 codex_login::server::process_request runs 136 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 36 over it, 1.36\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":"codex-rs/login/src/server.rs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20683f17009fc7132fd8f692f869699d1902ebfe45f98982b126d94d4df52e4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StateRuntime.init_inner: MethodTooLong \u2014 init_inner runs 136 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 36 over it, 1.36\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":"codex-rs/state/src/runtime.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6439e4af4c3d289f33abea451655535f9c97e022aa7b23686c813080543aa77"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/in_process.rs: FileTooLong \u2014 679 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 179 over it, 1.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/in_process.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13d84382003f52d1d4ea2ab95aa4453e05a552e1296e75fc062d6e872dd2f53"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/manager.rs: FileTooLong \u2014 676 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 176 over it, 1.35\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":"codex-rs/sandboxing/src/manager.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6263a6aa43987a54a93668d8518771215b8963ba6f767c7cb451dbb6ffb2fbaf"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ConfigManager: ClassTooLong \u2014 540 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), 52 methods, 2 blocks, lines 45-808. The bar is 400 significant lines; this is 140 over it, 1.35\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/config_manager.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d19577c4df89f52a0179e1a57cc31d22ce36a1f5e59f3cfae454a3aec24ce0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RemoteControlWebsocket.connect: MethodTooLong \u2014 connect runs 135 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 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-transport/src/transport/remote_control/websocket.rs"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d680107a4db295693b36f2f09693a8cae75cdd87bf79f9d1cdf203da8818f5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_app_server::request_processors::config_processor::map_requirements_to_api: FunctionTooLong \u2014 codex_app_server::request_processors::config_processor::map_requirements_to_api runs 135 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 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/config_processor.rs"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b9afdadcd4115d944d49b709de289eb4d7f7c07b1fe2ffee97bdfa5a2b9a91"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AsyncManagedClient.new: MethodTooLong \u2014 new runs 135 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 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-mcp/src/rmcp_client.rs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d47eaa2ae13c6890c02e27b5d6d3bc51cb40b5b2212d8a8eb48b6c28eed7c64"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: McpServerConfig.try_from: MethodTooLong \u2014 try_from runs 135 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 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/mcp_types.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"280f85092b2932012ade4ff49ba6e9aad12832fa69bdc640cb889704209bd7b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::exec::exec_windows_sandbox: FunctionTooLong \u2014 codex_core::exec::exec_windows_sandbox runs 135 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 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/exec.rs"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf838e6fa75c7fd2087958bd47e11f42136f86ac9c9e187f267418d8fd8465d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::session::review::spawn_review_thread: FunctionTooLong \u2014 codex_core::session::review::spawn_review_thread runs 135 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 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/review.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"95987920cc875f612efe22501b0f163ceeec2d6eb2809fe25319506f7fc37a21"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_exec_server::shell_snapshot::capture_snapshot: FunctionTooLong \u2014 codex_exec_server::shell_snapshot::capture_snapshot runs 135 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 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/shell_snapshot.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb08a629b65ed77750797a4ffd2d0d9918d6c84ac3edd4d2cb46d1d48948a0ef"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppServerSession.fork_thread_at_with_presentation: MethodTooLong \u2014 fork_thread_at_with_presentation runs 135 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 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app_server_session.rs"},"region":{"startLine":1423}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9470ff9b5169736b46950b2eb709a54346c360906a69d38e951b814b02a6d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: guardian/review_session.rs: FileTooLong \u2014 671 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 171 over it, 1.34\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/guardian/review_session.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52be124fe3f58e6f1b0607e2e15a1a3fe91f88bf6d4dd45dc809b8f5e7748e4f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PluginRequestProcessor.remote_plugin_install_response: MethodTooLong \u2014 remote_plugin_install_response runs 134 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 34 over it, 1.34\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":"codex-rs/app-server/src/request_processors/plugins.rs"},"region":{"startLine":1633}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ee544bead656d1753e34cbdcf100f7cebe9d437d895a8c29703e9b130fa95e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::codex_delegate::run_codex_thread_interactive: FunctionTooLong \u2014 codex_core::codex_delegate::run_codex_thread_interactive runs 134 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 34 over it, 1.34\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":"codex-rs/core/src/codex_delegate.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"251aa6bc673b718ac11504f067aaf0fc491ceb2f4a29fcde3474119f090b6b5e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_exec_server::discoverV2::capability_discoveries::parse_root: FunctionTooLong \u2014 codex_exec_server::discoverV2::capability_discoveries::parse_root runs 134 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 34 over it, 1.34\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":"codex-rs/exec-server/src/discoverV2/capability_discoveries.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"69596624f638b83e26abc461b985fefd3ea7be0e5d3d729909877923723c1a4f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnalyticsData.from: MethodTooLong \u2014 from runs 134 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 34 over it, 1.34\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":"codex-rs/tui/src/analytics/report_data.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a36d2950eb2794323b37d4a77a167bd32e49131bda1b768c47c6dec675c331"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatWidget.open_reasoning_popup: MethodTooLong \u2014 open_reasoning_popup runs 134 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 34 over it, 1.34\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":"codex-rs/tui/src/chatwidget/model_popups.rs"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd4760a26b93eaade5988bf8a63a3dbe8a23c4e93a7abf0990affe9ae9f664f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StartupDraftPump.handle_event: MethodTooLong \u2014 handle_event runs 134 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 34 over it, 1.34\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":"codex-rs/tui/src/startup_draft_input.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7187643573b5f924b45728533d1caa61cf7b76714c68dc933e1de96cecbee2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/stdio_server_launcher.rs: FileTooLong \u2014 668 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 168 over it, 1.34\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/stdio_server_launcher.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ee0e14ef7efbce4e8cb332c8b4dd7f10d61807523b9668073c65cd4d16b247"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Daemon: TooManyMethods \u2014 40 methods, declared across 2 files: src/lib.rs (38), src/launch.rs (2). The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-daemon/src/lib.rs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8f30da34fffb46c64e8eeca8581a5dcf000ff22fa9005f88a4cae7ff9e27a0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SessionState: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/state/session.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"7801136993683d82364216aba68f98c9d3e777841348df9fc1828572b044dfb6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OutgoingMessageSender: ClassTooLong \u2014 533 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), 41 methods, 2 blocks, lines 137-1011. The bar is 400 significant lines; this is 133 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/outgoing_message.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e34b131fb000255573d613ae0b66f75328d33b2f783e35b4284e0887d9d764d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/agents_overview_view.rs: FileTooLong \u2014 666 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), about 74% of them inside a single declaration: AgentsOverviewView (3 blocks, 227-901). The bar is 500 significant lines; this is 166 over it, 1.33\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":"codex-rs/tui/src/app/agents_overview_view.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"093126d234986bde1ac626fac5a2bb74a96cf7d9f7a16a24f71a34dde8f91b13"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/app_server_events.rs: FileTooLong \u2014 665 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), about 95% of them inside a single declaration: App (39-902). The bar is 500 significant lines; this is 165 over it, 1.33\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":"codex-rs/tui/src/app/app_server_events.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75caaa047ca48a37766f5a59035e99b824a3c23b575e0a922563ec9946442511"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bottom_pane/app_link_view.rs: FileTooLong \u2014 664 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), about 71% of them inside a single declaration: AppLinkView (4 blocks, 237-910). The bar is 500 significant lines; this is 164 over it, 1.33\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":"codex-rs/tui/src/bottom_pane/app_link_view.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfaac7e0b4236c2f5c984cc85cda15b8f5eef0c5591c2a869106b1bdfb183121"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/compact_remote_v2.rs: FileTooLong \u2014 662 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 162 over it, 1.32\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":"codex-rs/core/src/compact_remote_v2.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb1fc0dcec550365cccc955288b7bf464d3b5b1fa80bcf2dbf9374efbb1e282"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ExecServerClient: ClassTooLong \u2014 529 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), 63 methods, 2 blocks, lines 356-1477. The bar is 400 significant lines; this is 129 over it, 1.32\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/client.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"b558504bb6ca13c522d844916cd0689a35c83ae53fadea8972851b22b076839a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_network_proxy::socks5::inspect_socks5_udp: FunctionTooLong \u2014 codex_network_proxy::socks5::inspect_socks5_udp runs 132 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 32 over it, 1.32\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":"codex-rs/network-proxy/src/socks5.rs"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1e46aeec4cadfacc90da85998984cf07513341a9c2199619da5000e2a298cc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LocalStdioServerLauncher.launch_server: MethodTooLong \u2014 launch_server runs 132 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 32 over it, 1.32\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":"codex-rs/rmcp-client/src/stdio_server_launcher.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c74e26f85a595871e398f6b01fcb6ddcb0ed017bdcdf6e6730cdedcdcb0e07"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppServerSession.submit_user_message: MethodTooLong \u2014 submit_user_message runs 132 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 32 over it, 1.32\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":"codex-rs/tui/src/app_server_session/user_message_submission.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"746ee8342eb92d630d4b56602fdd976a04e28b4f367dac3f51b582400dbfd42f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatComposer.handle_key_event_with_slash_popup: MethodTooLong \u2014 handle_key_event_with_slash_popup runs 132 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 32 over it, 1.32\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":"codex-rs/tui/src/bottom_pane/chat_composer/slash_input.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37787d749b2eeaa564076c7716c3c7207c525c0d1c7728944284a47553ea7d6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LocalProcess: ClassTooLong \u2014 527 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), 17 methods, 6 blocks, lines 174-1005. The bar is 400 significant lines; this is 127 over it, 1.32\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/local_process.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc3b8adf1cc8e93921091d8bdc9c248c1ef2cbe66a27e3fcef080696927d7ba"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config/edit.rs: FileTooLong \u2014 657 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 157 over it, 1.31\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":"codex-rs/core/src/config/edit.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6850952276415b98482ff69321fed63ebcbe89ff98b49bb7e66de41b469f2b63"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/terminal_hyperlinks.rs: FileTooLong \u2014 656 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 156 over it, 1.31\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":"codex-rs/tui/src/terminal_hyperlinks.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"112431f1eb9ff0ed9a5d69b20af1e4f67437cc16eb0842f5dd5588cb718e1c6e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: v2/account.rs: FileTooLong \u2014 655 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 155 over it, 1.31\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":"codex-rs/app-server-protocol/src/protocol/v2/account.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8f089252a379e0df60d4061841eeef4ed40d6abea6514a8dbb1fd02a70fb0d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HostState.handle_request: MethodTooLong \u2014 handle_request runs 131 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 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/code-mode-host/src/lib.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"717e4ce6e3cd051bb79137411012257d2d36ba941accf9049d62164bf9887e3e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GoalStore.update_thread_goal: MethodTooLong \u2014 update_thread_goal runs 131 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 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/state/src/runtime/goals.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"3578fa6e32ee650ea53f06c9c5a5ca7cb7d2b59f7a67416673af5f683e035817"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExecCell.command_display_lines_with_hidden_details: MethodTooLong \u2014 command_display_lines_with_hidden_details runs 131 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 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/exec_cell/render.rs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"57807d2844faa017ddbc6fee8dc3993c4b7e9474165f522204ef05b1e2a7dc45"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RouteAwareClientPool: TooManyMethods \u2014 39 methods, declared across 2 files: src/route_aware_client_pool.rs (32), route_aware_client_pool/execution.rs (7). The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/http-client/src/route_aware_client_pool.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d9bb02013f37e932841e0bf3d1282552b45e5a9b3cb79838120918aaf655e2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LocalThreadStore: TooManyMethods \u2014 39 methods, declared across 4 files: local/mod.rs (18), local/rollout_migration.rs (16), local/rollout_lineage.rs (4), local/delete_thread.rs (1). The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/mod.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"614401490cc55d86e32301d7165b5c11b8b81e10ce33a303e90e19288f9da4db"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TranscriptOverlay: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/pager_overlay/transcript.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ce2fd682c3480a995b75a4aa2bae5d2ba2071cf2d951bd57846ac9e485d973"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mcp/mod.rs: FileTooLong \u2014 650 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 150 over it, 1.30\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":"codex-rs/codex-mcp/src/mcp/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c625130e0fb212e38a80b27f6b1d583ec2cebb14310b1a556c8c4ec4abf7704"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chatwidget/user_messages.rs: FileTooLong \u2014 650 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 150 over it, 1.30\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":"codex-rs/tui/src/chatwidget/user_messages.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21a30b4e858c46bfbe996bdfff55e86d9eed44cbdc915fc027ce11844663ec0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_app_server_daemon::update_loop::update_once: FunctionTooLong \u2014 codex_app_server_daemon::update_loop::update_once runs 130 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 30 over it, 1.30\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":"codex-rs/app-server-daemon/src/update_loop.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f15ef8028c8237bc62e255485d258dcd0d492660bdd8b2580ccb7fda47e1ec"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ClientSegmentReassembler.observe: MethodTooLong \u2014 observe runs 130 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 30 over it, 1.30\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":"codex-rs/app-server-transport/src/transport/remote_control/segment.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"77fa0bc6506d36fc189a719d2e993ee0804dae32a21fc870e340b37c59f310f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core_plugins::remote::fetch_remote_marketplaces: FunctionTooLong \u2014 codex_core_plugins::remote::fetch_remote_marketplaces runs 130 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 30 over it, 1.30\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":"codex-rs/core-plugins/src/remote.rs"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1607adc5815ff45996b51f991cd3429a55c7cffc8669aebca177f11c383c246"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Session.request_permissions_for_environment: MethodTooLong \u2014 request_permissions_for_environment runs 130 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 30 over it, 1.30\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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":3509}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bbdf1b100a88940a2850ca50c9ad8d8db33111ac3e51f6956e9d0f58b010c50"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Session.replace_compacted_history: MethodTooLong \u2014 replace_compacted_history runs 130 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 30 over it, 1.30\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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":4849}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5cb298c650d6f1522239205e989ee6ec7f983415bc324ef93d32e6d75e3f3b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImageGenerationTool.handle_call: MethodTooLong \u2014 handle_call runs 130 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 30 over it, 1.30\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":"codex-rs/ext/image-generation/src/tool.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"beca615a9e06089c90c45b7e62d06bb17b90fcef5bbd5a95df4f8a43b39f705f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CredentialBroker.configure: MethodTooLong \u2014 configure runs 130 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 30 over it, 1.30\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":"codex-rs/network-proxy/src/credential_broker.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"99bdb9dad9e4139d6148cb4ee7db59ad638216bd91e299838f98eec67ccabcba"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_rmcp_client::ema_resource::discover_ema_resource: FunctionTooLong \u2014 codex_rmcp_client::ema_resource::discover_ema_resource runs 130 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 30 over it, 1.30\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":"codex-rs/rmcp-client/src/ema_resource.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b07ecad4712c2b27c879ab1bc7a3fcf49eb78ff91e4f7c989e32d4ad2b59d2c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_tui::sidebar_chooser::paint: FunctionTooLong \u2014 codex_tui::sidebar_chooser::paint runs 130 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 30 over it, 1.30\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":"codex-rs/tui/src/sidebar_chooser.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b206c7a16a8694704cbf9eaec8536243cddfc3df133494e28ba6f7cf03241c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TranscriptView.move_copy_target: MethodTooLong \u2014 move_copy_target runs 130 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 30 over it, 1.30\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":"codex-rs/tui/src/transcript_view/copy_mode.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4bfbb2d71115743085b3c8bbeabcee49c8d7dcf67e83f9bddc07014db648e3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connection_manager/tool_catalog.rs: FileTooLong \u2014 648 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), about 91% of them inside a single declaration: McpConnectionSet (77-822). The bar is 500 significant lines; this is 148 over it, 1.30\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":"codex-rs/codex-mcp/src/connection_manager/tool_catalog.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a00acae9fa52ef7f841352f939db1879d780713b355abbbfed156c503f455f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CatalogRequestProcessor: ClassTooLong \u2014 517 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), 21 methods, 2 blocks, lines 12-781. The bar is 400 significant lines; this is 117 over it, 1.29\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/catalog_processor.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ee47616134818a4f94859be869bb7a10744094f49cf05e3634567bd43b7ec7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StreamingPatchParser.process_line: MethodTooLong \u2014 process_line runs 129 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 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/apply-patch/src/streaming_parser.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d0faaa630c9f0830e0d9c1557f8dff9d77fa4c40eb0a7f293ea9f08d782243"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CredentialBrokerState.register: MethodTooLong \u2014 register runs 129 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 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/credential_broker.rs"},"region":{"startLine":1612}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a6e7b63093572e79ab3dcc0af1833e3714a52a3a189ee2c982db49336b25cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_utils_pty::pipe::spawn_process_with_stdin_mode: FunctionTooLong \u2014 codex_utils_pty::pipe::spawn_process_with_stdin_mode runs 129 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 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/utils/pty/src/pipe.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"034795136aefc886a700905a6c63659e27727f5898a2f8dff2701b92ae37ceb3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ExternalAgentConfigService: ClassTooLong \u2014 513 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), 32 methods, 2 blocks, lines 70-828. The bar is 400 significant lines; this is 113 over it, 1.28\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/external-agent-migration/src/service.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e24f37b23008f21fda9d58b1c668f10f200100d9b2e15127a07b6dde34f373"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_cloud_tasks::ui::draw_diff_overlay: FunctionTooLong \u2014 codex_cloud_tasks::ui::draw_diff_overlay runs 128 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 28 over it, 1.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":"codex-rs/cloud-tasks/src/ui.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ab1d92aa635b172f31b67ff55becf0578970897a53a8441f466e1f903dde89"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::client::handle_unauthorized: FunctionTooLong \u2014 codex_core::client::handle_unauthorized runs 128 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 28 over it, 1.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":"codex-rs/core/src/client.rs"},"region":{"startLine":3084}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd91b17ac865c2e38b0f962fee8c3311726bf0d462dc853f0e8d82fd4b46212"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::session::turn::build_skills_and_plugins: FunctionTooLong \u2014 codex_core::session::turn::build_skills_and_plugins runs 128 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 28 over it, 1.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":"codex-rs/core/src/session/turn.rs"},"region":{"startLine":1264}}}],"partialFingerprints":{"codehealthFindingId/v1":"c815aabe565af7c0a9139551232e7e5b44888903e6c845a32686bfc640750541"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EventProcessorWithJsonOutput.collect_thread_events: MethodTooLong \u2014 collect_thread_events runs 128 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 28 over it, 1.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":"codex-rs/exec/src/event_processor_with_jsonl_output.rs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3bd3be4e2c9c81ce33c9aa55adcacd13cc5fce68e35ef2634cd8357607d4ef5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FileSystemSandboxPolicy.writable_roots: MethodTooLong \u2014 writable_roots runs 128 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 28 over it, 1.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":"codex-rs/protocol/src/permissions.rs"},"region":{"startLine":1575}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb7dd99003cd9789fd1db620ba9bf256029f346a67852a08777322029881162"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PickerState.handle_background_event: MethodTooLong \u2014 handle_background_event runs 128 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 28 over it, 1.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":"codex-rs/tui/src/resume_picker.rs"},"region":{"startLine":1872}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94ef68154952b4a609ba512170f0a55b71b4fcf505562bccabe07729e692f5d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/items.rs: FileTooLong \u2014 638 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 138 over it, 1.28\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":"codex-rs/protocol/src/items.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ad752bfb5689ba2d1e72bf50f272e641f253dcbb2ac9304cf3454a5b0dc328"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/input.rs: FileTooLong \u2014 637 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), about 99% of them inside a single declaration: App (15-892). The bar is 500 significant lines; this is 137 over it, 1.27\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":"codex-rs/tui/src/app/input.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18442511b78ab2e4ae5b14f276af446bab5dad02ae294549aac4ab51d62377f6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NetworkApprovalService: ClassTooLong \u2014 508 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), 18 methods, 3 blocks, lines 305-1179. The bar is 400 significant lines; this is 108 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/network_approval.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f4ef50e609b7afc9a5859917d191f37d60518d21f1be6a22362385f4532d8e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_cli::doctor::mcp_check_from_servers: FunctionTooLong \u2014 codex_cli::doctor::mcp_check_from_servers runs 127 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 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/doctor.rs"},"region":{"startLine":1534}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a6b5c478d11b671e088d4c609b2e56044b1bd4aa4709aabbcaf8150310c30a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MemoryStore.claim_stage1_jobs_for_startup: MethodTooLong \u2014 claim_stage1_jobs_for_startup runs 127 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 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/state/src/runtime/memories.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e934994319470dc0727ea714f9de6497f4fa6a0436f2fba7482730c9a9b41b0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatComposer.handle_input_basic_with_time: MethodTooLong \u2014 handle_input_basic_with_time runs 127 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 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":3740}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a3aa03ca1e070418e17b8d066bfb2be4413195793e1d542fff4b1b5d40f639"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatWidget.on_rate_limit_snapshot_from: MethodTooLong \u2014 on_rate_limit_snapshot_from runs 127 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 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/rate_limits.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"6548288f886719ebf2497f2849ac47b9c000af0ac9ddb4a7dff7d92018529430"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_windows_sandbox::bin::command_runner::win::main: FunctionTooLong \u2014 codex_windows_sandbox::bin::command_runner::win::main runs 127 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 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-rs/src/bin/command_runner/win.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d1f71eadb89b1e243bb240a2d3692b2c28e8d6222b0cdaabaae0ce5b2da6e8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ModelClient: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/client.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b448fe62fb88b2ab5362cadf342d8dd5f29ebbdb2b2fe46f7dc94b45d4a6b9b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Environment: TooManyMethods \u2014 38 methods, declared across 4 files: src/environment.rs (34), environment/discovery_v2.rs (2), environment/discovery_recovery.rs (1), src/environment_config.rs (1). The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/environment.rs"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"1167b28ed8617aa163f927f3008d76fd3baaf7e49b85b87d54e0e219189eec53"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Hooks: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/hooks/src/registry.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"630c0fc109c9365acd61f5fa62bcc54a1d5bbcf8fab14717c4b157d2d4c6a26d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: McpConfig: TooManyFields \u2014 38 stored fields beside 4 methods. The bar is 30 stored fields; this is 8 over it, 1.27\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-mcp/src/mcp/mod.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c87f9b4dab8f84a98055e65e591b09070335462eb39c9ab87ac7053f365d9da"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ThreadRow: TooManyFields \u2014 38 stored fields beside 1 method. The bar is 30 stored fields; this is 8 over it, 1.27\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/state/src/model/thread_metadata.rs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb0091f46f3fcb704dc2bd9382e9c9f489205febd4733aec50e454c6d8d19e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/config_manager.rs: FileTooLong \u2014 630 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), about 86% of them inside a single declaration: ConfigManager (2 blocks, 45-808). The bar is 500 significant lines; this is 130 over it, 1.26\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/config_manager.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c46da32e9800934396b11213b3a14dbf75a1ef9f8d956734c34da488726bdc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_app_server_daemon::update_loop::run_installer_script: FunctionTooLong \u2014 codex_app_server_daemon::update_loop::run_installer_script runs 126 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 26 over it, 1.26\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":"codex-rs/app-server-daemon/src/update_loop.rs"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e61d09b3cf5a029544fc3f907f2adce30b26a17fc3bd4f9e493b37798dfeac6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_config::schema::features_schema: FunctionTooLong \u2014 codex_config::schema::features_schema runs 126 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 26 over it, 1.26\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":"codex-rs/config/src/schema.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1313b2577f615686c55f7923948c1622217eb0828e1883303c2a4a6372df7a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConnectionPool.lease: MethodTooLong \u2014 lease runs 126 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 26 over it, 1.26\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":"codex-rs/ext/guardian-v2/src/async_scorer/sampler/connection_pool.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fed20f6740c3f8494bf368a24a2de02b0b37c1d49c2d64eba1fbb409ecec2c8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: App.commit_thread_selection: MethodTooLong \u2014 commit_thread_selection runs 126 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 26 over it, 1.26\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":"codex-rs/tui/src/app/session_lifecycle.rs"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0faa794e84e778b3e4bebf7709518f539d55a6c6aee5e5410f1f6efdb7cd92"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: external_agent_migration/processor.rs: FileTooLong \u2014 628 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 128 over it, 1.26\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":"codex-rs/app-server/src/external_agent_migration/processor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"100d2049d19639fc23185777e76f40ae85bbffe2dcbd97c83bf6e30252f6324c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: exec_cell/render.rs: FileTooLong \u2014 627 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), about 70% of them inside a single declaration: ExecCell (2 blocks, 212-837). The bar is 500 significant lines; this is 127 over it, 1.25\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":"codex-rs/tui/src/exec_cell/render.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c51b159deee4d37aef40eedd6ff6e24b6bb616fdd45d24e65728e59839644e5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/transcript_view.rs: FileTooLong \u2014 627 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), about 90% of them inside a single declaration: TranscriptView (3 blocks, 92-838). The bar is 500 significant lines; this is 127 over it, 1.25\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":"codex-rs/tui/src/transcript_view.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f6825e9ea32fa0317f25a23fd2d0c75f73069ea5b89baa0dffef786db0445dc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GoalStore: ClassTooLong \u2014 501 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), 14 methods, 3 blocks, lines 8-617. The bar is 400 significant lines; this is 101 over it, 1.25\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/state/src/runtime/goals.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"537d063d9cfca3dd8606011d0f06fb83942313478354e49937cfa1622bfa9a60"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RemoteControlWebsocket.run_server_writer_inner: MethodTooLong \u2014 run_server_writer_inner runs 125 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 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":"codex-rs/app-server-transport/src/transport/remote_control/websocket.rs"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"6709e1dad22bac86b085470e2497951a6350b1609865bb1e3f5f4cea0df9b9e4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GrpcCodeModeSessionProvider.open_binding: MethodTooLong \u2014 open_binding runs 125 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 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":"codex-rs/code-mode/src/grpc_session/mod.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a9ddf6fbf8951f920005cd9a5f8d5d72d7397e4e73f752246fb01eba266e6b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::realtime_conversation::sideband::spawn_webrtc_sideband_input_task: FunctionTooLong \u2014 codex_core::realtime_conversation::sideband::spawn_webrtc_sideband_input_task runs 125 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 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":"codex-rs/core/src/realtime_conversation/sideband.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6642934b235de252303c7cf0bb3fb6d928e144f009cb1f931c4541e4629d5d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StatusHistoryCell.new: MethodTooLong \u2014 new runs 125 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 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":"codex-rs/tui/src/status/card.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6af0c3cf23c8ff75721ae900c3ddbe349b46348dff9be179c81baa424ad1758"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/service.rs: FileTooLong \u2014 624 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), about 82% of them inside a single declaration: ExternalAgentConfigService (2 blocks, 70-828). The bar is 500 significant lines; this is 124 over it, 1.25\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":"codex-rs/external-agent-migration/src/service.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e924ddb580664ac8f788d07325d19990eb5553296531f6a95ecd567327b459c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/in_memory.rs: FileTooLong \u2014 620 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), about 67% of them inside a single declaration: InMemoryThreadStore (3 blocks, 529-1115). The bar is 500 significant lines; this is 120 over it, 1.24\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":"codex-rs/thread-store/src/in_memory.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc24516dc294859d5df4c7cfc882507ace2dd01182507f700863786f274c5cf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ThreadRequestProcessor.thread_start_inner: MethodTooLong \u2014 thread_start_inner runs 124 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 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c656ba39e07f7d7473f8e75e3d531137282fcc5bf75fd6529043f16e590287"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: McpCatalogBuilder.build: MethodTooLong \u2014 build runs 124 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 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-mcp/src/catalog.rs"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"054eabf2415928410e05a6d4824493acdbddd6bd2c7ac0b13dd0a1b30f7eaf9f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConfigDocument.apply: MethodTooLong \u2014 apply runs 124 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 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/config/edit.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f5008962301953d817740ede223badcf4dc838c2569da5987be8a76734e1d3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ApprovalAction.into_guardian_request: MethodTooLong \u2014 into_guardian_request runs 124 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 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/approvals.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc706b9284170a9b75348cf018dd190bebd3de17c9e718f912ea2eb67742b47"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_exec_server::server::registry::build_router: FunctionTooLong \u2014 codex_exec_server::server::registry::build_router runs 124 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 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/server/registry.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"49050a77c974e5f9b77b8196e50a8d9c3d6f1dfeba84d8425c7dcf4881b6c7e2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_guardian_v2::async_scorer::approval::cached_evidence: FunctionTooLong \u2014 codex_guardian_v2::async_scorer::approval::cached_evidence runs 124 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 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/guardian-v2/src/async_scorer/approval.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2700469d6248a79c64e3388072bdc3102bf93f10795f8194ea7b73124ef2575"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NfsDbMigration.migrate: MethodTooLong \u2014 migrate runs 124 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 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/state/src/nfs_migration.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a55fa500a3c412e5359644135d3118d9f1d82f68b92f4724ca6294bdfda330"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AgentsOverviewView: ClassTooLong \u2014 495 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), 28 methods, 3 blocks, lines 227-901. The bar is 400 significant lines; this is 95 over it, 1.24\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/agents_overview_view.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1fb660c3cda8fc7f717c821d6604b8d8d6b9be6242d02611840b89c5c8a081b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Writer: TooManyFields \u2014 37 stored fields beside 79 methods. The bar is 30 stored fields; this is 7 over it, 1.23\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/markdown_render.rs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7f33692b2136acb1e2c9017bbf22151838b6889a987825c5ea4aa5f210f043"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ConfigRequirements: TooManyFields \u2014 37 stored fields beside 4 methods. The bar is 30 stored fields; this is 7 over it, 1.23\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/config_requirements.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6f46fed21b71a6ad83c1ae8acaeee4857bbf82e7dd492cfe76b0ff7a72b238"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: GuardianReviewEventParams: TooManyFields \u2014 37 stored fields. The bar is 30 stored fields; this is 7 over it, 1.23\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/analytics/src/events.rs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"848bd82e17c3a9df888ac5c4d5b3f2dae133666c893f6098d013b6d91629ebc7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: StoredThread: TooManyFields \u2014 37 stored fields. The bar is 30 stored fields; this is 7 over it, 1.23\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/types.rs"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b202961b693a7db0ebf7b1989b8072de796630a5a551856e465b3af6ce8b5f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_app_server::notification_media::without_notification_media: FunctionTooLong \u2014 codex_app_server::notification_media::without_notification_media runs 123 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 23 over it, 1.23\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":"codex-rs/app-server/src/notification_media.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13be9aa1cdb09afd0b34adac5d4e92391ec02dcb6b2b13a19aece7b7b294f42"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ResponsesWebsocketConnection.stream_request_with_observer: MethodTooLong \u2014 stream_request_with_observer runs 123 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 23 over it, 1.23\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":"codex-rs/codex-api/src/endpoint/responses_websocket.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5820b21b28d39880f04d4cbf1b6478e30febc9f0cc4a9d81055bdea87d067be"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_hooks::engine::command_runner::run_command: FunctionTooLong \u2014 codex_hooks::engine::command_runner::run_command runs 123 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 23 over it, 1.23\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":"codex-rs/hooks/src/engine/command_runner.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"41db3883ac227357862c9463e649d0c083f88975fafb86a2fd30f9e7d85cae5f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_tui::resume_picker::spawn_app_server_source: FunctionTooLong \u2014 codex_tui::resume_picker::spawn_app_server_source runs 123 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 23 over it, 1.23\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":"codex-rs/tui/src/resume_picker.rs"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdda2fad3173be9f48d3fb539f800179ecd6726775aa6b24d5f8ac50d0b6a86d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 613 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 113 over it, 1.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/model-provider-info/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"969ee3cdfb653c26dd0c137939ec2733368ead81ade67269a04a037b8a8e6886"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ide_context/ipc.rs: FileTooLong \u2014 610 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), declaring 33 free functions. The bar is 500 significant lines; this is 110 over it, 1.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/ide_context/ipc.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31d619afd06bb5a16b1869ae912317764e3482806da8691d94745cc73b9950a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: onboarding/bedrock.rs: FileTooLong \u2014 610 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), about 66% of them inside a single declaration: BedrockState (2 blocks, 44-643). The bar is 500 significant lines; this is 110 over it, 1.22\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/onboarding/bedrock.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16dbc0ada62ab72a386c4bf7840259ac1f878fcca1b7306bce40de5d542d9c5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExternalAgentSessionImporter.import_sessions: MethodTooLong \u2014 import_sessions runs 122 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 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/external_agent_migration/session_importer.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d15bbf2eb5f62219567f439a6dcb6581cc58a92b3ce15bf7f67e7f9ecb2ac4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ManagedClientStartup.start: MethodTooLong \u2014 start runs 122 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 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-mcp/src/rmcp_client.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb0d169f3a751bec75685c84b4d5285ef2103b006dd7ed7839a64c7edd6b2e5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Config.to_mcp_config_with_loaded_plugins: MethodTooLong \u2014 to_mcp_config_with_loaded_plugins runs 122 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 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/config/mod.rs"},"region":{"startLine":1949}}}],"partialFingerprints":{"codehealthFindingId/v1":"825aabebcbbe360a7ce160bc50b8615039f2c8ccfd9de2c2ded968826d643ee1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::guardian::decision::decide_approval: FunctionTooLong \u2014 codex_core::guardian::decision::decide_approval runs 122 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 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/guardian/decision.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee477626e5a4848b5dd1c1016944531704fb7649740069db581fbde3f59c81b4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: App.start_managed_worktree: MethodTooLong \u2014 start_managed_worktree runs 122 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 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/managed_worktree_creation.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"04dc9fcd188a27d496d633b9f5f1ad2051c594244f8b0eaecd383f9de84588a0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: request_processors/catalog_processor.rs: FileTooLong \u2014 608 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), about 85% of them inside a single declaration: CatalogRequestProcessor (2 blocks, 12-781). The bar is 500 significant lines; this is 108 over it, 1.22\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/catalog_processor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b49a59a8966952054d88e2afd4fe594fc6ed107686f50350a6012374d82df9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config/permissions.rs: FileTooLong \u2014 608 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), declaring 32 free functions. The bar is 500 significant lines; this is 108 over it, 1.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/config/permissions.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"778bcbec873e7b77a7af65927e215c2176eaff6404ccfb6d6d10653d54522c85"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent/control.rs: FileTooLong \u2014 605 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), about 73% of them inside a single declaration: LocalAgentControl (3 blocks, 97-694). The bar is 500 significant lines; this is 105 over it, 1.21\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":"codex-rs/core/src/agent/control.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f689d57a345666673e9aa965370d324b0ded27f0768d101fcce60a8761a18d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_app_server_daemon::update_loop::run_with_http: FunctionTooLong \u2014 codex_app_server_daemon::update_loop::run_with_http runs 121 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 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-daemon/src/update_loop.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83fd59fe5b0cfd8c0c493f2058b4b1b725215984b467e401a4e4585e5cd8002"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::session::turn::realtime_text_for_event: FunctionTooLong \u2014 codex_core::session::turn::realtime_text_for_event runs 121 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 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/turn.rs"},"region":{"startLine":2393}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf74715be8cdb9e14df48cf86cd72ae5ce80947df039602c65ab156fa070bfaa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::session::turn_input::start_if_idle: FunctionTooLong \u2014 codex_core::session::turn_input::start_if_idle runs 121 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 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/turn_input.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"95eb74e7abfed1b4ede77592e878c84d99e3338000045def1a2bfd5eac7abc9a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ComposedContext.enforce_budget: MethodTooLong \u2014 enforce_budget runs 121 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 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/guardian-context/src/enforcement.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2fabcc6b99f0aadedb30fd9f33c94cc2330b4a20ebd6a071b7e02f05fb5247"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RolloutRecorder.new_inner: MethodTooLong \u2014 new_inner runs 121 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 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout/src/recorder.rs"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"63661e5ec7f3a597bf5bbb9b879f0ab0e8346adfb506562a5f498912bcd9a5ff"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PendingAppServerRequests.take_resolution_record: MethodTooLong \u2014 take_resolution_record runs 121 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 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/app_server_requests.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"935eff8ae3b3b1f66430873e1c48cb4508393ee4e82f48a738a8166d6e392ea4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: App.interactive_request_for_thread_request: MethodTooLong \u2014 interactive_request_for_thread_request runs 121 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 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/thread_routing.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"719cadf3fdbd25a46a0e81e20d96bfa9380582d8e039389381297d3aabd7886a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ListSelectionView.handle_key_event: MethodTooLong \u2014 handle_key_event runs 121 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 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/list_selection_view.rs"},"region":{"startLine":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"64572cdc9c8f4f1940928b05cd9db83c5dc9d2ad62ccbcaa488f9b4abb8a5440"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_utils_pty::pty::spawn_process_preserving_fds: FunctionTooLong \u2014 codex_utils_pty::pty::spawn_process_preserving_fds runs 121 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 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/utils/pty/src/pty.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59cc117baee6a3ca4779288dbdbfe3642bc2b6951c3f64aaaa140e8cba033db"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: noise_relay/harness.rs: FileTooLong \u2014 602 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 102 over it, 1.20\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":"codex-rs/exec-server/src/noise_relay/harness.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda51cc0b3c77557ad8d952811e45ba83688dcb6a66aac0584101f9ac66a9c04"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: backend/pid.rs: FileTooLong \u2014 601 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 101 over it, 1.20\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":"codex-rs/app-server-daemon/src/backend/pid.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f312f624dd03455c750e7040bc48ddfb84d5d57aa0b989999313185b292974"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Session: TooManyFields \u2014 36 stored fields beside 330 methods. The bar is 30 stored fields; this is 6 over it, 1.20\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/session.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"f629239b4503196873db4f9fe8c23eb96c4c88acff58b1e2da6a410d78365469"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: TranscriptView: TooManyFields \u2014 36 stored fields beside 183 methods. The bar is 30 stored fields; this is 6 over it, 1.20\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/transcript_view.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"20017f12169c3fd774d9fdc19dbd6490b00e20837fe1dd33fbb887ec6834a436"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ExecServerHandler: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/server/handler.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa221778872016452c03906afb95ed67e4bbdaf33e818fdd02a8ed92e9466ab"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: codex_tui::render::highlight: TooManyFunctions \u2014 36 free functions. The bar is 30 free functions; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/render/highlight.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56a47f197e0a9542de6cf06bcb9135132f9182707677562786f249df67754c2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: AgentsOverviewState: TooManyFields \u2014 36 stored fields beside 4 methods. The bar is 30 stored fields; this is 6 over it, 1.20\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/agents_overview.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"10428871fa4db791be65d84aa2a24afa8113139db103477d262c940192a052b1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ThreadMetadata: TooManyFields \u2014 36 stored fields beside 3 methods. The bar is 30 stored fields; this is 6 over it, 1.20\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/state/src/model/thread_metadata.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2019a1a428e98d504ca6bac3d9a97056a920f9c89a1b274bb1e6a943b074ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_app_server_transport::transport::remote_control::websocket::connect_remote_control_websocket: FunctionTooLong \u2014 codex_app_server_transport::transport::remote_control::websocket::connect_remote_control_websocket runs 120 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 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-transport/src/transport/remote_control/websocket.rs"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"114c48c0881ec232a74250db8403865e18ec8d5587c1fb715c36fee194d4c8b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::guardian::request_budget::prepare_prompt: FunctionTooLong \u2014 codex_core::guardian::request_budget::prepare_prompt runs 120 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 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/guardian/request_budget.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba318295be5eb226110f9f1bcccc4058b5b6e62e8fc25fcfaa7b4424a25fdbc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Housekeeper.route: MethodTooLong \u2014 route runs 120 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 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/guardian-v3/src/housekeeper.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ad6445e4824b9aeb126fa90c761fdc01cf30a6bc4030e6c0c62d0cceeb532e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_hooks::events::stop::parse_completed: FunctionTooLong \u2014 codex_hooks::events::stop::parse_completed runs 120 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 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/hooks/src/events/stop.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9f5d82ac35df47581500c63f0200feecb8c0ea9574ea5003eaa56a4d010569"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OAuthPersistor.refresh_transaction: MethodTooLong \u2014 refresh_transaction runs 120 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 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/oauth/refresh_transaction.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda16760500da548fb932dacb9e43372e310138989600983cc2292b88a0a162e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RmcpClient.connect_pending_transport: MethodTooLong \u2014 connect_pending_transport runs 120 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 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/rmcp_client.rs"},"region":{"startLine":1578}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca89f084494c2c96823419cc587a2a0da9f1b16d05ed7f640e4ed4afe3141bd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnalyticsView.render: MethodTooLong \u2014 render runs 120 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 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/analytics/render.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9bb523caa7a797bb6d6be3b82cf751096dbba3c3c934405fa349a7c7e7097b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AgentsOverviewView.render: MethodTooLong \u2014 render runs 120 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 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/agent_center/render.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1aa17663a3ad29485e88913001143825cbd5a0ce8a11ef93b8ae786a5f1f36"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AuthModeWidget.render_pick_mode: MethodTooLong \u2014 render_pick_mode runs 120 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 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/onboarding/auth.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1074dc55c9ecf56abf855814414967750d18e02576ae051b84dad1c679e1eec"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: TuiVimNormalKeymap: TooManyFields \u2014 36 stored fields. The bar is 30 stored fields; this is 6 over it, 1.20\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/tui_keymap.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08db342edd26624823bd874d462d77b5a228239f829f2d5d690912ee22f56ad"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: VimNormalKeymap: TooManyFields \u2014 36 stored fields. The bar is 30 stored fields; this is 6 over it, 1.20\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/keymap.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"8683f300a416adcb2e32dabb9c1533b34f440fe0dd6f7c84b257fa2540cf5ae7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cloud_backend/mod.rs: FileTooLong \u2014 599 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 99 over it, 1.20\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":"codex-rs/app-server-client/src/cloud_backend/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3a86e510e0857b40f30d15855bdd99655bb6fafe70e4b566fd08d0e3618a5f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/tool.rs: FileTooLong \u2014 599 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 99 over it, 1.20\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":"codex-rs/ext/image-generation/src/tool.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d125ada9d4c3e918d5f5b0aee0ff9bf57c48eb73c1dfde5955e753f6c8a632"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: output/detail.rs: FileTooLong \u2014 595 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), declaring 37 free functions. The bar is 500 significant lines; this is 95 over it, 1.19\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":"codex-rs/cli/src/doctor/output/detail.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"267e0f9145fe1339800eccefc556d3ae435b29189491c7bfb7decf0b50233cba"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_app_server_client::cloud_backend::run_worker_with_prepared: FunctionTooLong \u2014 codex_app_server_client::cloud_backend::run_worker_with_prepared runs 119 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 19 over it, 1.19\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":"codex-rs/app-server-client/src/cloud_backend/mod.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"efcbb42d4700becb827d1d8e7b486916242a441f740ba48c83f25ca61d8ac7f4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WindowsSandboxRequestProcessor.windows_sandbox_setup_start_inner: MethodTooLong \u2014 windows_sandbox_setup_start_inner runs 119 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 19 over it, 1.19\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":"codex-rs/app-server/src/request_processors/windows_sandbox_processor.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ac7999dcebbb9554a42652c8f770585b7637077c69b8f01d7f0b004a28c900"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::session::startup_prewarm::schedule_startup_prewarm_inner: FunctionTooLong \u2014 codex_core::session::startup_prewarm::schedule_startup_prewarm_inner runs 119 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 19 over it, 1.19\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":"codex-rs/core/src/session/startup_prewarm.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9338a2c336b8c14fce0bdb126173a412180c315524472c4742b1e1e930494c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_exec_server::process_sandbox::prepare_managed_network: FunctionTooLong \u2014 codex_exec_server::process_sandbox::prepare_managed_network runs 119 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 19 over it, 1.19\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":"codex-rs/exec-server/src/process_sandbox.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"b444c2349600a52a895660f281cdda1f26e19ac6fd247531b49c6d456157f289"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_skills_extension::loader::host_merge::load_and_merge_host_skill_roots_with_request_snapshots: FunctionTooLong \u2014 codex_skills_extension::loader::host_merge::load_and_merge_host_skill_roots_with_request_snapshots runs 119 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 19 over it, 1.19\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":"codex-rs/ext/skills/src/loader/host_merge.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"46155077e89d91fe5b9fa479d01bdbddc8b176e7a37f4bc193e5393148ddb701"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: App.apply_agents_overview_thread_refresh: MethodTooLong \u2014 apply_agents_overview_thread_refresh runs 119 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 19 over it, 1.19\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":"codex-rs/tui/src/app/agents_overview.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"527544d8f7f9ccf24072d678c5bc80f029ee4c5f7d5385c2c48a4ee281d3c900"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Writer.render_table_lines: MethodTooLong \u2014 render_table_lines runs 119 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 19 over it, 1.19\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":"codex-rs/tui/src/markdown_render.rs"},"region":{"startLine":1469}}}],"partialFingerprints":{"codehealthFindingId/v1":"59628d15948997fd1b7df5f92a0ccc867f6dca059c9db5dc70ba259873a61e31"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/facts.rs: FileTooLong \u2014 592 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 92 over it, 1.18\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":"codex-rs/analytics/src/facts.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1fac21b46d570ee8e6898c0234b2bfc618aa3f5035c60efd231a568678ef597"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/update_loop.rs: FileTooLong \u2014 592 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 92 over it, 1.18\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":"codex-rs/app-server-daemon/src/update_loop.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb15b0d7006fef1225d1da98d8775ebf702980477613cb8bff51d63b19c339ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: local/mod.rs: FileTooLong \u2014 592 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 92 over it, 1.18\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":"codex-rs/thread-store/src/local/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7870d762c385833c65a30cc1ef6cb5d3508a7f4c26a46869fb920fa181ea4168"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/catalog.rs: FileTooLong \u2014 590 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 90 over it, 1.18\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":"codex-rs/codex-mcp/src/catalog.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26736d17722ff40769860ee4ff381a47f76c50715c98ab91b91c279f21adb53b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InitializeRequestProcessor.initialize: MethodTooLong \u2014 initialize runs 118 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 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/initialize_processor.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"88414b541c94d5ba97ce37d2eb952a77e817b3f280f30da1690f25160647dcec"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Session.refresh_config: MethodTooLong \u2014 refresh_config runs 118 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 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/config_refresh.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"406d9897f5da578f3579a4bc53880a4ad4a18feca57797d8d366c40cb9e5b0e8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Session.record_initial_history: MethodTooLong \u2014 record_initial_history runs 118 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 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":1771}}}],"partialFingerprints":{"codehealthFindingId/v1":"5653c92da3de5899f992df9716dde7c9de63cee2675ecdfa4841673fa958f004"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Session.apply_turn_settings: MethodTooLong \u2014 apply_turn_settings runs 118 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 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/step_activation.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"712ef6ef593558002c4919bd01da7fcd687c8dc7e868239da627a780dfda52a8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExecCommandHandler.handle_call: MethodTooLong \u2014 handle_call runs 118 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 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/handlers/unified_exec/exec_command.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c276e0bd4329ccaba0742bbdb35e8611594bb7acd60bdde123e341a18a48a59"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_exec_server::fs_helper::run_direct_request: FunctionTooLong \u2014 codex_exec_server::fs_helper::run_direct_request runs 118 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 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/fs_helper.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"acdd1ce664628738f2a3de6aa49633f23dc9c52f9d2ca6e36c945da9ee47734f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_rollout::compression::worker::compress_rollouts_in_root: FunctionTooLong \u2014 codex_rollout::compression::worker::compress_rollouts_in_root runs 118 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 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout/src/compression.rs"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"6515ce6dae85d213501700d60e9f1849ea8ecdbdd90fef513a6c4f17278838e1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: App.track_agents_overview_notification: MethodTooLong \u2014 track_agents_overview_notification runs 118 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 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/agents_overview_threads.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac34aa210aa06cc01a4eac22cb35c3de7abd88e20593ebfe37c74b115d2788b6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: App.continue_misalignment: MethodTooLong \u2014 continue_misalignment runs 118 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 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/misalignment_policy.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e815556b4c1be1404bc328d2802ba72187f0f07fea05bd981fade5a31fe5785"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_tui::app::user_turn_submission::try_submit_user_turn: FunctionTooLong \u2014 codex_tui::app::user_turn_submission::try_submit_user_turn runs 118 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 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/user_turn_submission.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28475f1b025db55f13e4ca36832196ba915be155bb030c5fbd9b99c8ff8cd42"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: request_processors/process_exec_processor.rs: FileTooLong \u2014 588 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 88 over it, 1.18\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":"codex-rs/app-server/src/request_processors/process_exec_processor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"457f234a152e0f3f3566c439c3755d9f723278a2ec0b8fa530ac015f8389fd66"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AppLinkView: ClassTooLong \u2014 470 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), 22 methods, 4 blocks, lines 237-910. The bar is 400 significant lines; this is 70 over it, 1.18\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/app_link_view.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"79fe85552eff1584b346849ffb11ecb2de31c19b332e4000c76159cf8dba8246"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ConfigRequirements: ClassTooLong \u2014 470 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), 4 methods, 4 blocks, lines 168-2639. The bar is 400 significant lines; this is 70 over it, 1.18\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/config_requirements.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d4ca269d8bf4c3d4362c001c66900773cefbf721998fdef9cc34646d470ba9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/types.rs: FileTooLong \u2014 587 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 87 over it, 1.17\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":"codex-rs/thread-store/src/types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a101905ae8c5fa65d3e8783b7b1020883eb59d026bb05b219508fafb368fff0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: history_cell/messages.rs: FileTooLong \u2014 587 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 87 over it, 1.17\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":"codex-rs/tui/src/history_cell/messages.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd280f71b9d88d65ae69b27c57700e92321f4c524e7ed5d49860982cbda233c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chatwidget/model_popups.rs: FileTooLong \u2014 586 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), about 99% of them inside a single declaration: ChatWidget (15-818). The bar is 500 significant lines; this is 86 over it, 1.17\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/model_popups.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc04185794be3f65b4e9a005424482e1b5c2d26a6a9ed2ccc8b74925a4384cc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core_plugins::loader::load_plugin: FunctionTooLong \u2014 codex_core_plugins::loader::load_plugin runs 117 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 17 over it, 1.17\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":"codex-rs/core-plugins/src/loader.rs"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"29108b879dcdb82e0c7d1e4dfaf268715a5e19fd382b28def3f6dee537c2453e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::realtime_conversation::handle_realtime_server_event: FunctionTooLong \u2014 codex_core::realtime_conversation::handle_realtime_server_event runs 117 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 17 over it, 1.17\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":"codex-rs/core/src/realtime_conversation.rs"},"region":{"startLine":2864}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9fb36fecfcc8db3a0cc2d4194b610ae08e1805febcc1b44e28f71a01acc02b5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatWidget.handle_command_execution_completed_now: MethodTooLong \u2014 handle_command_execution_completed_now runs 117 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 17 over it, 1.17\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":"codex-rs/tui/src/chatwidget/command_lifecycle.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5045a4bdb73671823c953491cab2bde4c1f0f0709391b32315dd90e93ce5f2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatWidget.open_legacy_permissions_popup: MethodTooLong \u2014 open_legacy_permissions_popup runs 117 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 17 over it, 1.17\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":"codex-rs/tui/src/chatwidget/permission_popups.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86255e86c398531e181d159b7a7be85f08a8aaaada836cc4cb180fdc384ea93"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_tui::markdown_copy::table::render: FunctionTooLong \u2014 codex_tui::markdown_copy::table::render runs 117 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 17 over it, 1.17\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":"codex-rs/tui/src/markdown_copy/table.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"72dd47cdaf41c4e9a9998b95cff243f7e528b6ef6638ffb2e3e69b0c136b3ff5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 584 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 84 over it, 1.17\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":"codex-rs/apply-patch/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d07abe53b0957caf3955273d8703e8f84b5b33e9d3922f60e222bf766e9b7d7c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ConfigLayerStack: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/state.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2cb439ab63bd2ae82131ac4f102ab638594e8b1cddfdddddf8f7a087b7f295"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CodexAuth: TooManyMethods \u2014 35 methods, declared across 2 files: auth/manager.rs (33), manager/workspace_switching.rs (2). The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/login/src/auth/manager.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a55d58cf410f4a110e652bd07d66155df9eb1623e0309fe955cc621e3e1c10e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ChatComposerHistory: TooManyMethods \u2014 35 methods, declared across 2 files: bottom_pane/chat_composer_history.rs (29), chat_composer_history/search_batch.rs (6). The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/chat_composer_history.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"999f9f3eaa9a0f002b12b0ca11529b84da2a84f528c59ced2729f2ba6e900f9b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ExternalAgentConfigMigrationScreen: TooManyMethods \u2014 35 methods, declared across 2 files: external_agent_config_migration/mod.rs (34), external_agent_config_migration/render.rs (1). The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/external_agent_config_migration/mod.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae29b1d987b0dbac491ce68d867331a907a4966bb383910244c26e7aa59696e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: codex_tui::multi_agents: TooManyFunctions \u2014 35 free functions. The bar is 30 free functions; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/multi_agents.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"19bfed0170c2c15005d7681329eac01e8f4aecf06516d8a7160a60dc1f8c35f0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: CodexResponsesMetadata: TooManyFields \u2014 35 stored fields beside 7 methods. The bar is 30 stored fields; this is 5 over it, 1.17\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/responses_metadata.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d322e2e8596bcc5f868f93a1ebbf8a59b14c3808ce52bab41562b43fe289827"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Tui: TooManyFields \u2014 35 stored fields. The bar is 30 stored fields; this is 5 over it, 1.17\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/types.rs"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfbbe0cbed277759ba4edd824b301f30ae50cc9d1abb6e22a0d20968e2b78d3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ToolOrchestrator: ClassTooLong \u2014 466 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), 3 methods. The bar is 400 significant lines; this is 66 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/orchestrator.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"247ebdb3b2cde7d56873452b45b77655bc045cab32fe6f365be7d449d95564f0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: reducer/conversation.rs: FileTooLong \u2014 582 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), about 75% of them inside a single declaration: TraceReducer (29-609). The bar is 500 significant lines; this is 82 over it, 1.16\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":"codex-rs/rollout-trace/src/reducer/conversation.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbee98ea21753a2280cc15056b92f842a75f07e2baaf33eb0587000c0dae63bf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tool/agents.rs: FileTooLong \u2014 581 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), about 90% of them inside a single declaration: TraceReducer (68-760). The bar is 500 significant lines; this is 81 over it, 1.16\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":"codex-rs/rollout-trace/src/reducer/tool/agents.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78fce4c10f3610903ff645d4926bd1a5a818f7020b2bf803194a02dfba0593d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 580 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 80 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":"codex-rs/code-mode-host/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7c5a2e6bc4cf5bcf816f3636d3410beec75f39baaeeb692edd9707ee8703d9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TurnRequestProcessor.build_thread_settings_overrides: MethodTooLong \u2014 build_thread_settings_overrides runs 116 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 16 over it, 1.16\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":"codex-rs/app-server/src/request_processors/turn_processor.rs"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3bc2dfdf3f6c33028289348d347cdcaa068eb1b9110ff9cd3ef5c6f9f45c28"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ModelClient.build_responses_request: MethodTooLong \u2014 build_responses_request runs 116 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 16 over it, 1.16\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":"codex-rs/core/src/client.rs"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09786f22e1770e1b0324c5dd2ed4f37c0203c82635da6721ab6e397db491d3f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ThreadEnvironments.update_selections_with_bindings: MethodTooLong \u2014 update_selections_with_bindings runs 116 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 16 over it, 1.16\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":"codex-rs/core/src/environment_selection.rs"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"2125c1dff910b82f58a81724716268e36b9aefc19cb966ba54c22ce7b5cb58c1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RealtimeHistoryState.observe: MethodTooLong \u2014 observe runs 116 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 16 over it, 1.16\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":"codex-rs/core/src/realtime_history.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"04521555cc79d1042d6d254e2eee9559929f63d953590f91eb2d573345ee47d1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CodeModeWaitHandler.handle_call: MethodTooLong \u2014 handle_call runs 116 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 16 over it, 1.16\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":"codex-rs/core/src/tools/code_mode/wait_handler.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f96c08a9fdb113f4b0b38644add1604e6097acc0f2b8711e6e6d91f3a393e9b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LocalAgentMessageBoard.post_inner: MethodTooLong \u2014 post_inner runs 116 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 16 over it, 1.16\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":"codex-rs/message-board/src/local.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7580dc9237eb7d9b323e1c9c618e9d5d5e9434d1955bc472d6db2f8fd320103"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConfiguredCredentialProvider.compile: MethodTooLong \u2014 compile runs 116 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 16 over it, 1.16\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":"codex-rs/network-proxy/src/credential_broker/configured.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2ceddfd477aed06e2884f7fc8198fc2a1280cff14071bdc23fc6b1622e01d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_thread_store::local::thread_history::segment_paging::page_item_rows: FunctionTooLong \u2014 codex_thread_store::local::thread_history::segment_paging::page_item_rows runs 116 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 16 over it, 1.16\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":"codex-rs/thread-store/src/local/thread_history/segment_paging.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e97a4a03799dcefaed80ffa55d5b28c9781a0d68a016f863ad7b270d663626"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: App.start_agents_overview_session: MethodTooLong \u2014 start_agents_overview_session runs 116 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 16 over it, 1.16\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":"codex-rs/tui/src/app/agents_overview_new.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf2cb826dc6d2dd669e2131bb740fe539d5cf728c5cea0ca9fbdd0133d6cbe9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: App.select_mode_owns_chord: MethodTooLong \u2014 select_mode_owns_chord runs 116 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 16 over it, 1.16\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":"codex-rs/tui/src/app/input/select_mode.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"15796387ed4570db343d46362328ce37f235e769217efa6fb5ead12441bc64f5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TranscriptView.paint_rows: MethodTooLong \u2014 paint_rows runs 116 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 16 over it, 1.16\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":"codex-rs/tui/src/transcript_view.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc88e5d72bc5b311e163725c35c565db122bcfc92edab11774185d7803156b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_windows_sandbox::bin::command_runner::win::spawn_ipc_process: FunctionTooLong \u2014 codex_windows_sandbox::bin::command_runner::win::spawn_ipc_process runs 116 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 16 over it, 1.16\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":"codex-rs/windows-sandbox-rs/src/bin/command_runner/win.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa7322538b123d291207318e1c607169038fe5226b9a94413c69762af988b11"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_windows_sandbox_service::ipc::authentication::authenticate_impersonated_client: FunctionTooLong \u2014 codex_windows_sandbox_service::ipc::authentication::authenticate_impersonated_client runs 116 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 16 over it, 1.16\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":"codex-rs/windows-sandbox-service/src/ipc/authentication.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44703309b8c7286346d3d6b30784ed18ef95470292f84c49110d2cbf0df51b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_windows_sandbox_service::registered_runtime::provision: FunctionTooLong \u2014 codex_windows_sandbox_service::registered_runtime::provision runs 116 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 16 over it, 1.16\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":"codex-rs/windows-sandbox-service/src/registered_runtime.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"856cfbf421215df3c3e2d38a7bc294185f39e1bfb76fdd183b727324a67e9824"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 578 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 78 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":"codex-rs/utils/path-uri/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39cd8f7346b67c380f44953ad26836c72aefc7a4c31a097d32bb4786f6bbba69"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chatwidget/streaming.rs: FileTooLong \u2014 576 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), about 97% of them inside a single declaration: ChatWidget (33-851). The bar is 500 significant lines; this is 76 over it, 1.15\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":"codex-rs/tui/src/chatwidget/streaming.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7570e58f6a9f2b7bcdffbaa374ae88dea273270399426d94c9a63e855ed81e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GoalRuntimeHandle: ClassTooLong \u2014 460 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), 21 methods, 3 blocks, lines 26-691. The bar is 400 significant lines; this is 60 over it, 1.15\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/goal/src/runtime.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b9fc104a177df6454960e93d6781e4dfe8e9109b4ddd86a0043518058e8fe1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: McpRequestProcessor.read_mcp_resource: MethodTooLong \u2014 read_mcp_resource runs 115 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 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":"codex-rs/app-server/src/request_processors/mcp_processor.rs"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26adebd0ae89918a0d25fa5bd26a0513a9260537fdb88509c7e8ed67cc89841"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CodeModeExecuteHandler.execute: MethodTooLong \u2014 execute runs 115 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 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":"codex-rs/core/src/tools/code_mode/execute_handler.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc119b197b94b373962e8b5d969cd0a132a2df299b095fb8f433bf36fe99652"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EventProcessorWithHumanOutput.process_server_notification: MethodTooLong \u2014 process_server_notification runs 115 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 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":"codex-rs/exec/src/event_processor_with_human_output.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd525d666db1eec3cb0fddc7e255c20309737afe32278a5c0ca4b3dcb728e76"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ReviewRequest.review: MethodTooLong \u2014 review runs 115 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 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":"codex-rs/ext/guardian-reviewer/src/review.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"de94ba673f468842424043dd5c0da7475175f8936362413748913f997712e9a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_thread_store::local::thread_history::apply_projection: FunctionTooLong \u2014 codex_thread_store::local::thread_history::apply_projection runs 115 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 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":"codex-rs/thread-store/src/local/thread_history.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"5463590d2910b3f54b5273e0d9f31746a944abe15c78a825d56d93ab28822a40"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatWidget.on_realtime_transcript_delta: MethodTooLong \u2014 on_realtime_transcript_delta runs 115 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 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":"codex-rs/tui/src/chatwidget/realtime.rs"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db3362afff9fbd0bbca7bd98e1546ff1595fc52e5aff33863483994df0b5b67"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RemoteControlSession: ClassTooLong \u2014 457 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), 23 methods, 2 blocks, lines 110-850. The bar is 400 significant lines; this is 57 over it, 1.14\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-transport/src/transport/remote_control/mod.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d17730ac286750162a345c4e68ff4be5a529486f31024511d5134119936ae8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 571 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 71 over it, 1.14\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":"codex-rs/app-server-client/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d6b0de609b74f0166fa447b5dc285906f441cb17b4f0d4d44359e8440abbac"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PluginRequestProcessor.start_plugin_mcp_oauth_logins: MethodTooLong \u2014 start_plugin_mcp_oauth_logins runs 114 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 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/plugins.rs"},"region":{"startLine":1915}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac82ad40051245838872d21843d6f3210a95b38d75e52ee2400671bbec01aa65"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ThreadRequestProcessor.thread_metadata_update_response_inner: MethodTooLong \u2014 thread_metadata_update_response_inner runs 114 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 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":2053}}}],"partialFingerprints":{"codehealthFindingId/v1":"561c9f86edde1aeda4e0b22d7936289f94d343c2fffa37102ab3f856fdca145f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_cli::doctor::filesystem_paths::check: FunctionTooLong \u2014 codex_cli::doctor::filesystem_paths::check runs 114 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 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/doctor/filesystem_paths.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ee2838973fc98b3554c9e74a77406a0797938ad6d9b01695e61322418e8daf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Session.make_turn_context: MethodTooLong \u2014 make_turn_context runs 114 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 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/turn_context.rs"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc103cc58c82ae027c362e84bdcebd4e686e71bf1a70df1685680408e04c2ad9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CatalogRenderingContext.render_world_state_catalogs: MethodTooLong \u2014 render_world_state_catalogs runs 114 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 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/skills/src/world_state_catalogs.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"120839977e700395b0ddf2d98e8a5f1e94def93c0270e156337880951eb381d2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RmcpClient.call_tool_inner: MethodTooLong \u2014 call_tool_inner runs 114 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 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/rmcp_client.rs"},"region":{"startLine":1053}}}],"partialFingerprints":{"codehealthFindingId/v1":"187511f1ed4e93b778660ac72b8d22ecf931b6942c17f3854c1191daca0d4b2e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Terminal: TooManyMethods \u2014 34 methods, declared across 2 files: src/custom_terminal.rs (32), custom_terminal/cursor.rs (2). The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/custom_terminal.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b81fab9750364a21f8ffa62043085098cd66251e9c8bbdd3b29e3f4a568578"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ConfigRequirements: TooManyFields \u2014 34 stored fields. The bar is 30 stored fields; this is 4 over it, 1.13\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/v2/config.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2fb40288502a422cda69668c94f688aab4418a61f67a8504b1005457881d86"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 566 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 66 over it, 1.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/file-watcher/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"001a23a4d20cafdcc2bacc7f2ba65bb06d1d424ec97f1e6c50d748f4561619f3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_cli::doctor::websocket_reachability_check: FunctionTooLong \u2014 codex_cli::doctor::websocket_reachability_check runs 113 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 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/doctor.rs"},"region":{"startLine":2319}}}],"partialFingerprints":{"codehealthFindingId/v1":"e118392a0ba1ba791325981bee04d91030e6283f133ca1fb51044ac6337a4f91"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_config::loader::local::load_local_config_layers_with_overrides: FunctionTooLong \u2014 codex_config::loader::local::load_local_config_layers_with_overrides runs 113 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 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/loader/local.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab79c88990344be94b4d394a8ca42216e0286313a26bff0c26044312a08c0a7d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RemotePluginMeasurementCache.prepare: MethodTooLong \u2014 prepare runs 113 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 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/plugin_measurement_references.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7bd83ebf606e4a805bfd74a8cd3d5cfa34c67fdcb46bf3426afd3dda39f63d6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Session.update_settings_if: MethodTooLong \u2014 update_settings_if runs 113 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 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":2171}}}],"partialFingerprints":{"codehealthFindingId/v1":"a232436490858ab5174de7e1b8318af27f86d647a5fb25084f5b2804f48f4a5b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_exec::resolve_resume_thread_id: FunctionTooLong \u2014 codex_exec::resolve_resume_thread_id runs 113 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 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec/src/lib.rs"},"region":{"startLine":1993}}}],"partialFingerprints":{"codehealthFindingId/v1":"68fae8f07475cef5aee89577d724bb01a0be9eaf1d12e154d28435751339b564"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_guardian_reviewer::approval_request_json::guardian_approval_request_to_json: FunctionTooLong \u2014 codex_guardian_reviewer::approval_request_json::guardian_approval_request_to_json runs 113 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 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/guardian-reviewer/src/approval_request_json.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5cc697d07708518d598023ba730c1bad7ea51ba63a16abf682a1b01e00dc34"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_git_utils::trust::resolve_root: FunctionTooLong \u2014 codex_git_utils::trust::resolve_root runs 113 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 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/git-utils/src/trust.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"06733bfb48a85eca71625dd7eb3e0b66e6472e41a9ae94eb94f73c72ccee9650"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_rollout_trace::reducer::replay_bundle: FunctionTooLong \u2014 codex_rollout_trace::reducer::replay_bundle runs 113 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 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout-trace/src/reducer/mod.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f11da1c354dfd9af8b292129e596a253d345f9f1259a1d47cdd343caa763c6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_sandboxing::windows::resolve_windows_elevated_filesystem_overrides: FunctionTooLong \u2014 codex_sandboxing::windows::resolve_windows_elevated_filesystem_overrides runs 113 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 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/sandboxing/src/windows.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bae11aef777d97bd248c1be7db33356a7f26ed1cf4ce5d212246dc86a775445"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatWidget.handle_question_key: MethodTooLong \u2014 handle_question_key runs 113 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 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/questions.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a531995bb9e1781455ca7f6ef717ef9b48f89d0dee16b7d7ec07a67e35fc085e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatWidget.finish_thread_usage_refresh: MethodTooLong \u2014 finish_thread_usage_refresh runs 113 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 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/thread_usage.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"823a9e8c7a1f24e365bcb39f38ade11c0178b98246d37b7144a00a9d7d90e616"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_windows_sandbox::unified_exec::backends::elevated::spawn_windows_sandbox_session_elevated_for_permission_profile: FunctionTooLong \u2014 codex_windows_sandbox::unified_exec::backends::elevated::spawn_windows_sandbox_session_elevated_for_permission_profile runs 113 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 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-rs/src/unified_exec/backends/elevated.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"663774b43d282b8cca1cc489aa3f5ec5968a9ecf214d896c18389d3548301517"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bottom_pane/chat_composer_history.rs: FileTooLong \u2014 564 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), about 76% of them inside a single declaration: ChatComposerHistory (2 blocks, 131-914). The bar is 500 significant lines; this is 64 over it, 1.13\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":"codex-rs/tui/src/bottom_pane/chat_composer_history.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab382286b146359db18408ee64c94873db0e22835a9325424bf30ebe4853fe21"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: metrics/client.rs: FileTooLong \u2014 560 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 60 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":"codex-rs/otel/src/metrics/client.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76dbe65999c158e84966afc8626330436840090e3c3eaba00eeda4bba22041f3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EnterpriseLoginState.start: MethodTooLong \u2014 start runs 112 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 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":"codex-rs/app-server/src/request_processors/account_processor/enterprise_login.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e631830f62e80884c111af049603c9322b7a96f35a73b61400724e379c01a0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DirectFileSystem.sync_walk: MethodTooLong \u2014 sync_walk runs 112 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 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":"codex-rs/exec-server/src/local_file_system.rs"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a409786eb30b4851c22d85d1eb07af7f767e615fdc4c44d4f5b2f1893003b2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GoalService.set_thread_goal: MethodTooLong \u2014 set_thread_goal runs 112 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 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":"codex-rs/ext/goal/src/api.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc95a8720bd9ac620cf67ab29826d395677a22f8bab842c5cb85dccb333c4953"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: QueuedItemService.watch_external_messages: MethodTooLong \u2014 watch_external_messages runs 112 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 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":"codex-rs/ext/queue/src/service.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe68f88d99e8367047bda98292632075d7a9db2b2e620b7f188530f9ceda6c3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_guardian_context::preparation::root::prepare_root_context: FunctionTooLong \u2014 codex_guardian_context::preparation::root::prepare_root_context runs 112 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 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":"codex-rs/guardian-context/src/preparation/root.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f6226ea5f2d5ffcf021372cda8a8347e251d9d589fd55e3c040b529901ad4c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_network_proxy::mitm::evaluate_mitm_policy: FunctionTooLong \u2014 codex_network_proxy::mitm::evaluate_mitm_policy runs 112 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 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":"codex-rs/network-proxy/src/mitm.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d8969c83a5abea81d44f3a915178cbd847fe923123f0a011655c7ad47c51cd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NetworkProxy.environment_proxy_addrs: MethodTooLong \u2014 environment_proxy_addrs runs 112 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 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":"codex-rs/network-proxy/src/proxy.rs"},"region":{"startLine":1490}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90d43dfda3e574141137691f9b79784e451be66d89689b6323c5403c9747c4a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_tui::analytics::tasks::read: FunctionTooLong \u2014 codex_tui::analytics::tasks::read runs 112 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 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":"codex-rs/tui/src/analytics/tasks.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"116d98120a000740072af718f85140949e3f1e9904147a925a85c5082955b4af"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatComposer.new_with_config: MethodTooLong \u2014 new_with_config runs 112 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 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":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"b826b1d75980b6f326a9d9032737f6f2f03412e5162485ff6043d1cad9ec4344"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MathParser.command: MethodTooLong \u2014 command runs 112 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 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":"codex-rs/tui/src/markdown_render/math/render.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec557e635818a599c12627120320f2673c561b6655c24b82bfcd3c209a7deea"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MathParser.grid: MethodTooLong \u2014 grid runs 112 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 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":"codex-rs/tui/src/markdown_render/math/render/structured.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"38eb20e1baef4858eba089545c3d0325335410830356bdcc22ed5d47078999bf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/outbound_proxy.rs: FileTooLong \u2014 559 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 59 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":"codex-rs/http-client/src/outbound_proxy.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30cf1800489efb02be0a021fe29c0e63f3eecbf216d80d3f52834016f245bd85"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: v2/permissions.rs: FileTooLong \u2014 558 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 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":"codex-rs/app-server-protocol/src/protocol/v2/permissions.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17ff4c0774c3b81be265220e971a9f6017f437b58fc4c1721c4124a46625005"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ExternalAgentSessionImporter: ClassTooLong \u2014 445 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), 6 methods, 2 blocks, lines 69-614. The bar is 400 significant lines; this is 45 over it, 1.11\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/external_agent_migration/session_importer.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"d184004c78d9488cc4a792c4a4d36d5188d7bbf103afff2e6ab3b0099a447cc5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: models/executed_tool_calls.rs: FileTooLong \u2014 555 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 55 over it, 1.11\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":"codex-rs/protocol/src/models/executed_tool_calls.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7e58699ea4b1533983b826c7226a60a86505eb17de8fa09001bc39ed72ad66"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ClientTracker.handle_message: MethodTooLong \u2014 handle_message runs 111 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 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-transport/src/transport/remote_control/client_tracker.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92b212b9ddcb7ce762e07d8019ee6db380b455c768fba42b9341be4a47177fa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TurnRequestProcessor.turn_steer_inner: MethodTooLong \u2014 turn_steer_inner runs 111 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 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/turn_processor.rs"},"region":{"startLine":1115}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d920b4a409d2e974b9a225fc60228773c675a40ab0a11d2e2f2040834c1a95a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::connectors::list_accessible_connectors_from_mcp_tools_with_mcp_manager: FunctionTooLong \u2014 codex_core::connectors::list_accessible_connectors_from_mcp_tools_with_mcp_manager runs 111 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 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/connectors.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf4b312fd94d2deee8aabd3b17381579ce125babf40ee5f78cb268b7d6c89f9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_guardian_context::preparation::prepare_sections: FunctionTooLong \u2014 codex_guardian_context::preparation::prepare_sections runs 111 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 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/guardian-context/src/preparation/mod.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"01fcd92b04feab3e16074041363ccc17d5c8ea9cdc7cf7cceb7d3ace848909a0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TrustDirectoryWidget.render_ref: MethodTooLong \u2014 render_ref runs 111 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 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/onboarding/trust_directory.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c740f1619c4360f83bc21966c749bf7c9eeed34c243f3f8bc94b208a1c0375"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_tui::task_mentions::spawn_search: FunctionTooLong \u2014 codex_tui::task_mentions::spawn_search runs 111 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 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/task_mentions.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b58a6f360ec611847366bf4a204b087baf9ee5d375abaee9572d54abb1763bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chatwidget/protocol.rs: FileTooLong \u2014 554 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), about 97% of them inside a single declaration: ChatWidget (3-748). The bar is 500 significant lines; this is 54 over it, 1.11\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":"codex-rs/tui/src/chatwidget/protocol.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf8b5946c99882d522e5fb7b3736d19ee3690de4023688065cb5de882d580c9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TurnContext: ClassTooLong \u2014 443 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), 30 methods, 2 blocks, lines 346-964. The bar is 400 significant lines; this is 43 over it, 1.11\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/turn_context.rs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a05add7ff6101bd378db87ef17de1cb1e3fdb85f5633d5cfe5553682f47a7fd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: UnifiedExecProcess: ClassTooLong \u2014 443 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), 26 methods, 4 blocks, lines 100-706. The bar is 400 significant lines; this is 43 over it, 1.11\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/unified_exec/process.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2495539caabee2b3d1b15138bb88214e2515deaf60d72ba1662756d0fdde9c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LocalAgentControl: ClassTooLong \u2014 441 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), 45 methods, 3 blocks, lines 97-694. The bar is 400 significant lines; this is 41 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/agent/control.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"f379329e6f4daa3fd71d2f0ad59bb746ee86fcf240c9533d9b9db07422a036df"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: runtimes/unified_exec.rs: FileTooLong \u2014 551 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), about 76% of them inside a single declaration: UnifiedExecRuntime (5 blocks, 101-666). The bar is 500 significant lines; this is 51 over it, 1.10\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":"codex-rs/core/src/tools/runtimes/unified_exec.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2a380ecb1cef626afea1ab9bc1c8c6897a819311fd01b01440be5417ede75f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bottom_pane/hooks_browser_view.rs: FileTooLong \u2014 551 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), about 75% of them inside a single declaration: HooksBrowserView (3 blocks, 52-635). The bar is 500 significant lines; this is 51 over it, 1.10\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":"codex-rs/tui/src/bottom_pane/hooks_browser_view.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4e6da7f04f56a0caa1ee629eb47bff76db0be237f97bbf9c957a2d3c2eabf8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ResolvedModelMessages: TooManyMethods \u2014 33 methods, declared across 2 files: src/model_messages.rs (29), model_messages/plugins.rs (4). The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/prompts/src/model_messages.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e440f7e348b293b39ce908303393e6a034bb640062d71fd4c2de3e8b9072df"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnalyticsReducer.ingest_server_request: MethodTooLong \u2014 ingest_server_request runs 110 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 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":"codex-rs/analytics/src/reducer.rs"},"region":{"startLine":1768}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1eec987cf55dbda745f5408b3b36fdd8448a425665d1f9f4a50ea2283a04d2e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_mcp::mcp::auth::compute_auth_status: FunctionTooLong \u2014 codex_mcp::mcp::auth::compute_auth_status runs 110 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 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":"codex-rs/codex-mcp/src/mcp/auth.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7bd106d16fac11f16b53b6048c3c97cebbf2e10776fddbbf1a3883c337604e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Session.record_prepared_conversation_items: MethodTooLong \u2014 record_prepared_conversation_items runs 110 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 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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":4069}}}],"partialFingerprints":{"codehealthFindingId/v1":"4213457506fbcce2650428ead8a3b5f02ba2a1c12d7ba5ff1ef7ff21fa7156c4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: JsonRpcConnection.from_stdio_with_max_message_len: MethodTooLong \u2014 from_stdio_with_max_message_len runs 110 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 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":"codex-rs/exec-server/src/connection.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"69237b961ad2b22967ce108c0c0944b750866095272c63909412a1e87739e6c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_http_client::windows_proxy_auth::connect_windows_proxy: FunctionTooLong \u2014 codex_http_client::windows_proxy_auth::connect_windows_proxy runs 110 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 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":"codex-rs/http-client/src/windows_proxy_auth.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"86bb607130538d48d8a07c8f22a748aeafd35b7f13ac677f071dcbe7db01945e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MemoryStore.try_claim_global_phase2_job: MethodTooLong \u2014 try_claim_global_phase2_job runs 110 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 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":"codex-rs/state/src/runtime/memories.rs"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9966c8d1239a3bb63cbba6aecb46588af1ea0e3283cd2656a735ea818fcb459"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_thread_store::local::revert_thread::revert: FunctionTooLong \u2014 codex_thread_store::local::revert_thread::revert runs 110 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 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":"codex-rs/thread-store/src/local/revert_thread.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"833268ef646e4881aecc4ee7b5b7d8878aa53252b3b593d5f3386d38c48482db"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Renderer.frame: MethodTooLong \u2014 frame runs 110 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 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":"codex-rs/tui/src/empty_state_animation/renderer.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc29e7b981d7a8a119475c0c82066a10f9c19ae315ee80c910935d7e44fe526"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_tui::resume_picker::footer_hint_lines: FunctionTooLong \u2014 codex_tui::resume_picker::footer_hint_lines runs 110 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 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":"codex-rs/tui/src/resume_picker.rs"},"region":{"startLine":2955}}}],"partialFingerprints":{"codehealthFindingId/v1":"67487878a13e6c28af81ba2b53cc03a0e8f2ac83e1a1ba5a1cf3466043c6d18d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Thread: TooManyFields \u2014 33 stored fields. The bar is 30 stored fields; this is 3 over it, 1.10\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/v2/thread_data.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87d9bacbcb0371a8b414a63a86bd6ba41455fa2ef38a520f0f843ad8d1c5827"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ThreadCompatibility: TooManyFields \u2014 33 stored fields. The bar is 30 stored fields; this is 3 over it, 1.10\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/v2/thread_data.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5dfcb5e4a45e9b93a817843d2eab97eaed1e9bee2d77b8f0e079a9d75b80c2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: TuiGlobalKeymap: TooManyFields \u2014 33 stored fields. The bar is 30 stored fields; this is 3 over it, 1.10\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/tui_keymap.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"4669a1f6d12083683c877e57681df7dd6df119b70eec3d419188efe20b95bfeb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/config_toml.rs: FileTooLong \u2014 549 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 49 over it, 1.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/config_toml.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf796147910d40b32a733eed0987523823a5133e47294fbf90fe9a224be03307"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: StatusHistoryCell: ClassTooLong \u2014 439 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), 7 methods, 3 blocks, lines 128-971. The bar is 400 significant lines; this is 39 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/status/card.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3422b11826a723bacd290c8ba9c4187236df3c4ac678cdd9639d917c983013"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/mitm.rs: FileTooLong \u2014 548 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 48 over it, 1.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/mitm.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9441968a0a889c77a3d6d23f0f2db7fed05680aa21a8cec00ccc74e773e7b88"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/store.rs: FileTooLong \u2014 545 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 45 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/store.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"651cb8412bbae3808c1049a455f8bc1ed8debfe424ed8ae8969f0e3ff66b7e28"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_app_server_client::remote::initialize_remote_connection: FunctionTooLong \u2014 codex_app_server_client::remote::initialize_remote_connection runs 109 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 9 over it, 1.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":"codex-rs/app-server-client/src/remote.rs"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87205a8f21ce1901959b91f23d73725730e9519a30503c13ef4c45f06ead8ed"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PluginsManager.list_tool_suggest_discoverable_plugins: MethodTooLong \u2014 list_tool_suggest_discoverable_plugins runs 109 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 9 over it, 1.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":"codex-rs/core-plugins/src/discoverable.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"3786569461b98d7f357067b061bee6f4b3d78ed7ddb49660693b22953e85824c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_shell_command::shell_snapshot_literals::decode_ansi_c_bytes: FunctionTooLong \u2014 codex_shell_command::shell_snapshot_literals::decode_ansi_c_bytes runs 109 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 9 over it, 1.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":"codex-rs/shell-command/src/shell_snapshot_literals.rs"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79d93581f43ff43591eae44dec6d4ef31ff9840b3492e0674d7fa98ed3f84b0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BottomPane.renderable_for_views: MethodTooLong \u2014 renderable_for_views runs 109 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 9 over it, 1.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":"codex-rs/tui/src/bottom_pane/mod.rs"},"region":{"startLine":2466}}}],"partialFingerprints":{"codehealthFindingId/v1":"45631c499ea640d35e5cae8697578d6d6a61c5971db3226f5d4881d24cb47986"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_windows_sandbox::setup_provisioning::lock_sandbox_dir: FunctionTooLong \u2014 codex_windows_sandbox::setup_provisioning::lock_sandbox_dir runs 109 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 9 over it, 1.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":"codex-rs/windows-sandbox-rs/src/setup_provisioning.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ed329c2ae9e0cbbd5d95f94a2e162aeb5f35636102b98f860481e81dc2578c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: doctor/thread_inventory.rs: FileTooLong \u2014 541 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 41 over it, 1.08\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":"codex-rs/cli/src/doctor/thread_inventory.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa46bb4fc8e2f5569d94cf4e78f83afa9c6b6f42d15d82661fe1eab36041e922"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: textarea/vim_commands.rs: FileTooLong \u2014 541 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), about 82% of them inside a single declaration: TextArea (114-722). The bar is 500 significant lines; this is 41 over it, 1.08\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/textarea/vim_commands.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb02f729cf0fe4166dfdc58bc7d14ed1e7d904c9fa43cca3325342777932ab5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OpenAiModelsManager: ClassTooLong \u2014 432 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), 17 methods, 4 blocks, lines 411-1059. The bar is 400 significant lines; this is 32 over it, 1.08\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/models-manager/src/manager.rs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f81044d940fd7b00cd4676b72519118738d4133d87df5c3be07ecb2a7a1f04"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/executed_tool_calls.rs: FileTooLong \u2014 540 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), about 62% of them inside a single declaration: ExecutedToolCalls (3 blocks, 60-730). The bar is 500 significant lines; this is 40 over it, 1.08\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/executed_tool_calls.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf21886ed685da88732a4ece334692e1187a2e993efc067bd5a7b0d2d7e3b8d8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/keymap_setup.rs: FileTooLong \u2014 540 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 40 over it, 1.08\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":"codex-rs/tui/src/keymap_setup.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a7fa18479cac7378b68edaba09bb8e4a70c58314f687192a6d3ef40960bb15"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RemoteControlWebsocket.run_websocket_reader_inner: MethodTooLong \u2014 run_websocket_reader_inner runs 108 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 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":"codex-rs/app-server-transport/src/transport/remote_control/websocket.rs"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"8532a3e45e53c477f2df52db718d5b16c6f5fe6f0f6b0287a38b6a90677533b0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: McpServerConnectionIdentity.new: MethodTooLong \u2014 new runs 108 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 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":"codex-rs/codex-mcp/src/server.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"a333539703dbb45bed04a2aadad04f53547ff2a3ef112dab51c2f25201055b47"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConfigRequirementsWithSources.into_toml: MethodTooLong \u2014 into_toml runs 108 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 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":"codex-rs/config/src/config_requirements.rs"},"region":{"startLine":1599}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab433777ac3b3d13f8eb5f10370e14d4831b23003b361a792edbb91282a5d316"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PluginsManager.install_remote_plugin: MethodTooLong \u2014 install_remote_plugin runs 108 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 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":"codex-rs/core-plugins/src/remote_mutations.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eca6ca78eac3254f2009f85570d604f721952fbcd8992b14cf91605d8369e8a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_rollout::list::find_thread_path_by_id_str_in_subdir: FunctionTooLong \u2014 codex_rollout::list::find_thread_path_by_id_str_in_subdir runs 108 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 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":"codex-rs/rollout/src/list.rs"},"region":{"startLine":1273}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c7200d41c5f56c5fd7cd71da8567dfd48012e14e9ed22a6c154c14699da0b2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StateRuntime.insert_thread_if_absent: MethodTooLong \u2014 insert_thread_if_absent runs 108 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 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":"codex-rs/state/src/runtime/threads.rs"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec0d080273207d2fc6f05e110868b9f4924930e3e90a71cfc9549d231d54186"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FeedbackNoteView.render: MethodTooLong \u2014 render runs 108 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 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":"codex-rs/tui/src/bottom_pane/feedback_note_view.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c6f238e2e3124fecd7fed727bd3082fb0e753fc1e3d2e9e940bf519af281f1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_tui::history_cell::spoken_artifacts::annotate_spoken_artifacts: FunctionTooLong \u2014 codex_tui::history_cell::spoken_artifacts::annotate_spoken_artifacts runs 108 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 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":"codex-rs/tui/src/history_cell/spoken_artifacts.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed520d49d27775628fbe4813443759af47e18b560df7a1c2b96494c28914c00"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/connection.rs: FileTooLong \u2014 538 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 38 over it, 1.08\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":"codex-rs/exec-server/src/connection.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59fcf65e7d79b559827a2ec47bc8c15c0275e9ed58b0dadb77f6b41584ad1cae"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChatComposerHistory: ClassTooLong \u2014 430 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), 35 methods, 2 blocks, lines 131-914. The bar is 400 significant lines; this is 30 over it, 1.08\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/chat_composer_history.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"50beb921ce0f53536d6bc5f14980f6f43fc9b9124679d65d5d5a47c2e81f17e5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/debug_sandbox.rs: FileTooLong \u2014 537 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 37 over it, 1.07\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":"codex-rs/cli/src/debug_sandbox.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24ebdc470f6b4b409a5ec0eba4a55ae2cec0896ca0fafb9d1a807d910c39145"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/mitm_hook.rs: FileTooLong \u2014 537 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 37 over it, 1.07\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":"codex-rs/network-proxy/src/mitm_hook.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8105e4ef15f254dfd0eec47a25c19bd05ed72fede799138698e6231b9acfa424"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/legacy_events.rs: FileTooLong \u2014 537 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 37 over it, 1.07\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":"codex-rs/protocol/src/legacy_events.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"495603ec06a9755be8e4dc85cd3ae1e475a946e09cf65e3a9e0efb8a422b8177"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/state.rs: FileTooLong \u2014 536 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), about 61% of them inside a single declaration: ConfigLayerStack (3 blocks, 251-774). The bar is 500 significant lines; this is 36 over it, 1.07\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":"codex-rs/config/src/state.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ecfbee01a680f9cae0a98efa4fedf719d0c857c05870882485fcab4221457f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/responses_metadata.rs: FileTooLong \u2014 536 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 36 over it, 1.07\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":"codex-rs/core/src/responses_metadata.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fabd59c79b149ebedc7166ffdc785852898f8e92bc5b7e5fa3225fa62735c4a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RemoteControlSession.start_pairing: MethodTooLong \u2014 start_pairing runs 107 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 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-transport/src/transport/remote_control/mod.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"72223ebd29c6edcf2d74260299cf758becd81be88b0f9ef9fabf6aabcac20c4e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RequestDispatcher.dispatch_request: MethodTooLong \u2014 dispatch_request runs 107 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 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/server/request_dispatcher.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"92fa4f4714a66417647c869c315a6b49813c2972f06ef43b4fe21e1729af05c2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: App.agents_overview_view: MethodTooLong \u2014 agents_overview_view runs 107 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 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/agents_overview.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aad13138a7c93e2ef84609b54acd638d5e79d74070fd8af0674da619ca6d061"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: App.select_session_model: MethodTooLong \u2014 select_session_model runs 107 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 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/model_defaults.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84dd34551870ef37ebfe82a7974630e6ef8b3fc5dea61854ac3ece3ca40c7c9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatWidget.replay_thread_turns: MethodTooLong \u2014 replay_thread_turns runs 107 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 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/replay.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e81d95bf9146796341fc4631ce0097a71994aa1ffbed42f0179605d2b354fb0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExternalAgentConfigMigrationScreen.render_ref: MethodTooLong \u2014 render_ref runs 107 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 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/external_agent_config_migration/render.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"319e234a976dbddb1e6c32405b36387f653c1a3e32061fafc2df8dd6ec660baf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_websocket_client::dialer::connect: FunctionTooLong \u2014 codex_websocket_client::dialer::connect runs 107 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 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/websocket-client/src/dialer.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"868472945a3a8a03b9394eae9207439eb832fe133331e57fb54e787a45739903"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: AnalyticsView: TooManyFields \u2014 32 stored fields beside 52 methods. The bar is 30 stored fields; this is 2 over it, 1.07\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/analytics.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"da08ad3a12b98e1fe0f8abdb7be734b16dd3876d7cd2ddebacf0a96e08bb5890"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ConnectionDriver: TooManyMethods \u2014 32 methods, declared across 4 files: driver/responses.rs (13), driver/commands.rs (8), driver/delegate_runtime.rs (6), connection/driver.rs (5). The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/code-mode/src/remote_session/connection/driver.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f636b3be46a9bf1acf6dfcad6f47cd8f51611b296cf37c3fd3e8d33e9ef90f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ExternalAgentConfigService: TooManyMethods \u2014 32 methods, declared across 3 files: src/service.rs (27), src/plugins.rs (3), detect/mod.rs (2). The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/external-agent-migration/src/service.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb48877c000ebbbe61eec810de498544756a4801c149c47cf7e2a29ab0e7732"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SqliteConfig: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/state/src/sqlite.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd75b4a389ea35e295d0358924424c976ee30d4934936bb606b277b062287d0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: codex_tui::style: TooManyFunctions \u2014 32 free functions. The bar is 30 free functions; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/style.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde771e47f3935c573e2da458d5428181288b97099bd55b75d32b411408e78f6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: SessionConfiguration: TooManyFields \u2014 32 stored fields beside 15 methods. The bar is 30 stored fields; this is 2 over it, 1.07\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/session.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"93244a8fd22f98f3ae01f2b095abf14743cabab3a5ebef71de838a361e8aa95d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: FooterState: TooManyFields \u2014 32 stored fields beside 2 methods. The bar is 30 stored fields; this is 2 over it, 1.07\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/chat_composer/footer_state.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea7da91c858313a683d45cbcdb9d5d7fe2e5d7dcdbdf8b630c47a5a5c3e987e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Classification: TooManyFields \u2014 32 stored fields beside 1 method. The bar is 30 stored fields; this is 2 over it, 1.07\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/guardian-v2/src/async_scorer/classification.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db35115867c1f68a670f12bdcb5385bd9b8a6099ea0a202d8037913dcf59f5c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: runtime/goals.rs: FileTooLong \u2014 533 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), about 94% of them inside a single declaration: GoalStore (3 blocks, 8-617). The bar is 500 significant lines; this is 33 over it, 1.07\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":"codex-rs/state/src/runtime/goals.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8dd94e00cf296a6ecf66abe1de111a0a5dd19272100a282f3f2b22317bbd417"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: auth/storage.rs: FileTooLong \u2014 531 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 31 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":"codex-rs/login/src/auth/storage.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"364bce40008ef74987008f4f67019e4ed837f72ae59df46e36e2eb81caedba57"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CodexAuth: ClassTooLong \u2014 424 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), 35 methods, 3 blocks, lines 112-953. The bar is 400 significant lines; this is 24 over it, 1.06\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/login/src/auth/manager.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ceabf5fc4b6b1ba268e2c7b197ca97bda60aabfad0ae2aeba9ac2bc984c6bf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::config::edit::document_helpers::serialize_mcp_server_table: FunctionTooLong \u2014 codex_core::config::edit::document_helpers::serialize_mcp_server_table runs 106 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 6 over it, 1.06\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":"codex-rs/core/src/config/edit/document_helpers.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"293af0903666386a93f09d9dd9ba95ef9793c8f268a1f83785fdb126f577264e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ToolEmitter.emit: MethodTooLong \u2014 emit runs 106 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 6 over it, 1.06\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":"codex-rs/core/src/tools/events.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b776159e30a285248f04785c901fb4a9dc392ad2af00cf10aa75f8bdfd3d95"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_exec_server::server::processor::run_connection: FunctionTooLong \u2014 codex_exec_server::server::processor::run_connection runs 106 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 6 over it, 1.06\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":"codex-rs/exec-server/src/server/processor.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e79e729ead1982f1a2612c99ae405a29c1ec96718905570c5c8d0b69d0167c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_skills_extension::host_roots::repo_agents_skill_roots: FunctionTooLong \u2014 codex_skills_extension::host_roots::repo_agents_skill_roots runs 106 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 6 over it, 1.06\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":"codex-rs/ext/skills/src/host_roots.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"257aeaefb64036a27dcde1f696f823a2df8458f050a02569e047e9104a873ff8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_memories_write::phase2::run: FunctionTooLong \u2014 codex_memories_write::phase2::run runs 106 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 6 over it, 1.06\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":"codex-rs/memories/write/src/phase2.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2286a88dcb873cf606846a125d80fe0601b5fac967bee02a099a046ff47b67bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_state::runtime::threads::push_thread_filters_with_preview: FunctionTooLong \u2014 codex_state::runtime::threads::push_thread_filters_with_preview runs 106 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 6 over it, 1.06\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":"codex-rs/state/src/runtime/threads.rs"},"region":{"startLine":1563}}}],"partialFingerprints":{"codehealthFindingId/v1":"98df572fc2eb526d7b667f0c9440fc306070cc685d4d503aff8e79a5e4486748"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: App.apply_side_creation: MethodTooLong \u2014 apply_side_creation runs 106 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 6 over it, 1.06\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":"codex-rs/tui/src/app/side.rs"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9599312f5b0f6b014ae2ec86b6cfdee428a21093663ccf346c393185465d57"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatWidget.handle_permission_shortcut: MethodTooLong \u2014 handle_permission_shortcut runs 106 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 6 over it, 1.06\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":"codex-rs/tui/src/chatwidget/permission_shortcuts.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"3490ade1666da037dbb957210acbae4a9ef7a20e5e7fd039d3b5fae9bec08a4c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatWidget.plugin_selection_items: MethodTooLong \u2014 plugin_selection_items runs 106 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 6 over it, 1.06\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":"codex-rs/tui/src/chatwidget/plugin_catalog.rs"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca738fce14b437a42faade5ca4298cb5e26b6a24932c4c411f9b0196a535253"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TranscriptView.handle_mouse_with_mode: MethodTooLong \u2014 handle_mouse_with_mode runs 106 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 6 over it, 1.06\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":"codex-rs/tui/src/transcript_view/input.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bce76e483cad4095667ca986dbbb74738e0959a9ec10787c375e1fc9a4dc53b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_windows_sandbox::acl::ensure_allow_mask_aces_with_inheritance_impl: FunctionTooLong \u2014 codex_windows_sandbox::acl::ensure_allow_mask_aces_with_inheritance_impl runs 106 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 6 over it, 1.06\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":"codex-rs/windows-sandbox-rs/src/acl.rs"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eec1b1dedb7f16aa193aeb5e230402e6dabc9b6873dd88fb898ac923cfe4c8f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/elicitation.rs: FileTooLong \u2014 529 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 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":"codex-rs/codex-mcp/src/elicitation.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7cea980ca2f92f2ffbe14d75a50969f00bc3984e3f2681c57a41fe2856e4a1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: UnifiedExecRuntime: ClassTooLong \u2014 420 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), 1 methods, 5 blocks, lines 101-666. The bar is 400 significant lines; this is 20 over it, 1.05\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/runtimes/unified_exec.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db22e1acdd1c5a5fda22018bc1518416e90396bf58ceb284220428b74124392"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ThreadRequestProcessor.list_threads_common: MethodTooLong \u2014 list_threads_common runs 105 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 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":6054}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44183c184b7e137a23550d571abd73f6da3054618b8c4e61e5dda4462c77c75"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SessionState.recover_events: MethodTooLong \u2014 recover_events runs 105 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 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/client_recovery.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"370dd7f4347290538299bf50d48cddd54a8c0879e3b08c58166706360e3116c1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GuardianV2Config.from_overrides: MethodTooLong \u2014 from_overrides runs 105 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 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/guardian-v2/src/async_scorer/config.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0b3a5fca5884a697dff41ef2a9abf9cb05964cd95e3172cece5269cc50ae09"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FeedbackSnapshot.upload_feedback_with_dsn: MethodTooLong \u2014 upload_feedback_with_dsn runs 105 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 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/feedback/src/lib.rs"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04e6e13bf04618327781e9814950951ce514271b07ac175fc0f82f689178c8e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OpenAiModelsEndpoint.fetch_models: MethodTooLong \u2014 fetch_models runs 105 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 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/model-provider/src/models_endpoint.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"37babc855337c05e8a31dc2cbacf0503d57bbb7f5ab3aa6ab7df2569605f96d1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_thread_store::local::thread_history::segment_paging::page_turn_rows: FunctionTooLong \u2014 codex_thread_store::local::thread_history::segment_paging::page_turn_rows runs 105 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 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/thread_history/segment_paging.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6870389a93bf5a15c8438fadd453fa12cfd73d177b46a93630e1096a351b8cc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppServerSession.resume_thread_with_permission_overrides: MethodTooLong \u2014 resume_thread_with_permission_overrides runs 105 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 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app_server_session/rollout_history.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"da8da728d471a834be9e87c8168cc9e5be9daaeec120029b64ae1988de1d37fc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: McpServerElicitationFormRequest.from_app_server_request: MethodTooLong \u2014 from_app_server_request runs 105 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 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74c705c383b43da9cf811c205a7e1c604eb25c3093708e5fe56871023e7e4fc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChatWidget.on_model_safety_buffering_updated: MethodTooLong \u2014 on_model_safety_buffering_updated runs 105 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 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/safety_buffering.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4fa6dfe8c679631b8f1a758cf74a1c948044df8670978570e5e8c16a94e7970"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_windows_sandbox::elevated::runner_client::spawn_runner_transport: FunctionTooLong \u2014 codex_windows_sandbox::elevated::runner_client::spawn_runner_transport runs 105 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 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-rs/src/elevated/runner_client.rs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"172407a25750765ec834c16244a2879e1ad3946668afe8a8a1d170b944604463"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_windows_sandbox_service::provisioning::registered::run: FunctionTooLong \u2014 codex_windows_sandbox_service::provisioning::registered::run runs 105 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 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-service/src/provisioning/registered.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e2ea4fc3a0560abad3ecb38c134e68307708bbefd0edf97059f7aed7b950eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sampler/connection_pool.rs: FileTooLong \u2014 521 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), about 76% of them inside a single declaration: ConnectionPool (2 blocks, 68-624). The bar is 500 significant lines; this is 21 over it, 1.04\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":"codex-rs/ext/guardian-v2/src/async_scorer/sampler/connection_pool.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"889160824ce2002562a38009b4db939e5805a32f7211e52a898cdd7336c6aa8e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/shell_snapshot_literals.rs: FileTooLong \u2014 521 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 21 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":"codex-rs/shell-command/src/shell_snapshot_literals.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89651b1a8ebc5284fc389033af42b99d7d47e8b3196108a6a8a8c79dd1f76c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: world_state/mod.rs: FileTooLong \u2014 520 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 20 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":"codex-rs/core/src/context/world_state/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7022d759fe128c086a6128a2b81795cc457e757fb2f8fbfa0e01fe52565cf1c6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/runtime.rs: FileTooLong \u2014 520 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), about 88% of them inside a single declaration: GoalRuntimeHandle (3 blocks, 26-691). The bar is 500 significant lines; this is 20 over it, 1.04\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":"codex-rs/ext/goal/src/runtime.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b452d6349d78c6d0562bfdec8329533e33528f59d2abdd1a0b6111e28347073"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: reducer/mod.rs: FileTooLong \u2014 520 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), about 72% of them inside a single declaration: TraceReducer (2 blocks, 204-670). The bar is 500 significant lines; this is 20 over it, 1.04\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":"codex-rs/rollout-trace/src/reducer/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2e04c857a186870bb9371015af69b7520f0d1cd2bb915fa3d175015140f39a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_app_server_transport::transport::remote_control::websocket::prepare_remote_control_enrollment: FunctionTooLong \u2014 codex_app_server_transport::transport::remote_control::websocket::prepare_remote_control_enrollment runs 104 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 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-transport/src/transport/remote_control/websocket.rs"},"region":{"startLine":1575}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd210edd20a34cdb797b659924a920fc54d705407d837aa848fbb32cbb35b8c6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OutgoingMessageSender.send_request_to_connections: MethodTooLong \u2014 send_request_to_connections runs 104 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 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/outgoing_message.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"630a1921cecdf5ed84bda159e30e4373cd40091ed94e30f0108e1813db7e74a2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_connectors::merge_directory_app: FunctionTooLong \u2014 codex_connectors::merge_directory_app runs 104 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 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/connectors/src/lib.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ecf9ad518172f2fbfa84bfe2d1c813bf364d49fd45a929dca2a7978ece4c88"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core_plugins::manifest::resolve_raw_plugin_manifest: FunctionTooLong \u2014 codex_core_plugins::manifest::resolve_raw_plugin_manifest runs 104 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 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/manifest.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc34a0f948dae28f6d992d582bd0d9fd832e72ef73e07e72eeca99a2a31c7c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core_plugins::store::replace_plugin_root_atomically: FunctionTooLong \u2014 codex_core_plugins::store::replace_plugin_root_atomically runs 104 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 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/store.rs"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b13c4bef277b10d8d1e50efc7d9096c091ae1c7e916d942ee68e2145adb73f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::compact_remote_v2::select_retained_items: FunctionTooLong \u2014 codex_core::compact_remote_v2::select_retained_items runs 104 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 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/compact_remote_v2.rs"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef01acf0deeb3f611a4e9ffcdc34b7fff959675066417f8c47d2a41e5ef57945"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GuardianApprovalReviewer.decide_request: MethodTooLong \u2014 decide_request runs 104 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 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/guardian-v2/src/async_scorer/approval.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca4200bf9f15a89a7ba8c94c9da7e98caca108f941a3a280df2c6ec6e000900"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_hooks::events::post_tool_use::parse_completed: FunctionTooLong \u2014 codex_hooks::events::post_tool_use::parse_completed runs 104 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 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/hooks/src/events/post_tool_use.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad8516d04acc72dac6038a796ef04c575d66328622867d9314300c4bca80d91"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_hooks::events::user_prompt_submit::parse_completed: FunctionTooLong \u2014 codex_hooks::events::user_prompt_submit::parse_completed runs 104 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 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/hooks/src/events/user_prompt_submit.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27cc34add703bc633e16982c0ded548f2eb40b2817371a5d35baba63e4e46d2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InMemoryAgentMessageBoard.post_inner: MethodTooLong \u2014 post_inner runs 104 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 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/message-board/src/in_memory.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"796059f54989aafed8a901565f76043b3664464ad2b45bd416f4af20595f2c9e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TranscriptOverlay: ClassTooLong \u2014 415 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), 39 methods, 2 blocks, lines 17-602. The bar is 400 significant lines; this is 15 over it, 1.04\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/pager_overlay/transcript.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9073e13c78d03e1c571571beade5e9fdd1c542893afcccf6eb355345cd8cef66"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/state_db.rs: FileTooLong \u2014 518 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 18 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":"codex-rs/rollout/src/state_db.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"365f41089de545bf431fdacbfe8c3f4aca0684a9db19f02322fb2c5cc75ea108"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chatwidget/settings.rs: FileTooLong \u2014 518 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), about 99% of them inside a single declaration: ChatWidget (7-817). The bar is 500 significant lines; this is 18 over it, 1.04\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":"codex-rs/tui/src/chatwidget/settings.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a6de2d74ff80d36f89f20f2c6b315038e3811f326a36256764243fa1de278b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/command_exec.rs: FileTooLong \u2014 517 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 17 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/command_exec.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe553b84b8e170f291dfc2b543e38c0f39c496da0d8943945586c684e33940b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: external_agent_migration/session_importer.rs: FileTooLong \u2014 517 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), about 86% of them inside a single declaration: ExternalAgentSessionImporter (2 blocks, 69-614). The bar is 500 significant lines; this is 17 over it, 1.03\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/external_agent_migration/session_importer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e5c940eeafb40b1cd008247b3309bc375f049fb5c77745b702a87efeb12946"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tools/orchestrator.rs: FileTooLong \u2014 517 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), about 90% of them inside a single declaration: ToolOrchestrator (49-647). The bar is 500 significant lines; this is 17 over it, 1.03\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/orchestrator.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b376e53c6823cfd688806793c4f22f24ae51da2be35fac294565fe2f69e260b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: AppServerSession: TooManyFields \u2014 31 stored fields beside 127 methods. The bar is 30 stored fields; this is 1 over it, 1.03\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app_server_session.rs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad031cbd9182fd2069ccbd74eda5f93f591cd76522ba0710f428f96a95bd2d0f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PathUri: TooManyMethods \u2014 31 methods, declared across 3 files: src/lib.rs (24), src/config_path.rs (6), src/native_path_bytes.rs (1). The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/utils/path-uri/src/lib.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"6304c2f812d8b5f4ddf869298167b0c23192773bedfb391b8a3c378be531515d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: MessageProcessor: TooManyFields \u2014 31 stored fields beside 25 methods. The bar is 30 stored fields; this is 1 over it, 1.03\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/message_processor.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb45a703c41816459fad212504bbd7c247152b5735a536b95627c26819076e28"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: CodexTurnMetadataPayload: TooManyFields \u2014 31 stored fields. The bar is 30 stored fields; this is 1 over it, 1.03\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/responses_metadata.rs"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d993bae142f473ca433e8c85aa2fa98af3270bd1144dd63662bfa943845b79"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ExternalAgentConfigMigrationScreen: ClassTooLong \u2014 413 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), 35 methods, 2 blocks, lines 127-705. The bar is 400 significant lines; this is 13 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/external_agent_config_migration/mod.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2dd6ef53ad72e1c540bc997bc260e0e9f71fc132d2f188ae4a5bb758c306e90"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: InMemoryThreadStore: ClassTooLong \u2014 413 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), 17 methods, 3 blocks, lines 529-1115. The bar is 400 significant lines; this is 13 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/in_memory.rs"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97921f7acdebad7dab291e9444f440252a4894cf5da5f1287be9caf216a1f02"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/markdown_copy.rs: FileTooLong \u2014 516 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 16 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/markdown_copy.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df52bd4015fd689c5f4bac525c2e5067e5b336473a9ec85ff7afaef98e9b32e2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HooksBrowserView: ClassTooLong \u2014 412 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), 24 methods, 3 blocks, lines 52-635. The bar is 400 significant lines; this is 12 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/hooks_browser_view.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"115688d9d0ecd43b302c6608e682d038145671c47f7d57dc356b506330624cfb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: StreamableHttpClientAdapter: ClassTooLong \u2014 412 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), 3 methods, 4 blocks, lines 80-641. The bar is 400 significant lines; this is 12 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/http_client_adapter.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc92638acf610bf9199af9c1229464c0320c99f5fdd7df48b8c15b61e908476"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sse/responses.rs: FileTooLong \u2014 515 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 15 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-api/src/sse/responses.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda14397f347728ca92cf6380b89f7e3a0dfd2a43d53341261d99e368f6a0b29"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chatwidget/interaction.rs: FileTooLong \u2014 515 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), about 97% of them inside a single declaration: ChatWidget (21-811). The bar is 500 significant lines; this is 15 over it, 1.03\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/interaction.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe43754137005baf6e21a2e52c5d62978f96d8e0325cb9639420d29dd736869b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_app_server::request_processors::thread_processor::validate_dynamic_tools: FunctionTooLong \u2014 codex_app_server::request_processors::thread_processor::validate_dynamic_tools runs 103 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 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"75919670e69247ed7a045ea8ad6af9e6dc9153eea52c0779758880565d5c22b2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_cli::doctor::updates::append_desktop_update: FunctionTooLong \u2014 codex_cli::doctor::updates::append_desktop_update runs 103 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 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/doctor/updates.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c01fc98436423a20cd169f39f244eb249f1affc936cdb54806169d351ec1b0e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Apply.run: MethodTooLong \u2014 run runs 103 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 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cloud-tasks-client/src/http.rs"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c18f270e1b1c8917bbf9e26de918a8a5ee4b7b61b9e11e22c9d18e9ae8a2e1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CodeModeDispatchBroker.start_turn_worker: MethodTooLong \u2014 start_turn_worker runs 103 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 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/code_mode/delegate.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbbee19296fc0dba2b24571594121dabc307bf86349b5f2f5a929eb7dbcba04c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_login::server::run_login_server: FunctionTooLong \u2014 codex_login::server::run_login_server runs 103 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 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/login/src/server.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"27900e166966d5b82cd75dc075be3a7ffcdc10bfc9958233c3b4a1993ed2705f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: App.route_key_chord_event: MethodTooLong \u2014 route_key_chord_event runs 103 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 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/input.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd76ce5b95904d6f3d7d795f7841ca1cee51c6806ca6540222d2e1345325f8c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_tui::temporary_structured_request::start_temporary_thread: FunctionTooLong \u2014 codex_tui::temporary_structured_request::start_temporary_thread runs 103 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 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/temporary_structured_request.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81fb911d2d91966371f2d337fae0f59a3c139d8587b028c0615ffe4785ec278"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_windows_sandbox_service::package_lifecycle::cleanup::clean_up: FunctionTooLong \u2014 codex_windows_sandbox_service::package_lifecycle::cleanup::clean_up runs 103 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 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-service/src/package_lifecycle/cleanup.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"401c1de52e9e84a285b7931ef646f86c6d0d9e31a1aef2e11ad2353c899010ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: streaming/controller.rs: FileTooLong \u2014 513 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 13 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/streaming/controller.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"460c7b7cfb866f6fa1eda9650efbde40b26bd3fe3a7251d8821f341e1c14dbe7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: world_state/environment.rs: FileTooLong \u2014 511 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 11 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/context/world_state/environment.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce0c9367e2835b767777ce4cc50d91e7d03c5d07b9c97b24c1a96d88b228925"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: unified_exec/process.rs: FileTooLong \u2014 511 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), about 87% of them inside a single declaration: UnifiedExecProcess (4 blocks, 100-706). The bar is 500 significant lines; this is 11 over it, 1.02\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":"codex-rs/core/src/unified_exec/process.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff6672b8996049db815775b97ed166801b7eb93942e49b8905a0f6ca2248178"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: command_runner/win.rs: FileTooLong \u2014 511 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 11 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-rs/src/bin/command_runner/win.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d63e7e10edf3fa5224d0621a2f8a84ed6d11a2d125b61439482096d5f11422d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AccountRequestProcessor.gateway_oauth_login: MethodTooLong \u2014 gateway_oauth_login runs 102 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 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/account_processor/gateway_oauth.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87b8c903dcf25bcf068c8674a6b77928c823cf6fa3734af3f7e078dfc51e67f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Client.add_user_message: MethodTooLong \u2014 add_user_message runs 102 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 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cloud-client/src/turns.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f49a3a4f9c6c6da03f5ac287aacc3a510257b65276c98f829a4623de87c438"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TrustedAccessContext.fetch_status: MethodTooLong \u2014 fetch_status runs 102 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 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-mcp/src/trusted_access.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"04df9e2cc808cbb594df21848ea3aaa42aea5aa19f04113d239b3fc085344b5c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core_plugins::agent_plugin_manifest::parse_agent_plugin_manifest_uri: FunctionTooLong \u2014 codex_core_plugins::agent_plugin_manifest::parse_agent_plugin_manifest_uri runs 102 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 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/agent_plugin_manifest.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f9e39f994fdfa3e9bdc3f4b3f55513eeb74c05ad5d2409e4ed4bff1383efda"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::model_search::resolve: FunctionTooLong \u2014 codex_core::model_search::resolve runs 102 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 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/model_search.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e44626173c3b431ab9087f1b5fe5e72909328b6cfcccfdf5b629d89c616e208"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: McpHandler.on_tool_result_accepted: MethodTooLong \u2014 on_tool_result_accepted runs 102 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 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/handlers/mcp.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a6c0ac15eabe9c1782051fe0697c63b2946c168de946622c14a30926ab0654"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GoalRuntimeHandle.stop_active_goal_for_turn: MethodTooLong \u2014 stop_active_goal_for_turn runs 102 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 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/goal/src/runtime.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"7660a727e1cbc24aeebe1207716871d792184de946df81381728206a7166f7a8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InstallationsTool.handle: MethodTooLong \u2014 handle runs 102 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 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/skills/src/tools/installations.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b8ec2983a5411cfe99fe29de8601ea74f14d9f1779716f02a560e98a50ad32d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_tui::bottom_pane::textarea::wrapping::wrapped_lines: FunctionTooLong \u2014 codex_tui::bottom_pane::textarea::wrapping::wrapped_lines runs 102 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 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/textarea/wrapping.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"203f8a450173a5e35439cadecfc13733a0f7e9bccc933719b19c18c69606e4c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_tui::chatwidget::safety_recourse::metadata::parse: FunctionTooLong \u2014 codex_tui::chatwidget::safety_recourse::metadata::parse runs 102 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 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/safety_recourse/metadata.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"1afbf1448b3bf05144d646d4a410b2024e6ba9fe1639e755b424d18d74e14db0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_utils_pty::pty::spawn_process_portable: FunctionTooLong \u2014 codex_utils_pty::pty::spawn_process_portable runs 102 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 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/utils/pty/src/pty.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"899bb5692b653dda64372dbd6e0ee17449f2a543f0c0b6bae339e2e20741beeb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AnalyticsEventsClient: ClassTooLong \u2014 407 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), 52 methods, 2 blocks, lines 118-984. The bar is 400 significant lines; this is 7 over it, 1.02\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/analytics/src/client.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6f343120a4674212c6d2c7f6cc570a706297760873cf9cba854d18b218ad82"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: external_agent_config_migration/mod.rs: FileTooLong \u2014 507 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), about 81% of them inside a single declaration: ExternalAgentConfigMigrationScreen (2 blocks, 127-705). The bar is 500 significant lines; this is 7 over it, 1.01\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/external_agent_config_migration/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"794c2f65037b45a25bce72d4061b7768d0b9aeb040d9468d845b4151fde52d45"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ToolRegistry: ClassTooLong \u2014 405 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), 24 methods, 2 blocks, lines 464-1073. The bar is 400 significant lines; this is 5 over it, 1.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/registry.rs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"760b91bb463848a43e71f858539e1b013c0a872d5c0210a06c78a37a7deb08b8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: EventProcessorWithJsonOutput: ClassTooLong \u2014 404 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), 16 methods, 3 blocks, lines 60-642. The bar is 400 significant lines; this is 4 over it, 1.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec/src/event_processor_with_jsonl_output.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"2daca16fdad4909e817689d146c4a1844af8383849b7bf67512b849a0423007b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_core::context_manager::history::estimate_response_item_model_visible_bytes: FunctionTooLong \u2014 codex_core::context_manager::history::estimate_response_item_model_visible_bytes runs 101 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 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/context_manager/history.rs"},"region":{"startLine":1350}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8e1fc70aec3f83964e80be6f7621f68244926d500bce2969d1c1fdc1477bb9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Session.apply_rollout_reconstruction: MethodTooLong \u2014 apply_rollout_reconstruction runs 101 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 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":1969}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2851b6fb2b24a890242b43a1ab017b33c5b97ee3fb51ef47b89207aeded3de7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_external_agent_migration::sessions::append::append_existing_session: FunctionTooLong \u2014 codex_external_agent_migration::sessions::append::append_existing_session runs 101 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 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/external-agent-migration/src/sessions/append.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"222d95351d7a22299dfff2fb7b9650917979634223ba16b0b0cf5af2fc0c7f14"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_thread_store::in_memory::stored_thread_from_state: FunctionTooLong \u2014 codex_thread_store::in_memory::stored_thread_from_state runs 101 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 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/in_memory.rs"},"region":{"startLine":1117}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46024d219746fdfe67880abeaf45575c4f131124c050debd2a21cc1cb8147c8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ThreadEventStore.snapshot: MethodTooLong \u2014 snapshot runs 101 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 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/thread_events.rs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e799697b2bb8a619f0857b990e14e2c17fef16e8f3852e67c3bd97e5e8c5be"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TextArea.apply_vim_editor_action: MethodTooLong \u2014 apply_vim_editor_action runs 101 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 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/textarea/vim_commands.rs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"293f061926e2e2dcc20b30646d4025458d659e5eb1eebdfdd23eaf4a7d2b1228"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExecCell.exploring_display_lines: MethodTooLong \u2014 exploring_display_lines runs 101 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 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/exec_cell/render.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"056c2cadfb042d145e10faec4a53e6130baa7ae98bc8841cd7fd04cae9789659"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codex_tui::keymap_setup::picker::build_keymap_picker_params_for_action: FunctionTooLong \u2014 codex_tui::keymap_setup::picker::build_keymap_picker_params_for_action runs 101 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 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/keymap_setup/picker.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"622a92c19708e724cbdfe2da479f78713b94b74c56f381be7acaadc54f6a3631"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/manifest.rs: FileTooLong \u2014 504 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 4 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/manifest.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e8a802766a1687f61fbbbc7eef989ed012f0cc22e9943d93d2d202b55a0e739"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 503 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 3 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/file-system/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f33c0ab04b322520494460bf0b7c420523060afddffaf3726a0daba71a6f413"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/composition.rs: FileTooLong \u2014 503 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 3 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/guardian-context/src/composition.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a3d1df522668ad4b7ce2ee6b4d2bbf9ea41da86c4a7005f60b681749470edf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/reconnect.rs: FileTooLong \u2014 503 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), about 77% of them inside a single declaration: App (156-683). The bar is 500 significant lines; this is 3 over it, 1.01\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/reconnect.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf004f803ced2520b932c1a8bb051287cc31f400f388e01901b5af646c48c88"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chatwidget/rate_limits.rs: FileTooLong \u2014 503 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), about 73% of them inside a single declaration: ChatWidget (197-710). The bar is 500 significant lines; this is 3 over it, 1.01\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/rate_limits.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0cd6e8d6c7124edb42e244e78aa4eaebb75f646352d00b5a5d4e5c5155406a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/thread_events.rs: FileTooLong \u2014 502 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), about 72% of them inside a single declaration: ThreadEventStore (2 blocks, 98-601). The bar is 500 significant lines; this is 2 over it, 1.00\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/thread_events.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8998b8423d2e52f8c9c5adbba662a8db05b1847de4f0fb3bfe4733178b72c489"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BedrockState: ClassTooLong \u2014 401 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), 14 methods, 2 blocks, lines 44-643. The bar is 400 significant lines; this is 1 over it, 1.00\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/onboarding/bedrock.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3cfab62fe203f8df750115eaee588552db5f55e4e693de978246b53c5133cf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: account_processor/workspace_routing.rs: FileTooLong \u2014 501 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), about 63% of them inside a single declaration: AccountRequestProcessor (2 blocks, 190-593). The bar is 500 significant lines; this is 1 over it, 1.00\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/account_processor/workspace_routing.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc640f6adc53718736a4cdaba3cfcec7c16901f818e8d042f037299955d38d26"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (62 shared lines): codex-rs/app-server-transport/src/transport/remote_control/mod.rs:440-565 | codex-rs/app-server-transport/src/transport/remote_control/mod.rs:688-794 \u2014 These two members are variants of one another: 62 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-transport/src/transport/remote_control/mod.rs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03de46be0f4e388e3dee6019b9d8f4d513cfa4d9f1f33e6eb2d7e7d994a6769"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (45 shared lines): codex-rs/rollout-trace/src/protocol_event.rs:270-439 | codex-rs/rollout-trace/src/protocol_event.rs:441-530 \u2014 These two members are variants of one another: 45 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout-trace/src/protocol_event.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9f7904772991d28d483dab87c3d7f210cf4117f7a5145d1b58e3569684135b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (42 shared lines): codex-rs/external-agent-migration/src/sessions/records_cla.rs:23-104 | codex-rs/external-agent-migration/src/sessions/records_cur.rs:26-92 \u2014 These two members are variants of one another: 42 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/external-agent-migration/src/sessions/records_cla.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"49dc8655583a0d12e42d1a0dbd7d98998a567d15218a8919d16ac86471362a29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): codex-rs/tui/src/cwd_prompt.rs:121-166 | codex-rs/tui/src/update_prompt.rs:54-102 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/cwd_prompt.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"5052e7213a04c825fe645a7cb80d0c6a08e165ff4d326edab24da9af26f76e92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): scripts/mcp_conformance/server.py:800-894 | scripts/mcp_conformance/server.py:949-1038 \u2014 These two members are one piece of code written twice and then edited apart: 66 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mcp_conformance/server.py"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd6710c30d9a2ce58837e4a246b843c2c83134cf941c6483bdc0396af4b8d81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): codex-rs/tui/src/history_cell/approvals.rs:282-302 | codex-rs/tui/src/history_cell/approvals.rs:314-334 \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":"codex-rs/tui/src/history_cell/approvals.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"40876c937b365ae510f22cee26517bac7fdfb91b2251ad461a0cdfafd8dfb80e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): codex-rs/hooks/src/events/compact.rs:261-343 | codex-rs/hooks/src/events/permission_request.rs:196-302 | codex-rs/hooks/src/events/post_tool_use.rs:177-312 | codex-rs/hooks/src/events/pre_tool_use.rs:203-317 | codex-rs/hooks/src/events/session_start.rs:228-347 | codex-rs/hooks/src/events/stop.rs:241-399 | codex-rs/hooks/src/events/user_prompt_submit.rs:142-277 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/hooks/src/events/compact.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"1288d2b120d78e9bc2ed55e1455f1236e6f3c3a2673f60ac0e2cf97764e542ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): codex-rs/tui/src/config_panel/render.rs:124-158 | codex-rs/tui/src/config_panel/render.rs:163-197 | codex-rs/tui/src/config_panel/render.rs:202-233 | codex-rs/tui/src/config_panel/render.rs:238-271 | codex-rs/tui/src/config_panel/render.rs:277-321 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/config_panel/render.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"683a0af5956216efff4d5bd1e99ad6b0fcf90ee03e670c311a44a8e91a5b51c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): codex-rs/analytics/src/events.rs:1545-1562 | codex-rs/core/src/hook_runtime.rs:1027-1074 | codex-rs/hooks/src/engine/dispatcher.rs:296-313 | codex-rs/tui/src/bottom_pane/hooks_browser_view.rs:672-689 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/analytics/src/events.rs"},"region":{"startLine":1545}}}],"partialFingerprints":{"codehealthFindingId/v1":"949aff9b7967000c457f516526d1954ef493f305392944d36c2672d7c8281283"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): codex-rs/app-server-daemon/src/backend/pid.rs:538-550 | codex-rs/app-server-daemon/src/backend/pid.rs:553-565 | codex-rs/app-server-daemon/src/backend/pid.rs:568-580 | codex-rs/app-server-daemon/src/backend/pid.rs:583-595 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-daemon/src/backend/pid.rs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e07da547624995ef3e0064f475eb25446d5860f2989a70fcac8c633a2c8e21"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): codex-rs/app-server/src/request_processors/apps_processor.rs:369-380 | codex-rs/app-server/src/request_processors/mcp_processor.rs:123-134 | codex-rs/app-server/src/request_processors/thread_processor.rs:1103-1115 | codex-rs/app-server/src/request_processors/turn_processor.rs:457-469 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/apps_processor.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30e7214bd216c24916851481a01047766fd5760c929b4cefbbae23824cffb02"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): codex-rs/core-plugins/src/remote.rs:2357-2373 | codex-rs/core-plugins/src/remote.rs:2379-2391 | codex-rs/core-plugins/src/remote.rs:2400-2424 | codex-rs/core-plugins/src/remote/share.rs:384-396 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/remote.rs"},"region":{"startLine":2357}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd92e5557a4683c8cb26bcbb25e17861a77afd6e743af729dab4425d3cc32dd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): codex-rs/ext/skills/src/dynamic_skill_selector/character_ngram.rs:39-93 | codex-rs/ext/skills/src/dynamic_skill_selector/fielded_bm25.rs:37-90 | codex-rs/ext/skills/src/dynamic_skill_selector/routing_card_lexical.rs:34-76 | codex-rs/ext/skills/src/dynamic_skill_selector/weighted_lexical.rs:33-74 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/skills/src/dynamic_skill_selector/character_ngram.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27d697c54a649cc098b964da3c3103a5da59fe4b07d0ca63420ce50ef3ad32a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): codex-rs/otel/src/events/session_telemetry.rs:735-767 | codex-rs/otel/src/events/session_telemetry.rs:821-867 | codex-rs/otel/src/events/session_telemetry.rs:887-934 | codex-rs/otel/src/events/session_telemetry.rs:942-974 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/otel/src/events/session_telemetry.rs"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa4d899f3c22a501660f54002c1c126831a111b97a707e7d8fad41a6c40bd9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): codex-rs/tui/src/bottom_pane/chat_composer.rs:2211-2294 | codex-rs/tui/src/bottom_pane/chat_composer.rs:2297-2377 | codex-rs/tui/src/bottom_pane/chat_composer.rs:2382-2499 | codex-rs/tui/src/bottom_pane/chat_composer/slash_input.rs:241-424 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":2211}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8c00e3d41355d8f0b23dcc2c308f09ef4df632dcf7d98ee242b25c0e5e22d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): codex-rs/tui/src/bottom_pane/experimental_features_view.rs:382-430 | codex-rs/tui/src/bottom_pane/memories_settings_view.rs:356-427 | codex-rs/tui/src/bottom_pane/multi_select_picker.rs:571-637 | codex-rs/tui/src/bottom_pane/skills_toggle_view.rs:283-339 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/experimental_features_view.rs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d36e89a15d5fe30cd5597a5cffe6e4dc033460513acd857af76633cd50b762d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): codex-rs/windows-sandbox-rs/src/acl.rs:172-235 | codex-rs/windows-sandbox-rs/src/acl.rs:369-408 | codex-rs/windows-sandbox-rs/src/acl.rs:410-453 | codex-rs/windows-sandbox-rs/src/acl.rs:468-511 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-rs/src/acl.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46c4f48da7e792a98e2f297068a85ee96a7960032ae548a0710c86e68e19f63"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (107 corresponding lines): codex-rs/app-server-protocol/src/protocol/thread_history.rs:1730-1856 | codex-rs/thread-store/src/local/rollout_migration/legacy_event.rs:42-148 \u2014 These two members are one piece of code written twice and then edited apart: 107 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/thread_history.rs"},"region":{"startLine":1730}}}],"partialFingerprints":{"codehealthFindingId/v1":"7278dfa2d9a75d703568536cef7bdbf1cfc37ce8dd833f12edcc53855e291d14"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (109 corresponding lines): codex-rs/state/src/runtime/threads.rs:643-751 | codex-rs/state/src/runtime/threads.rs:993-1154 \u2014 These two members are one piece of code written twice and then edited apart: 109 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/state/src/runtime/threads.rs"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd1508837a7a3d018f3b81557db44323b91eee841fce73740ef46b09b519244"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (113 corresponding lines): codex-rs/app-server/src/command_exec.rs:455-567 | codex-rs/app-server/src/request_processors/process_exec_processor.rs:489-611 \u2014 These two members are one piece of code written twice and then edited apart: 113 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/command_exec.rs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a59edec9611b4f07066df09563b90fac164b013ad6d42a14641bff1b6bdd46"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (70 corresponding lines): codex-rs/tui/src/bottom_pane/textarea.rs:1497-1566 | codex-rs/tui/src/bottom_pane/textarea.rs:1568-1642 \u2014 These two members are one piece of code written twice and then edited apart: 70 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/textarea.rs"},"region":{"startLine":1497}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cbe969315ba619913aecf864c317f6ff01bbc43ec4c806edd93a88266df5b50"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (73 corresponding lines): codex-rs/app-server-transport/src/transport/remote_control/enroll.rs:56-155 | codex-rs/app-server-transport/src/transport/remote_control/enroll.rs:161-233 \u2014 These two members are one piece of code written twice and then edited apart: 73 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-transport/src/transport/remote_control/enroll.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1821e74cd195ac5a0dab1e17bfb9f94cb3e28dfc5c56f38f022325b7f38f9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): codex-rs/tui/src/bottom_pane/multi_select_picker.rs:238-280 | codex-rs/tui/src/bottom_pane/skills_toggle_view.rs:99-142 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/multi_select_picker.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"50695a63e60d4ef471bd1c0d5847b4d14eee4ed5a2a9a6b08195de838048045d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (73 corresponding lines): codex-rs/tui/src/tui.rs:1428-1518 | codex-rs/tui/src/tui.rs:1589-1661 \u2014 These two members are one piece of code written twice and then edited apart: 73 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/tui.rs"},"region":{"startLine":1428}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19f6ccc5db2460581783d16e01c18137eb153081669d7780f16b3b497a3456e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): codex-rs/windows-sandbox-rs/src/acl.rs:776-836 | codex-rs/windows-sandbox-rs/src/acl.rs:1034-1101 \u2014 These two members are one piece of code written twice and then edited apart: 61 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-rs/src/acl.rs"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2772c18b2afccf2b31d81cf5ef7cda61970b138a076b6ffb2adcfb51c212dbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): codex-rs/core/src/tools/handlers/mcp_resource/list_mcp_resource_templates.rs:55-108 | codex-rs/core/src/tools/handlers/mcp_resource/list_mcp_resources.rs:55-104 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/handlers/mcp_resource/list_mcp_resource_templates.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c18a965f91dd93e67619d30c622f808d0da06e6879be07ee46b29ec4c9749b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (69 corresponding lines): codex-rs/hooks/src/events/post_tool_use.rs:78-146 | codex-rs/hooks/src/events/pre_tool_use.rs:79-151 \u2014 These two members are one piece of code written twice and then edited apart: 69 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/hooks/src/events/post_tool_use.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae5ddf3e84a1e34d21d9aede5dd9f2428beba3934ee42ccabb7aa737c8a2849"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): codex-rs/rollout/src/search.rs:124-176 | codex-rs/rollout/src/search.rs:225-286 \u2014 These two members are one piece of code written twice and then edited apart: 53 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout/src/search.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32fb569e9fa809c2af23bd9271345c60c77d5e9b410a7f7f634c55c07e4d93e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): codex-rs/external-agent-migration/src/service.rs:573-620 | codex-rs/external-agent-migration/src/service.rs:622-658 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/external-agent-migration/src/service.rs"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62365b6b4d6fc4834bfc013df52342d9b3df12646e31fc220ec22860099a918"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): codex-rs/external-agent-migration/src/sessions/records_cla.rs:179-229 | codex-rs/external-agent-migration/src/sessions/records_cur.rs:143-194 \u2014 These two members are one piece of code written twice and then edited apart: 51 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/external-agent-migration/src/sessions/records_cla.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a20d132df044c36c65c42ed7b2dbb80d1b6aeedace8a5fbdd47d421c6426d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): codex-rs/skills/src/mentions.rs:88-149 | codex-rs/tui/src/chatwidget/skills.rs:326-382 \u2014 These two members are one piece of code written twice and then edited apart: 57 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/skills/src/mentions.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a964238b9155c53716e35c49064268dab247ef4b59ab27962d25c6e4bedec2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): codex-rs/core-plugins/src/marketplace_upgrade/git.rs:277-314 | codex-rs/core-plugins/src/startup_sync.rs:687-735 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/marketplace_upgrade/git.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dbf5d4f6842ecb72ebb9fa9668cef2fe323874971b957b3a891cc735327adae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 56\u002B corresponding lines): codex-rs/ext/goal/src/runtime.rs:553-608 | codex-rs/ext/goal/src/runtime.rs:615-672 | codex-rs/ext/goal/src/tool.rs:353-413 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 56 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":"codex-rs/ext/goal/src/runtime.rs"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"4357a1e9db30586395129129ea0d0907356a632d5904826268b364047c33410f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): codex-rs/tui/src/resume_picker.rs:607-664 | codex-rs/tui/src/resume_picker.rs:673-726 \u2014 These two members are one piece of code written twice and then edited apart: 54 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/resume_picker.rs"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d828618a2e3b4f8b1dfde74b634e5236858cf96bcc680403c1efc2aaaa7d2cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): codex-rs/app-server/src/external_agent_migration/protocol.rs:67-115 | codex-rs/app-server/src/external_agent_migration/protocol.rs:131-179 \u2014 These two members are one piece of code written twice and then edited apart: 49 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/external_agent_migration/protocol.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"87251ed7101ada3e2f19b5971b7fcc82914ba9d6cebf61df4553a3437165369d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): codex-rs/hooks/src/events/compact.rs:76-123 | codex-rs/hooks/src/events/compact.rs:157-204 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/hooks/src/events/compact.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe12778cf296016764a525a3a418fdfc709d035918816476d90ca7820974ea7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): codex-rs/tui/src/wrapping.rs:242-280 | codex-rs/tui/src/wrapping.rs:288-322 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/wrapping.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b72af1c04c129fd8b476786d57f55548580d4e171926b4d7f171b3183e45bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 53\u002B corresponding lines): codex-rs/rollout/src/list.rs:540-596 | codex-rs/rollout/src/list.rs:604-656 | codex-rs/rollout/src/list.rs:664-720 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 53 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":"codex-rs/rollout/src/list.rs"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"49febb1fe97606445534477cfb033bdf5ad9f9024ea3cd26c8df4ea61d879bc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): codex-rs/codex-mcp/src/mcp/mod.rs:762-797 | codex-rs/codex-mcp/src/mcp/mod.rs:801-837 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-mcp/src/mcp/mod.rs"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f72f39e5a4e21d87cd6ee69f41c9c1431928bf0b7ff21437c9c7c2fbfb24c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 32\u002B corresponding lines): codex-rs/tui/src/external_agent_config_migration/mod.rs:87-125 | codex-rs/tui/src/external_agent_config_migration/source.rs:52-83 | codex-rs/tui/src/model_migration.rs:145-176 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 32 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":"codex-rs/tui/src/external_agent_config_migration/mod.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d43dab00d10501458cb8b6258be013545f13e226b71a11d2d2e029a0d926834"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): codex-rs/tui/src/bottom_pane/multi_select_picker.rs:502-557 | codex-rs/tui/src/bottom_pane/skills_toggle_view.rs:202-245 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/multi_select_picker.rs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"0177245b334f18c55358c1c805ec1a1d43521f15aaeef5377dc13f8c4502a4cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): codex-rs/core/src/client.rs:3287-3336 | codex-rs/core/src/client.rs:3353-3391 \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":"codex-rs/core/src/client.rs"},"region":{"startLine":3287}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a277c9b2a0a3ec47d3dc571e3a4b6130c4de4a645ded133539b397f5b753154"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): codex-rs/chatgpt/src/chatgpt_client.rs:113-157 | codex-rs/chatgpt/src/chatgpt_client.rs:174-217 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/chatgpt/src/chatgpt_client.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f081f898e386bd193eda2f6fb6edbdf3d4588d230e77e7ee3de452a3fa7c720"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): codex-rs/config/src/state.rs:524-564 | codex-rs/config/src/state.rs:626-662 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/state.rs"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f877f69158d81a2120e90e30e1c8c01aaa45393bbd9e54895954604b7a8048d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): codex-rs/network-proxy/src/windows_tcp_attribution.rs:98-133 | codex-rs/network-proxy/src/windows_tcp_attribution.rs:224-259 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/windows_tcp_attribution.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9a9d07d87e1fd4cf960b55419db364c5ed1340ba7a1c872bf0fa5da50b8bf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): codex-rs/tui/src/bottom_pane/chat_composer/sparkle.rs:188-232 | codex-rs/tui/src/bottom_pane/chat_composer/sparkle.rs:263-297 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/chat_composer/sparkle.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"749c7ef78340322faeba4f00a71cb6835d88a0fc6afe5511c98fbf41713aaf96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): codex-rs/app-server-protocol/src/protocol/thread_history.rs:652-690 | codex-rs/app-server-protocol/src/protocol/thread_history.rs:692-730 \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":"codex-rs/app-server-protocol/src/protocol/thread_history.rs"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a8d01518d45e5f795c74bd24ec7949d9dcd16014b5c8c45c828a2dceb7cb71"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): codex-rs/codex-mcp/src/mcp/mod.rs:487-528 | codex-rs/codex-mcp/src/mcp/mod.rs:557-618 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-mcp/src/mcp/mod.rs"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bdb522d7919cc62c37912ff5067876c67e5ac7432e20d37af0064926f700d53"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): codex-rs/core/src/hook_runtime.rs:280-312 | codex-rs/core/src/hook_runtime.rs:324-353 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/hook_runtime.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5f38748e0ce9ff012128a8e4900b824afb3ea29f04331b6113627901d9d236"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): codex-rs/rmcp-client/src/ema_http_client.rs:299-323 | codex-rs/rmcp-client/src/ema_http_client.rs:328-355 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/ema_http_client.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b39a574c4d7d2e93ef7533b348585e5ee5d8fdbe4d2e68d5c97eb63d7ca64a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): codex-rs/cloud-tasks/src/lib.rs:712-765 | codex-rs/cloud-tasks/src/lib.rs:773-815 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cloud-tasks/src/lib.rs"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe1737893866d4e4730c98d15ae83e0b17a423356f4fdb2b4e6ee49d59c5d11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): codex-rs/core-plugins/src/marketplace_add/metadata.rs:55-92 | codex-rs/core-plugins/src/marketplace_add/metadata.rs:98-134 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/marketplace_add/metadata.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e267f10fd67323b8b5502646e17baf4851a699664c52989ef010dd200e2e337f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (64 corresponding lines): codex-rs/protocol/src/models.rs:1672-1735 | codex-rs/protocol/src/models.rs:1739-1802 \u2014 These two members are one piece of code written twice and then edited apart: 64 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/models.rs"},"region":{"startLine":1672}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1097c8cd4b7333a9a777e6bd49595eb23f48e762a5da5ea18464d22df046e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): codex-rs/tui/src/diff_render.rs:1321-1335 | codex-rs/tui/src/diff_render.rs:1345-1359 \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":"codex-rs/tui/src/diff_render.rs"},"region":{"startLine":1321}}}],"partialFingerprints":{"codehealthFindingId/v1":"166a93bf2540b0a620b9589f32f5f5d9525fa042d9a96b0c9a5a32f7d0d8f5f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): codex-rs/app-server-protocol/src/protocol/v2/turn.rs:519-546 | codex-rs/app-server-protocol/src/protocol/v2/turn.rs:550-582 \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":"codex-rs/app-server-protocol/src/protocol/v2/turn.rs"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b7883a77f591353134e974b4d86cdba496916651744b57b8a757053b26686f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): codex-rs/core/src/session/mod.rs:3467-3503 | codex-rs/core/src/session/mod.rs:3685-3718 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":3467}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa44e44380186538532386c99f14d747e7dbea8f06b8f539de17b73f561c11f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): codex-rs/rmcp-client/src/oauth/ema_identity.rs:85-125 | codex-rs/rmcp-client/src/oauth/ema_identity.rs:130-167 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/oauth/ema_identity.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c31de2e101b05f606e5d4c4fc5ec3a0ddf7a6d021aaf6da83d99900ba7ffdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): codex-rs/core/src/context_manager/normalize.rs:349-390 | codex-rs/core/src/context_manager/normalize.rs:397-431 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/context_manager/normalize.rs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c36d05df7880455594a07e2999da087c45c910ba42e2636d1530a941a43bcbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): codex-rs/protocol/src/permissions.rs:841-883 | codex-rs/protocol/src/permissions.rs:2437-2503 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/permissions.rs"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dbb5cb463a7b018c50c2dbf0ba1254a029922b3dcbb948386f0b5a63f9749b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): codex-rs/core/src/mcp_tool_call.rs:1177-1215 | codex-rs/core/src/tools/handlers/mcp_resource.rs:446-484 \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":"codex-rs/core/src/mcp_tool_call.rs"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"a75c8e3f238b0c491f83e539b392ffa5c19dcad8849d4d6cd232777eef2fd913"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): codex-rs/state/src/runtime/memories.rs:882-945 | codex-rs/state/src/runtime/memories.rs:959-1021 \u2014 These two members are one piece of code written twice and then edited apart: 63 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/state/src/runtime/memories.rs"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ad760954c18b3f4adfcc4cba265c9dcba21b58c6209a4bd7c1eff2df954873"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 30\u002B corresponding lines): codex-rs/tui/src/app_server_session.rs:2967-2999 | codex-rs/tui/src/app_server_session.rs:3005-3035 | codex-rs/tui/src/app_server_session.rs:3042-3071 \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":"codex-rs/tui/src/app_server_session.rs"},"region":{"startLine":2967}}}],"partialFingerprints":{"codehealthFindingId/v1":"b872cadccc93ad24d20b45f0a19e344a3aaf8c54dfc1a2a53d704d79365e9044"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): codex-rs/tui/src/external_agent_config_migration/mod.rs:433-469 | codex-rs/tui/src/external_agent_config_migration/mod.rs:471-503 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/external_agent_config_migration/mod.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"de05d94069f7ac4cbf2ed68b55b4b6069e5cf598bfa6872b87c98e367d2f9655"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): codex-rs/windows-sandbox-rs/src/setup.rs:859-893 | codex-rs/windows-sandbox-rs/src/winutil.rs:76-112 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-rs/src/setup.rs"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"53531ac52ae886bc1e84f9c52f3684adf2c8aea3ef9777eceffc44fc425b02af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): codex-rs/core-plugins/src/remote.rs:1941-1973 | codex-rs/core-plugins/src/remote.rs:2036-2068 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/remote.rs"},"region":{"startLine":1941}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a03dc6fa3096ee92d7c6b792fba927591141adc9189e4f7cafce13a972b02ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 33\u002B corresponding lines): codex-rs/rmcp-client/src/rmcp_client.rs:741-776 | codex-rs/rmcp-client/src/rmcp_client.rs:848-880 | codex-rs/rmcp-client/src/rmcp_client.rs:886-920 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 33 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":"codex-rs/rmcp-client/src/rmcp_client.rs"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ccb750550933843ca1139a37d7265e6a91889390fce882739acd916db8a21f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): codex-rs/core/src/image_preparation.rs:336-372 | codex-rs/core/src/image_preparation.rs:379-411 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/image_preparation.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a900e14b336162fa07f6b8432d0437000f05703a45611fe5ce5784c842b32da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): codex-rs/hooks/src/events/interrupt.rs:61-115 | codex-rs/hooks/src/events/session_end.rs:53-94 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/hooks/src/events/interrupt.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"929a8c1365b074b82d48506a8609168976bc0950dc95e7c3673538625fb968a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): codex-rs/tui/src/streaming/controller.rs:294-330 | codex-rs/tui/src/streaming/controller.rs:343-373 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/streaming/controller.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"801be3b2db3b258de20ee78ff15de3e308dc93f0be75276a176d2ed5b3f3cf88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 31\u002B corresponding lines): codex-rs/login/src/auth/manager.rs:2476-2511 | codex-rs/login/src/auth/manager.rs:2514-2544 | codex-rs/login/src/auth/manager.rs:2551-2585 | codex-rs/login/src/auth/manager.rs:2596-2629 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 31 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/login/src/auth/manager.rs"},"region":{"startLine":2476}}}],"partialFingerprints":{"codehealthFindingId/v1":"5132c234d1fb0260b518b715c2338cc6c51a3373c03db844835b48861b45c47c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): codex-rs/core-plugins/src/command_migration/render.rs:41-66 | codex-rs/external-agent-migration/src/rewrite.rs:81-112 | codex-rs/external-agent-migration/src/rewrite.rs:118-151 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 26 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":"codex-rs/core-plugins/src/command_migration/render.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"869c743311d41181a688b93f728c5517f3780ddf05dc88809c297dd8b1b946ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 32\u002B corresponding lines): codex-rs/tui/src/chatwidget/plugin_catalog.rs:571-614 | codex-rs/tui/src/chatwidget/plugin_catalog.rs:620-668 | codex-rs/tui/src/chatwidget/plugin_catalog.rs:674-705 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 32 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":"codex-rs/tui/src/chatwidget/plugin_catalog.rs"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b836bec6163bd268463ab7534dc84384b3d8154a3fd679dce457db83631cce4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): codex-rs/external-agent-migration/src/mcp.rs:266-303 | codex-rs/external-agent-migration/src/mcp.rs:308-330 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/external-agent-migration/src/mcp.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc87328dfe5d574ff6ba243641f4f669ddd387e18bc540cc329417975139e772"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): sdk/python/src/openai_codex/_run.py:69-99 | sdk/python/src/openai_codex/_run.py:105-135 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdk/python/src/openai_codex/_run.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"858cd3e272d9ef41d7b7d7717501189a02271358b45bb2a6c89f04d01ae77baa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): codex-rs/app-server/src/lib.rs:399-436 | codex-rs/tui/src/app/startup_prompts.rs:69-101 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/lib.rs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"550d6df9e4dd57ff5ba4e98ee31a7a2cc65ce55a09ee88d66ea27922d0c288a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): codex-rs/core/src/hook_runtime.rs:551-577 | codex-rs/core/src/hook_runtime.rs:593-619 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/hook_runtime.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"a729b67bcba6c060333123ff56d9c30b9c5b9a32137e4972b91bb47eb17491e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): codex-rs/thread-store/src/local/update_thread_metadata.rs:776-798 | codex-rs/thread-store/src/thread_metadata_sync.rs:421-446 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/update_thread_metadata.rs"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8203095791122a3f2ff986c8727c84345957b0eb8650a1a39232f95462f266"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): codex-rs/codex-mcp/src/binding_clients.rs:107-133 | codex-rs/codex-mcp/src/binding_clients.rs:138-164 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-mcp/src/binding_clients.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"456dcf440ca7c9a5f4d58c4061dc3a7154d741fbf45fae118462a2a34830c462"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): codex-rs/app-server-protocol/src/protocol/thread_history.rs:1291-1316 | codex-rs/app-server-protocol/src/protocol/thread_history.rs:1340-1365 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/thread_history.rs"},"region":{"startLine":1291}}}],"partialFingerprints":{"codehealthFindingId/v1":"72163525389883e6c64629ef30f1e4dab9d32c4010f26113c0681092058c68db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): codex-rs/exec/src/lib.rs:1964-1987 | codex-rs/tui/src/worktree_startup.rs:96-120 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec/src/lib.rs"},"region":{"startLine":1964}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2366d4869967fba663aaa782b215c74a5ac5fdc3f5c4aebd4ed2683943acc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): codex-rs/protocol/src/models.rs:1522-1541 | codex-rs/protocol/src/models.rs:1544-1563 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/models.rs"},"region":{"startLine":1522}}}],"partialFingerprints":{"codehealthFindingId/v1":"004d31ccdc0180a4a5e4cc7d81c1ef150fbb475b899eb8c62fd67b4780779820"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): codex-rs/windows-sandbox-rs/src/dpapi.rs:20-51 | codex-rs/windows-sandbox-rs/src/dpapi.rs:54-85 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-rs/src/dpapi.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d0b81c5a0101fbdb9a00eb58a0ba9a9197c48b4bc7b91cb80c214e380b228b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): codex-rs/tui/src/chatwidget/streaming.rs:310-349 | codex-rs/tui/src/chatwidget/streaming.rs:728-767 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/streaming.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1d05ac37ecf7eab69632258871cf0e1ebedfef71ea5feee81a882a5e02ed7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): codex-rs/core/src/context/world_state/managed_developer_instructions.rs:129-158 | codex-rs/core/src/context/world_state/persistent_mode.rs:94-117 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/context/world_state/managed_developer_instructions.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e674020d92d54865a76929d0db5f75beb9f7978370b0562ce44168b6280b3e1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): codex-rs/tui/src/markdown_render.rs:2098-2119 | codex-rs/tui/src/markdown_render/table_key_value.rs:283-304 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/markdown_render.rs"},"region":{"startLine":2098}}}],"partialFingerprints":{"codehealthFindingId/v1":"554ceb65af30994d931961495c7e06403d4e0e9d4b31b46fdfda00a86b468cb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): codex-rs/tools/src/json_schema/traversal.rs:17-49 | codex-rs/tools/src/json_schema/traversal.rs:55-87 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tools/src/json_schema/traversal.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af7b977b8f8a70b85239f0245263cae1cc1b3440332632be14bdbada5468149"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): codex-rs/hooks/src/engine/dispatcher.rs:80-107 | codex-rs/hooks/src/engine/dispatcher.rs:248-275 \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":"codex-rs/hooks/src/engine/dispatcher.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bcab25be2794b9533ddd71533379b6e8bb418e4a70e916f51fbe2c3d3694ee3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): codex-rs/tui/src/chatwidget/realtime_settings.rs:60-83 | codex-rs/tui/src/chatwidget/realtime_settings.rs:85-113 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/realtime_settings.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d41286f0ccd14352dd0b3f3546028539d66a20d01ce41e7c4b643484615bfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): codex-rs/ext/memories/src/schema.rs:14-42 | codex-rs/ext/skills/src/tools/schema.rs:14-42 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/memories/src/schema.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"882b944ef410fd8f2674001646d9be301752e4aff58ec5f657a959476d625dc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 29\u002B corresponding lines): codex-rs/protocol/src/approvals.rs:384-412 | codex-rs/tui/src/app.rs:406-447 | codex-rs/tui/src/approval_events.rs:73-111 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 29 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":"codex-rs/protocol/src/approvals.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aefd02c604b1601f23fc9f8f0c9ce8e6e1c181c07fc911af6761954766f102c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): codex-rs/tui/src/tui.rs:1523-1538 | codex-rs/tui/src/tui.rs:1543-1562 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/tui.rs"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"87139d81ecfd5a6a74a16399c7e19d7ac3300d36296b2b8fc06ea9865c22fe7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): codex-rs/core/src/plugins/mentions.rs:41-60 | codex-rs/core/src/plugins/mentions.rs:83-106 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/plugins/mentions.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"4268e0df6aec6410c379e2aacf8ab1c49d5329a1f86506b8f9a7d6cb675597e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): codex-rs/linux-sandbox/src/bwrap.rs:1024-1058 | codex-rs/linux-sandbox/src/bwrap.rs:1323-1361 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/linux-sandbox/src/bwrap.rs"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a36e817e2de6c0ce14b5dc83d53b4b2ae78048af6de2e19e8d9d34b16a69b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): codex-rs/tui/src/bottom_pane/textarea.rs:1974-1998 | codex-rs/tui/src/bottom_pane/textarea.rs:2000-2024 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/textarea.rs"},"region":{"startLine":1974}}}],"partialFingerprints":{"codehealthFindingId/v1":"b919a6ab65b5f00ac21868ddb78c0261754c7dc79abee722966805027f64e366"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): codex-rs/tui/src/bottom_pane/experimental_features_view.rs:332-362 | codex-rs/tui/src/bottom_pane/memories_settings_view.rs:279-305 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/experimental_features_view.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42cc9e3afd075c09b3d11737ae676dc381b02399a6f0a884f41fca9fdf9c579"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): codex-rs/app-server-daemon/src/backend/pid.rs:308-327 | codex-rs/app-server-daemon/src/backend/pid.rs:777-802 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-daemon/src/backend/pid.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0eef1c45ad525b5a29c87b4d230ea32b548117c1da86f561ec97921ce65a01"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): codex-rs/code-mode-runtime/src/runtime/callbacks.rs:163-193 | codex-rs/code-mode-runtime/src/runtime/callbacks.rs:284-310 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/code-mode-runtime/src/runtime/callbacks.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b01e45499de231cc1f6063d10295e5dafe3bba86b373d1a87b5d2705c8ec56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): codex-rs/external-agent-migration/src/detect/sessions/connectors_cla.rs:209-230 | codex-rs/external-agent-migration/src/detect/sessions/cur.rs:59-84 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/external-agent-migration/src/detect/sessions/connectors_cla.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83bc7d3ab270600efd1249ed4f47ac45d06f3ac8ccfd5003fc0e544154d8cbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): codex-rs/sandboxing/src/landlock.rs:33-67 | codex-rs/sandboxing/src/landlock.rs:78-111 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/sandboxing/src/landlock.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3022d09a176a1e187181670b9eda0319b3ea76eeb737b85b17534e1f11ea9b90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): codex-rs/http-client/src/custom_ca.rs:692-716 | codex-rs/network-proxy/src/certs.rs:522-543 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/http-client/src/custom_ca.rs"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e205264c98c1052f18d9e9c6d6f330d18284974d66e8182b0d1a2af37484874"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): codex-rs/protocol/src/models/executed_tool_calls.rs:197-232 | codex-rs/protocol/src/models/executed_tool_calls.rs:238-272 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/models/executed_tool_calls.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"884e71b7d38afd18509dbdb5e7ba17074318a1efecadcd38888f96787900bcc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): codex-rs/tui/src/markdown_render.rs:1436-1456 | codex-rs/tui/src/markdown_render.rs:2586-2602 \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":"codex-rs/tui/src/markdown_render.rs"},"region":{"startLine":1436}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f71add9831f61be70ed2910c64cbd3a9b8fb89f74c9c5142aab3f4a2b05649"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): codex-rs/tui/src/bottom_pane/experimental_features_view.rs:450-463 | codex-rs/tui/src/bottom_pane/memories_settings_view.rs:455-468 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/experimental_features_view.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b3ca1e640d44e5228eedf53e782404c75e3683db36018f3ef4c5c2526eaedc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): codex-rs/codex-api/src/endpoint/realtime_websocket/protocol_v2.rs:142-166 | codex-rs/codex-api/src/endpoint/realtime_websocket/protocol_v2.rs:168-189 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-api/src/endpoint/realtime_websocket/protocol_v2.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"692475be1f64dd14c2458a805ea5f99d57a0cbf322b80e3d24838a8cf1994d52"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): codex-rs/codex-api/src/endpoint/session.rs:90-114 | codex-rs/codex-api/src/endpoint/session.rs:132-155 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-api/src/endpoint/session.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a45086653da480c9682ad7db232bfdd2e2f6c367ff6f76ff74be871af9db1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): codex-rs/runtime-agent-instance/src/manager.rs:135-158 | codex-rs/runtime-agent-instance/src/manager.rs:165-193 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/runtime-agent-instance/src/manager.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab931107ba4e5c2660f417a17c12734856607a9170626867e256b5df007c8856"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs:806-827 | codex-rs/tui/src/bottom_pane/request_user_input/mod.rs:540-555 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1341fb32ea36f03c294e9e8e43294e1796f7e8a7c3f81efc6646f760cc96a93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): sdk/python/src/openai_codex/api.py:634-664 | sdk/python/src/openai_codex/api.py:740-771 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdk/python/src/openai_codex/api.py"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b125035c87e57748c1516d9158a51de33bde8c65304a964029d54237fd94b38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): codex-rs/app-server/src/command_exec.rs:388-415 | codex-rs/app-server/src/request_processors/process_exec_processor.rs:429-455 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/command_exec.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca66ba3842a803edadfa050670d81e1e5f332f8c83718138873da9a34cb2b6c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): codex-rs/cli/src/doctor/output.rs:813-838 | codex-rs/cli/src/doctor/output.rs:1073-1094 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/doctor/output.rs"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7f693821b386cb62b0544f54cbe229cb51982c18a14a4f98d2cb0e8dac90fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): codex-rs/cloud-tasks-client/src/http.rs:655-667 | codex-rs/cloud-tasks/src/lib.rs:365-377 \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":"codex-rs/cloud-tasks-client/src/http.rs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca9ae699ac39b58f1e8c28d62056b16ccb23b93acf865cf9236bbb175522625"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): codex-rs/config/src/schema.rs:289-303 | codex-rs/hooks/src/schema.rs:781-795 \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":"codex-rs/config/src/schema.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"8244a0a609e8aac94eb6825c7d9773b64773c4fb93fc1e18b8a86d06c8e282f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): codex-rs/tui/src/bottom_pane/list_selection_view.rs:1148-1167 | codex-rs/tui/src/bottom_pane/list_selection_view.rs:1169-1186 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/list_selection_view.rs"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e16b17d2a62b2a070401956b2d068e018f5dbf6921b82cd0b25093c0b20fdb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): codex-rs/model-provider/src/shared_state.rs:54-70 | codex-rs/model-provider/src/shared_state.rs:146-165 | codex-rs/model-provider/src/shared_state.rs:170-189 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/model-provider/src/shared_state.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"28309fb785413bd5887583a526c10a8c68f8350e849132dc7b03f0bae9592710"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 22\u002B corresponding lines): codex-rs/otel/src/metrics/client.rs:145-177 | codex-rs/otel/src/metrics/client.rs:185-206 | codex-rs/otel/src/metrics/client.rs:214-240 | codex-rs/otel/src/metrics/client.rs:273-300 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/otel/src/metrics/client.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce7b237ed9c52c135df48021ef2682b4b4a40112a62d16b49fbddf91bc71681"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): codex-rs/state/src/runtime/threads.rs:296-312 | codex-rs/state/src/runtime/threads.rs:318-366 \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":"codex-rs/state/src/runtime/threads.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"6519417cb6841102664e6b01b8ef8e8c568f13d1e07b8021240bad316b8ffaa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs:920-937 | codex-rs/tui/src/bottom_pane/request_user_input/mod.rs:394-417 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34a3551dae3ce30387dccbc11702962cc3e0b31873c7d261c20c25c6b3b7bc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): codex-rs/exec-server-cli/src/exec_server_auth.rs:259-284 | codex-rs/model-provider/src/amazon_bedrock/auth.rs:319-341 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server-cli/src/exec_server_auth.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2378dd047d97864abada9d44a992ec4d1ff0bf8717b6550dd4d76372068a528"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): codex-rs/cli/src/login.rs:260-288 | codex-rs/cli/src/login.rs:293-328 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/login.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"616a60bc4755831a3dfb7c63bb17502943f09a9aad06e6cfa6af75beefb0a1bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): codex-rs/ext/memories/src/tools/list.rs:77-101 | codex-rs/ext/memories/src/tools/read.rs:76-98 | codex-rs/ext/memories/src/tools/search.rs:85-99 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/memories/src/tools/list.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e448a58c033b4ee79477700b6207ce6cdd0480875873149411e954fa69266366"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): codex-rs/code-mode/src/grpc_session/mod.rs:488-508 | codex-rs/code-mode/src/remote_session.rs:413-430 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/code-mode/src/grpc_session/mod.rs"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98c04d24f434c46aa22137539de244045f82643918bbfb2ed82be393b578319"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rs:795-819 | codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rs:827-856 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rs"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca410162ee63b99aaa50037eeceab7f1654ab3ffcadf697a98688901374939c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): codex-rs/rollout/src/list_files.rs:230-247 | codex-rs/rollout/src/list_files.rs:253-268 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout/src/list_files.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5f37ee7e79f75e4c2c6357d3fe6cd9e27cf0755e977b960d9c369d61699941"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): codex-rs/config/src/loader/mod.rs:1713-1745 | codex-rs/config/src/loader/mod.rs:1750-1784 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/loader/mod.rs"},"region":{"startLine":1713}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b4eb88dcba0db0c429320411cbf9cf57d9334d8db2ae19d6ec75bead2ab482"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): codex-rs/tui/src/thread_transcript/computer_groups.rs:38-50 | codex-rs/tui/src/thread_transcript/exploration_groups.rs:31-43 \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":"codex-rs/tui/src/thread_transcript/computer_groups.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"64726f37506bc1cc2ae8bddb04cfdedb8c50e9bee0e2df344326292d25c0af67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): codex-rs/tui/src/bottom_pane/mod.rs:1563-1592 | codex-rs/tui/src/bottom_pane/mod.rs:1651-1677 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/mod.rs"},"region":{"startLine":1563}}}],"partialFingerprints":{"codehealthFindingId/v1":"72fe406a8570d7fa78ba5bff357aaa43ae2cf3682411b0e8f7f83ac38410aa29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): codex-rs/app-server-transport/src/transport/remote_control/mod.rs:824-849 | codex-rs/app-server-transport/src/transport/remote_control/websocket.rs:336-360 | codex-rs/app-server-transport/src/transport/remote_control/websocket.rs:362-392 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 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":"codex-rs/app-server-transport/src/transport/remote_control/mod.rs"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b808c1478f1345692f7e678c85cdc87a55334b7912703dd42f55350054cb06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): codex-rs/network-proxy/src/runtime.rs:796-818 | codex-rs/network-proxy/src/runtime.rs:1265-1283 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/runtime.rs"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d653a094ec609128908c09532080e0c5a9b56ad36ee09380a6ee0a788325e97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): codex-rs/shell-command/src/parse_command.rs:1706-1735 | codex-rs/shell-command/src/parse_command.rs:1753-1785 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/shell-command/src/parse_command.rs"},"region":{"startLine":1706}}}],"partialFingerprints":{"codehealthFindingId/v1":"9148ab7036c98ba1f1910a8d5968e8e9f4dacbfdf591bb5a159a1bd48ff396a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): codex-rs/tui/src/chatwidget/usage.rs:98-117 | codex-rs/tui/src/chatwidget/usage.rs:328-352 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/usage.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a191bfcb9d20c6d2c10e828f56ad0aa8e29da91052ac417ea0844fd3850d6c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): codex-rs/tui/src/ide_context/ipc.rs:413-436 | codex-rs/tui/src/ide_context/ipc.rs:566-591 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/ide_context/ipc.rs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"933117fa10fd3c3b882f0dc5c6e0520ea2cc3208029bba3b157063192723bc87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): codex-rs/agent-identity/src/lib.rs:293-305 | codex-rs/login/src/token_data.rs:144-155 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/agent-identity/src/lib.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"5859403ffbbf315f6c7372488c4a9929305b79cfafe1e067ec4394a83c41343e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): codex-rs/cloud-client/src/activation.rs:253-274 | codex-rs/cloud-client/src/lib.rs:339-361 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cloud-client/src/activation.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c0222c34d9589d1659737edf462a688974c6d736f596fcf750e9dd610022f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): codex-rs/app-server/src/request_processors/thread_attachments.rs:107-137 | codex-rs/app-server/src/request_processors/thread_sections.rs:33-57 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/thread_attachments.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4be4e5693ef134b0136260298f3348090efa56cdaeb2b10ca20d3719c620e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): codex-rs/rmcp-client/src/oauth/resolved_store.rs:105-128 | codex-rs/rmcp-client/src/oauth/resolved_store.rs:168-186 | codex-rs/rmcp-client/src/oauth/resolved_store.rs:349-368 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/oauth/resolved_store.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"5042716f98cdeacad57b65c0e81e9747b6293f120e69db5f0b70a1417c5f1984"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): codex-rs/config-schema/src/main.rs:25-43 | codex-rs/hooks/src/bin/write_hooks_schema_fixtures.rs:11-29 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config-schema/src/main.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"95bd5e219775f097fa0afd2a2d28fd374dbb81d19b247f294583b0297715abfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): codex-rs/ext/memories/src/tools/mod.rs:62-78 | codex-rs/ext/skills/src/tools/mod.rs:381-397 \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":"codex-rs/ext/memories/src/tools/mod.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"64624d0cb11f1bce88349ac8c528b0e2e5ba7b9047cd53dc63b711c47b51cb7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): codex-rs/cloud-client/src/lib.rs:130-147 | codex-rs/cloud-client/src/lib.rs:279-299 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cloud-client/src/lib.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"371694264377d0161513992e6d070421e98f8646d4aba65c4bbfaf6c4ee3a7b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): codex-rs/ext/skills/src/sources.rs:188-208 | codex-rs/ext/skills/src/sources.rs:213-233 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/skills/src/sources.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32cabba914aed38675e9438cef12e207bb4d746decfd173b06407da727e5f82"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): codex-rs/tui/src/chatwidget/plugin_catalog.rs:2030-2051 | codex-rs/tui/src/external_agent_config_migration/model.rs:118-142 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/plugin_catalog.rs"},"region":{"startLine":2030}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa68a734bd614906ded98fd3af00339c0def648d872b76d4a31e63cb92ae5bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): codex-rs/windows-sandbox-rs/src/token.rs:210-236 | codex-rs/windows-sandbox-rs/src/token_user.rs:18-44 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-rs/src/token.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"33662ccb6a38b9d3437775075a7f19517cc1a0b87adeaaf2081f53992faf93b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): codex-rs/tui/src/app/background_requests.rs:297-319 | codex-rs/tui/src/app/connector_mentions.rs:33-53 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/background_requests.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"8769830fca099401f0003f9219ed715558c66b92fed31091428a6a1fc4cee983"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): codex-rs/tui/src/history_cell/session.rs:351-372 | codex-rs/tui/src/status/helpers.rs:148-169 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/history_cell/session.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d79adc4827d13305342dc040754d2f596113ac2e67cdb2befd303afe6475c94"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): codex-rs/windows-sandbox-rs/src/setup_error.rs:182-192 | codex-rs/worktree/src/metadata.rs:29-47 \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":"codex-rs/windows-sandbox-rs/src/setup_error.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"8571450a56caa660d9bd49cbdf5e3e6a3ba878cbbf1a986c34ebe384a0587dcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): codex-rs/exec/src/lib.rs:887-917 | codex-rs/tui/src/lib.rs:2588-2619 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec/src/lib.rs"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e60ceea258a80e7302f9aa92a589b61bf596ffac9061b76b16c2038fd0c54a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): codex-rs/core-plugins/src/remote.rs:2512-2540 | codex-rs/core-plugins/src/remote/share.rs:509-533 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/remote.rs"},"region":{"startLine":2512}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a3ec7283acae353f48e32ddb455f77d36649cbb6c4c7e44a8763c220eecbe9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): codex-rs/ext/skills/src/dynamic_skill_selector/lru_plus_character_routing.rs:40-64 | codex-rs/ext/skills/src/dynamic_skill_selector/lru_plus_character_routing.rs:95-131 | codex-rs/ext/skills/src/dynamic_skill_selector/lru_plus_lexical.rs:32-55 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 24 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":"codex-rs/ext/skills/src/dynamic_skill_selector/lru_plus_character_routing.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aed00359e6b5161cbe4e7ea642306dcbfee22e6951198bdc88e7d1b670a46bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): codex-rs/state/src/runtime/goals.rs:164-213 | codex-rs/state/src/runtime/goals.rs:221-271 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/state/src/runtime/goals.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e584e90b5b79b0a8af5ab9946e20797070882ed5dbee3f26ad62cc6d8ad248"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): codex-rs/code-mode-runtime/src/service.rs:197-218 | codex-rs/code-mode-runtime/src/service.rs:223-248 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/code-mode-runtime/src/service.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5101bd16c18cf458f8b13b224032c13bfaf5856d67893fb83f3010e728ddd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): codex-rs/core/src/codex_thread.rs:910-955 | codex-rs/core/src/session/thread_settings.rs:102-147 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/codex_thread.rs"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6be2b152fbb845858825b60c14309235ded5ffa744579ce0963403450aea50"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): codex-rs/external-agent-migration/src/service.rs:660-676 | codex-rs/external-agent-migration/src/service.rs:701-718 \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":"codex-rs/external-agent-migration/src/service.rs"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"3389bef48a103f48cc5cc3fe0f2c52421b3297657b754416e637ad5361a3258c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): codex-rs/app-server-protocol/src/export.rs:731-748 | codex-rs/app-server-protocol/src/export.rs:2042-2060 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/export.rs"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97209bd09fcc8f8e723f5906b25025103dbc8736c604df0e11c4d832f10ec4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): codex-rs/hooks/src/events/compact.rs:125-138 | codex-rs/hooks/src/events/compact.rs:206-219 | codex-rs/hooks/src/events/permission_request.rs:175-190 | codex-rs/hooks/src/events/pre_tool_use.rs:181-197 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/hooks/src/events/compact.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c8a160f45d6af3a9b8565c3cabb949f65a346479ba3b574120445d7ff90e5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): codex-rs/login/src/auth/storage.rs:593-619 | codex-rs/login/src/auth/storage.rs:621-642 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/login/src/auth/storage.rs"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd6e87c7859a5cbc00c02a20806c3b317a42559b9815d354197e79ab8a8f814"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): codex-rs/tui/src/wrapping.rs:790-809 | codex-rs/tui/src/wrapping.rs:1337-1356 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/wrapping.rs"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"553f1f581a0af8d2a0c1efab74cfc3421bb3db1e86e270f657ff34ab857c5c67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): codex-rs/windows-sandbox-rs/src/file_write.rs:122-145 | codex-rs/windows-sandbox-rs/src/no_reparse_dir.rs:205-222 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-rs/src/file_write.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"63734551dff65e2dddcb05f8bc6269121b1ae833ede7b7be409e46d6db2e553c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): codex-rs/code-mode/src/grpc_session/generation.rs:83-117 | codex-rs/code-mode/src/remote_session/connection/driver/cell_ids.rs:58-92 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/code-mode/src/grpc_session/generation.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"894842d559481d9934e5a3b4588a902883424604c962d5248492041424f38fdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): codex-rs/core/src/mcp_tool_call.rs:1140-1167 | codex-rs/core/src/tools/handlers/mcp_resource.rs:410-437 \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":"codex-rs/core/src/mcp_tool_call.rs"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1dc61edd5c5e84def11c5a04ac7349542b3a2344b784fe729bf24996806755"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): codex-rs/rmcp-client/src/oauth.rs:1249-1269 | codex-rs/windows-sandbox-rs/src/identity.rs:135-158 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/oauth.rs"},"region":{"startLine":1249}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c378de363af218064a578fda48a2e151ffa82a1df3d4f5244fd4d2350848bc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): codex-rs/app-server-client/src/lib.rs:604-633 | codex-rs/app-server-client/src/remote.rs:604-630 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-client/src/lib.rs"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"97da1292a0a435ff02a3f54737f1a452f2b9621038158272bed4e59c34ce5624"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): codex-rs/cli/src/doctor.rs:3102-3119 | codex-rs/cli/src/doctor/background.rs:105-118 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/doctor.rs"},"region":{"startLine":3102}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da48b932bcdb107cf15e6efe33b7cedb4592f73322407e13523ae717c368c74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): codex-rs/app-server/src/config_manager.rs:305-325 | codex-rs/app-server/src/config_manager.rs:332-354 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/config_manager.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9f203aaf33c177c45727d87f19aff4daec720eccf907af265d101c70df5c45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): codex-rs/cli/src/doctor.rs:2787-2811 | codex-rs/codex-client/src/provider.rs:55-77 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/doctor.rs"},"region":{"startLine":2787}}}],"partialFingerprints":{"codehealthFindingId/v1":"38228e40b850a4f343f6eccc565a631a5c222852f858751fc2d0145b948c3491"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): codex-rs/backend-client/src/client.rs:624-635 | codex-rs/backend-client/src/client.rs:641-657 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/backend-client/src/client.rs"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46354db993977aea699b9d32bb3405570114b6f3314c6c2cdf05e0cab8703ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): codex-rs/exec-server/src/local_file_system.rs:1208-1225 | codex-rs/external-agent-migration/src/hooks_common.rs:253-273 | codex-rs/external-agent-migration/src/utils.rs:49-81 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/local_file_system.rs"},"region":{"startLine":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d91bc212fd69916e611b2f5ca45575c4d8d8affc356fb74d8b82c1a2314892b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): codex-rs/rollout-trace/src/reducer/code_cell.rs:697-713 | codex-rs/rollout-trace/src/reducer/tool.rs:470-486 \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":"codex-rs/rollout-trace/src/reducer/code_cell.rs"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50e76bb6313aee96c84ad52ba1665b1dc36cb8c65743a70189550ca8eb216db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs:1257-1272 | codex-rs/tui/src/bottom_pane/request_user_input/mod.rs:1060-1074 \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":"codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs"},"region":{"startLine":1257}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a54fa5b5c949f6bdbeb196aedede4c7e427b6f1987a4d252a3cc3ff44e03d4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): codex-rs/windows-sandbox-rs/src/wfp.rs:256-272 | codex-rs/windows-sandbox-rs/src/wfp.rs:275-293 \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":"codex-rs/windows-sandbox-rs/src/wfp.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da52fb82820d667140988853508b5310b4de891dba0c1f400f9f0eb91f2a4fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): codex-rs/tui/src/chatwidget/plugin_catalog.rs:944-964 | codex-rs/tui/src/keymap_setup/picker.rs:320-345 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/plugin_catalog.rs"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"05806b1d47f03c769f0930c61d2a38b09bb6f1d77c37e37ea38baf40f49a4ed3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): scripts/stage_npm_packages.py:333-353 | scripts/stage_npm_packages.py:382-404 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/stage_npm_packages.py"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba451747a15f489f7adc5f1ca41ad7fb26f957940955b21a5e8db37e30af8cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): codex-rs/app-server/src/command_exec.rs:325-353 | codex-rs/app-server/src/request_processors/process_exec_processor.rs:372-397 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/command_exec.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54af3e3f5b35540a2927bab6a9bc0539a848d370546bc66350b4129aafe2b74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): codex-rs/git-utils/src/info.rs:393-408 | codex-rs/tui/src/branch_summary.rs:198-210 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/git-utils/src/info.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ccf273b3f12eecaf113589ea27421febba3202541124b9f8387c78ff98085b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): codex-rs/tui/src/bottom_pane/status_line_setup.rs:402-421 | codex-rs/tui/src/bottom_pane/title_setup.rs:344-366 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/status_line_setup.rs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f80ecbab7848b6abe5b208c69aee6b6815c99fa0861cb37784c53c053cd5156"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): codex-rs/tui/src/ide_context/windows_pipe.rs:97-115 | codex-rs/tui/src/ide_context/windows_pipe.rs:119-137 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/ide_context/windows_pipe.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"e821af22c9483e53d30e77371a47f29b95e9c9162fd2ea3b11362909c6e056aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): codex-rs/app-server/src/request_processors/thread_queue_processor.rs:82-103 | codex-rs/app-server/src/request_processors/thread_queue_processor.rs:145-173 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/thread_queue_processor.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"46fbecbd6d9414d64247cc69d598c9b57281b46b288a153112b631706b8c358a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): codex-rs/core/src/tools/handlers/extension_tools.rs:197-210 | codex-rs/core/src/tools/handlers/extension_tools.rs:212-225 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/handlers/extension_tools.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76a91e93d87b3b524e307e315233a5ffda1bb6bb2f7343893bf6f66ec1ea707"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): codex-rs/rollout/src/recorder.rs:1122-1137 | codex-rs/rollout/src/recorder.rs:1143-1158 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout/src/recorder.rs"},"region":{"startLine":1122}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b608fe33de8e27fad8b7efb5f872d143ae253985eddc310022b1271d704326f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): codex-rs/tui/src/bottom_pane/list_selection_view.rs:1227-1244 | codex-rs/tui/src/bottom_pane/list_selection_view.rs:1246-1260 \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":"codex-rs/tui/src/bottom_pane/list_selection_view.rs"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee829a10c14f9460a9ac07387c619bc07989eb537e11b6785e0af40d77a74b98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): codex-rs/tui/src/thread_transcript/computer_groups.rs:21-31 | codex-rs/tui/src/thread_transcript/exploration_groups.rs:14-25 \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":"codex-rs/tui/src/thread_transcript/computer_groups.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"05406ac707a5c5af21528904c45020727b4c9d2f8873e0fb5127d4a9243b8cde"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): codex-rs/rollout/src/list_files.rs:119-134 | codex-rs/rollout/src/list_files.rs:186-204 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout/src/list_files.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae68ccb13cb725b820bc324cbd8b59391c192d66491548824d74ffee70c0632d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): codex-rs/rollout/src/maintenance.rs:37-52 | codex-rs/state/src/runtime/reclamation.rs:122-137 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout/src/maintenance.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"df38b7df694871250f11e74b47e361c47d56137f45fbbc628f3120d344cf3957"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): codex-rs/exec-server/src/remote_file_system.rs:227-246 | codex-rs/exec-server/src/sandboxed_file_system.rs:222-245 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/remote_file_system.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"5def50e4affcfa53a7a1b75f2bf32d99dadf45ee01b23aac2a6c3bcdf71ea79d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): codex-rs/model-provider-info/src/lib.rs:670-699 | codex-rs/model-provider-info/src/lib.rs:917-945 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/model-provider-info/src/lib.rs"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6805f13509f36fcba441240900dfa847a12e1a8729498439dbf20571e679cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): codex-rs/tui/src/bottom_pane/textarea.rs:1889-1903 | codex-rs/tui/src/bottom_pane/textarea.rs:1905-1921 \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":"codex-rs/tui/src/bottom_pane/textarea.rs"},"region":{"startLine":1889}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfeab6ab0bee60e88363c5400e716e6e71b71db768f5fcb5a5824eb5f2f14934"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): codex-rs/app-server/src/app_info.rs:64-108 | codex-rs/chatgpt/src/connectors.rs:276-317 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/app_info.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"28182751c8101050ccbd06cb55759c7e6a6ec7e1b3af63b077e425a5cf283fed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): codex-rs/core-plugins/src/remote/share/local_paths.rs:56-74 | codex-rs/external-agent-migration/src/sessions/ledger.rs:375-390 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/remote/share/local_paths.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfeef970289805e17f81d2f85418f9ae541a65cfe2243e911e5b4190857097b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): codex-rs/core/src/tools/handlers/send_message_to_user_async.rs:36-57 | codex-rs/ext/goal/src/spec.rs:60-94 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/handlers/send_message_to_user_async.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d3f869e9bd30fc9ec4e953461742a2b928523d2d1316ba1f06ff3343dd2d8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): codex-rs/exec-server/src/connection.rs:199-221 | codex-rs/exec-server/src/connection.rs:223-244 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/connection.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b7a8db46106aef34b48f03f21757abb78d867bf233300fd8e6558ab47fdaa0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): codex-rs/history/src/lib.rs:493-505 | codex-rs/history/src/lib.rs:523-535 | codex-rs/history/src/lib.rs:588-600 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/history/src/lib.rs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"83749636e6ee3fc0a78580b66927db6d2c2e0285f7d18518f20ecf11cf36c092"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): codex-rs/app-server-client/src/remote.rs:124-132 | codex-rs/tui/src/lib.rs:473-481 \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":"codex-rs/app-server-client/src/remote.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d43c5910bd31c7ec0ebe3e729626698966cb5b78aa5d719896b3b9f97c573c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): codex-rs/app-server-protocol/src/export.rs:1179-1199 | codex-rs/app-server-protocol/src/export.rs:1291-1313 | codex-rs/app-server-protocol/src/export.rs:1625-1647 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/export.rs"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ee3e4184b4af1c4ecb230d15bd293855e9c41d5ca81d274aa29bfdda0c547d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): codex-rs/core-plugins/src/loader.rs:1111-1122 | codex-rs/core-plugins/src/loader.rs:1165-1176 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/loader.rs"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f3c4743fcc2c8ba041313815ff448294103b5616c9f26f3e5fe1c460783734"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): codex-rs/exec-server/src/remote.rs:1076-1089 | codex-rs/message-board/src/local/json_search.rs:72-81 \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":"codex-rs/exec-server/src/remote.rs"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"899d8398bc3f08e0fa25a25ff116df168de2aed6b1d59ba2ac06f2b2a8291ec1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): codex-rs/rollout-trace/src/reducer/code_cell.rs:287-305 | codex-rs/rollout-trace/src/reducer/code_cell.rs:354-369 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout-trace/src/reducer/code_cell.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"15aa72e8fc30f35c3edb3230d7270fe4cbc93e0af135ab44d8e19a94ff16077e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): codex-rs/app-server/src/request_processors/mcp_processor.rs:855-874 | codex-rs/rollout-trace/src/mcp.rs:37-63 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/mcp_processor.rs"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd62bbb09e9ae22337e5c9b02fefe8ae91bab0552324bea716475015ad685c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): codex-rs/cli/src/doctor.rs:2987-3005 | codex-rs/cli/src/doctor.rs:3013-3031 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/doctor.rs"},"region":{"startLine":2987}}}],"partialFingerprints":{"codehealthFindingId/v1":"8841e4c9f75605103e01599386e98059789af2ac2a377f45cb1d2409a80ecf33"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): codex-rs/code-mode-runtime/src/cell_actor/conversions.rs:9-35 | codex-rs/code-mode-runtime/src/service.rs:381-403 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/code-mode-runtime/src/cell_actor/conversions.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3fff8f62bafe34e2340a80b444f2893b39a88160dfad808143091840af47545"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): codex-rs/core-plugins/src/manager.rs:1679-1694 | codex-rs/core-plugins/src/manager.rs:1696-1714 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/manager.rs"},"region":{"startLine":1679}}}],"partialFingerprints":{"codehealthFindingId/v1":"272cd9acba93b21fa030e4fe7fa77c859a0515ac5b25d50d4bf6437db24dd8de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): codex-rs/tui/src/app/background_requests.rs:165-188 | codex-rs/tui/src/app/background_requests.rs:196-218 | codex-rs/tui/src/app/background_requests.rs:224-244 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/background_requests.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"1924c1878fda2dc491a847e4a7d829f1d7f466e226c0f0945725a55c01507a47"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): codex-rs/tui/src/chatwidget/plugin_catalog.rs:342-359 | codex-rs/tui/src/chatwidget/plugin_catalog.rs:361-380 | codex-rs/tui/src/chatwidget/plugin_catalog.rs:476-496 | codex-rs/tui/src/chatwidget/plugin_catalog.rs:501-518 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/plugin_catalog.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd3472340de768ee318d995793801b71b349547a768a8feb748317b2aa357be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): codex-rs/cloud-client/src/lib.rs:302-318 | codex-rs/cloud-client/src/turns.rs:266-283 \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":"codex-rs/cloud-client/src/lib.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b4eb61394eea7c68df2f34807c6bdb8056b58019d75be04278125b13a680c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): codex-rs/tui/src/app/background_requests.rs:803-817 | codex-rs/tui/src/app/recap.rs:144-166 \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":"codex-rs/tui/src/app/background_requests.rs"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"9123f89a6b0d06cd6f6e60e0aca38fc5e3fd6199e601c776928a42137c56a733"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): codex-rs/exec-server/src/remote_file_system.rs:109-126 | codex-rs/exec-server/src/sandboxed_file_system.rs:147-168 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/remote_file_system.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee47ab82fb5b6fd527eb756b3e034e01d292b04f608314a7aa64ecef043a30a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): codex-rs/app-server-protocol/src/protocol/thread_history.rs:1082-1096 | codex-rs/ext/image-generation/src/tool.rs:116-128 \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":"codex-rs/app-server-protocol/src/protocol/thread_history.rs"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc46f6b47dc5ad825ac949ca807bc492bf6e2dc6c527bca37a1af3ba6874565"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): codex-rs/code-mode-host/src/lib.rs:235-252 | codex-rs/code-mode/src/remote_session/connection.rs:541-560 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/code-mode-host/src/lib.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e323220d81429c80e38079e4453d4d3b82700adbe006913ae4585dfffaedfca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): codex-rs/core/src/guardian/mod.rs:140-155 | codex-rs/core/src/guardian/mod.rs:186-201 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/guardian/mod.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2635a03942a84981595bb2273e03a2318048444f7ec36ffdcab9e94e70ba43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): codex-rs/install-context/src/lib.rs:151-173 | codex-rs/install-context/src/lib.rs:207-229 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/install-context/src/lib.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdac5d469ad3f21c74d264e641e8284e327f8eaa5f0cfe64c21a1b304f82d011"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): codex-rs/rollout-trace/src/protocol_event.rs:174-201 | codex-rs/rollout-trace/src/protocol_event.rs:232-267 \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":"codex-rs/rollout-trace/src/protocol_event.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c660d5a6229a3dde02f06d20f8f818f853d4242b928e99bc08fbde394fa2de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): codex-rs/state/src/runtime/threads.rs:1216-1232 | codex-rs/state/src/runtime/threads.rs:1239-1255 \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":"codex-rs/state/src/runtime/threads.rs"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"a567fc426dbff9825c341c576fc25237f9542cfed2d4ccd9b49dff6f6664949c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): codex-rs/tui/src/onboarding/onboarding_screen.rs:617-643 | codex-rs/tui/src/onboarding/onboarding_screen.rs:645-664 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/onboarding/onboarding_screen.rs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1a5833a996cb3d567797cd23df0f32f49f9fe286f9635017cd32a18da1fefa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): codex-rs/app-server-daemon/src/backend/pid.rs:669-682 | codex-rs/app-server-daemon/src/lib.rs:1266-1279 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-daemon/src/backend/pid.rs"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b797394e29c9dbbc79582f3d388b778ae362c5d01da80cf7ef436f316062986"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): codex-rs/cli/src/doctor/output/detail.rs:125-140 | codex-rs/cli/src/migrate_rollouts.rs:435-450 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/doctor/output/detail.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7135223816a6805ce5d61a542de77858260aca15956bf82cea3cbd681c06c4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): codex-rs/core-plugins/src/remote.rs:1181-1195 | codex-rs/core-plugins/src/remote.rs:2448-2461 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/remote.rs"},"region":{"startLine":1181}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9010624577eeba9157630fee50ede6cfeb6ca69f609f6394767616757111107"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): codex-rs/tui/src/bottom_pane/mentions_v2/filter.rs:48-60 | codex-rs/tui/src/bottom_pane/skill_popup.rs:49-66 \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":"codex-rs/tui/src/bottom_pane/mentions_v2/filter.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4e72670e30fc37644812a4a331af2f2ce09f52e2be77222f29355431d33ce5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): codex-rs/tui/src/chatwidget/status_surfaces.rs:632-646 | codex-rs/tui/src/chatwidget/status_surfaces.rs:648-662 \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":"codex-rs/tui/src/chatwidget/status_surfaces.rs"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5197274f43a2418dea8291d6e82e2d779391f16b0609c6e10fd541d4b48ae1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): codex-rs/windows-sandbox-rs/src/cap.rs:89-100 | codex-rs/windows-sandbox-rs/src/cap.rs:103-114 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-rs/src/cap.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e1152db2d78036a30a45a21d52aa0b99bd906dc4c0937d5c7b8d5fd16cc157"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): codex-rs/code-mode/src/grpc_session/reconnect.rs:89-101 | codex-rs/code-mode/src/grpc_session/reconnect.rs:107-119 \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":"codex-rs/code-mode/src/grpc_session/reconnect.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"64df2133e740591d3eeb33f012a74b701db6311e005af7f8557d1868fc451c18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): codex-rs/context-fragments/src/fragment.rs:163-177 | codex-rs/memories/write/src/rollout_input.rs:362-372 \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":"codex-rs/context-fragments/src/fragment.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3f7105118bb4e82dcdfb051b8d32bb6089834734acee0b01e183dcaf0d6790"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): codex-rs/login/src/auth/manager.rs:581-591 | codex-rs/login/src/auth/manager.rs:594-605 \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":"codex-rs/login/src/auth/manager.rs"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"059962eb9005070738fe2a893e76603ba71f52d16014f3b37a7be79ed1c7199f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): codex-rs/network-proxy/src/windows_proxy_ingress.rs:339-356 | codex-rs/network-proxy/src/windows_tcp_attribution.rs:139-157 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/windows_proxy_ingress.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"f988289004835e992616750ee54d70dbce11604e638a427945811041e99b542f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): sdk/python/examples/10_error_handling_and_retry/async.py:36-52 | sdk/python/src/openai_codex/retry.py:20-41 \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":"sdk/python/examples/10_error_handling_and_retry/async.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"912cfe0b63fc8d6ce0f829c8b0cf8c56165cd1eebc5a1b60bdf8484b9dcea43e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): sdk/python/src/openai_codex/_goal.py:366-385 | sdk/python/src/openai_codex/_goal.py:418-437 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdk/python/src/openai_codex/_goal.py"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7e5500c4634f8c7ab02f03c10d1c00b426e2fb5aa20381e89baebe1c757f89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): codex-rs/app-server-protocol/src/export.rs:547-562 | codex-rs/app-server-protocol/src/export_user_verification.rs:36-53 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/export.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d6294ae120c368fa706708c24d9186a0964b1555ac056bbf6a24addd9cb9df1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 15\u002B corresponding lines): codex-rs/app-server-protocol/src/protocol/thread_history.rs:1101-1115 | codex-rs/app-server-protocol/src/protocol/thread_history.rs:1156-1170 | codex-rs/app-server-protocol/src/protocol/thread_history.rs:1216-1234 | codex-rs/app-server-protocol/src/protocol/thread_history.rs:1275-1289 | codex-rs/app-server-protocol/src/protocol/thread_history.rs:1321-1335 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/thread_history.rs"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f49523142af16811aca0f30e1446282c6a1baa2fb0d73dc3c981bd31a69df75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): codex-rs/core/src/thread_manager.rs:1606-1625 | codex-rs/core/src/thread_manager.rs:1651-1669 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/thread_manager.rs"},"region":{"startLine":1606}}}],"partialFingerprints":{"codehealthFindingId/v1":"de87643c9fda1c15abdfe5301b129c3a58af2df998f718212e199ac6dc0d6063"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): codex-rs/exec-server/src/environment.rs:721-736 | codex-rs/exec-server/src/environment.rs:802-818 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/environment.rs"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a22ff3ebdc2d35c3743ec18de98094db015156efb6f7fa608f01ff93f354ee2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): scripts/mcp_conformance/review_regressions.py:95-113 | scripts/mcp_conformance/run_codex_compliance.py:466-484 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mcp_conformance/review_regressions.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5c2188a6a8af4d2608aaaab51df093f897725004f39e0c8949b08ee9aa9df9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): codex-rs/exec-server/src/client.rs:763-778 | codex-rs/exec-server/src/client.rs:1290-1303 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/client.rs"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"659df20eb3fbd5114a978306d57122d330a31e38faa92e7396f663665776cd62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 15\u002B corresponding lines): codex-rs/exec-server/src/remote_file_system.rs:145-159 | codex-rs/exec-server/src/remote_file_system.rs:166-180 | codex-rs/exec-server/src/remote_file_system.rs:296-311 | codex-rs/exec-server/src/remote_file_system.rs:319-333 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/remote_file_system.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"1097df3155a274dcf595b918d2b050499d7c11d92d4bb634019a4e5abcf0c34f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): codex-rs/ext/goal/src/accounting.rs:374-387 | codex-rs/ext/goal/src/accounting.rs:389-402 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/goal/src/accounting.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"4466f775d63103f5300434ea5861b130863082bdb778e43bc783a5d84f018a97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): codex-rs/app-server-daemon/src/backend/stderr_log.rs:108-122 | codex-rs/tui/src/terminal_probe.rs:143-157 \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":"codex-rs/app-server-daemon/src/backend/stderr_log.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"3502473ca794f52d899f44f2310edee2bc16297992f7a1f827113817c904aeeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): codex-rs/app-server/src/request_processors/persisted_resume_settings.rs:20-39 | codex-rs/app-server/src/request_processors/persisted_resume_settings.rs:118-137 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/persisted_resume_settings.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"09987d57613a20e88545e2afd4771b4d5a52e8dec3e4ed9dc73d7e52c3e34eee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): codex-rs/cli/src/doctor/title.rs:107-122 | codex-rs/tui/src/chatwidget/status_surfaces.rs:1300-1315 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/doctor/title.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"87097fe3cc6572acc8fd99433c7c69e5e6a816b6ce376a466c1e87106c5b3d6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): codex-rs/core-plugins/src/remote.rs:2467-2482 | codex-rs/core-plugins/src/remote_legacy.rs:252-265 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/remote.rs"},"region":{"startLine":2467}}}],"partialFingerprints":{"codehealthFindingId/v1":"4200203df2237c2936734b8959322686c9a2fdb39907de9e850595623ddb8640"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): codex-rs/exec-server/src/remote_file_system.rs:252-271 | codex-rs/exec-server/src/sandboxed_file_system.rs:251-274 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/remote_file_system.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"090fedb5a77d6fa9f6c805938c520a57db7a8512ba2ba96bb3a56ec1329318dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): codex-rs/tui/src/ide_context/ipc.rs:491-504 | codex-rs/tui/src/ide_context/ipc.rs:509-522 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/ide_context/ipc.rs"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"8482ba85e28733d65e59868d0f2b0fe062565e2edb93a7bef36b84fc581f45e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): codex-rs/core/src/unified_exec/process_manager.rs:519-531 | codex-rs/core/src/unified_exec/process_manager.rs:892-902 \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":"codex-rs/core/src/unified_exec/process_manager.rs"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4917fa751bf2a4496e80b6a6db824e55be4d3e5568193be5a2181fd815f321"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): scripts/codex_package/dotslash.py:167-177 | scripts/codex_package/v8.py:212-221 \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":"scripts/codex_package/dotslash.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba44a6fada54a812ff43d0857fa7a396c8c85fbe1e88f6892d98fd1671e7361e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 21\u002B corresponding lines): sdk/python/src/openai_codex/api.py:153-173 | sdk/python/src/openai_codex/api.py:222-244 | sdk/python/src/openai_codex/api.py:263-286 | sdk/python/src/openai_codex/api.py:411-432 | sdk/python/src/openai_codex/api.py:482-505 | sdk/python/src/openai_codex/api.py:524-548 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdk/python/src/openai_codex/api.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b45b92e3b6cd67d6a027a879c5f543f95e9df116a4a48a8c68960248ff6c239"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): codex-rs/code-mode-host/src/grpc/conversions.rs:48-65 | codex-rs/code-mode/src/grpc_session/conversion.rs:33-51 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/code-mode-host/src/grpc/conversions.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"819bc7390f18c91fefd9de481d0516b41be32360af4b2f0330d7834ddcc999cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): codex-rs/core-plugins/src/startup_sync.rs:925-941 | codex-rs/core-plugins/src/startup_sync.rs:947-964 | codex-rs/core-plugins/src/startup_sync.rs:970-987 | codex-rs/core-plugins/src/startup_sync.rs:993-1011 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/startup_sync.rs"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"365c76eff33ea7050af52e2b77321f822f8918c50da529421794c33583208be7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): codex-rs/ext/skills/src/dynamic_skill_selector/routing_card_lexical.rs:196-212 | codex-rs/ext/skills/src/dynamic_skill_selector/weighted_lexical.rs:157-173 \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":"codex-rs/ext/skills/src/dynamic_skill_selector/routing_card_lexical.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fbc4f31f6956249ac2e15dca6b3cb99f0da798c8d563a7eae867186045a4253"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): codex-rs/guardian-context/src/preparation/transcript.rs:67-91 | codex-rs/guardian-context/src/preparation/transcript.rs:94-118 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/guardian-context/src/preparation/transcript.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f38bf1e4035327de5e1fbcabd175ff4e510a16c960c8f004ac73824a7dbfcb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): codex-rs/protocol/src/models/executed_tool_calls.rs:749-760 | codex-rs/protocol/src/models/executed_tool_calls.rs:763-776 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/models/executed_tool_calls.rs"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7780e2b28b923e54635a09db127c9d685f93c2930155a071655d253a48df6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): codex-rs/rollout/src/recorder.rs:2202-2221 | codex-rs/rollout/src/recorder.rs:2262-2281 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout/src/recorder.rs"},"region":{"startLine":2202}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d743ea7f3c5cbafc1ce202b6c3e8550220876b65211f00764b04c5f47ca0aa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): codex-rs/app-server/src/app_info.rs:23-58 | codex-rs/tui/src/app_info.rs:18-53 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/app_info.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6f6e7a79ee47719a33a387be1a356368731f76cfec468bf401fbab4d8122bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): codex-rs/code-mode-runtime/src/runtime/callbacks.rs:84-99 | codex-rs/code-mode-runtime/src/runtime/callbacks.rs:116-128 | codex-rs/code-mode-runtime/src/runtime/callbacks.rs:134-147 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/code-mode-runtime/src/runtime/callbacks.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f345800fd90c071c9741babe045c2821fc7b2f9907474cc6199e6475723e4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): codex-rs/core-plugins/src/command_migration.rs:328-337 | codex-rs/external-agent-migration/src/subagents.rs:189-198 \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":"codex-rs/core-plugins/src/command_migration.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"123cd16a91ffecc4a9aaa8f1aa99f329fb7b57a30764e3ba3b82def8155e95d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): codex-rs/rollout-trace/src/code_cell.rs:106-122 | codex-rs/rollout-trace/src/code_cell.rs:142-158 | codex-rs/rollout-trace/src/compaction.rs:193-211 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout-trace/src/code_cell.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ebfd23a9350774069854e726f6e4ecbaae7ecbddb0610bf81ede8853b1002a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): codex-rs/rollout-trace/src/reducer/code_cell.rs:250-277 | codex-rs/rollout-trace/src/reducer/code_cell.rs:320-345 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout-trace/src/reducer/code_cell.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2610a01032216f7f934d558aa3208e7c34bfa89402cd9d24063796c257a04b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 21\u002B corresponding lines): codex-rs/state/src/runtime/memories.rs:1036-1066 | codex-rs/state/src/runtime/memories.rs:1236-1256 | codex-rs/state/src/runtime/memories.rs:1335-1363 | codex-rs/state/src/runtime/memories.rs:1376-1405 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/state/src/runtime/memories.rs"},"region":{"startLine":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"699536b26269a58ab12cd462f3630ffa65fe5f5ad070d5a337c7c90c5aafc1b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): codex-rs/tui/src/app_backtrack.rs:321-341 | codex-rs/tui/src/app_backtrack.rs:344-362 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app_backtrack.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"66742751512943c94479b38a7aa608c7b0784333c289a7fdcf415d7b84048d74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): codex-rs/tui/src/bottom_pane/multi_select_picker.rs:360-376 | codex-rs/tui/src/bottom_pane/skills_toggle_view.rs:166-182 \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":"codex-rs/tui/src/bottom_pane/multi_select_picker.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7e27c482d58b51da40d886b8252f8992b351e4ac35259d13bbdcebb918df38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): codex-rs/tui/src/ide_context/ipc.rs:373-384 | codex-rs/tui/src/ide_context/ipc.rs:387-398 | codex-rs/utils/pty/src/pty.rs:512-522 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/ide_context/ipc.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce936fd453979bcb432d4c61d74ae0d59b0f9270ad8d27b2457b6d170562008d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): codex-rs/tui/src/markdown_render.rs:1319-1333 | codex-rs/tui/src/markdown_render.rs:1351-1376 \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":"codex-rs/tui/src/markdown_render.rs"},"region":{"startLine":1319}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bbf1f2e4cbd89065f337c85cc633bc2478526bd10c213a136a9f36c2ac1dc44"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): codex-rs/app-server/src/request_processors/turn_processor.rs:1407-1428 | codex-rs/app-server/src/request_processors/turn_processor.rs:1434-1456 | codex-rs/app-server/src/request_processors/turn_processor.rs:1462-1481 | codex-rs/app-server/src/request_processors/turn_processor.rs:1487-1500 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/turn_processor.rs"},"region":{"startLine":1407}}}],"partialFingerprints":{"codehealthFindingId/v1":"769243005e747e3cc2380e343cc972bf28e1374f5f329d10d97a6c8ecac32fbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): codex-rs/cli/src/doctor/title.rs:208-224 | codex-rs/tui/src/chatwidget/status_surfaces.rs:1141-1155 \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":"codex-rs/cli/src/doctor/title.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"0800e5aa17dae34e2074261e8575a0ed64c04467aa0584b71531338f53470252"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): codex-rs/code-mode-host/src/grpc/waits.rs:86-95 | codex-rs/code-mode-host/src/grpc/waits.rs:97-106 \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":"codex-rs/code-mode-host/src/grpc/waits.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"4133c88906f3cc5c463ba926004213355e9cb74848091f98e28f653dbb04e38a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): codex-rs/config/src/marketplace_edit.rs:70-78 | codex-rs/config/src/plugin_edit.rs:77-88 \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":"codex-rs/config/src/marketplace_edit.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba37813244b45f2fdd55d0cf9cbf1f1ee314d6041426949f23f72def5d33cafb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): codex-rs/core-plugins/src/manager.rs:1215-1228 | codex-rs/core-plugins/src/manager.rs:1230-1246 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/manager.rs"},"region":{"startLine":1215}}}],"partialFingerprints":{"codehealthFindingId/v1":"be85ecf6ccf651c90b7ad067dfa0abb3d4a5bfb50a4d4965b43770251e53b3f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): codex-rs/core-plugins/src/marketplace_upgrade/git.rs:219-237 | codex-rs/core-plugins/src/startup_sync.rs:640-663 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/marketplace_upgrade/git.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"5631a63ae0c62cb82a44ddea6e450063fbcdecbec27f50e7091694c7a3279905"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): codex-rs/exec-server/src/client/http_response_body_stream.rs:437-446 | codex-rs/exec-server/src/client/http_response_body_stream.rs:457-467 \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":"codex-rs/exec-server/src/client/http_response_body_stream.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ba583687e4e3f77b794f20312fbc34121d5b9b07fb55989b4b6aafc85fd3b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): codex-rs/ext/guardian-v2/src/sync_reviewer/mod.rs:246-256 | codex-rs/ext/guardian-v2/src/sync_reviewer/mod.rs:257-267 \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":"codex-rs/ext/guardian-v2/src/sync_reviewer/mod.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c99086119754082e1c5a06a781d51c096e31eb9c83d9af82116ef9fe7b3e303"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): codex-rs/tui/src/app/background_requests.rs:590-600 | codex-rs/tui/src/app/background_requests.rs:606-616 \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":"codex-rs/tui/src/app/background_requests.rs"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ec6dc2a887c81e9c7fa40376470d086e6068f5caf1af5a8150834a9c31542f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): codex-rs/tui/src/bottom_pane/hooks_browser_view.rs:186-205 | codex-rs/tui/src/bottom_pane/hooks_browser_view.rs:207-223 \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":"codex-rs/tui/src/bottom_pane/hooks_browser_view.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2742f56a64985604428961abb23f9907bede8892bf94e2ac225dfa832db6df3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): codex-rs/backend-client/src/client/rate_limit_resets.rs:72-82 | codex-rs/backend-client/src/client/rate_limit_resets.rs:114-126 \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":"codex-rs/backend-client/src/client/rate_limit_resets.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c2ef134eb9e6be9413342bade4005367f3dd2c96eb1a7a01ff76dcace8afbc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): codex-rs/config/src/plugin_edit.rs:124-140 | codex-rs/core/src/config/edit/document_helpers.rs:18-36 \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":"codex-rs/config/src/plugin_edit.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ffaa506091128b08a04096ed6eb19abefc517fcfad67e8c50ac62dae592400"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): codex-rs/exec-server/src/rpc.rs:505-517 | codex-rs/exec-server/src/rpc.rs:523-535 \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":"codex-rs/exec-server/src/rpc.rs"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"a295b5ec740a8fa537185697f484b8a0cd02b26ecd7f093066a3cd336e3c6589"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): codex-rs/exec-server/src/sandboxed_file_system.rs:176-192 | codex-rs/exec-server/src/sandboxed_file_system.rs:199-215 | codex-rs/exec-server/src/sandboxed_file_system.rs:304-321 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/sandboxed_file_system.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d87b47de1f4971f41d1dc0cc3cf6dfa0c023e56883a0555edaafcef4a6aa2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): codex-rs/rollout-trace/src/inference.rs:269-287 | codex-rs/rollout-trace/src/inference.rs:299-317 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout-trace/src/inference.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e6fcc76759225bd575a0e85dd3a8ec68920b68eec93c8add2d562d41d8eb8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): codex-rs/tui/src/branch_summary.rs:476-485 | codex-rs/tui/src/branch_summary.rs:495-506 \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":"codex-rs/tui/src/branch_summary.rs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"164e18651202015124f636070279a7089718769ca06bfc4a013862e1d87cd132"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): codex-rs/tui/src/chatwidget/status_surfaces.rs:118-137 | codex-rs/tui/src/chatwidget/status_surfaces.rs:139-158 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/status_surfaces.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29eba7651e169bdc50f2b9b550e9b2f735ed591f49c2a58e824e5468928aa62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): codex-rs/core/src/config/otel.rs:49-65 | codex-rs/core/src/config/otel.rs:103-114 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/config/otel.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e762b7e9375d036659d9d925f3ce2654a36d387c6c77528afa65530d6dcb2a86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 14\u002B corresponding lines): codex-rs/otel/src/events/session_telemetry.rs:218-231 | codex-rs/otel/src/events/session_telemetry.rs:233-246 | codex-rs/otel/src/events/session_telemetry.rs:256-269 | codex-rs/otel/src/events/session_telemetry.rs:271-284 | codex-rs/otel/src/events/session_telemetry.rs:353-366 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/otel/src/events/session_telemetry.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"98303795fa6c7e59196839ddd637a348c94a2e8d34dc089ccfdf9d11d5afdd0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): codex-rs/rmcp-client/src/http_client_redirect.rs:184-198 | codex-rs/rmcp-client/src/http_client_redirect.rs:203-217 \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":"codex-rs/rmcp-client/src/http_client_redirect.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4a936fbe066fcd10b986faf4af2da97b9db6b437c90cb31e1c507dc9a0eeda"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 14\u002B corresponding lines): codex-rs/tui/src/app/background_requests.rs:389-404 | codex-rs/tui/src/app/background_requests.rs:412-428 | codex-rs/tui/src/app/background_requests.rs:435-448 | codex-rs/tui/src/app/background_requests.rs:457-475 | codex-rs/tui/src/app/background_requests.rs:483-499 | codex-rs/tui/src/app/background_requests.rs:524-541 | codex-rs/tui/src/app/background_requests.rs:563-583 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/background_requests.rs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ada01f5ae576fba87bb74fe65271e45f53b247664aec17327afae4dba9a849"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): codex-rs/tui/src/bottom_pane/experimental_features_view.rs:432-447 | codex-rs/tui/src/bottom_pane/skills_toggle_view.rs:267-281 \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":"codex-rs/tui/src/bottom_pane/experimental_features_view.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99ecbb34ccd696be8bf3bfa7cb42dd76b5e3ef4caade8660c0790a4e42095a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): codex-rs/tui/src/onboarding/auth.rs:374-384 | codex-rs/tui/src/onboarding/auth.rs:390-400 \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":"codex-rs/tui/src/onboarding/auth.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d2731606ff6568e66d8de693aac260fb6af2fc869429c920771a97a7c257f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): codex-rs/tui/src/resume_picker.rs:3596-3606 | codex-rs/tui/src/style.rs:102-112 \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":"codex-rs/tui/src/resume_picker.rs"},"region":{"startLine":3596}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d82ad93d4b847b27db91cec514757a9881ddd5d02684968882f50bf693d9792"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): codex-rs/app-server-daemon/src/backend/pid.rs:690-708 | codex-rs/app-server-daemon/src/backend/pid.rs:738-754 \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":"codex-rs/app-server-daemon/src/backend/pid.rs"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f979c1812222fa22e057781dcc0463c51f351eee9b56fad7112a1496872c36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): codex-rs/cli/src/doctor/output.rs:676-686 | codex-rs/cli/src/doctor/output.rs:761-771 \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":"codex-rs/cli/src/doctor/output.rs"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f720b013ec31bcf5c9ab7437313f12833ebf8048e4b307805bc593d5ff549a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): codex-rs/network-proxy/src/credential_broker/registry.rs:54-63 | codex-rs/network-proxy/src/credential_broker/registry.rs:65-75 \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":"codex-rs/network-proxy/src/credential_broker/registry.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0baa25743f91edd5980c7abd3c6493e7daa155611b2af3f7e76e8106fb33e79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): codex-rs/rmcp-client/src/elicitation_client_service.rs:366-376 | codex-rs/rmcp-client/src/elicitation_client_service.rs:380-391 \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":"codex-rs/rmcp-client/src/elicitation_client_service.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e2ca5f5a75b88400b0e68331319980b8e7de0137b1ed8d29aafd1c9000ed9b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): codex-rs/cli/src/main.rs:2730-2754 | codex-rs/cli/src/main.rs:2764-2787 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/main.rs"},"region":{"startLine":2730}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca400ae733a56cc0ff398c9da3a4b76c1dcc5e83e8f0dbbd2b8e0c95beababd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): codex-rs/core/src/config/edit/document_helpers.rs:267-279 | codex-rs/core/src/config/edit/document_helpers.rs:283-294 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/config/edit/document_helpers.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59f97d9d56720942bd8ba1e262565c22a4b80c9485d122449f235253b9d8be3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): codex-rs/exec-server/src/rpc.rs:1005-1018 | codex-rs/exec-server/src/rpc_server_requests.rs:160-176 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/rpc.rs"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78bd0ea31b63d9674d208740a0949dc1e58964798a04df6527f964fcf39a314"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): codex-rs/memories/write/src/workspace.rs:169-177 | codex-rs/windows-sandbox-rs/src/identity.rs:160-171 | codex-rs/windows-sandbox-rs/src/setup_error.rs:163-170 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/memories/write/src/workspace.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b1944ba7c7b47cdd0d9157d70fd3c0b7af105e038c9c91d3f5b9cb7fa7e5d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): codex-rs/protocol/src/permissions.rs:2361-2380 | codex-rs/sandboxing/src/launch.rs:228-241 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/permissions.rs"},"region":{"startLine":2361}}}],"partialFingerprints":{"codehealthFindingId/v1":"b116487f8e0e036ef3fb72620bd4a473ab8c00f5e45f662b149f75e8e2a70a03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): codex-rs/thread-store/src/in_memory.rs:696-713 | codex-rs/thread-store/src/in_memory.rs:718-733 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/in_memory.rs"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ef41fff01ce97aa0a314702d061888b6c34b2c41b390238eb358d8a9ca8e29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): codex-rs/tui/src/app/history_ui.rs:383-410 | codex-rs/tui/src/app/resize_reflow.rs:292-307 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/history_ui.rs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"c095058b6a7e5961a3e7f08a509dd0bfe3c89dc9e6779255a79bcbdc6e86c565"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): codex-rs/cli/src/debug_sandbox/pid_tracker.rs:153-165 | codex-rs/cli/src/debug_sandbox/pid_tracker.rs:167-182 \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":"codex-rs/cli/src/debug_sandbox/pid_tracker.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c4ede3970afa909c240cb2edb5caa1e40b12df51e5bade06fe8cdd87a08f8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): codex-rs/core-plugins/src/remote.rs:2279-2292 | codex-rs/core-plugins/src/remote/share.rs:365-378 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/remote.rs"},"region":{"startLine":2279}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d832e01e90fbcf78833c2c28b08a88129ae74e16b3be915eedf92f410435031"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): codex-rs/guardian-context/src/allocation.rs:177-191 | codex-rs/guardian-context/src/retained_instructions.rs:240-255 \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":"codex-rs/guardian-context/src/allocation.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5d64bf543fcdc46a91f3b97cab77ff71944f257ff84183022753e894fa7ffe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): codex-rs/skills/src/interface.rs:150-164 | codex-rs/utils/absolute-path/src/absolutize.rs:26-45 \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":"codex-rs/skills/src/interface.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c61263570792186c37d6539c41716eceb6ac1f3c749a5ee8e87e15216c7700"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): codex-rs/thread-store/src/queue_store.rs:101-117 | codex-rs/thread-store/src/queue_store.rs:141-157 \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":"codex-rs/thread-store/src/queue_store.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0f5a18be32f6307cb9a1d2266d23b5c0bfa8035d3cf4c3662f1b20e4d3883c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): codex-rs/tools/src/json_schema/compaction.rs:87-111 | codex-rs/tools/src/json_schema/compaction.rs:113-132 | codex-rs/tools/src/json_schema/compaction.rs:134-153 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 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":"codex-rs/tools/src/json_schema/compaction.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"e177d7aa172a69a79337d97fb175c57948acbdd943622f0ea72dc59636dc4c12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): codex-rs/tui/src/bottom_pane/picker_rows.rs:46-59 | codex-rs/tui/src/bottom_pane/picker_rows.rs:68-81 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/picker_rows.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e2ef881117aace7f7d4fa59eaef01970ddaa2929a62d9c4c6fdd87ce60a0eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): codex-rs/utils/pty/src/child.rs:42-52 | codex-rs/utils/pty/src/child.rs:55-70 | codex-rs/utils/pty/src/child.rs:105-120 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/utils/pty/src/child.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d65d608ac2f53472b4fd60ed0b6060d3655b814ce8650fad83427c15f7e520"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 21\u002B corresponding lines): codex-rs/app-server-client/src/lib.rs:546-566 | codex-rs/app-server-client/src/lib.rs:641-662 | codex-rs/app-server-client/src/lib.rs:669-690 | codex-rs/app-server-client/src/remote.rs:555-575 | codex-rs/app-server-client/src/remote.rs:638-659 | codex-rs/app-server-client/src/remote.rs:665-686 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-client/src/lib.rs"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"912bc61c603ec845086aef29c1a785b4600fc8be87d8b6d05a2ede9c25d7b76a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): codex-rs/exec-server/src/local_file_system.rs:677-689 | codex-rs/exec-server/src/local_file_system.rs:696-710 \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":"codex-rs/exec-server/src/local_file_system.rs"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d64cf5362c7406a37e8fd837114a62c87af74f87727ec83c9e2df3068bf431"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): codex-rs/ollama/src/line_buffer.rs:17-27 | codex-rs/rmcp-client/src/executor_process_transport.rs:120-131 \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":"codex-rs/ollama/src/line_buffer.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c637dc57f2b83ab3d11acd9cf261f7f005c1c745a610770694d2ef2b8397fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): codex-rs/rollout-trace/src/code_cell.rs:84-98 | codex-rs/rollout-trace/src/code_cell.rs:126-139 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout-trace/src/code_cell.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2cdc9f490f8acf8912131a635bfa20f2b41c9100edc5bd2ec34b6d295b46bd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): codex-rs/tui/src/bottom_pane/memories_settings_view.rs:120-131 | codex-rs/tui/src/bottom_pane/memories_settings_view.rs:133-146 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/memories_settings_view.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"712f10640933e7692cffcae29fc30be545f8e7a395c5263e568b7052efb6d8c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 15\u002B corresponding lines): codex-rs/tui/src/history_cell/base.rs:193-207 | codex-rs/tui/src/history_cell/base.rs:209-223 | codex-rs/tui/src/history_cell/base.rs:225-239 | codex-rs/tui/src/history_cell/base.rs:241-255 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/history_cell/base.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"05bcc920fb1a542d0b8cafdc9e933f0a8e7922e4c831daaec0967eedef65b385"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): codex-rs/app-server/src/request_processors/thread_processor.rs:726-744 | codex-rs/app-server/src/request_processors/thread_processor.rs:768-785 | codex-rs/app-server/src/request_processors/thread_processor.rs:866-887 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f715e85143f0cc59cc64633c644530c1ef9153a12ad7d83aac33a788f5436c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): codex-rs/codex-mcp/src/ema_auth.rs:248-260 | codex-rs/codex-mcp/src/ema_auth.rs:265-277 \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":"codex-rs/codex-mcp/src/ema_auth.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef533802f3bd65e13a0502225cb8cbf63cc9fe55100a64a8b36e227ce210dcad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): codex-rs/otel/src/metrics/config.rs:74-94 | codex-rs/otel/src/metrics/config.rs:102-117 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/otel/src/metrics/config.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"8929af53ff8a2f503625094b3616a99e13d59aab71a0ff608a955567f23ac266"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): codex-rs/tui/src/app.rs:345-363 | codex-rs/tui/src/app.rs:365-377 \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":"codex-rs/tui/src/app.rs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a527ab3f52534fe82f1d862d84340e48426da1997c106bb03eff5029cad1a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): codex-rs/app-server/src/request_processors/thread_processor.rs:6621-6638 | codex-rs/app-server/src/request_processors/thread_processor.rs:6643-6665 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":6621}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47164794deb02c398afd2499e4c0438754a4acd5e21a93424e2712fb6a41117"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): codex-rs/code-mode/src/remote_session/connection/driver/session_registry.rs:81-93 | codex-rs/code-mode/src/remote_session/connection/driver/session_registry.rs:95-108 \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":"codex-rs/code-mode/src/remote_session/connection/driver/session_registry.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c1879640d44d52c491d7865884df774d0c6b373bbdebc5e9245a4d7229b9a91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): codex-rs/codex-experimental-api-macros/src/lib.rs:226-242 | codex-rs/tui/src/bottom_pane/mentions_v2/search_catalog.rs:182-203 \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":"codex-rs/codex-experimental-api-macros/src/lib.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05e7ea65e2c50395d2f8f826b8f377949579a10f2df4c0663c82c6da05419ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): codex-rs/config/src/diagnostics.rs:485-495 | codex-rs/config/src/diagnostics.rs:497-504 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/diagnostics.rs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"0afc376fae3005e3d8947fc843e3d0f8178d2365cbe4fbd5b216c03d1ab7c3c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): codex-rs/hooks/src/schema.rs:876-888 | codex-rs/protocol/src/config_types.rs:274-290 \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":"codex-rs/hooks/src/schema.rs"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"1715ac82dab042d16ba241888f2390978d652af6a09a759bf0360d3a9bd4ae77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): codex-rs/login/src/auth/bedrock_access_keys.rs:42-63 | codex-rs/login/src/auth/bedrock_api_key.rs:36-56 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/login/src/auth/bedrock_access_keys.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c65a9b0d411e4687d899a1e1099a14b815b0463027ec731e9ba3f15a3c7f64"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): codex-rs/thread-store/src/local/thread_sections.rs:15-34 | codex-rs/thread-store/src/local/thread_sections.rs:56-68 \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":"codex-rs/thread-store/src/local/thread_sections.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ecee120718161e53745bc79ef2977f5f606cfb3628eb58c890f937a94ad6c0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): codex-rs/app-server/src/request_processors/thread_attachments.rs:280-294 | codex-rs/app-server/src/request_processors/thread_sections.rs:221-236 \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":"codex-rs/app-server/src/request_processors/thread_attachments.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc9f30cd7d3d0f9278a4221cdccc7ef63f3e986c338a2d566131a3016ca2b91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): codex-rs/keyring-store/src/lib.rs:78-95 | codex-rs/keyring-store/src/lib.rs:97-110 | codex-rs/keyring-store/src/lib.rs:112-129 \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":"codex-rs/keyring-store/src/lib.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"320352dd78359ab8d34ce62e1b23b530619997c6b7e7cf09212c082a3dee0a65"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): codex-rs/tui/src/app/provider.rs:373-393 | codex-rs/tui/src/bottom_pane/popup_consts.rs:28-40 | codex-rs/tui/src/chatwidget/usage.rs:578-593 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/provider.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"2292b47c25cacabbf0915d24c106a7a5e94ef2ce0a5791260a52b23fa19c64b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 14\u002B corresponding lines): codex-rs/tui/src/chatwidget/connectors.rs:215-228 | codex-rs/tui/src/chatwidget/plugin_catalog.rs:458-471 | codex-rs/tui/src/chatwidget/plugin_catalog.rs:523-536 | codex-rs/tui/src/chatwidget/plugin_catalog.rs:541-554 | codex-rs/tui/src/chatwidget/plugin_catalog.rs:556-569 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/connectors.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"5398b60372242dc671d45ab1471a89eb1e83fd66321d3115c03474bea6048254"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): codex-rs/tui/src/render/renderable.rs:191-204 | codex-rs/tui/src/render/renderable.rs:217-230 | codex-rs/tui/src/render/renderable.rs:232-243 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/render/renderable.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"416f21c84c35afc6de4d757d1d1efec6a8e8208a146dcb3dd0616e1c994d77b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): codex-rs/code-mode-host/src/peer.rs:94-107 | codex-rs/code-mode-host/src/peer.rs:109-124 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/code-mode-host/src/peer.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b2aa9da0c6eb608a030f671b9d6e1f896933a5df1c4e0a8e26a76675de2f98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): codex-rs/core-plugins/src/command_migration/render.rs:72-91 | codex-rs/ext/skills/src/dynamic_skill_selector/weighted_lexical.rs:139-155 \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":"codex-rs/core-plugins/src/command_migration/render.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"acaeef7e099e5762ed4617f60a910894c9fcd76ed1082023ea245b8e79c14556"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): codex-rs/core/src/context/environment_context.rs:166-179 | codex-rs/tui/src/bottom_pane/approval_overlay.rs:1038-1047 \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":"codex-rs/core/src/context/environment_context.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7af7e8d9df96587ddc905296aee19b61cfa9709e8e9661084ad21b1c617e35f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): codex-rs/network-proxy/src/socks5.rs:545-551 | codex-rs/network-proxy/src/socks5.rs:559-565 | codex-rs/network-proxy/src/socks5.rs:567-573 | codex-rs/network-proxy/src/socks5.rs:575-581 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/socks5.rs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cfae5af3249b93afc6d44df92823bc8442860aa3c68cb6bbed4322af8b13ed2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs:1228-1247 | codex-rs/tui/src/bottom_pane/request_user_input/mod.rs:941-955 \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":"codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs"},"region":{"startLine":1228}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de367b53c763302f1d79fb555984748aaad3dabc9ec30542741c51e7378436c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): codex-rs/tui/src/bottom_pane/textarea.rs:1252-1264 | codex-rs/tui/src/bottom_pane/textarea.rs:1266-1278 \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":"codex-rs/tui/src/bottom_pane/textarea.rs"},"region":{"startLine":1252}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c53a2937ef91cbf82c9957197d926e0b0c8d91b2a9d8100f6daf67cb5ab13e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): codex-rs/app-server/src/request_processors/thread_processor.rs:5123-5136 | codex-rs/core/src/thread_manager.rs:3106-3119 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":5123}}}],"partialFingerprints":{"codehealthFindingId/v1":"287df8a1c9d4c879b6423abd2f9f9b17316e1b7b902e082be7a854f95819348c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): codex-rs/cloud-config/src/metrics.rs:87-95 | codex-rs/external-agent-migration/src/reporting.rs:96-106 \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":"codex-rs/cloud-config/src/metrics.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"59fdd3ea0f96e124e65c579660eccd5e8a8e0f44b13219be8ef08e473f058460"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): codex-rs/config/src/config_requirements.rs:365-373 | codex-rs/config/src/config_requirements.rs:375-383 | codex-rs/config/src/permissions_toml.rs:253-261 | codex-rs/config/src/permissions_toml.rs:263-271 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/config_requirements.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"50fbb8681308c4214c7494bbf434e94c1c90ee8206948db933af6a3c3a2439b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): codex-rs/external-agent-migration/src/mcp.rs:359-367 | codex-rs/external-agent-migration/src/source/mod.rs:76-84 \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":"codex-rs/external-agent-migration/src/mcp.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e75ca10af006f11400969f10b69429d9c1798fad5b01a6356f3d309946b4c1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): codex-rs/login/src/auth/storage_telemetry.rs:78-88 | codex-rs/login/src/auth/storage_telemetry.rs:90-100 \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":"codex-rs/login/src/auth/storage_telemetry.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"9144243ed9c2ee95f8e68ad4578547532489b417d07016fac02086e44dd5bdf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): codex-rs/network-proxy/src/credential_broker/providers.rs:157-169 | codex-rs/network-proxy/src/credential_broker/providers.rs:173-184 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/credential_broker/providers.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe04999ed59fef236f528ae3029dc70370668860fb05578313985e39be8ffc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): codex-rs/protocol/src/models.rs:236-253 | codex-rs/protocol/src/models.rs:367-384 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/models.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c4d8dd63720aae9698dc73e36cb52587584c51265b10f6904597e94c1359c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): codex-rs/rmcp-client/src/oauth.rs:588-600 | codex-rs/rmcp-client/src/oauth.rs:755-770 \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":"codex-rs/rmcp-client/src/oauth.rs"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"13bb4d68f136306ce6090aa066ef3d10c8df910be37bd0b78d614b3a79cc9e8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): codex-rs/thread-store/src/local/thread_history/read.rs:281-291 | codex-rs/thread-store/src/local/thread_history/search.rs:287-300 \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":"codex-rs/thread-store/src/local/thread_history/read.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30c9287cc27ea9f43312959b35bc5ba932aa97295ee313ff0d6780bed8091f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): codex-rs/tui/src/onboarding/onboarding_screen.rs:243-256 | codex-rs/tui/src/onboarding/onboarding_screen.rs:258-271 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/onboarding/onboarding_screen.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"356035200fefb393d42eb2e5170b94d1396857c1ce0c04158de7e7690881bf3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 31\u002B corresponding lines): codex-rs/cli/src/debug_sandbox.rs:55-87 | codex-rs/cli/src/debug_sandbox.rs:102-133 | codex-rs/cli/src/debug_sandbox.rs:139-169 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 31 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":"codex-rs/cli/src/debug_sandbox.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"7599f7bd67f6b0643933555a5d241bece81ab6e41076961bed22f2168794dcfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): codex-rs/core/src/context/environment_context.rs:199-210 | codex-rs/hooks/src/engine/discovery.rs:488-501 | codex-rs/login/src/server.rs:1020-1033 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/context/environment_context.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"666af0aeb001fc8dde7f0a86c78c02de5e55c49f5a21858fe286542a1940f647"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): codex-rs/login/src/auth/storage.rs:343-356 | codex-rs/login/src/auth/storage.rs:460-478 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/login/src/auth/storage.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b9dd8598e359469eeec976c93ad364f6a0cb4291e1a3852f28b4ccf016718c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): codex-rs/protocol/src/models/executed_tool_calls.rs:66-73 | codex-rs/protocol/src/models/executed_tool_calls.rs:76-85 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/models/executed_tool_calls.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9f7fe1860b01992107df9ef17ef20171562a4b352189d3c019827d2bb3e1c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): codex-rs/rollout-trace/src/reducer/code_cell.rs:664-674 | codex-rs/rollout-trace/src/reducer/tool.rs:451-460 \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":"codex-rs/rollout-trace/src/reducer/code_cell.rs"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ecaa285ca5423be62b6429c8f1ab119316b8330bd920d9369673e0cf6cdd310"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): codex-rs/app-server/src/request_processors/remote_control_processor.rs:45-61 | codex-rs/app-server/src/request_processors/remote_control_processor.rs:67-83 \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":"codex-rs/app-server/src/request_processors/remote_control_processor.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91db962210c0c582db63040cdf72298dfe7719ea3d5352822a380c654ef1787"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): codex-rs/chatgpt/src/connectors.rs:371-385 | codex-rs/connectors/src/merge.rs:92-103 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/chatgpt/src/connectors.rs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"aced00b2f8bd72338cc52e7ab97087aa0198e967f04938746717b7ea12ede684"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): codex-rs/cloud-tasks-client/src/http.rs:919-929 | codex-rs/cloud-tasks/src/util.rs:19-29 \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":"codex-rs/cloud-tasks-client/src/http.rs"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e656fff28334d51220fd9c67a0630085dd814f38048aed7463a11cf96fbd2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): codex-rs/code-mode-runtime/src/runtime/globals.rs:118-127 | codex-rs/code-mode-runtime/src/runtime/globals.rs:132-141 \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":"codex-rs/code-mode-runtime/src/runtime/globals.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"f460c25b5e6b0ea2fb59b2bea8e22ce73798df7f5980eaabe188027e5ce3ed9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): codex-rs/core/src/realtime_conversation.rs:2074-2084 | codex-rs/core/src/realtime_conversation.rs:2206-2217 | codex-rs/core/src/realtime_conversation.rs:2223-2234 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/realtime_conversation.rs"},"region":{"startLine":2074}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9fb3d7a6c917c5cf1d06361321fbb2f68dd1f2cf77a3e55a507976ce8cd77d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): codex-rs/exec-server/src/local_file_system.rs:1185-1194 | codex-rs/exec-server/src/no_follow/mod.rs:106-117 \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":"codex-rs/exec-server/src/local_file_system.rs"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"70420d8a73861012e38c269eccf6f05557b892779a82d8be64c347af59a282a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): codex-rs/rollout-trace/src/reducer/code_cell.rs:642-657 | codex-rs/rollout-trace/src/reducer/tool.rs:394-411 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout-trace/src/reducer/code_cell.rs"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ab5020a1879bc1ccc88a35199a1da38b6d114dc42f36f8623b11ff668ddbab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): codex-rs/tui/src/app/background_requests.rs:80-94 | codex-rs/tui/src/app/background_requests.rs:251-260 | codex-rs/tui/src/app/background_requests.rs:357-366 | codex-rs/tui/src/app/background_requests.rs:373-382 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/background_requests.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e096ff674e9f90ba016f9987ec3dd26a669b1b75db6e68f6ce0c2e1f4481f9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): codex-rs/tui/src/chatwidget/plugin_catalog.rs:1405-1429 | codex-rs/tui/src/chatwidget/plugin_catalog.rs:1876-1896 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/plugin_catalog.rs"},"region":{"startLine":1405}}}],"partialFingerprints":{"codehealthFindingId/v1":"a804ba2430cc927a343fd99d2ae92fa30ba6fa46b9f2f7e41608c3e2a5eeff1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): codex-rs/utils/cache/src/lib.rs:35-46 | codex-rs/utils/cache/src/lib.rs:56-66 \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":"codex-rs/utils/cache/src/lib.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"143dc41649690c63fed2a096abda4ff9d733ca2948285175eabb7aae5d55c79f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): codex-rs/cli/src/doctor/title.rs:166-187 | codex-rs/tui/src/chatwidget/status_surfaces.rs:541-555 \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":"codex-rs/cli/src/doctor/title.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db9964384a2370c4ac3bb645a071fe6c1c7a96f25cffcbec212bb6d2cb1c1d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): codex-rs/core/src/config/edit.rs:923-933 | codex-rs/core/src/config/edit.rs:935-945 | codex-rs/core/src/config/edit.rs:947-957 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/config/edit.rs"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fed69bd15d93ef3d7e1bd3374425d7f80d7eb55feb0d003a4478f4069bd2305"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): codex-rs/core/src/tools/lifecycle.rs:78-93 | codex-rs/core/src/tools/lifecycle.rs:102-117 | codex-rs/core/src/tools/lifecycle.rs:156-171 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/lifecycle.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac8b750eddafdc704ef07b512fe6cbc78f6962d0f2127dfd272c156dbd49de6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): codex-rs/thread-store/src/local/thread_attachments.rs:38-53 | codex-rs/thread-store/src/local/thread_attachments.rs:86-100 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/thread_attachments.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d05345e957c64f503cd45b543e650366558b69adc7698346aea58a7de7d5b8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): codex-rs/analytics/src/reducer.rs:1650-1665 | codex-rs/analytics/src/reducer.rs:1671-1687 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/analytics/src/reducer.rs"},"region":{"startLine":1650}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed9ae1bbe805859ae6cce9b13580d1c935cdc6efeebc7516d68ba542644027e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): codex-rs/cloud-tasks-client/src/http.rs:729-736 | codex-rs/cloud-tasks-client/src/http.rs:785-794 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cloud-tasks-client/src/http.rs"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"116dfd0678b60b5d659fff0698d0825fb41c63cacc752b6d42a1b0da37ed8877"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): codex-rs/code-mode-host/src/delegate.rs:31-50 | codex-rs/code-mode-host/src/delegate.rs:58-79 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/code-mode-host/src/delegate.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"809396b74bde1aedfa11a91c53d762cce74dcbc73f14893570d73870ae72755c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): codex-rs/exec-server/src/remote_file_system.rs:91-102 | codex-rs/exec-server/src/remote_file_system.rs:278-289 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/remote_file_system.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f997e55b283a5af9a2b758bccae2c5ac58c17230524a8b328a35dc0a9f586b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): codex-rs/hooks/src/events/permission_request.rs:74-89 | codex-rs/hooks/src/events/post_tool_use.rs:61-73 | codex-rs/hooks/src/events/pre_tool_use.rs:62-74 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/hooks/src/events/permission_request.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7a0c40a0f984c5331c737396f8a1965e472b8bf2ab587765e5607032bbb969"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): codex-rs/network-proxy/src/certs.rs:617-636 | codex-rs/network-proxy/src/certs.rs:648-659 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/certs.rs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"a651fd4cbc036c57818e35a1330ecc6bd9705eb481a1d42226bb80602bda6d42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): codex-rs/tui/src/diff_render.rs:1215-1222 | codex-rs/tui/src/diff_render.rs:1224-1231 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/diff_render.rs"},"region":{"startLine":1215}}}],"partialFingerprints":{"codehealthFindingId/v1":"e460297167af1d04cdf461cab5d787a348aaa67f1e212fb522332993cc740686"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): codex-rs/tui/src/history_cell/mcp.rs:812-827 | codex-rs/tui/src/history_cell/notices.rs:378-393 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/history_cell/mcp.rs"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"1333fe4a42fe92d8191f85a126025db4552c5a5a89df99d077a7c432ede8dc89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): codex-rs/tui/src/pets/asset_pack.rs:165-179 | codex-rs/tui/src/pets/model.rs:314-325 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/pets/asset_pack.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fbe38a7c112e6969d1f47bc8488f8f302bb86465e50ee8f5e1ddec8a86e0d83"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): codex-rs/tui/src/streaming/controller.rs:635-645 | codex-rs/tui/src/streaming/controller.rs:786-796 \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":"codex-rs/tui/src/streaming/controller.rs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"54fd9092a6314b55c1419754561e17cd111acab613d831ffad7054220ca3a073"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): codex-rs/utils/audio/src/lib.rs:93-106 | codex-rs/utils/audio/src/lib.rs:108-121 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/utils/audio/src/lib.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"26fdec96dfae99cf6823609a29c5dab26c11b5563382a48e6b26644af3a0a327"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): codex-rs/app-server/src/command_exec.rs:638-655 | codex-rs/app-server/src/request_processors/process_exec_processor.rs:709-728 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/command_exec.rs"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"809dc979f29c9194661d74bbdb2ff600bf39ec28bd494cd536819c89aa209877"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): codex-rs/core-plugins/src/loader.rs:724-735 | codex-rs/core-plugins/src/marketplace_policy.rs:301-316 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/loader.rs"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"822e0c9799bbe949818c149e4f173142e9ba2ac51d3053009005ad0dfbe42eef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): codex-rs/core-plugins/src/manager.rs:1290-1305 | codex-rs/core-plugins/src/manager.rs:1311-1327 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/manager.rs"},"region":{"startLine":1290}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b52d02d134a1b61a258fc2fff5dd0ba76a4b446974a61c45fa9c399dce07abf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): codex-rs/core/src/exec_policy.rs:1028-1045 | codex-rs/core/src/exec_policy.rs:1052-1066 \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":"codex-rs/core/src/exec_policy.rs"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"d781443cde2b2178587c0b99e209c96ce85e10d8119e1abe1d05324492932c97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): codex-rs/state/src/runtime/threads.rs:810-820 | codex-rs/state/src/runtime/threads.rs:851-871 \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":"codex-rs/state/src/runtime/threads.rs"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7d7327c1fe552ec9dd7302e4cb6b214494602755a24816a5f520b3c4390d1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs:842-853 | codex-rs/tui/src/bottom_pane/request_user_input/mod.rs:572-583 | codex-rs/tui/src/bottom_pane/request_user_input/mod.rs:805-820 | codex-rs/tui/src/bottom_pane/request_user_input/mod.rs:822-837 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"4182b882425c9263f26cf17a3fe81f7fba9ea49db70e0ff5073acc6cd409c596"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): codex-rs/tui/src/chatwidget/usage.rs:290-302 | codex-rs/tui/src/chatwidget/usage.rs:461-474 \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":"codex-rs/tui/src/chatwidget/usage.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad4ec8e65019646fe62b7440ff42b9e6b989ba0b607712f89247f6922295d49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): codex-rs/tui/src/external_agent_config_migration/model.rs:80-93 | codex-rs/tui/src/external_agent_config_migration/model.rs:97-110 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/external_agent_config_migration/model.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"09aa2c70303dad9314b609b4761f90cb86fed3d9ddd4c8c360c9abaea6d5818e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): codex-rs/code-mode-protocol/src/host/payload.rs:216-224 | codex-rs/code-mode-protocol/src/host/payload.rs:230-238 \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":"codex-rs/code-mode-protocol/src/host/payload.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5803fd3d262ac36e732f1cf2c10332bcd46c9232d143635c6654170bb588196"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): codex-rs/core/src/client.rs:1385-1394 | codex-rs/ext/guardian-v2/src/async_scorer/sampler/connection_pool.rs:456-470 \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":"codex-rs/core/src/client.rs"},"region":{"startLine":1385}}}],"partialFingerprints":{"codehealthFindingId/v1":"36fbfba181ea5dadd6afa4c9add3c587e4ba5e62737d139197c1f5ea63cada86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): codex-rs/core/src/context/world_state/environments_instructions.rs:39-52 | codex-rs/core/src/context/world_state/model_catalog.rs:151-162 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/context/world_state/environments_instructions.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58e1d4b7f5bf7b6e655cf6aa09032644ec10b47596362b22eebebe5c4b6ff44"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): codex-rs/ext/goal/src/runtime.rs:677-690 | codex-rs/ext/goal/src/tool.rs:418-434 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/goal/src/runtime.rs"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe0290e3bd7e4aa0543d0138989dea17b1cd317f428fccf5a29c15f17c9a286"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): codex-rs/login/src/auth/manager.rs:719-726 | codex-rs/login/src/auth/manager.rs:729-738 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/login/src/auth/manager.rs"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"8626685e48174698ba06ac68edeb157debffb2cee7007173c5e7ca257654a935"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): codex-rs/rollout-trace/src/thread.rs:493-504 | codex-rs/rollout-trace/src/thread.rs:518-530 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout-trace/src/thread.rs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2189fc8d7274290c67b76faf305f269e8889fccb6bb5d93092f1d5f7d2462e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): codex-rs/tui/src/app/thread_events.rs:663-674 | codex-rs/tui/src/app/thread_events.rs:697-710 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/thread_events.rs"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"f55a41e4e05376334126839a4f7d930c5a87d1e53f260a33d8ffba62f34a6acb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 11\u002B corresponding lines): codex-rs/tui/src/bottom_pane/list_selection_view.rs:893-903 | codex-rs/tui/src/bottom_pane/list_selection_view.rs:905-915 | codex-rs/tui/src/bottom_pane/list_selection_view.rs:917-927 | codex-rs/tui/src/bottom_pane/list_selection_view.rs:929-939 | codex-rs/tui/src/bottom_pane/list_selection_view.rs:941-951 | codex-rs/tui/src/bottom_pane/list_selection_view.rs:953-963 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/list_selection_view.rs"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf208537972d235b723406b085cb4462e9cd000f934adf72bdbe1672e5732640"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs:1050-1060 | codex-rs/tui/src/bottom_pane/request_user_input/mod.rs:764-774 \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":"codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs"},"region":{"startLine":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86bbd032371ccbae1e44857848002c3bf1b2e4161c3b26de9bfec5ccfae0a05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): codex-rs/tui/src/bottom_pane/scroll_state.rs:110-118 | codex-rs/tui/src/bottom_pane/scroll_state.rs:125-133 \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":"codex-rs/tui/src/bottom_pane/scroll_state.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa36a5ca3134c328fe1d23659262c5b17640ecf136f5d6e6142bc33724f0e16"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): codex-rs/tui/src/history_cell/base.rs:158-170 | codex-rs/tui/src/history_cell/base.rs:179-191 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/history_cell/base.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"0042fadd01bbd8aa692b004fc6fcc372a149ad7243bb624047522469e5bab66d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): sdk/python/src/openai_codex/_login.py:64-78 | sdk/python/src/openai_codex/_login.py:84-98 \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":"sdk/python/src/openai_codex/_login.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9c533c8c35a9b3432104ca04625d288cc7f9e2b70b8ab007db4816d354e874"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): codex-rs/core-plugins/src/store.rs:451-459 | codex-rs/linux-sandbox/src/bundled_bwrap.rs:211-219 \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":"codex-rs/core-plugins/src/store.rs"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"6672ec010aef1b68259f50a849ee5aa509fcd93140a65933ba8a087202ee660b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): codex-rs/core/src/mcp_tool_call.rs:2664-2678 | codex-rs/core/src/mcp_tool_call.rs:2742-2756 \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":"codex-rs/core/src/mcp_tool_call.rs"},"region":{"startLine":2664}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa45fb4dc2ba3f2f0c8a9f7c522e18b89695ef4785d3fdaa373e4de1bb13475"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): codex-rs/core/src/thread_manager.rs:1683-1696 | codex-rs/core/src/thread_manager.rs:1706-1718 \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":"codex-rs/core/src/thread_manager.rs"},"region":{"startLine":1683}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8818f921d60bef1ca836e6aeb10f328eb3beb15955f6b667ea22cd1abeecff8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): codex-rs/core/src/tools/handlers/mcp_resource.rs:307-315 | codex-rs/core/src/tools/handlers/mcp_resource.rs:354-366 \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":"codex-rs/core/src/tools/handlers/mcp_resource.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6cb6959fde45fecb49aedea7212b045e644475c4bcf1118cb0b113ec730cef9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): codex-rs/exec-server/src/sandboxed_file_system.rs:125-140 | codex-rs/exec-server/src/sandboxed_file_system.rs:281-297 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/sandboxed_file_system.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"21095cfae9397a12e5057365225840ec36cbec8d9c14aa115ba96ad73db16caa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): codex-rs/exec-server/src/server/file_system_handler.rs:222-236 | codex-rs/exec-server/src/server/file_system_handler.rs:314-330 \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":"codex-rs/exec-server/src/server/file_system_handler.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"38788f60c0c6f652b90614b2af80eb22afe89c1fc329705ed0978efde5afc323"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): codex-rs/ext/skills/src/render.rs:547-561 | codex-rs/ext/skills/src/render.rs:1162-1179 \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":"codex-rs/ext/skills/src/render.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"9381ee972c83fd79197d98bf0fd3fddc3759ad9b3e86e729ea76aad0b21f6deb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): codex-rs/http-client/src/network_policy.rs:71-79 | codex-rs/utils/critical-path/src/lib.rs:53-59 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/http-client/src/network_policy.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f394fe7603c2586f56940a9db6c1cb4d5bfeb453d6bf527987eef517140972bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): codex-rs/tui/src/app/plugin_mentions.rs:73-82 | codex-rs/tui/src/chatwidget/plugin_catalog.rs:1803-1815 | codex-rs/tui/src/chatwidget/plugin_catalog.rs:1840-1849 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/plugin_mentions.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6425365f69639ca213b12f48dac43d38acb00ed7d84baa711768e2492ec52d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): codex-rs/app-server/src/request_processors/account_processor.rs:516-531 | codex-rs/app-server/src/request_processors/account_processor.rs:894-908 \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":"codex-rs/app-server/src/request_processors/account_processor.rs"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f48e712b3e8c91ba011e4845376e3cfa4496f387c55a11a468290360d03fdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): codex-rs/code-mode-runtime/src/runtime/globals.rs:148-156 | codex-rs/code-mode-runtime/src/runtime/globals.rs:162-170 \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":"codex-rs/code-mode-runtime/src/runtime/globals.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1c09b4c9a89c898fc43493fe2478790c52c48fccf003a477e617b26fc5e266"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): codex-rs/exec-server/src/client/route_aware_http_client.rs:351-362 | codex-rs/rmcp-client/src/http_client_adapter.rs:748-759 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/client/route_aware_http_client.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"fecb54ac541d7ffed63159692498445b380a0784d4ba7cd3f59325c86a3be511"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): codex-rs/network-proxy/src/http_proxy.rs:104-117 | codex-rs/network-proxy/src/socks5.rs:76-94 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de5bab6a31b65e6b448e76e910e219484006c8b371819cc0e90826cadcaa4ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): codex-rs/network-proxy/src/socks5.rs:585-592 | codex-rs/network-proxy/src/socks5.rs:594-601 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/socks5.rs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"c901e20f262d411fcce6e4351286a0f3a6f31a95b69d39c7453466ec1784a6b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): codex-rs/sandboxing/src/seatbelt.rs:400-409 | codex-rs/utils/absolute-path/src/lib.rs:220-227 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/sandboxing/src/seatbelt.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"600bf807b8c211ea87d5f8d358b03ecddedf628bac658549a1a314e1fa2afc6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): codex-rs/tui/src/app_server_session.rs:2900-2916 | codex-rs/tui/src/app_server_session.rs:2922-2937 | codex-rs/tui/src/app_server_session.rs:2944-2960 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app_server_session.rs"},"region":{"startLine":2900}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbbd3273ffbb9b2d4b50da82dd44931243e2fe5100645e6ad4da7d3af7455811"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): codex-rs/analytics/src/reducer.rs:194-201 | codex-rs/core-plugins/src/plugin_metrics.rs:151-158 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/analytics/src/reducer.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8503576530cf5428b3ec5c65fa09d75bdff6c4ed80ca9174c538d4281d82554"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): codex-rs/app-server/src/request_processors/fs_processor.rs:99-113 | codex-rs/app-server/src/request_processors/fs_processor.rs:159-174 \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":"codex-rs/app-server/src/request_processors/fs_processor.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4bbed12d0fd33e1dcacaad1eba393a5cb33a65b287660e7e0dee94df32a16c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 8\u002B corresponding lines): codex-rs/backend-client/src/client.rs:537-544 | codex-rs/backend-client/src/client.rs:689-701 | codex-rs/backend-client/src/client.rs:705-714 | codex-rs/backend-client/src/client/profile.rs:62-70 | codex-rs/backend-client/src/client/rate_limit_resets.rs:84-91 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/backend-client/src/client.rs"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10b0e86115c2e43ad2ada1f3d2e7f60b60b10172c26cfeae5a22d66c7ebe9a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): codex-rs/core/src/tools/handlers/apply_patch.rs:407-419 | codex-rs/core/src/tools/handlers/mcp.rs:560-574 \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":"codex-rs/core/src/tools/handlers/apply_patch.rs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ee5965af2dd65b4c8aacb6537a4220c586d776c419f4abe4f601cf65514985"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): codex-rs/network-proxy/src/credential_broker/providers.rs:117-126 | codex-rs/network-proxy/src/credential_broker/providers.rs:128-137 \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":"codex-rs/network-proxy/src/credential_broker/providers.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12a77696f86ec41a5022bbc5dd520c9e05805f16abb8759dd700c6bbb51b8e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): codex-rs/network-proxy/src/responses.rs:76-83 | codex-rs/network-proxy/src/responses.rs:92-99 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/responses.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c36850d52413365864735d073ce9b1dd16e1da99226697918e8b57967cd80c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): codex-rs/tui/src/app/plugin_mentions.rs:84-96 | codex-rs/tui/src/bottom_pane/chat_composer.rs:4523-4532 \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":"codex-rs/tui/src/app/plugin_mentions.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1099a2965a5c5f10611cfc528b3aebe12d239295f3d0b89860fd46c3c6c8df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): codex-rs/tui/src/app_server_session/fs.rs:39-54 | codex-rs/tui/src/app_server_session/fs.rs:60-76 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app_server_session/fs.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a52b1c1b1df6922234a19192f8d0dce00f109f93ab9f9d89c0a859a3b2f8e49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): codex-rs/tui/src/bottom_pane/command_popup.rs:258-267 | codex-rs/tui/src/bottom_pane/command_popup.rs:270-280 \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":"codex-rs/tui/src/bottom_pane/command_popup.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71247f41dbf1737206fee92ea5e5604e32690664679981c6c2c457b9165a606"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): codex-rs/tui/src/bottom_pane/textarea.rs:1303-1318 | codex-rs/tui/src/bottom_pane/textarea.rs:1327-1338 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/textarea.rs"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"914d5585be59f3ad5baa6997dc9bfbe0c319e78ed0022781121c18c0a6d50a27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): codex-rs/analytics/src/reducer.rs:3681-3694 | codex-rs/analytics/src/reducer.rs:3696-3708 \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":"codex-rs/analytics/src/reducer.rs"},"region":{"startLine":3681}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c0161ea7e8c847b0793395f3e09739fef2e3548d130e0e0232fcf2d0dc4ff2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): codex-rs/app-server-client/src/lib.rs:750-756 | codex-rs/app-server-client/src/lib.rs:847-853 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-client/src/lib.rs"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98a9b18b8c9f84de102f61b540dfac004ec699c5a5ba70e3f974e778e3e8471"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): codex-rs/app-server-client/src/lib.rs:762-768 | codex-rs/app-server-client/src/lib.rs:859-865 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-client/src/lib.rs"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b2b413f36ebd725d3edea3d4ccb4937c87cde4d66a0997fc6acb0da562f9e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): codex-rs/app-server-protocol/src/export.rs:337-348 | codex-rs/app-server-protocol/src/export.rs:407-413 | codex-rs/app-server-protocol/src/export.rs:1607-1615 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/export.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44a43290c6b6e07e45fc18dbac132fcf28f5b5be5e5514cac018d99dedf7129"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): codex-rs/cli/src/doctor/progress.rs:64-72 | codex-rs/cli/src/doctor/progress.rs:86-97 \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":"codex-rs/cli/src/doctor/progress.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f31a8e0cea028a5b452c90252b81edfbdff6c5321348c9e2ef851d82c9c0798"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): codex-rs/config/src/loader/macos.rs:270-288 | codex-rs/config/src/loader/mod.rs:677-692 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/loader/macos.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74790115f195a1d0ea21937e413a701bf00118669aadb8c0e5749ceff3cce70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): codex-rs/config/src/plugin_edit.rs:154-162 | codex-rs/core/src/config/edit/document_helpers.rs:248-257 \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":"codex-rs/config/src/plugin_edit.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"059f0f618c8e93b87275b4bcb250752833ab7709fe96bce212dd1edeb921a03a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): codex-rs/core/src/codex_thread.rs:376-383 | codex-rs/core/src/codex_thread.rs:387-394 | codex-rs/core/src/codex_thread.rs:791-798 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/codex_thread.rs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"715e9fcafc96d576b437d9e51e8b29b85d139cae0b137802e5177b23e485b7ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): codex-rs/core/src/config/edit.rs:114-121 | codex-rs/core/src/config/edit.rs:135-142 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/config/edit.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a56841619fd95936064f73edd6760935d30e8d4469e80bcf9ec5b40708ab896"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): codex-rs/core/src/tools/network_approval.rs:669-681 | codex-rs/core/src/tools/network_approval.rs:683-700 \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":"codex-rs/core/src/tools/network_approval.rs"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff24bc086f380633f5a30c940e15b131d6e328dd3418023f618f25373ccdafe3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): codex-rs/protocol/src/approvals.rs:365-377 | codex-rs/tui/src/approval_events.rs:56-66 \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":"codex-rs/protocol/src/approvals.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"7930ac47975a8babac01e72b206fd3a337e7db3a8f1d0c64301610a0203f8b93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): codex-rs/state/src/runtime/memories.rs:571-631 | codex-rs/state/src/runtime/threads.rs:13-72 \u2014 These two members are one piece of code written twice and then edited apart: 60 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/state/src/runtime/memories.rs"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"039fb312ecc040c426cf128af234e2fe1c3ce83f0820cf0b025748819db79479"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): codex-rs/tui/src/history_cell/approvals.rs:304-312 | codex-rs/tui/src/history_cell/approvals.rs:336-344 \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":"codex-rs/tui/src/history_cell/approvals.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed8c3290ce20b1b9ecf2336920fb25e63fd3d9bab89489ed81fd7ab41f017b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): sdk/python/src/openai_codex/_login.py:30-43 | sdk/python/src/openai_codex/_login.py:47-60 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdk/python/src/openai_codex/_login.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6653739a8ad7402363a6e04df8cc2f478bd40efbd2dddf8721ca7c9788be57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): codex-rs/protocol/src/permissions.rs:668-677 | codex-rs/protocol/src/permissions.rs:977-988 \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":"codex-rs/protocol/src/permissions.rs"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"20239a86aeb4fd7e3c9d084ffd86d0ae254f5444071d761a91133a3f803c9197"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): codex-rs/state/src/sqlite/busy_retry.rs:85-93 | codex-rs/state/src/sqlite/busy_retry.rs:102-110 \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":"codex-rs/state/src/sqlite/busy_retry.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf6d51fc02919c5f20432fa168e0b19eacf3ef411af423f6818764a3cd95f58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): codex-rs/tui/src/bottom_pane/request_user_input/render.rs:48-61 | codex-rs/tui/src/render/line_utils.rs:5-18 | codex-rs/tui/src/render/line_utils.rs:21-34 \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":"codex-rs/tui/src/bottom_pane/request_user_input/render.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fcde8d2b98b734ea32eeef5ea3528892274c44a1cf0f70875c2c7a8bbb5c312"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): codex-rs/tui/src/bottom_pane/view_stack.rs:33-43 | codex-rs/tui/src/bottom_pane/view_stack.rs:45-56 \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":"codex-rs/tui/src/bottom_pane/view_stack.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccee0d4f61ced75c72bd276cf0a44fba02ef4f17cf7936048fbe8a0f418c7d8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): codex-rs/utils/pty/src/process_group.rs:123-136 | codex-rs/utils/pty/src/process_group.rs:139-149 \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":"codex-rs/utils/pty/src/process_group.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0f672ec159e9913e02ed29a714093c61a7c35e0e02510edb2cdf692eaa2e4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): codex-rs/app-server-client/src/remote.rs:1019-1028 | codex-rs/app-server-client/src/remote.rs:1032-1041 \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":"codex-rs/app-server-client/src/remote.rs"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf0b4edc62bcd69a3a2a84cb1bcc906b7249f83058957c91a81f2bf2c18ac7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): codex-rs/app-server-daemon/src/thread_recovery.rs:10-16 | codex-rs/core-plugins/src/store.rs:355-365 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-daemon/src/thread_recovery.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"2226bd3a85ce16af5288860ac27b8252375bcaeb362947434e2b487d818dc5c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): codex-rs/app-server-transport/src/transport/websocket.rs:102-113 | codex-rs/exec-server/src/server/transport.rs:227-238 | codex-rs/otel-trace-websocket/src/lib.rs:120-131 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-transport/src/transport/websocket.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a91ccd9fdd68dd72f4bffd0cfa0ab65e19e4380fc687b7101317932d6a978a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): codex-rs/app-server/src/request_processors/config_processor.rs:306-317 | codex-rs/app-server/src/request_processors/config_processor.rs:322-336 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/config_processor.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0daf704e3f7fa1a642c6f7be8d97e91871d0473d6ed511c1c41f3d6965052ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): codex-rs/code-mode-host/src/grpc/session.rs:459-470 | codex-rs/code-mode-host/src/lib.rs:783-794 | codex-rs/code-mode/src/grpc_session/state.rs:66-76 | codex-rs/exec-server/src/local_process.rs:140-152 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/code-mode-host/src/grpc/session.rs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"269a993e8e9c74905f3cff2447fcd38d4a47870f8975c6ca2c9dd81319a33ab4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): codex-rs/code-mode-protocol/src/host/payload.rs:319-330 | codex-rs/code-mode-protocol/src/host/payload.rs:334-343 \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":"codex-rs/code-mode-protocol/src/host/payload.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8050d345c2a719f9ead6036ffc1ba6720d3db9d06e00fafcd8ec41b5f73176"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): codex-rs/code-mode/src/grpc_session/state.rs:174-187 | codex-rs/code-mode/src/grpc_session/state.rs:192-205 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/code-mode/src/grpc_session/state.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6584eb3595f417bf84a24a7f3c90258d3adc5f7a67a38e57c572f83d202533"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): codex-rs/protocol/src/permissions.rs:688-699 | codex-rs/protocol/src/permissions/deny_read_validator.rs:93-102 \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":"codex-rs/protocol/src/permissions.rs"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eca43b6d85bc3b98978f0aa00c333d24dbdf578804caca4d8153677062e329e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): codex-rs/rmcp-client/src/rmcp_client.rs:310-323 | codex-rs/rmcp-client/src/streamable_http_retry.rs:220-230 \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":"codex-rs/rmcp-client/src/rmcp_client.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7f268dcc5d8717cc219dee7ac38942baf19e5aa4fe36ecd5b2f8bad799e0e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): codex-rs/tui/src/multi_agents.rs:351-366 | codex-rs/tui/src/multi_agents.rs:372-384 \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":"codex-rs/tui/src/multi_agents.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebbe772682cd93e57edc35d5301f804b610b873b01c99c26b950f919fc0e1710"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): codex-rs/analytics/src/client.rs:634-648 | codex-rs/analytics/src/client.rs:662-672 \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":"codex-rs/analytics/src/client.rs"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"6abc62593fe033bf1dd3c01c4ea5ec8043a6d541280a61dfc8f7b42c4fa067ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): codex-rs/codex-api/src/responses_headers.rs:10-22 | codex-rs/otel/src/otlp.rs:24-34 \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":"codex-rs/codex-api/src/responses_headers.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b844f15d4df41a8513b343e5c32f14e6ba5b6d281bc0853381f11fd993ca55a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): codex-rs/core/src/tools/approvals.rs:177-186 | codex-rs/ext/guardian-reviewer/src/approval_request.rs:103-112 \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":"codex-rs/core/src/tools/approvals.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"140fde0a54d6ef646ebf80b356dff7b873575b7d49a7b10dcaaa140e783013a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): codex-rs/git-utils/src/info.rs:70-78 | codex-rs/git-utils/src/info.rs:131-144 \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":"codex-rs/git-utils/src/info.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"519d168b6b7f1c4aa53bdc3ac26ebb4e04d923992330865b23751921e092ed68"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): codex-rs/protocol/src/models.rs:1643-1656 | codex-rs/protocol/src/models/executed_tool_calls.rs:859-872 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/models.rs"},"region":{"startLine":1643}}}],"partialFingerprints":{"codehealthFindingId/v1":"13015f5602d9f04459ab9f5b3fb6f9d65c2acbc1847e4dfd7ab8e462af67cc6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): codex-rs/tools/src/json_schema.rs:269-284 | codex-rs/tools/src/json_schema.rs:286-301 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tools/src/json_schema.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c44ec96713e055bc57cc2f539f28541e90f6780d194e2076280b477c233b8cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): codex-rs/tui/src/app/side.rs:353-368 | codex-rs/tui/src/app/side.rs:370-388 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/side.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"65bb08b9e60501265c886b5da9e8bba14b1dfdda043801fd69dae761ac6e062c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): codex-rs/websocket-client/src/lib.rs:339-346 | codex-rs/websocket-client/src/lib.rs:363-370 | codex-rs/websocket-client/src/lib.rs:375-382 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/websocket-client/src/lib.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e09b33f8b34b02769683a2d9e9edb70e4cb5275a72ded491296dcda2adcf116"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): codex-rs/app-server-protocol/src/protocol/thread_history.rs:180-192 | codex-rs/app-server-protocol/src/protocol/thread_history.rs:2005-2017 \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":"codex-rs/app-server-protocol/src/protocol/thread_history.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5f14571ae0f5f42295b68c9e82a33037ddd183ea0cd607f6253e65b11e0ba0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): codex-rs/app-server-protocol/src/protocol/thread_history.rs:1375-1388 | codex-rs/app-server-protocol/src/protocol/thread_history.rs:1393-1403 \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":"codex-rs/app-server-protocol/src/protocol/thread_history.rs"},"region":{"startLine":1375}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f38e2843797cf5d524016e6c7b686f427d7f27acd0a978bee36c581fc3af96c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): codex-rs/cli/src/doctor.rs:1111-1120 | codex-rs/cli/src/doctor/git.rs:85-93 \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":"codex-rs/cli/src/doctor.rs"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"0993e564f880c1a704368bda7eac96b02f3244cd1b496f4b7370ff245f57edd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): codex-rs/core-plugins/src/marketplace.rs:871-883 | codex-rs/core-plugins/src/marketplace.rs:922-934 \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":"codex-rs/core-plugins/src/marketplace.rs"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"7729133adcf3433f752683e639d1cd2536e1617febb753e23e4ea5f968168603"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): codex-rs/rmcp-client/src/oauth.rs:1236-1243 | codex-rs/rmcp-client/src/oauth.rs:1323-1332 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/oauth.rs"},"region":{"startLine":1236}}}],"partialFingerprints":{"codehealthFindingId/v1":"875922a6b7bb74135f932bb0217c0f56d5007af235099b8dda6bbf088773f801"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): codex-rs/rollout-trace/src/compaction.rs:170-184 | codex-rs/rollout-trace/src/tool_dispatch.rs:348-360 \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":"codex-rs/rollout-trace/src/compaction.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"5038d6893759b5208a5a458f53d2b7444c0941b27083e6702e492673635232e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): codex-rs/state/src/runtime/remote_control.rs:112-130 | codex-rs/state/src/runtime/threads.rs:79-105 | codex-rs/state/src/runtime/threads.rs:436-445 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/state/src/runtime/remote_control.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea5d12e76174a6206c605a0e46c9fc548d735784be5dc8911a85a7a99d674f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): sdk/python/src/openai_codex/api.py:449-464 | sdk/python/src/openai_codex/api.py:597-616 | sdk/python/src/openai_codex/api.py:703-722 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdk/python/src/openai_codex/api.py"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4df734281899957a16efd84c65f49cd973ca5fcc0cfc60981d95e9ed87331b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): codex-rs/agent-message-board-client/src/client.rs:108-118 | codex-rs/agent-message-board-client/src/client.rs:120-134 | codex-rs/agent-message-board-client/src/client.rs:140-151 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/agent-message-board-client/src/client.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea41bc35506c72169c47e752aa55e2da4a6857d3441957377f1fc9534881d351"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): codex-rs/analytics/src/reducer.rs:427-445 | codex-rs/core/src/responses_metadata.rs:497-508 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/analytics/src/reducer.rs"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"5966f97fcc09b74084d9d9403bdb98eec96f17fccc9857d987021d81eeeb4547"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): codex-rs/config/src/config_requirements.rs:670-699 | codex-rs/tui/src/bottom_pane/app_link_view.rs:269-299 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/config_requirements.rs"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"240bf1c973bd631dd95c559eff4ab036466a39d3bb5f907def1f460a5a3c2ea0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): codex-rs/app-server/src/request_processors/thread_lifecycle.rs:1447-1457 | codex-rs/app-server/src/request_processors/thread_processor.rs:6434-6444 \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":"codex-rs/app-server/src/request_processors/thread_lifecycle.rs"},"region":{"startLine":1447}}}],"partialFingerprints":{"codehealthFindingId/v1":"9483f9e9b9e331d552be788dcfbfe0492ca2eb0818e5aebbc7e96f6c14834684"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): codex-rs/core-plugins/src/manager.rs:1093-1103 | codex-rs/core-plugins/src/tool_suggest_metadata.rs:115-122 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/manager.rs"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9294a45f91d165fa4825bca9b4a62a25f008f58af0711fd34a0840ccd8485d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): codex-rs/core/src/elicitation.rs:48-64 | codex-rs/core/src/elicitation.rs:75-89 \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":"codex-rs/core/src/elicitation.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8885cac65623221825f6bff1be8c27714c0a58c2c2cab0243df5086c78f02075"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): codex-rs/ext/skills/src/loader/host.rs:397-407 | codex-rs/tui/src/goal_files.rs:213-225 \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":"codex-rs/ext/skills/src/loader/host.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d07b0b380af0e45b2cb11678868c2d0fc58c6e5050a79ed7321ae8c3b0585a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): codex-rs/git-utils/src/branch.rs:50-66 | codex-rs/git-utils/src/operations.rs:50-64 \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":"codex-rs/git-utils/src/branch.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"361d81b9a7c0abf681435854477d14e3a418219467bf04512a8e12d85046eef9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): codex-rs/linux-sandbox/src/linux_run_main.rs:684-695 | codex-rs/utils/pty/src/process_group.rs:29-41 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/linux-sandbox/src/linux_run_main.rs"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd1a3e9a407a0af7f21a8808b43383729c36fd622622e84a3de40e2a299efc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): codex-rs/tui/src/external_agent_config_migration/mod.rs:415-422 | codex-rs/tui/src/external_agent_config_migration/mod.rs:424-431 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/external_agent_config_migration/mod.rs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"241750700330f3d992e7b5f8d72a06b98e93c043f8397aa9345b192c4b148247"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): codex-rs/analytics/src/reducer.rs:3749-3762 | codex-rs/analytics/src/reducer.rs:3766-3779 | codex-rs/analytics/src/reducer.rs:3809-3819 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/analytics/src/reducer.rs"},"region":{"startLine":3749}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65c50bd95a34b3ffa30e15f268b3992079c5be5ce6c9ca087b678229e5a8bea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): codex-rs/app-server-protocol/src/protocol/v2/thread.rs:864-875 | codex-rs/app-server/src/request_processors/thread_goal_processor.rs:525-536 | codex-rs/ext/goal/src/tool.rs:510-521 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/v2/thread.rs"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"862d1e92d5ce32707ca5d7cb782cd17eda4d3c8fbdd639a5d5d3bbc5b1b75ad2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): codex-rs/app-server/src/request_processors/feedback_doctor_report.rs:184-193 | codex-rs/external-agent-migration/src/sessions/mod.rs:189-198 \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":"codex-rs/app-server/src/request_processors/feedback_doctor_report.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43ee5f4a54a3f6d67c6f082c67e286f864e8e7615a5dfe94a84c13c7c0cef06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): codex-rs/connectors/src/metadata.rs:23-31 | codex-rs/core-plugins/src/remote.rs:2155-2165 \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":"codex-rs/connectors/src/metadata.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"896305d50d067553d52fc002d35c9da0ed68bef2e9a544c3f6b18b02d09ed476"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): codex-rs/core-plugins/src/remote/share/checkout.rs:177-185 | codex-rs/core-plugins/src/remote/share/local_paths.rs:78-86 \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":"codex-rs/core-plugins/src/remote/share/checkout.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"181dbcaca6df03a696751a850f6e0c4ac365097759b1b9edc2dc92e229459c0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): codex-rs/core/src/tools/handlers/multi_agents_v2/followup_task.rs:38-50 | codex-rs/core/src/tools/handlers/multi_agents_v2/send_message.rs:38-50 \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":"codex-rs/core/src/tools/handlers/multi_agents_v2/followup_task.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07b0b87649fac61c9c202827e7414923a78ba8bf83ab1d7818c3488737f4cc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): codex-rs/exec-server/src/noise_channel.rs:224-235 | codex-rs/exec-server/src/noise_channel.rs:239-247 \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":"codex-rs/exec-server/src/noise_channel.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"342421ba700fe880e0cdf24354df0f99bdf9fccd68ded8e16b64684de139a809"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): codex-rs/git-utils/src/info.rs:795-804 | codex-rs/tui/src/branch_summary.rs:103-112 | codex-rs/tui/src/branch_summary.rs:395-404 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/git-utils/src/info.rs"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"279de460a0a95ad4ea846f3d5527007ec56689d3f0d583369bec4cfed6b40397"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): codex-rs/http-client/src/outbound_proxy.rs:615-622 | codex-rs/http-client/src/outbound_proxy.rs:637-643 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/http-client/src/outbound_proxy.rs"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f23183134984b13fe150b16e96d5418862556c0b97b98f961e3b5f415c5e493"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): codex-rs/message-board/src/in_memory.rs:470-481 | codex-rs/message-board/src/local.rs:480-491 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/message-board/src/in_memory.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"784ada939f2e89c3713f3e2ac20577b295df037b2e4329023d92cd8991332542"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): codex-rs/network-proxy/src/system_dns.rs:24-32 | codex-rs/network-proxy/src/system_dns.rs:34-42 \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":"codex-rs/network-proxy/src/system_dns.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c29c053ad7e628aa3112a2bf4ab84210cd19acb9f7905bae0ca035b60ea1e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): codex-rs/app-server-protocol/src/protocol/common.rs:1717-1727 | codex-rs/exec/src/lib.rs:2218-2228 \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":"codex-rs/app-server-protocol/src/protocol/common.rs"},"region":{"startLine":1717}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c40f39057e27cefb5f7d53a48be57abce18e7e227cdc8ffa8b860ec3e544707"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): codex-rs/code-mode-runtime/src/session_runtime/mod.rs:113-125 | codex-rs/code-mode-runtime/src/session_runtime/mod.rs:127-140 \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":"codex-rs/code-mode-runtime/src/session_runtime/mod.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3da8fff51aeb1023d63f584f39948b4c8cc30b05e5d581d4a5dcb0af05146a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): codex-rs/core/src/config/managed_features.rs:260-266 | codex-rs/tui/src/debug_config.rs:633-639 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/config/managed_features.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"467fb9e646c28754429f12ee159c52cbc9949acc3b4ef48ed83164e59fa2142c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): codex-rs/core/src/session/input_queue.rs:98-107 | codex-rs/core/src/session/input_queue.rs:109-120 \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":"codex-rs/core/src/session/input_queue.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdecb46ef03f91b7fcb41761ca1a2275a6132cb3c8f74eb892648dcb8e4fd8e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): codex-rs/ext/memories/src/local.rs:86-92 | codex-rs/sandboxing/src/sandbox_integrity/contents.rs:89-95 | codex-rs/utils/path-utils/src/lib.rs:20-26 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/memories/src/local.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ae2d50f6505530d7ad7d8e08ebc4c2c44e38e139c026cdafea9b0387036ee1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): codex-rs/hooks/src/events/interrupt.rs:43-59 | codex-rs/hooks/src/events/stop.rs:100-113 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/hooks/src/events/interrupt.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"7506a780161f753d5e9ab388ac9951e76bb48f6f4a06d0109201131cdbc7ce38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): codex-rs/tui/src/chatwidget/slash_command_args.rs:27-35 | codex-rs/tui/src/chatwidget/slash_command_args.rs:42-51 \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":"codex-rs/tui/src/chatwidget/slash_command_args.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec49ccff5d0ce979f228752722059b37e5ee5e9a758b1391801001c64807b12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): codex-rs/exec-server/src/client.rs:1686-1692 | codex-rs/exec-server/src/process.rs:101-107 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/client.rs"},"region":{"startLine":1686}}}],"partialFingerprints":{"codehealthFindingId/v1":"226986a97531ec8c220fec5f9b38256b97f87ed9f8df82c7b494dd42bf662eab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): sdk/python/src/openai_codex/api.py:880-893 | sdk/python/src/openai_codex/client.py:749-761 \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":"sdk/python/src/openai_codex/api.py"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3cd69508d2e9b0565fab135a55b981efab738d4ee3a0a2675e44e6223050c41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): codex-rs/aws-auth/src/lib.rs:37-46 | codex-rs/login/src/auth/bedrock_access_keys.rs:22-31 \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":"codex-rs/aws-auth/src/lib.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b23a9c5578ab78a9b6207aaef77f0eecb3a7f122a708a4a1c96149efadc9ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): codex-rs/exec-server/src/capability_discovery.rs:324-335 | codex-rs/ext/skills/src/loader/environment.rs:310-319 \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":"codex-rs/exec-server/src/capability_discovery.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"60343bd80dfc64bc666afa60bd586d1dfcb6e07313f8b05164047f831e2e7aa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): codex-rs/external-agent-migration/src/source/mod.rs:21-29 | codex-rs/external-agent-migration/src/utils.rs:16-25 \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":"codex-rs/external-agent-migration/src/source/mod.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2ffcc8012524949c5ba7fb10ff71d46f5218857765bbabeb9e57b8ca80b75a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): codex-rs/app-server/src/request_processors/apps_processor.rs:426-435 | codex-rs/app-server/src/request_processors/apps_processor/read.rs:99-108 \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":"codex-rs/app-server/src/request_processors/apps_processor.rs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae06d48a3914873b677ac44b06ce59d5e1835cc2c48a4c1c226550b697bd0253"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): codex-rs/core/src/tools/handlers/mcp.rs:622-628 | codex-rs/core/src/tools/registry.rs:1179-1185 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/handlers/mcp.rs"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a83a4b0b8fdd52cea8229dc03d5211f22264be5b38762f7abc981fb85498b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): scripts/codex_package/v8.py:201-208 | .github/scripts/macos-signing/notarize_with_akv.py:369-375 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/codex_package/v8.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"83046d95b9457073a21b2cb14ad0d372d45b06a04c55279dfca22eb0fd272100"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): codex-rs/file-system/src/lib.rs:192-198 | codex-rs/protocol/src/permissions.rs:524-532 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/file-system/src/lib.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3ec5b585eebd10b71b530e259a69630450f07f07d76c1f361a97f4710f5dca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): codex-rs/app-server-client/src/path.rs:50-58 | codex-rs/core-plugins/src/marketplace_add/source.rs:140-147 | codex-rs/utils/absolute-path/src/lib.rs:179-185 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-client/src/path.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4867ebc79b9d3563dcd05821e8d220c21ff29b7b43e1015310727cb10bee8347"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): codex-rs/app-server/src/request_processors/thread_delete.rs:150-163 | codex-rs/app-server/src/request_processors/thread_processor.rs:6723-6733 \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":"codex-rs/app-server/src/request_processors/thread_delete.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"e841631464fdd2b3c7edea805b5d1e09363dfc80e6020d3ab5b63acd52f9a24e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): codex-rs/core-plugins/src/tool_suggest_metadata.rs:164-169 | codex-rs/ext/skills/src/host_service.rs:488-493 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/tool_suggest_metadata.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f37d13dca1a64c9ddbd07b8af032c28eb87d01bef3b2a032952085864a7f4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): codex-rs/network-proxy/src/runtime.rs:137-162 | codex-rs/protocol/src/mcp.rs:470-493 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/runtime.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b603e8bd0ecd22767bfb2738459c6801c99dd6c265a91ab0a5e4bdcd11641e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs:1115-1122 | codex-rs/tui/src/bottom_pane/request_user_input/mod.rs:354-364 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs"},"region":{"startLine":1115}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5cf4f4559757ad2d8e6bbf15a25df1c3a5b11d18e381fff18434e08e0f2a18f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): codex-rs/connectors/src/lib.rs:251-260 | codex-rs/core/src/connectors.rs:379-388 \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":"codex-rs/connectors/src/lib.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"a862b13f06235ad6b7821e34cfb107da48a53b7230e2db42c9609dafd10cfec7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): codex-rs/tui/src/app/platform_actions.rs:255-266 | codex-rs/tui/src/chatwidget/interaction.rs:718-728 \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":"codex-rs/tui/src/app/platform_actions.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2addc2c79ccb8dd7ff2ae986693b6578e8f566faf522af6236e8486305b56bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): codex-rs/state/src/extract.rs:211-217 | codex-rs/thread-store/src/local/update_thread_metadata.rs:800-806 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/state/src/extract.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee39f84458cc132e3138efb7111598a22da4ed5eec8ff67a1b84604b6ac555b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): codex-rs/tui/src/bottom_pane/request_user_input/mod.rs:251-262 | codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs:1154-1162 \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":"codex-rs/tui/src/bottom_pane/request_user_input/mod.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5d3685342409eb4500819e5d9f8ea1de0576e194367476913e06f8513bf464"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): codex-rs/tui/src/multi_agents.rs:494-499 | codex-rs/tui/src/status/format.rs:46-51 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/multi_agents.rs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b59a1f6ae1441ae0767843cbf2169439a74d245f64e72f7f44000bb25d34cac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): codex-rs/cli/src/desktop_app/mac.rs:151-157 | codex-rs/cli/src/desktop_app/windows.rs:69-74 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/desktop_app/mac.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcfbda1ebb0283de55d57018c4d0ee89e3e0c8f32479141aa43f4c5428831b92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): codex-rs/code-mode-host/src/lib.rs:383-390 | codex-rs/code-mode-host/src/peer.rs:391-399 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/code-mode-host/src/lib.rs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"2052c6edfb26eca56821a30b94d7e17509007c2c83b650000024ca63f60a732a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): codex-rs/core-plugins/src/marketplace_add.rs:56-62 | codex-rs/core-plugins/src/marketplace_remove.rs:39-47 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/marketplace_add.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db6f7e6f4095d6438def91483acf9b76b99372d1f92bad83feff0a4c1ee8cdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): codex-rs/tui/src/chatwidget/connectors.rs:230-258 | codex-rs/tui/src/chatwidget/usage.rs:304-326 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/connectors.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ba974e25763709044bd801b45a00a1729f3cb02a141872725f9c4f02f1e69d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): codex-rs/app-server/src/command_exec.rs:668-678 | codex-rs/app-server/src/request_processors/process_exec_processor.rs:741-751 \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":"codex-rs/app-server/src/command_exec.rs"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"50cbec937765bd493cab02980d317946a04766b49b67d36fba240de4ccad107b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): codex-rs/cli/src/doctor.rs:2310-2317 | codex-rs/cli/src/doctor/thread_inventory.rs:580-586 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/doctor.rs"},"region":{"startLine":2310}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1bb255f00bd61ab90b1e9011fdd1ad53e2ba54ab5145b4f4121e018d41aed6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): codex-rs/network-proxy/src/network_policy.rs:130-154 | codex-rs/protocol/src/mcp.rs:424-445 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/network_policy.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddcae1ee7b043cdfff043ab0165b191dac3019b560085dd6916618703811123b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): codex-rs/core/src/codex_thread.rs:780-784 | codex-rs/core/src/session/mod.rs:3195-3202 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/codex_thread.rs"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a262e1576e657995d443ddd632e18a34da5857ace3472f6c4362995ca43c169"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): codex-rs/login/src/oauth_session.rs:427-432 | codex-rs/login/src/oauth_session_login.rs:241-246 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/login/src/oauth_session.rs"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c70a7e24b8a14578d9d72af278ed505d1893fbfb888efe89fe417f33440f458"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): codex-rs/protocol/src/models.rs:1885-1892 | codex-rs/tui/src/additional_dirs.rs:35-44 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/models.rs"},"region":{"startLine":1885}}}],"partialFingerprints":{"codehealthFindingId/v1":"51967357910e4f238fdee2266735cc5649ac65f5af500238b8acb9ba45f1f70e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): scripts/mcp_conformance/codex_conformance_adapter.py:98-104 | scripts/mcp_conformance/review_regressions.py:153-159 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mcp_conformance/codex_conformance_adapter.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"6729a76483e2e14396cc5a25e0415e08cceddc1acd0f21cab4f99c164fa71f4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): codex-rs/codex-mcp/src/auth_elicitation.rs:209-216 | codex-rs/rmcp-client/src/rmcp_client.rs:836-842 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-mcp/src/auth_elicitation.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"0365cb913b77ea59efed47547aa31fba0577834a6d31c9ab7cba8fee80bb2337"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): codex-rs/core/src/mcp_tool_call.rs:1064-1077 | codex-rs/core/src/stream_events_utils.rs:180-192 \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":"codex-rs/core/src/mcp_tool_call.rs"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e57a110806669e45e1d3703dc2b6f2b64a9125fc4f48f3e46542b4df69bb10"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 6\u002B corresponding lines): codex-rs/ext/history-notes/src/extension.rs:194-200 | codex-rs/ext/mcp/src/plugin_contributor.rs:23-29 | codex-rs/ext/memories/src/extension.rs:168-174 | codex-rs/ext/web-search/src/extension.rs:170-175 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/history-notes/src/extension.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d94d71b3732fc6048c8b631ba80195b2d316bb070c0a32318a288f2d6ba7fb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): codex-rs/tui/src/app/agent_status_feed.rs:216-220 | codex-rs/tui/src/clipboard_paste.rs:246-249 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/agent_status_feed.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"370587f15dd88be50848cfb8e6e9457e0115864cfe0f78860f626771158ba0bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): codex-rs/core-plugins/src/remote_metadata.rs:44-50 | codex-rs/utils/path-utils/src/lib.rs:228-234 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/remote_metadata.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"91829143f4b8ffae2d023bfaff85d2918e34eadb552d6c44defd5463d673a5a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): codex-rs/login/src/auth/agent_identity.rs:310-316 | codex-rs/tui/src/startup_draft.rs:92-95 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/login/src/auth/agent_identity.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"25038cf80291e51be5001dc569bdd66f77cadcbf0ce7c89d46abefb8fc7e1475"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): codex-rs/app-server/src/lib.rs:1520-1525 | codex-rs/cli/src/state_db_recovery.rs:24-30 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/lib.rs"},"region":{"startLine":1520}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a4fbd089ee253c397566978fe4b04dee72686795e5ac7149d3bb78aafbe4bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): codex-rs/core-plugins/src/startup_sync.rs:1026-1031 | codex-rs/login/src/auth/manager.rs:1068-1073 | codex-rs/model-provider/src/amazon_bedrock/auth.rs:246-251 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/startup_sync.rs"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc071e6c267353b3e47e9932a2ddffb5fe6378eeca0d4def7bf89a066b5b97de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): codex-rs/core/src/tools/handlers/mcp.rs:523-532 | codex-rs/core/src/tools/registry.rs:174-183 \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":"codex-rs/core/src/tools/handlers/mcp.rs"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b69bc4cb9c2c04b64dd601a519e443e9c420927544235c082a9595d11d4d55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): codex-rs/exec-server/src/no_follow/unix.rs:357-361 | codex-rs/exec-server/src/no_follow/windows.rs:447-451 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/no_follow/unix.rs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20454990b5f66917b35744220597e3037a4553d1a21d3d249db2a70c959dab7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): codex-rs/windows-sandbox-rs/src/helper_materialization.rs:32-39 | codex-rs/windows-sandbox-rs/src/setup.rs:895-902 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-rs/src/helper_materialization.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0840fa6e5e5ea2a6a2b84d367d1012a8ac088b1596a6f40320aa1be67e62438"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): codex-rs/app-server/src/request_processors/thread_processor.rs:92-99 | codex-rs/rollout/src/state_db.rs:490-501 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"6127eacaf2b0ceaff28df747c12b64115c6df6eafaac1dd03d377304da40b992"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): codex-rs/state/src/runtime/goals.rs:149-156 | codex-rs/state/src/runtime/threads.rs:185-192 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/state/src/runtime/goals.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e21af492d7b7db42440eb1bfe6e326e4383bccef1123dd30394cf4856aa52d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): codex-rs/tui/src/app/session_lifecycle.rs:256-263 | codex-rs/tui/src/app/thread_goal_actions.rs:360-366 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/session_lifecycle.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79fdd7e8f17e940a6b1fe472cee4c234527da5b149d023b30a419acdc08afb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): codex-rs/app-server/src/request_processors.rs:717-725 | codex-rs/rollout-trace/src/reducer/tool/agents.rs:762-768 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors.rs"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab26e16dc6a172d95ee8c8a3a51b4b7e66417cb7dbda60e5b9ee526414357152"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): codex-rs/config/src/config_requirements.rs:1713-1716 | codex-rs/config/src/host_name.rs:44-47 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/config_requirements.rs"},"region":{"startLine":1713}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b0836d262b01079eb2c9af33359080ba9c07d34e9d6f50ed7f011bbafb340e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): codex-rs/config/src/state.rs:412-420 | codex-rs/login/src/auth/manager.rs:3635-3643 \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":"codex-rs/config/src/state.rs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"1043d93b50e341594980baece6047155c05f844934906b7982a1d73380f210fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): codex-rs/config/src/state.rs:465-471 | codex-rs/tui/src/chatwidget/status_surfaces.rs:1056-1062 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/state.rs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"e086106f94529e4058de7a83948a27afa47347a67cafda7aa080098727e47dbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): codex-rs/external-agent-migration/src/hooks_cla.rs:37-44 | codex-rs/external-agent-migration/src/hooks_cur.rs:17-25 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/external-agent-migration/src/hooks_cla.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"207062d78e5efd304bb3f86f070c48eec6ecd1c735ecaffd423ca1c182fbe534"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): codex-rs/hooks/src/events/compact.rs:62-71 | codex-rs/hooks/src/events/session_end.rs:39-48 | codex-rs/hooks/src/events/user_prompt_submit.rs:53-62 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/hooks/src/events/compact.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"12268be996a8728eedd04acb5d2efc3f49712ae16ba03b0927953c9f82358991"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): codex-rs/protocol/src/protocol.rs:4259-4268 | codex-rs/tui/src/history_cell/mcp.rs:42-50 \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":"codex-rs/protocol/src/protocol.rs"},"region":{"startLine":4259}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a0d47ce244def5bc2dc9bf795014a9766d5be96a606c2dcfb5c5a1fb770dc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): codex-rs/shell-command/src/command_safety/powershell_tree_sitter.rs:441-460 | codex-rs/tui/src/terminal_hyperlinks.rs:644-649 | codex-rs/tui/src/wrapping.rs:515-535 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/shell-command/src/command_safety/powershell_tree_sitter.rs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"35175cdbca281be3b6cf2397cfb1efb4d172e01f0dba41a537043caa8105314d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): codex-rs/tui/src/bottom_pane/file_search_popup.rs:86-90 | codex-rs/tui/src/bottom_pane/mentions_v2/popup.rs:75-79 | codex-rs/tui/src/bottom_pane/skill_popup.rs:127-131 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/file_search_popup.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e31081ab0641565c208bf5751e86af32e2ce4fb5a14783918f6514cbbdce66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): codex-rs/tui/src/bottom_pane/file_search_popup.rs:93-97 | codex-rs/tui/src/bottom_pane/mentions_v2/popup.rs:81-85 | codex-rs/tui/src/bottom_pane/skill_popup.rs:133-137 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/file_search_popup.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed345dcbe509ea00d541b2e87725f0790c334074e778d6ff17d5daf739f9197"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): codex-rs/app-server-daemon/src/remote_control_client.rs:317-323 | codex-rs/app-server/src/app_server_tracing.rs:164-170 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-daemon/src/remote_control_client.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3b3dc7f724b94142c09bb3404a82fcf7fed0289f1c41d1b9bd766ebeff9145"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): codex-rs/app-server/src/request_processors/projects.rs:303-309 | codex-rs/exec-server/src/remote.rs:990-998 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/projects.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c03ceeb73919f7003107c5b4004ce937c6fd34ccbdd42cd75819f53b954e3b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): codex-rs/exec-server/src/local_file_system.rs:648-654 | codex-rs/exec-server/src/sandboxed_file_system.rs:371-379 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/local_file_system.rs"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf25207fb81a365a35b7c7c5a3df152a2f1272fffc7f1fcc8051edad49cf20a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): codex-rs/config/src/schema.rs:250-259 | codex-rs/hooks/src/schema.rs:772-779 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/schema.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0faf03e2abb856a1e23206da3a135da8ff6231a4e311a3b152aeb8b6e3f8051"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): codex-rs/connectors/src/plugin_config.rs:42-46 | codex-rs/tui/src/status_indicator_widget.rs:156-160 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/connectors/src/plugin_config.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3a623aa925a469bfdf9cbe5ad025171bd2e38d80f1b5b978fed263249dd32a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): codex-rs/core-plugins/src/manager.rs:1146-1151 | codex-rs/core-plugins/src/tool_suggest_metadata.rs:171-176 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/manager.rs"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36161b1270b46df7464e8927af881b9c934a69f03990f34732e26a925058b23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): codex-rs/core-plugins/src/marketplace.rs:936-942 | codex-rs/core-plugins/src/marketplace_add/source.rs:119-126 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/marketplace.rs"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"e523ab7382170df29ceae3baf3e78f534ff62de387ac9a48e3e13b75ffc93259"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): codex-rs/rollout/src/compression.rs:1266-1271 | codex-rs/thread-store/src/local/thread_history_materialization.rs:413-422 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout/src/compression.rs"},"region":{"startLine":1266}}}],"partialFingerprints":{"codehealthFindingId/v1":"9069a7ceb1498c557375de4c7dd55c68e3ffc6b9a2e0887e996a227191c97802"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): codex-rs/tui/src/bottom_pane/custom_prompt_view.rs:252-260 | codex-rs/tui/src/bottom_pane/feedback_note_view.rs:195-202 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/custom_prompt_view.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"31808b4dd86fd962258537c0636a56c6b77dfb236e4e8071276f74354e1b9032"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): codex-rs/app-server-protocol/src/protocol/v2/realtime.rs:260-275 | codex-rs/protocol/src/mcp.rs:513-530 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/v2/realtime.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0c3fa98262b7ab8229fb39151f17dc0d239605e186c4219a253c1063f5efdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): codex-rs/codex-mcp/src/elicitation.rs:697-705 | codex-rs/ext/guardian-reviewer/src/elicitation.rs:184-193 \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":"codex-rs/codex-mcp/src/elicitation.rs"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"b377ca411ed0bb87b97543ce45036597d4815316359e401c371d0ca854c4e893"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): codex-rs/core/src/config/mod.rs:2807-2810 | codex-rs/core/src/context/environment_context.rs:188-191 | codex-rs/ext/skills/src/host_roots.rs:443-446 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/config/mod.rs"},"region":{"startLine":2807}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cfbc5b09ac4132ee5c5fcdca57f341249ace834f5d9c0fbec375e784c495018"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): codex-rs/core/src/tools/handlers/current_time.rs:38-41 | codex-rs/core/src/tools/handlers/get_context_remaining.rs:48-51 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/handlers/current_time.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f881b9bcdb3c334690b0f1403e730218ae13097dc542617f12b62fdca43d966"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): codex-rs/ext/mcp/src/catalog_observability.rs:11-20 | codex-rs/ext/skills/src/catalog_observability.rs:11-20 \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":"codex-rs/ext/mcp/src/catalog_observability.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4ebb7b9491acfeeb9496445c33083442b9b2f47eeed563e358222e2747c09d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): codex-rs/external-agent-migration/src/hooks_common.rs:219-224 | codex-rs/utils/path-uri/src/config_path.rs:170-173 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/external-agent-migration/src/hooks_common.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95aa5042146bea130106270c023be90168c6dec853f228da3c1998075c243e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): codex-rs/tui/src/bottom_pane/chat_composer/passive_hints.rs:235-239 | codex-rs/tui/src/bottom_pane/footer.rs:904-908 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/chat_composer/passive_hints.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4db3c66c99582ee17b392adc9b12fdb34f3918988ee4c18ca745b111bf8fde"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs:1062-1069 | codex-rs/tui/src/bottom_pane/request_user_input/mod.rs:776-784 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs"},"region":{"startLine":1062}}}],"partialFingerprints":{"codehealthFindingId/v1":"81440cb0d0cac9bda5f9ac347ba3b6912d15fda9a833082eecd92c27e6b25fb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): codex-rs/tui/src/bottom_pane/mentions_v2/search_catalog.rs:240-243 | codex-rs/tui/src/onboarding/provider_setup.rs:60-64 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/mentions_v2/search_catalog.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"60021791734ce4e39a9717be1935edfd5aea9a512ba5879901db5da499ef862c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): codex-rs/app-server/src/request_processors/catalog_processor.rs:262-266 | codex-rs/app-server/src/request_processors/thread_processor.rs:1036-1040 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/catalog_processor.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"a007e3f6b12521b12a81bef26da78b42318964b089d60406620b2f1e13ffdb1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): codex-rs/config/src/config_toml.rs:639-644 | codex-rs/execpolicy/src/rule.rs:29-34 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/config_toml.rs"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91f438638adb33bd019ccdf5b334fc65f98b36f8832dc57f26782c3b4111b5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): codex-rs/app-server-protocol/src/protocol/v2/config.rs:612-617 | codex-rs/config/src/browser_computer_use_requirements.rs:87-92 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/v2/config.rs"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c7e8f2ba109b5e348425582f6fc447f317e9f95d28d6b234f9455a28648394"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): codex-rs/app-server-transport/src/transport/remote_control/segment.rs:439-443 | codex-rs/rollout/src/persistence_metrics.rs:232-236 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-transport/src/transport/remote_control/segment.rs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7747f0332f19ca6ba20a74940c9c552a7c82cbb9b6e9b246a40312322156890"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): codex-rs/connectors/src/lib.rs:512-519 | codex-rs/core/src/mcp_skill_dependencies.rs:348-355 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/connectors/src/lib.rs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b222b84afe9718e044627232fe2bbdfadf40c0ee77b07b71f5365f192c198ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): codex-rs/core/src/exec_policy.rs:1168-1170 | codex-rs/tui/src/exec_command.rs:8-10 \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":"codex-rs/core/src/exec_policy.rs"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d5cc7bfcc533efd99021dd4d232f0cba94b92a01fa77db52538043ce209341"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): codex-rs/external-agent-migration/src/memory.rs:151-155 | codex-rs/external-agent-migration/src/utils.rs:90-94 | codex-rs/thread-store/src/local/rollout_migration.rs:1377-1381 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/external-agent-migration/src/memory.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"42261782d076b784835b63ed33beb442a258ff2f3f25b0bc977bfb561ad525e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): codex-rs/connectors/src/lib.rs:521-526 | codex-rs/external-agent-migration/src/sessions/mod.rs:57-61 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/connectors/src/lib.rs"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1460bab8b672b5b99c88c6f80fb36396f87c8628e7ce56c34add96d87c9eef3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): codex-rs/core/src/tools/handlers/tool_search.rs:139-144 | codex-rs/thread-store/src/in_memory.rs:494-499 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/handlers/tool_search.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"1315ee52e01d697ddb1873d814db1f37a8dafa0c9bdbb0bc9568b9ed4fa97cd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2): codex-rs/protocol/src/models.rs:1673-1728 | codex-rs/protocol/src/models.rs:1740-1795 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/protocol/src/models.rs:1673\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":"codex-rs/protocol/src/models.rs"},"region":{"startLine":1673}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc3ded1ad054dbe0fc3d716865b977a69bb9626ac55dc000a1eb3b4a13d98ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2): codex-rs/app-server/src/request_processors/thread_lifecycle.rs:631-682 | codex-rs/app-server/src/request_processors/thread_lifecycle.rs:683-734 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/thread_lifecycle.rs"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0fc52f1e2470dd31645e0d2bb59f4ea9261917bd838298cb04d6b9d968f7308"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2): codex-rs/skills/src/mentions.rs:157-206 | codex-rs/tui/src/mention_codec.rs:222-271 \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 \u0060codex-rs/tui/src/mention_codec.rs:222\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":"codex-rs/skills/src/mentions.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"28356a423648b1d31a7ae012cacdac288f668a387fd91a0e3aabc71d7e8b001f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 3): codex-rs/core/src/session/mcp.rs:239-276 | codex-rs/core/src/session/mcp.rs:357-394 | codex-rs/core/src/session/mcp.rs:945-982 \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":"codex-rs/core/src/session/mcp.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed5550c9676015752c499f2532c0eca147e57f9dbb2e1b0e582bfd87503d335"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): codex-rs/app-server-protocol/src/protocol/thread_history.rs:653-686 | codex-rs/app-server-protocol/src/protocol/thread_history.rs:693-726 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/app-server-protocol/src/protocol/thread_history.rs:653\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060payload\u0060 to \u0060\u0026AgentReasoningEvent\u0060 in one and \u0060\u0026AgentReasoningRawContentEvent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/thread_history.rs"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"708789544e4876685f00981cfa65e9d6a4eb8155598eb27db58056d63ebbf1a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): codex-rs/cli/src/doctor/output/detail.rs:235-265 | codex-rs/cli/src/doctor/output/detail.rs:292-322 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/cli/src/doctor/output/detail.rs:235\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":"codex-rs/cli/src/doctor/output/detail.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"a358fcfa6ae8b9b2c79547157ecfb8dd268ea9d0d7a8e7efef427620c35aa700"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): codex-rs/shell-command/src/parse_command.rs:2592-2622 | codex-rs/shell-command/src/parse_command.rs:2646-2676 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/shell-command/src/parse_command.rs:2592\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":"codex-rs/shell-command/src/parse_command.rs"},"region":{"startLine":2592}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f238e3b40ded257b6c7f3c273d2548c1fc918caadd5b16ce8b7d024e7cfeab2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): codex-rs/tui/src/app.rs:410-440 | codex-rs/tui/src/approval_events.rs:74-104 \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 \u0060codex-rs/tui/src/app.rs:410\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app.rs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b898d672bfebd81219217b325dc34c669efc7d24680ef713277e0cce67b8cae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): codex-rs/app-server/src/command_exec.rs:270-298 | codex-rs/app-server/src/request_processors/process_exec_processor.rs:311-339 \u2014 before extracting anything, compare \u0060codex-rs/app-server/src/command_exec.rs\u0060 and \u0060codex-rs/app-server/src/request_processors/process_exec_processor.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 140 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/app-server/src/command_exec.rs:270\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":"codex-rs/app-server/src/command_exec.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb67c05f52483cdc9b9be58da4e738bd07682429fec04ac0f7b63bed9182a99b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): codex-rs/app-server/src/lib.rs:400-428 | codex-rs/tui/src/app/startup_prompts.rs:70-98 \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":"codex-rs/app-server/src/lib.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"26681c5d1e2c73ec672d51f538601a097b7abf091e084765ef80402b1b0e8856"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): codex-rs/config/src/config_requirements.rs:1619-1647 | codex-rs/ext/guardian-v2/src/async_scorer/classification.rs:118-146 \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 \u0060codex-rs/config/src/config_requirements.rs:1619\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":"codex-rs/config/src/config_requirements.rs"},"region":{"startLine":1619}}}],"partialFingerprints":{"codehealthFindingId/v1":"467f99cd92ce93469f0e494dd34eb1c37e6556d401cb707da3fcf86adaeef46b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): codex-rs/external-agent-migration/src/sessions/records_cla.rs:201-229 | codex-rs/external-agent-migration/src/sessions/records_cur.rs:166-194 \u2014 before extracting anything, compare \u0060codex-rs/external-agent-migration/src/sessions/records_cla.rs\u0060 and \u0060codex-rs/external-agent-migration/src/sessions/records_cur.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 104 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 \u0060codex-rs/external-agent-migration/src/sessions/records_cla.rs:201\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":"codex-rs/external-agent-migration/src/sessions/records_cla.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ed987990d5d4c5f5ba66209212e98e03a21334f45b7411a72b5cd073389893"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): codex-rs/state/src/runtime/memories.rs:883-911 | codex-rs/state/src/runtime/memories.rs:960-988 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/state/src/runtime/memories.rs"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"8335ef6cb8fb07f62acafad0394c4c41973517d1c82f4e7e7714d0035106fa9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): codex-rs/cli/src/login.rs:379-405 | codex-rs/cli/src/login.rs:423-450 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/cli/src/login.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e49dc6c0d02db19a0b15ab569a246448cebbf29ebf3199998af8581e116da1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): codex-rs/skills/src/mentions.rs:110-137 | codex-rs/tui/src/chatwidget/skills.rs:345-372 \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 \u0060codex-rs/skills/src/mentions.rs:110\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":"codex-rs/skills/src/mentions.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcdb2b50d0fb13f309cc0b1404fc2f61ab3e99ca652b67dd3a266d59b208851a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): codex-rs/tui/src/app/startup.rs:783-810 | codex-rs/tui/src/app/startup.rs:895-922 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/app/startup.rs:783\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":"codex-rs/tui/src/app/startup.rs"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5a64741a420839045490df0549a49bdf7d9c5389b2a85d3f1dc0d0bcbd6843"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201328 lines \u00D7 2): codex-rs/tui/src/bottom_pane/chat_composer.rs:2169-2196 | codex-rs/tui/src/bottom_pane/chat_composer.rs:3802-3826 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060now\u0060 to \u0060Instant) -\u003E (InputResult\u0060 in one and \u0060Instant\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":2169}}}],"partialFingerprints":{"codehealthFindingId/v1":"7682f063a100c8b02247c6b21e726d0b7442b7b4b60734728ebbf4f8403f87a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): codex-rs/tui/src/bottom_pane/multi_select_picker.rs:253-280 | codex-rs/tui/src/bottom_pane/skills_toggle_view.rs:115-142 \u2014 before extracting anything, compare \u0060codex-rs/tui/src/bottom_pane/multi_select_picker.rs\u0060 and \u0060codex-rs/tui/src/bottom_pane/skills_toggle_view.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 99 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/tui/src/bottom_pane/multi_select_picker.rs:253\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":"codex-rs/tui/src/bottom_pane/multi_select_picker.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc58194239d492e3f1fb124717ce8e129a3f737549e8cafe5b1ce7dd5f599b54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): codex-rs/app-server/src/bin/exec_server.rs:16-42 | codex-rs/exec-server/testing/exec_server.rs:15-40 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/bin/exec_server.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e5fdd163fa3e6b70612cd83739cd26fa722296a0db0f1e1529250b20a5303d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201327 lines \u00D7 2): codex-rs/tui/src/chatwidget/plugin_catalog.rs:572-595 | codex-rs/tui/src/chatwidget/plugin_catalog.rs:623-649 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/chatwidget/plugin_catalog.rs:572\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":"codex-rs/tui/src/chatwidget/plugin_catalog.rs"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe780b519ef221857b976172f2f6b9be14bd0ceb9d741d4ee2a2d297ed4befe3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): codex-rs/ext/goal/src/runtime.rs:560-585 | codex-rs/ext/goal/src/runtime.rs:622-647 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/ext/goal/src/runtime.rs:560\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":"codex-rs/ext/goal/src/runtime.rs"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"6385950453c359f52e9d61cc70f284251b36db0c04944132d5483df42f08cdbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): codex-rs/rollout/src/list.rs:571-596 | codex-rs/rollout/src/list.rs:695-720 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/rollout/src/list.rs:571\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":"codex-rs/rollout/src/list.rs"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a13e7e7f4a65c8e678ab94d13d5bb1e66cb335542951d29a5a4018d88f162f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): codex-rs/windows-sandbox-rs/src/setup.rs:868-893 | codex-rs/windows-sandbox-rs/src/winutil.rs:87-112 \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 \u0060codex-rs/windows-sandbox-rs/src/setup.rs:868\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":"codex-rs/windows-sandbox-rs/src/setup.rs"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb4610fa9cc464f09bf48edaaa78f388c400d643dc6a04189147b04cfaa156c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 4): codex-rs/tui/src/bottom_pane/chat_composer.rs:2228-2252 | codex-rs/tui/src/bottom_pane/chat_composer.rs:2311-2334 | codex-rs/tui/src/bottom_pane/chat_composer.rs:2398-2421 | codex-rs/tui/src/bottom_pane/chat_composer/slash_input.rs:258-282 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/tui/src/bottom_pane/chat_composer.rs:2228\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060key_event\u0060 to \u0060KeyEvent) -\u003E (InputResult\u0060 in one and \u0060KeyEvent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":2228}}}],"partialFingerprints":{"codehealthFindingId/v1":"74dd9306622c3bbe19523c73171febfdd8141907b5b795b613277b16ee8ba855"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): codex-rs/core/src/tools/network_approval.rs:1048-1072 | codex-rs/core/src/tools/network_approval.rs:1097-1121 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/core/src/tools/network_approval.rs:1048\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":"codex-rs/core/src/tools/network_approval.rs"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b28c05713ec3d1cb2e5e90198281c9d2dc60f7f505d2f1580e6e6244d20793"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201324 lines \u00D7 6): codex-rs/hooks/src/events/permission_request.rs:275-295 | codex-rs/hooks/src/events/post_tool_use.rs:281-301 | codex-rs/hooks/src/events/pre_tool_use.rs:285-305 | codex-rs/hooks/src/events/session_start.rs:313-336 | codex-rs/hooks/src/events/stop.rs:357-377 | codex-rs/hooks/src/events/user_prompt_submit.rs:246-266 \u2014 before extracting anything, compare \u0060codex-rs/hooks/src/events/permission_request.rs\u0060 and \u0060codex-rs/hooks/src/events/post_tool_use.rs\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 \u0060codex-rs/hooks/src/events/permission_request.rs:275\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":"codex-rs/hooks/src/events/permission_request.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2613b205e7c5f14f418f8145852769692b5f3900d2c98c0e2e49d035e4ae89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): codex-rs/network-proxy/src/http_proxy.rs:250-273 | codex-rs/network-proxy/src/http_proxy.rs:791-814 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/network-proxy/src/http_proxy.rs:250\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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"799692c0f71b7fe12aa29ff4412d60d8e46389757649d9e632b37729daf06de6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): codex-rs/rollout-trace/src/protocol_event.rs:176-199 | codex-rs/rollout-trace/src/protocol_event.rs:238-261 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/rollout-trace/src/protocol_event.rs:176\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060event\u0060 to \u0060\u0026\u0027a ExecCommandBeginEvent\u0060 in one and \u0060\u0026\u0027a ExecCommandEndEvent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout-trace/src/protocol_event.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07dcf2602cfc029b78f6572830c4cdaabee780dd02586c85b8b144f5c611549"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): codex-rs/app-server-client/src/lib.rs:268-290 | codex-rs/app-server-client/src/remote.rs:99-121 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-client/src/lib.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f0e0dfe225076cef3b078c27539eb8b75dacd2fd9e532d1160e4358f06d2a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): codex-rs/core/src/tools/handlers/mcp_resource/list_mcp_resource_templates.rs:56-78 | codex-rs/core/src/tools/handlers/mcp_resource/list_mcp_resources.rs:56-78 \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 \u0060codex-rs/core/src/tools/handlers/mcp_resource/list_mcp_resource_templates.rs:56\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":"codex-rs/core/src/tools/handlers/mcp_resource/list_mcp_resource_templates.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"575b765034623f9649ff208955d9b762fd223e6cd4369b1ae0cd59a5dee56290"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): codex-rs/rollout/src/recorder.rs:725-747 | codex-rs/rollout/src/recorder.rs:768-790 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/rollout/src/recorder.rs:725\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout/src/recorder.rs"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"0835a859a9c16b095a832f742705a13799f78c0449ba21ab95c662d09c886ecf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): codex-rs/app-server-protocol/src/protocol/thread_history.rs:1761-1780 | codex-rs/thread-store/src/local/rollout_migration/legacy_event.rs:72-93 \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 \u0060codex-rs/app-server-protocol/src/protocol/thread_history.rs:1761\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":"codex-rs/app-server-protocol/src/protocol/thread_history.rs"},"region":{"startLine":1761}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e0119cd9394288623057247aac74ec35ddf8417770910125ef76e1d784e02d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): codex-rs/app-server/src/command_exec.rs:457-478 | codex-rs/app-server/src/request_processors/process_exec_processor.rs:491-512 \u2014 before extracting anything, compare \u0060codex-rs/app-server/src/command_exec.rs\u0060 and \u0060codex-rs/app-server/src/request_processors/process_exec_processor.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 140 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/app-server/src/command_exec.rs:457\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060params\u0060 to \u0060RunCommandParams\u0060 in one and \u0060RunProcessParams\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/command_exec.rs"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"62207752a6985f243ade5151f57b99b3a728457ab9ed8ee1423768e4ff185deb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): codex-rs/core/src/mcp_tool_call.rs:1178-1199 | codex-rs/core/src/tools/handlers/mcp_resource.rs:447-468 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/core/src/mcp_tool_call.rs:1178\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":"codex-rs/core/src/mcp_tool_call.rs"},"region":{"startLine":1178}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaeece848ace55a23c6e2dbe247e66e617d2fd4358f27bf03ed4c0e9fbe32e76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): codex-rs/rollout-trace/src/reducer/conversation.rs:314-335 | codex-rs/rollout-trace/src/reducer/conversation.rs:441-462 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/rollout-trace/src/reducer/conversation.rs:314\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060context\u0060 to \u0060ReconcileItems\u003C\u0027_\u003E\u0060 in one and \u0060DetachedReconcileItems\u003C\u0027_\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout-trace/src/reducer/conversation.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fcc8dd7c243e0c2b54d1e20cece11e416b50636c2611f9ae3501beea0b1e3cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): codex-rs/rollout/src/list.rs:547-568 | codex-rs/rollout/src/list.rs:671-692 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/rollout/src/list.rs:547\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":"codex-rs/rollout/src/list.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12bf242799121293122d3513301431ab5b334ab3f9a7a3dc9995146027a8133"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): codex-rs/tui/src/bottom_pane/multi_select_picker.rs:521-542 | codex-rs/tui/src/bottom_pane/skills_toggle_view.rs:207-228 \u2014 before extracting anything, compare \u0060codex-rs/tui/src/bottom_pane/multi_select_picker.rs\u0060 and \u0060codex-rs/tui/src/bottom_pane/skills_toggle_view.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 99 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/tui/src/bottom_pane/multi_select_picker.rs:521\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":"codex-rs/tui/src/bottom_pane/multi_select_picker.rs"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c7acb1fe3081a10f75fc86c31bede9b1e4bea3700c08a978e20ee03b0fea87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): codex-rs/cli/src/mcp_cmd.rs:739-759 | codex-rs/cli/src/mcp_cmd.rs:978-998 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/cli/src/mcp_cmd.rs:739\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/mcp_cmd.rs"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4cbd6bb007d08e0a6327414f10281798e8898900d6120bf8196d3d0adfaf175"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): codex-rs/model-provider/src/models_endpoint.rs:436-459 | codex-rs/model-provider/src/models_endpoint.rs:462-485 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/model-provider/src/models_endpoint.rs:436\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":"codex-rs/model-provider/src/models_endpoint.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"db81a79e5a90a4f96716d1ebba702496d9578abebc3ff474a69d0c358bc0693d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): codex-rs/rollout-trace/src/protocol_event.rs:396-416 | codex-rs/rollout-trace/src/protocol_event.rs:478-498 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060codex-rs/rollout-trace/src/protocol_event.rs:476\u0060 calls \u0060McpToolCallBegin\u0060, \u0060McpToolCallEnd\u0060 and \u0060codex-rs/rollout-trace/src/protocol_event.rs:395\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":"codex-rs/rollout-trace/src/protocol_event.rs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"481dfd72b7fa57a514b5acc3cf943ef1fe8204208fadb0e49b287c0922ae874e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): codex-rs/rollout/src/list.rs:625-645 | codex-rs/rollout/src/list.rs:689-709 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/rollout/src/list.rs:625\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":"codex-rs/rollout/src/list.rs"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"68741ab1c95d6fe4ca1376796f8f48251e5eb039fe261e7251c5e6b395c49842"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): codex-rs/tui/src/lib.rs:1736-1756 | codex-rs/tui/src/lib.rs:1840-1859 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/lib.rs:1736\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/lib.rs"},"region":{"startLine":1736}}}],"partialFingerprints":{"codehealthFindingId/v1":"85829045b6b2b51316f839d22b33fe16b626df210a9f6d84ae0ef8693aabf4f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201321 lines \u00D7 2): codex-rs/tui/src/streaming/controller.rs:310-330 | codex-rs/tui/src/streaming/controller.rs:359-373 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/streaming/controller.rs:310\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":"codex-rs/tui/src/streaming/controller.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"8baaea926b48b2d1516fd6fe254f7bf0d2dc7080df90c1151b2b63adbb2b1158"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): codex-rs/windows-sandbox-rs/src/lib.rs:831-851 | codex-rs/windows-sandbox-rs/src/lib.rs:852-872 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/windows-sandbox-rs/src/lib.rs"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de0b00862090fe5631c416823f604210087467ca946156795519a05a996d66b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): codex-rs/app-server-client/src/lib.rs:509-528 | codex-rs/app-server-client/src/lib.rs:693-712 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-client/src/lib.rs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c427806c785aa5d29f2d696e4ba8d5f591dc2dd960dcb4a9c1ef954a17c53d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): codex-rs/app-server/src/command_exec.rs:527-546 | codex-rs/app-server/src/request_processors/process_exec_processor.rs:568-587 \u2014 before extracting anything, compare \u0060codex-rs/app-server/src/command_exec.rs\u0060 and \u0060codex-rs/app-server/src/request_processors/process_exec_processor.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 140 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/app-server/src/command_exec.rs:527\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":"codex-rs/app-server/src/command_exec.rs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f92a9f2baf09749e9d51bf9fa7f4d671e958077a52837ec96df7b78869fa412"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): codex-rs/app-server/src/request_processors/plugins.rs:1597-1616 | codex-rs/app-server/src/request_processors/plugins.rs:1742-1759 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/plugins.rs"},"region":{"startLine":1597}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4dd90d750b5c552786e859f8543c1cfc00237c210ce0c91aae822d03f74dc45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): codex-rs/cli/src/doctor/thread_inventory.rs:199-218 | codex-rs/cli/src/doctor/thread_inventory.rs:417-436 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/cli/src/doctor/thread_inventory.rs:199\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, \u0060codex-rs/cli/src/doctor/thread_inventory.rs:197\u0060 calls \u0060remediation\u0060 and \u0060codex-rs/cli/src/doctor/thread_inventory.rs:416\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":"codex-rs/cli/src/doctor/thread_inventory.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4c760b5c66c32092b210ca5457c3fb7eb20331ed8f8258d450874352b09e95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201320 lines \u00D7 2): codex-rs/core-plugins/src/marketplace_add/metadata.rs:56-72 | codex-rs/core-plugins/src/marketplace_add/metadata.rs:99-118 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/marketplace_add/metadata.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee26b850d1415d440905ba7919e5244a3edb612647c748b539fb98aeaba50a1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): codex-rs/core-plugins/src/marketplace_upgrade/git.rs:278-296 | codex-rs/core-plugins/src/startup_sync.rs:688-707 \u2014 before extracting anything, compare \u0060codex-rs/core-plugins/src/marketplace_upgrade/git.rs\u0060 and \u0060codex-rs/core-plugins/src/startup_sync.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/core-plugins/src/marketplace_upgrade/git.rs:278\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":"codex-rs/core-plugins/src/marketplace_upgrade/git.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a77005f18a8114ed0e1056f6ae939fb676bc64b168fc45f8485c1c5fa0be2e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): codex-rs/core-plugins/src/remote.rs:964-983 | codex-rs/core-plugins/src/remote.rs:991-1010 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/core-plugins/src/remote.rs:964\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":"codex-rs/core-plugins/src/remote.rs"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9183e15cdb5b764ae661d3e4928e2b22c4573f71282aa642e724e2ec97918a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): codex-rs/exec/src/lib.rs:1597-1616 | codex-rs/tui/src/app_server_session.rs:2577-2596 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060cwd\u0060 to \u0060\u0026Path\u0060 in one and \u0060\u0026std::path::Path\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec/src/lib.rs"},"region":{"startLine":1597}}}],"partialFingerprints":{"codehealthFindingId/v1":"850aa16e94e0358c48f0e054ca0b73ca254111115b8e95ccfca0d8899fd51e19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): codex-rs/hooks/src/events/stop.rs:281-299 | codex-rs/hooks/src/events/user_prompt_submit.rs:180-199 \u2014 before extracting anything, compare \u0060codex-rs/hooks/src/events/stop.rs\u0060 and \u0060codex-rs/hooks/src/events/user_prompt_submit.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 67 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 \u0060codex-rs/hooks/src/events/stop.rs:281\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/hooks/src/events/stop.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b0a3b76b1ad27951923c4d46cecc97b27af2f7d7089af045f36dd28709fd9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): codex-rs/thread-store/src/local/thread_history/segment_paging.rs:358-377 | codex-rs/thread-store/src/local/thread_history/segment_paging.rs:418-437 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/thread-store/src/local/thread_history/segment_paging.rs:358\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":"codex-rs/thread-store/src/local/thread_history/segment_paging.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9bedcfa5c0b391bcb6720092eace29abab0159d1ff42a9932a6cf4c4090770e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201320 lines \u00D7 2): codex-rs/tui/src/app/managed_worktree_creation.rs:104-123 | codex-rs/tui/src/app/working_directory.rs:197-212 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/managed_worktree_creation.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bfa1fab316e1bb6e2b5aa31c8b54645f2335cd845bf458819dec9af17a6d8ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): codex-rs/tui/src/bottom_pane/chat_composer.rs:4350-4369 | codex-rs/tui/src/bottom_pane/mentions_v2/search_catalog.rs:217-236 \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":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":4350}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa81bfc267afb12b590e51106d8aa283028da08266b29cbc685b5ac4ce423fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): codex-rs/windows-sandbox-rs/src/setup_provisioning/firewall.rs:96-115 | codex-rs/windows-sandbox-rs/src/setup_provisioning/firewall.rs:184-203 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/windows-sandbox-rs/src/setup_provisioning/firewall.rs:96\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":"codex-rs/windows-sandbox-rs/src/setup_provisioning/firewall.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"3afd3b6ffd4018cd191429d626336a4aace7ef7054ffdec1129b0bf070fd0c13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): codex-rs/analytics/src/reducer.rs:3219-3237 | codex-rs/analytics/src/reducer.rs:3269-3287 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/analytics/src/reducer.rs"},"region":{"startLine":3219}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8d97908f4d0affcf7a3aaca14be7f9fd3c2efb24475afc9ba2b86d50416eae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): codex-rs/app-server-protocol/src/protocol/thread_history.rs:967-985 | codex-rs/app-server-protocol/src/protocol/thread_history.rs:1026-1044 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060payload\u0060 to \u0060\u0026McpToolCallBeginEvent\u0060 in one and \u0060\u0026McpToolCallEndEvent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/thread_history.rs"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"3edb74205fa74d62e53f2cc215052d93b7b589ae324dafa2152a884de630b55a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): codex-rs/cloud-tasks/src/lib.rs:1963-1981 | codex-rs/cloud-tasks/src/lib.rs:1984-2002 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/cloud-tasks/src/lib.rs:1984\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":"codex-rs/cloud-tasks/src/lib.rs"},"region":{"startLine":1963}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d743f9e795a82e0470b5f16b0232fae78522ee324cf3997c21123c1c6a3c373"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): codex-rs/code-mode-runtime/src/cell_actor/mod.rs:303-321 | codex-rs/code-mode-runtime/src/cell_actor/mod.rs:420-438 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/code-mode-runtime/src/cell_actor/mod.rs:303\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":"codex-rs/code-mode-runtime/src/cell_actor/mod.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0872c10dccf12aded03750871960bb85f72f22226099c4b48fbb1c1f079a19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): codex-rs/core/src/session/turn.rs:2506-2524 | codex-rs/rollout-trace/src/protocol_event.rs:512-530 \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 \u0060codex-rs/core/src/session/turn.rs:2506\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060codex-rs/rollout-trace/src/protocol_event.rs:511\u0060 calls \u0060ItemCompleted\u0060 and \u0060codex-rs/core/src/session/turn.rs:2505\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":"codex-rs/core/src/session/turn.rs"},"region":{"startLine":2506}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b779e426ea960db3bbffd8d617303b59172c0fc32274052895d53a6d81f27d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): codex-rs/core/src/tools/handlers/mcp_resource.rs:411-429 | codex-rs/core/src/tools/handlers/mcp_resource.rs:458-476 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/core/src/tools/handlers/mcp_resource.rs:411\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":"codex-rs/core/src/tools/handlers/mcp_resource.rs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b09f3461e458e8ba432f8582bdfbd9700d6936e86f0de88ce43b480ace6289e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): codex-rs/core/src/unified_exec/async_watcher.rs:355-373 | codex-rs/core/src/unified_exec/async_watcher.rs:415-433 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/core/src/unified_exec/async_watcher.rs:355\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":"codex-rs/core/src/unified_exec/async_watcher.rs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae89479afb5ab25c9f7c3b4f5d84fb9deffd63f37e8976dc450832025f43303e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): codex-rs/external-agent-migration/src/hooks_cla.rs:179-197 | codex-rs/external-agent-migration/src/hooks_cur.rs:110-127 \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 \u0060codex-rs/external-agent-migration/src/hooks_cla.rs:179\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":"codex-rs/external-agent-migration/src/hooks_cla.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a9e71156cb33f0a5047ef403df6d5edbeea9ecc0bdec43879592db58344d43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): codex-rs/guardian-context/src/preparation/transcript.rs:70-88 | codex-rs/guardian-context/src/preparation/transcript.rs:97-115 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/guardian-context/src/preparation/transcript.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"808f8c57315e2332781b16f60d767178caed34ffc72a34e773306b2a0bbb0bea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): codex-rs/hooks/src/engine/dispatcher.rs:81-99 | codex-rs/hooks/src/engine/dispatcher.rs:249-267 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/hooks/src/engine/dispatcher.rs:81\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":"codex-rs/hooks/src/engine/dispatcher.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c156bde14a4c8fb969329bde23cb8df9ca9af4dd8fa93e9b2d09cab8d2d2277d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): codex-rs/rollout/src/list.rs:506-524 | codex-rs/rollout/src/list.rs:638-656 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/rollout/src/list.rs:506\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":"codex-rs/rollout/src/list.rs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a35326a4ecc523632eaea4d81ceda6adae409aa1ba0d9f161273021de39b80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): codex-rs/tui/src/bottom_pane/chat_composer/slash_input.rs:558-576 | codex-rs/tui/src/chatwidget/slash_dispatch.rs:1406-1424 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/chat_composer/slash_input.rs"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"46acccbe149d7c269d17d5b6ec58d4415410541cc699558d1923f6993a550270"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): codex-rs/tui/src/bottom_pane/request_user_input/mod.rs:476-494 | codex-rs/tui/src/bottom_pane/request_user_input/mod.rs:497-515 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/request_user_input/mod.rs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0ab3b75083a4351905bf3f9a912c0a61d55d43c0f4b1a3f7b61ca468515974"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): codex-rs/tui/src/bottom_pane/textarea.rs:1522-1540 | codex-rs/tui/src/bottom_pane/textarea.rs:1593-1610 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/bottom_pane/textarea.rs:1522\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":"codex-rs/tui/src/bottom_pane/textarea.rs"},"region":{"startLine":1522}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa389bbb3ffa93db36e405ef22b149f07ca785ef1ab51a6f5f04100031143b00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): codex-rs/app-server-protocol/src/protocol/v2/config.rs:117-134 | codex-rs/config/src/config_layer_source.rs:69-86 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/v2/config.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eacd48d9891d43e2320569d2a9e08b92a966a5f47ed4f88cbfbef6edbf837a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): codex-rs/app-server-transport/src/transport/remote_control/mod.rs:827-844 | codex-rs/app-server-transport/src/transport/remote_control/websocket.rs:339-356 \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 \u0060codex-rs/app-server-transport/src/transport/remote_control/mod.rs:827\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":"codex-rs/app-server-transport/src/transport/remote_control/mod.rs"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e49a8274bd895289f35b0a8fed70f33d32cd6ddb37a0652505cfb7fcf49b70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): codex-rs/codex-api/src/endpoint/realtime_websocket/methods_v1.rs:22-39 | codex-rs/codex-api/src/endpoint/realtime_websocket/methods_v2.rs:43-60 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-api/src/endpoint/realtime_websocket/methods_v1.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a13ab56c7bb1f86c691778b15439799f7fdeabf28f7b729444addc3a0cf4ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): codex-rs/codex-api/src/files.rs:177-193 | codex-rs/codex-api/src/files.rs:383-400 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/codex-api/src/files.rs:177\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/codex-api/src/files.rs:401\u0060 calls \u0060clone\u0060 and \u0060codex-rs/codex-api/src/files.rs:194\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":"codex-rs/codex-api/src/files.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"f207b52947963d925dee8e5dbcdf6389e79f97334e3133f05f9a33d063ee3335"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): codex-rs/core-plugins/src/command_migration/render.rs:51-66 | codex-rs/external-agent-migration/src/rewrite.rs:134-151 \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 \u0060codex-rs/core-plugins/src/command_migration/render.rs:51\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":"codex-rs/core-plugins/src/command_migration/render.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c2e3b4238b61e9da4b45f3827163b3b620426539b266ec5186b769ff561a22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): codex-rs/core-plugins/src/marketplace_upgrade/git.rs:297-314 | codex-rs/core-plugins/src/startup_sync.rs:718-735 \u2014 before extracting anything, compare \u0060codex-rs/core-plugins/src/marketplace_upgrade/git.rs\u0060 and \u0060codex-rs/core-plugins/src/startup_sync.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/core-plugins/src/marketplace_upgrade/git.rs:297\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060codex-rs/core-plugins/src/marketplace_upgrade/git.rs:296\u0060 calls \u0060elapsed\u0060 and \u0060codex-rs/core-plugins/src/startup_sync.rs:716\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":"codex-rs/core-plugins/src/marketplace_upgrade/git.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6448cb052d01b044395fbaadf9abe2acba3c3e304a85696a58ce6f7b8e5b28f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): codex-rs/core/src/client.rs:433-450 | codex-rs/core/src/client.rs:451-468 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/client.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29860710e773b0215b30822e927f6643d83ff45ef422a85d89402892b015670"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201318 lines \u00D7 2): codex-rs/core/src/tasks/mod.rs:853-870 | codex-rs/ext/guardian-reviewer/src/metrics.rs:26-34 \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 \u0060codex-rs/ext/guardian-reviewer/src/metrics.rs:26\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tasks/mod.rs"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"353ca88ddbb66e820703196be15474508e6bd19c8000e44fc76b314c85299580"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): codex-rs/hooks/src/events/session_start.rs:191-208 | codex-rs/hooks/src/events/user_prompt_submit.rs:111-128 \u2014 before extracting anything, compare \u0060codex-rs/hooks/src/events/session_start.rs\u0060 and \u0060codex-rs/hooks/src/events/user_prompt_submit.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 79 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 \u0060codex-rs/hooks/src/events/session_start.rs:191\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":"codex-rs/hooks/src/events/session_start.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2396f4aba916d8fd33d1514158aaa0697bfe164d3c00b32b98c0cbca03612a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): codex-rs/tui/src/bottom_pane/approval_overlay.rs:804-821 | codex-rs/tui/src/bottom_pane/user_verification.rs:280-297 \u2014 before extracting anything, compare \u0060codex-rs/tui/src/bottom_pane/approval_overlay.rs\u0060 and \u0060codex-rs/tui/src/bottom_pane/user_verification.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 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 \u0060codex-rs/tui/src/bottom_pane/approval_overlay.rs:804\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060\u0026ApprovalRequest\u0060 in one and \u0060\u0026UserVerificationRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/approval_overlay.rs"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5119c5c46d11c42def293df9ab9d2f18283c9098ddae47bd5e44fe28fcb3e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs:720-736 | codex-rs/tui/src/bottom_pane/request_user_input/mod.rs:193-210 \u2014 before extracting anything, compare \u0060codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs\u0060 and \u0060codex-rs/tui/src/bottom_pane/request_user_input/mod.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs:720\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":"codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"13cf4e61f9085b417376511064482c1ed2b3c5b2105b25283335cc1074cebcc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): codex-rs/tui/src/bottom_pane/request_user_input/mod.rs:896-913 | codex-rs/tui/src/bottom_pane/request_user_input/mod.rs:920-937 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/tui/src/bottom_pane/request_user_input/mod.rs"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bde70a0514f4030616a77e55e46224fbc3e36758883aa9b490a7e7604f14db7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): codex-rs/analytics/src/events.rs:1546-1562 | codex-rs/hooks/src/engine/dispatcher.rs:297-313 | codex-rs/tui/src/bottom_pane/hooks_browser_view.rs:673-689 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/analytics/src/events.rs"},"region":{"startLine":1546}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a381cdf3eb1bad6d53b28250f0dca6ffdecd0d7302050bf0904e3126cdf81e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 3): codex-rs/linux-sandbox/src/bwrap.rs:1028-1043 | codex-rs/linux-sandbox/src/bwrap.rs:1330-1346 | codex-rs/linux-sandbox/src/bwrap.rs:1368-1384 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/linux-sandbox/src/bwrap.rs:1028\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":"codex-rs/linux-sandbox/src/bwrap.rs"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"963cb1db6d14ede29147df56860a3b646277a39d8cae6e28f42ab590d714d661"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): codex-rs/tui/src/chatwidget/plugin_catalog.rs:591-607 | codex-rs/tui/src/chatwidget/plugin_catalog.rs:645-661 | codex-rs/tui/src/chatwidget/plugin_catalog.rs:682-698 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/tui/src/chatwidget/plugin_catalog.rs:591\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":"codex-rs/tui/src/chatwidget/plugin_catalog.rs"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed77e98b1bb6c961ede329341c3dde9e6467ae17ebd0dd824e44680c4b0f4fad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): codex-rs/codex-experimental-api-macros/src/lib.rs:50-66 | codex-rs/codex-experimental-api-macros/src/lib.rs:96-111 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/codex-experimental-api-macros/src/lib.rs:50\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-experimental-api-macros/src/lib.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"5605507e0473a17353a01221072ae3ecb1f8eb1d1a2d4827d9bfeac02026f229"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): codex-rs/config/src/mcp_edit.rs:34-50 | codex-rs/core/src/config/mod.rs:2530-2546 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/mcp_edit.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"01073a9bc577751befa530774b026acc5da581cc8a043aead6ec4fbf0f35b22f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): codex-rs/core/src/unified_exec/process_manager.rs:688-704 | codex-rs/core/src/unified_exec/process_manager.rs:710-726 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/core/src/unified_exec/process_manager.rs:688\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/core/src/unified_exec/process_manager.rs:728\u0060 calls \u0060Err\u0060 and \u0060codex-rs/core/src/unified_exec/process_manager.rs:706\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":"codex-rs/core/src/unified_exec/process_manager.rs"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71ee16c4e96a6c2a59004a96afe72f033eb9429b88ee17b6977a6c811e2dba6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): codex-rs/ext/goal/src/api.rs:180-196 | codex-rs/ext/goal/src/api.rs:303-319 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/ext/goal/src/api.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c6d756d49a2bc8ac9a72f63000f608c552a9caad18addc0975b88fd047a319"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): codex-rs/ext/memories/src/schema.rs:24-40 | codex-rs/ext/skills/src/tools/schema.rs:24-40 \u2014 before extracting anything, compare \u0060codex-rs/ext/memories/src/schema.rs\u0060 and \u0060codex-rs/ext/skills/src/tools/schema.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/memories/src/schema.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4a86f98ab91aa65dcffa35740c45007b89bff44a3db0d631b44795a81d5d92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): codex-rs/external-agent-migration/src/sessions/records_cla.rs:184-199 | codex-rs/external-agent-migration/src/sessions/records_cur.rs:148-164 \u2014 before extracting anything, compare \u0060codex-rs/external-agent-migration/src/sessions/records_cla.rs\u0060 and \u0060codex-rs/external-agent-migration/src/sessions/records_cur.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 104 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 \u0060codex-rs/external-agent-migration/src/sessions/records_cla.rs:184\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/external-agent-migration/src/sessions/records_cla.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"46046f9f77f93e30e913645b532b8e52c95ad3a0096f1965e396188045cdaaa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): codex-rs/rmcp-client/src/executor_process_transport.rs:510-526 | codex-rs/rmcp-client/src/stdio_server_launcher.rs:834-850 \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 \u0060codex-rs/rmcp-client/src/executor_process_transport.rs:510\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":"codex-rs/rmcp-client/src/executor_process_transport.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"4879b4fa25cc14dfd3e35f6f32408b48824d4cc74929bf9615f78edfcc1be354"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): codex-rs/shell-command/src/parse_command.rs:1483-1499 | codex-rs/shell-command/src/parse_command.rs:2030-2046 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/shell-command/src/parse_command.rs:1483\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/shell-command/src/parse_command.rs:2049\u0060 calls \u0060retain\u0060 and \u0060codex-rs/shell-command/src/parse_command.rs:1501\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/shell-command/src/parse_command.rs"},"region":{"startLine":1483}}}],"partialFingerprints":{"codehealthFindingId/v1":"18cddcfc6c73067899b12f6aaab5d29a48af3a2d740e6f752fe303bdfb3270c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): codex-rs/code-mode-runtime/src/cell_actor/mod.rs:160-175 | codex-rs/code-mode-runtime/src/cell_actor/mod.rs:263-278 | codex-rs/code-mode-runtime/src/cell_actor/mod.rs:392-407 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/code-mode-runtime/src/cell_actor/mod.rs:160\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/code-mode-runtime/src/cell_actor/mod.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ac1c69c635790c278e6b7a1ed1c42989cb063ffb963183a2a856a56f0425ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): codex-rs/rollout/src/list.rs:570-585 | codex-rs/rollout/src/list.rs:630-645 | codex-rs/rollout/src/list.rs:694-709 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/rollout/src/list.rs:570\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":"codex-rs/rollout/src/list.rs"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"516eb609bda4a4c94a8d4f69c5c317ae4f5330cceef51a6b1e4c8f69b8a43205"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): codex-rs/app-server-protocol/src/protocol/event_mapping.rs:285-300 | codex-rs/app-server-protocol/src/protocol/event_mapping.rs:338-353 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/app-server-protocol/src/protocol/event_mapping.rs:285\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":"codex-rs/app-server-protocol/src/protocol/event_mapping.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc49ad3ed0788eee948279678dc56e4526115a8d19a39bd27181293d5dbb186"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): codex-rs/app-server-protocol/src/protocol/event_mapping.rs:302-317 | codex-rs/app-server-protocol/src/protocol/event_mapping.rs:355-370 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/app-server-protocol/src/protocol/event_mapping.rs:302\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":"codex-rs/app-server-protocol/src/protocol/event_mapping.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b44daf8ec8715e122e632cd8d20bdcddbb5f0d5aeed2787ecd8ee0885c75b66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): codex-rs/app-server-transport/src/transport/remote_control/mod.rs:527-540 | codex-rs/app-server-transport/src/transport/remote_control/mod.rs:754-769 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/app-server-transport/src/transport/remote_control/mod.rs:527\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":"codex-rs/app-server-transport/src/transport/remote_control/mod.rs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"347c283f93fde050488aa3303e5ce56ef4c960ad9251fa1b6b21bf648170997d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): codex-rs/core-plugins/src/startup_sync.rs:949-964 | codex-rs/core-plugins/src/startup_sync.rs:996-1011 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/core-plugins/src/startup_sync.rs:949\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":"codex-rs/core-plugins/src/startup_sync.rs"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc8d7c124bd16b0314b583fe4204592345061980fe29a5f15b80f189a605ead"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): codex-rs/core/src/mcp_tool_call.rs:257-270 | codex-rs/core/src/mcp_tool_call.rs:389-404 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/core/src/mcp_tool_call.rs:389\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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":"codex-rs/core/src/mcp_tool_call.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5ea2bec8205ba120a3dcf5f2003c354d12032fd054effaf3f64acabadc6f87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): codex-rs/core/src/mcp_tool_call.rs:1141-1156 | codex-rs/core/src/mcp_tool_call.rs:1189-1204 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/core/src/mcp_tool_call.rs:1141\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":"codex-rs/core/src/mcp_tool_call.rs"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13450d1d672e7a3bf70c26c0f0076e8414afe38a52939a1c0d1e8c955e85102"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): codex-rs/exec-server/src/noise_relay/harness.rs:372-387 | codex-rs/exec-server/src/noise_relay/harness.rs:540-555 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/exec-server/src/noise_relay/harness.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"34db521caacb0633241c885762d5f975c1da5225d52f9bfdc04bcac80912e64f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): codex-rs/exec/src/lib.rs:902-917 | codex-rs/tui/src/lib.rs:2604-2619 \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 \u0060codex-rs/exec/src/lib.rs:902\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060codex-rs/tui/src/lib.rs:2603\u0060 calls \u0060restore_terminal_before_fatal_exit\u0060 and \u0060codex-rs/exec/src/lib.rs:901\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":"codex-rs/exec/src/lib.rs"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcbbee5b08dc4415bf4103b128631d78c8502999b696fe7586fb05d677dc0b56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): codex-rs/exec/src/lib.rs:1030-1043 | codex-rs/exec/src/lib.rs:1058-1073 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/exec/src/lib.rs:1030\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060codex-rs/exec/src/lib.rs:1029\u0060 calls \u0060chain\u0060, \u0060iter\u0060, \u0060cloned\u0060 and \u0060codex-rs/exec/src/lib.rs:1057\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":"codex-rs/exec/src/lib.rs"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"97eb1b8a56276a197451dbd136e677284987e92beefa81829c4cd2bdb0759546"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): codex-rs/ext/skills/src/dynamic_skill_selector/routing_card_lexical.rs:37-52 | codex-rs/ext/skills/src/dynamic_skill_selector/weighted_lexical.rs:36-51 \u2014 before extracting anything, compare \u0060codex-rs/ext/skills/src/dynamic_skill_selector/routing_card_lexical.rs\u0060 and \u0060codex-rs/ext/skills/src/dynamic_skill_selector/weighted_lexical.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 47 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 \u0060codex-rs/ext/skills/src/dynamic_skill_selector/routing_card_lexical.rs:37\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":"codex-rs/ext/skills/src/dynamic_skill_selector/routing_card_lexical.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a30fd26eecf48177923ee5e5f5d595708dfed325202542be5a77f03c6577f26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201316 lines \u00D7 2): codex-rs/hooks/src/events/pre_tool_use.rs:268-280 | codex-rs/hooks/src/events/user_prompt_submit.rs:226-241 \u2014 before extracting anything, compare \u0060codex-rs/hooks/src/events/pre_tool_use.rs\u0060 and \u0060codex-rs/hooks/src/events/user_prompt_submit.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 53 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 \u0060codex-rs/hooks/src/events/pre_tool_use.rs:268\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":"codex-rs/hooks/src/events/pre_tool_use.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74f448439014f8094a9ad381ba83156f9500c8f22b61d91dcb2bb108a0683a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): codex-rs/thread-store/src/local/thread_history.rs:542-556 | codex-rs/thread-store/src/local/thread_history/search.rs:342-357 \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":"codex-rs/thread-store/src/local/thread_history.rs"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59c781e6a46a0dc51a5f5db1282b711e37db78c67030ed1bf3bd517b10a1a05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): codex-rs/tui/src/app/startup.rs:754-769 | codex-rs/tui/src/app/startup.rs:859-873 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/app/startup.rs:754\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":"codex-rs/tui/src/app/startup.rs"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"b138228567ec1546e3c68b584fc1aa90aba350180c542e3b0c2729ee3ca981a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): codex-rs/tui/src/bottom_pane/approval_overlay.rs:731-749 | codex-rs/tui/src/bottom_pane/approval_overlay.rs:775-793 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/tui/src/bottom_pane/approval_overlay.rs"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd8e89bc919e951de1d74b61617448e309383cfcf76ed556c1eaa8ca8b2a6c45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201316 lines \u00D7 2): codex-rs/tui/src/bottom_pane/selection_popup_common.rs:576-586 | codex-rs/tui/src/bottom_pane/selection_popup_common.rs:693-708 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/bottom_pane/selection_popup_common.rs:693\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/selection_popup_common.rs"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda4873ac836a8bac246093a3bedb231b997553ca8243eecce1f8bf450249770"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): codex-rs/tui/src/history_cell/approvals.rs:287-302 | codex-rs/tui/src/history_cell/approvals.rs:319-334 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/history_cell/approvals.rs:287\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/history_cell/approvals.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"8250f6f0719dfefdc3bc2d9c828da9123628811a89687655c1122dc7da0365bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): codex-rs/tui/src/tui.rs:1441-1456 | codex-rs/tui/src/tui.rs:1597-1612 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/tui.rs:1441\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":"codex-rs/tui/src/tui.rs"},"region":{"startLine":1441}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e6d6ac8d6c4de12ccb00c81d44cb88968f8755417bb319fbe9cd929593f6a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 4): codex-rs/analytics/src/events.rs:1547-1561 | codex-rs/core/src/hook_runtime.rs:1029-1042 | codex-rs/hooks/src/engine/dispatcher.rs:298-312 | codex-rs/tui/src/bottom_pane/hooks_browser_view.rs:674-688 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/analytics/src/events.rs:1547\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/analytics/src/events.rs"},"region":{"startLine":1547}}}],"partialFingerprints":{"codehealthFindingId/v1":"170d80604c3e5f9b358d83bbd865062dceba0d7b3d100bb04377bd3072df4243"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): codex-rs/ext/skills/src/dynamic_skill_selector/character_ngram.rs:79-93 | codex-rs/ext/skills/src/dynamic_skill_selector/fielded_bm25.rs:76-90 | codex-rs/ext/skills/src/dynamic_skill_selector/routing_card_lexical.rs:62-76 | codex-rs/ext/skills/src/dynamic_skill_selector/weighted_lexical.rs:60-74 \u2014 before extracting anything, compare \u0060codex-rs/ext/skills/src/dynamic_skill_selector/character_ngram.rs\u0060 and \u0060codex-rs/ext/skills/src/dynamic_skill_selector/fielded_bm25.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 91 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 \u0060codex-rs/ext/skills/src/dynamic_skill_selector/character_ngram.rs:79\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":"codex-rs/ext/skills/src/dynamic_skill_selector/character_ngram.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e012a9a2a68620e64a295e08bf8ea1ba03539bd334958c018c8e3fa87aa9a669"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): codex-rs/ext/memories/src/schema.rs:28-42 | codex-rs/ext/skills/src/tools/schema.rs:28-42 | codex-rs/ext/web-search/src/schema.rs:29-43 \u2014 before extracting anything, compare \u0060codex-rs/ext/memories/src/schema.rs\u0060 and \u0060codex-rs/ext/skills/src/tools/schema.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/ext/memories/src/schema.rs:28\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":"codex-rs/ext/memories/src/schema.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fee1255e70b658a8e84ebb2a5108a6b2d50003df36f6246c0b57cb7a2d5b990"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): codex-rs/app-server-protocol/src/protocol/event_mapping.rs:269-283 | codex-rs/app-server-protocol/src/protocol/event_mapping.rs:322-336 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/app-server-protocol/src/protocol/event_mapping.rs:269\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":"codex-rs/app-server-protocol/src/protocol/event_mapping.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"351e5c8b833104160aeae0266063c9219f2cf49691404d2d401203a04ea66e07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): codex-rs/app-server/src/command_exec.rs:592-606 | codex-rs/app-server/src/request_processors/process_exec_processor.rs:658-672 \u2014 before extracting anything, compare \u0060codex-rs/app-server/src/command_exec.rs\u0060 and \u0060codex-rs/app-server/src/request_processors/process_exec_processor.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 140 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/command_exec.rs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f214f433d00bff6fe6a392be5e0f1580e26d7b74466bc51abe2c2c949f5d453"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rs:796-810 | codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rs:828-842 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rs:796\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":"codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rs"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3e3e18afbe9d49a317f78f0c38eb0c21be2452f9d6834969a3805a54f9eba7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): codex-rs/codex-mcp/src/mcp/mod.rs:493-507 | codex-rs/codex-mcp/src/mcp/mod.rs:575-589 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/codex-mcp/src/mcp/mod.rs:493\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":"codex-rs/codex-mcp/src/mcp/mod.rs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"351f7b3bf237d622795cca22198163a48d2140047ec6db4ba1ad3f13d452bded"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): codex-rs/connectors/src/lib.rs:496-510 | codex-rs/utils/plugins/src/mcp_connector.rs:6-20 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/connectors/src/lib.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"1286f70cdee2debfd0f1f34599950cf4ae4422e74055cff5b250fe7f41a0bf1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): codex-rs/core-plugins/src/loader.rs:1751-1765 | codex-rs/core-plugins/src/npm_source.rs:38-52 \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":"codex-rs/core-plugins/src/loader.rs"},"region":{"startLine":1751}}}],"partialFingerprints":{"codehealthFindingId/v1":"254331377e5542842238a7b2468c87176efe6b6f68dbd9bb793ed965045cf06d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): codex-rs/core-plugins/src/startup_sync.rs:927-941 | codex-rs/core-plugins/src/startup_sync.rs:973-987 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/core-plugins/src/startup_sync.rs:927\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":"codex-rs/core-plugins/src/startup_sync.rs"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf25e15e41abd06031e8305349842889ef320beb3dfa39b5619e53e2a6ac16a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): codex-rs/core/src/client.rs:1812-1826 | codex-rs/core/src/client.rs:2291-2305 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/core/src/client.rs:1812\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":"codex-rs/core/src/client.rs"},"region":{"startLine":1812}}}],"partialFingerprints":{"codehealthFindingId/v1":"110ffc2272981b1d8397af73ae54aad4eb86d0be01238ba6ed81a51d261639b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): codex-rs/core/src/plugins/mentions.rs:42-55 | codex-rs/core/src/plugins/mentions.rs:84-98 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/core/src/plugins/mentions.rs:84\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/plugins/mentions.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9fc493871e9a9c4ddb4fa9efc61c71fa82161cd4a257f60c7704db83088f1a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): codex-rs/core/src/session/mod.rs:5091-5105 | codex-rs/core/src/session/mod.rs:5190-5204 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":5091}}}],"partialFingerprints":{"codehealthFindingId/v1":"291b4c8545adb87b83965003740e68e5ee65ca2cad19a3b5f961ba615364a878"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): codex-rs/core/src/tools/orchestrator.rs:374-387 | codex-rs/core/src/tools/orchestrator.rs:582-596 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/core/src/tools/orchestrator.rs:374\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/core/src/tools/orchestrator.rs:599\u0060 calls \u0060network_approval_spec\u0060 and \u0060codex-rs/core/src/tools/orchestrator.rs:389\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":"codex-rs/core/src/tools/orchestrator.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"220ddc92ba13dd482330bac7d4fab7af9fdcbac6f4aff632d9e71d7324623a33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): codex-rs/execpolicy/src/error.rs:83-96 | codex-rs/execpolicy/src/parser.rs:261-275 \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":"codex-rs/execpolicy/src/error.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be15927b1535d97f750c8cc3146fb1bafe0a45cf14107950b5df9860cc9f01f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): codex-rs/ext/skills/src/dynamic_skill_selector/character_ngram.rs:45-59 | codex-rs/ext/skills/src/dynamic_skill_selector/fielded_bm25.rs:41-55 \u2014 before extracting anything, compare \u0060codex-rs/ext/skills/src/dynamic_skill_selector/character_ngram.rs\u0060 and \u0060codex-rs/ext/skills/src/dynamic_skill_selector/fielded_bm25.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 91 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 after the matched lines, \u0060codex-rs/ext/skills/src/dynamic_skill_selector/fielded_bm25.rs:56\u0060 calls \u0060average_field_lengths\u0060 and \u0060codex-rs/ext/skills/src/dynamic_skill_selector/character_ngram.rs:60\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":"codex-rs/ext/skills/src/dynamic_skill_selector/character_ngram.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c718d8f62d3d0426c99c985e29008dedf768c1815118e24131c38ebdb7eb2f5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): codex-rs/ext/skills/src/dynamic_skill_selector/character_ngram.rs:164-179 | codex-rs/ext/skills/src/dynamic_skill_selector/fielded_bm25.rs:189-204 \u2014 before extracting anything, compare \u0060codex-rs/ext/skills/src/dynamic_skill_selector/character_ngram.rs\u0060 and \u0060codex-rs/ext/skills/src/dynamic_skill_selector/fielded_bm25.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/skills/src/dynamic_skill_selector/character_ngram.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3fdcaa63929fc28455eb0cfd8d40587c08c9eef0189655a511a857163d0c620"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): codex-rs/ext/skills/src/dynamic_skill_selector/lru_plus_character_routing.rs:50-64 | codex-rs/ext/skills/src/dynamic_skill_selector/lru_plus_lexical.rs:42-55 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/ext/skills/src/dynamic_skill_selector/lru_plus_character_routing.rs:50\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":"codex-rs/ext/skills/src/dynamic_skill_selector/lru_plus_character_routing.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c225fc90d4bcad98dfccb458ddfd0ae3263c00699e57f53c76fcab2a8f82f1d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): codex-rs/ext/skills/src/state.rs:297-311 | codex-rs/ext/skills/src/state.rs:367-381 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/ext/skills/src/state.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"e481114fc3ba54658e04dd3a4d71769394df1ebc841df21cd0c413ac4c95f9c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): codex-rs/external-agent-migration/src/sessions/records_cla.rs:28-42 | codex-rs/external-agent-migration/src/sessions/records_cur.rs:30-44 \u2014 before extracting anything, compare \u0060codex-rs/external-agent-migration/src/sessions/records_cla.rs\u0060 and \u0060codex-rs/external-agent-migration/src/sessions/records_cur.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 104 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 \u0060codex-rs/external-agent-migration/src/sessions/records_cla.rs:28\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"codex-rs/external-agent-migration/src/sessions/records_cla.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21f665eccaa64394ae3f6d6fbf4e71683e8164c6bb32dedca93d5e02735dcd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): codex-rs/external-agent-migration/src/sessions/records_cla.rs:65-78 | codex-rs/external-agent-migration/src/sessions/records_cur.rs:52-66 \u2014 before extracting anything, compare \u0060codex-rs/external-agent-migration/src/sessions/records_cla.rs\u0060 and \u0060codex-rs/external-agent-migration/src/sessions/records_cur.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 104 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 \u0060codex-rs/external-agent-migration/src/sessions/records_cla.rs:65\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":"codex-rs/external-agent-migration/src/sessions/records_cla.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1adcac850a38f1939480c2e12ee94f373c83f43bf9139e8e3abc6d546abc651"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): codex-rs/external-agent-migration/src/sessions/records_cla.rs:114-128 | codex-rs/external-agent-migration/src/sessions/records_cur.rs:103-117 \u2014 before extracting anything, compare \u0060codex-rs/external-agent-migration/src/sessions/records_cla.rs\u0060 and \u0060codex-rs/external-agent-migration/src/sessions/records_cur.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 104 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 \u0060codex-rs/external-agent-migration/src/sessions/records_cla.rs:114\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/external-agent-migration/src/sessions/records_cla.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a729e48497dbeea5c700ef674ad7c75bc8a4418595228840ceab47184651eca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): codex-rs/hooks/src/events/post_tool_use.rs:101-115 | codex-rs/hooks/src/events/pre_tool_use.rs:103-117 \u2014 before extracting anything, compare \u0060codex-rs/hooks/src/events/post_tool_use.rs\u0060 and \u0060codex-rs/hooks/src/events/pre_tool_use.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 72 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 \u0060codex-rs/hooks/src/events/post_tool_use.rs:101\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060PostToolUseRequest\u0060 in one and \u0060PreToolUseRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/hooks/src/events/post_tool_use.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8fcb9b92213d174227c8f4c045b9d0fb1315e1ba013bbe8b1008f1b78c8d943"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): codex-rs/linux-sandbox/src/bundled_bwrap.rs:83-97 | codex-rs/linux-sandbox/src/launcher.rs:237-250 \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 \u0060codex-rs/linux-sandbox/src/bundled_bwrap.rs:83\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/linux-sandbox/src/bundled_bwrap.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"43202c68cc58cde65eb4808640a374a73eb8496d22a146d82151a1d6d085b974"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): codex-rs/protocol/src/models.rs:1523-1537 | codex-rs/protocol/src/models.rs:1545-1559 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/protocol/src/models.rs:1523\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":"codex-rs/protocol/src/models.rs"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"464549cdc0128c5e12cb6b3cec75620b55757867fe9f0268bacb1eaf457ced4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 2): codex-rs/tui/src/app/managed_worktree_creation.rs:134-144 | codex-rs/tui/src/app/working_directory.rs:229-243 \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 \u0060codex-rs/tui/src/app/managed_worktree_creation.rs:134\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/managed_worktree_creation.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4860bc147ec8d013a9e339cb9d40a35993176456be10c397d4b41041e19e0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): codex-rs/tui/src/chatwidget/realtime.rs:958-972 | codex-rs/tui/src/chatwidget/realtime.rs:1062-1076 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060self\u0060 to \u0060super) fn is_realtime_delegated_agent_item( \u0026mut\u0060 in one and \u0060super) fn speak_completed_realtime_delegation( \u0026mut\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/realtime.rs"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb36fdb63485e9c9d382f6592d106196a01960806ab873d8fcaf29763423ddd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): codex-rs/tui/src/markdown_render.rs:2099-2112 | codex-rs/tui/src/markdown_render/table_key_value.rs:284-298 \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 \u0060codex-rs/tui/src/markdown_render.rs:2099\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/markdown_render.rs"},"region":{"startLine":2099}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af84f645879ba2a024731b11bac412d3b0f3200a4c552792b6b871c4198d6dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): codex-rs/tui/src/tui.rs:1499-1513 | codex-rs/tui/src/tui.rs:1642-1656 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/tui.rs:1499\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060codex-rs/tui/src/tui.rs:1638\u0060 calls \u0060invalidate_viewport\u0060 and \u0060codex-rs/tui/src/tui.rs:1496\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/tui.rs"},"region":{"startLine":1499}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3e0b8dc47e6b5161c7878b574da0ef9479dd2b7e74c12c515a440baaadfe34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): codex-rs/windows-sandbox-rs/src/acl.rs:177-191 | codex-rs/windows-sandbox-rs/src/acl.rs:473-487 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-rs/src/acl.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7919f849a975c615e497d948d717d168d9f4ff92e98bc10bf0237f3b7c37bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): codex-rs/core/src/unified_exec/process_manager.rs:692-705 | codex-rs/core/src/unified_exec/process_manager.rs:714-727 | codex-rs/core/src/unified_exec/process_manager.rs:802-815 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/core/src/unified_exec/process_manager.rs:728\u0060 calls \u0060Err\u0060 and \u0060codex-rs/core/src/unified_exec/process_manager.rs:706\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":"codex-rs/core/src/unified_exec/process_manager.rs"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb1142e5202c45da8d55b7a2b777c5dac66e2cdb230409006c5b81f5f481233"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): codex-rs/app-server-protocol/src/protocol/v2/apps.rs:147-160 | codex-rs/connectors/src/app_info.rs:84-97 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/v2/apps.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"946fa9b0d3566596f2e06bc46b284d0bb1cdba0a0f4de2d0c1d6b2abaea55f0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): codex-rs/app-server-transport/src/transport/remote_control/mod.rs:496-509 | codex-rs/app-server-transport/src/transport/remote_control/mod.rs:739-752 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/app-server-transport/src/transport/remote_control/mod.rs:496\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":"codex-rs/app-server-transport/src/transport/remote_control/mod.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"27facd9a156cf24089033d06133c1dd9c9d37b7074c57f4f44ed8b0475037216"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): codex-rs/app-server/src/command_exec.rs:389-402 | codex-rs/app-server/src/request_processors/process_exec_processor.rs:430-443 \u2014 before extracting anything, compare \u0060codex-rs/app-server/src/command_exec.rs\u0060 and \u0060codex-rs/app-server/src/request_processors/process_exec_processor.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 140 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/app-server/src/command_exec.rs:389\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":"codex-rs/app-server/src/command_exec.rs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"e864c5ebcd67dd7e51b478b646153583b8038f5c90b21e2c8ae7a662fadedcd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): codex-rs/app-server/src/request_processors/catalog_processor.rs:32-45 | codex-rs/app-server/src/request_processors/plugins.rs:79-92 \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 \u0060codex-rs/app-server/src/request_processors/catalog_processor.rs:32\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":"codex-rs/app-server/src/request_processors/catalog_processor.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d7e0b7697d9f08de49b6d1daa63ce8a7cf5dd7f51bba748a34a14eb7495014"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): codex-rs/app-server/src/request_processors/command_exec_processor.rs:157-170 | codex-rs/app-server/src/request_processors/process_exec_processor.rs:99-111 \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 \u0060codex-rs/app-server/src/request_processors/command_exec_processor.rs:157\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/command_exec_processor.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"205aa200ab43a27f62dc69f40d1a2371f2f7be6bc01e627f5b2bc9c88108fee3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): codex-rs/app-server/src/request_processors/thread_processor.rs:1319-1332 | codex-rs/app-server/src/request_processors/thread_processor.rs:2069-2082 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/app-server/src/request_processors/thread_processor.rs:1319\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":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":1319}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c53ffab72849c20f5fde91e7f0cbc7a45759de02d3bcda6c3b5658b97fec468"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): codex-rs/cli/src/doctor.rs:2990-3003 | codex-rs/cli/src/doctor.rs:3016-3029 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/cli/src/doctor.rs:2990\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":"codex-rs/cli/src/doctor.rs"},"region":{"startLine":2990}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd8f17db818edccdb384e3ab05da4a7a0695aa7ee07341bf9769e1361ce4fccd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): codex-rs/cli/src/plugin_cmd.rs:393-406 | codex-rs/core-plugins/src/manager.rs:3821-3834 \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 \u0060codex-rs/cli/src/plugin_cmd.rs:393\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060codex-rs/core-plugins/src/manager.rs:3819\u0060 calls \u0060as_path\u0060, \u0060display\u0060, \u0060to_string\u0060 and \u0060codex-rs/cli/src/plugin_cmd.rs:391\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/plugin_cmd.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"92819e4ca25fc249384efdf029094630d7b2c00e2f1adb1bfffa5191374fe30d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): codex-rs/config/src/loader/mod.rs:1868-1881 | codex-rs/ext/skills/src/host_roots.rs:426-439 \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":"codex-rs/config/src/loader/mod.rs"},"region":{"startLine":1868}}}],"partialFingerprints":{"codehealthFindingId/v1":"8599295e8d301e4918ba39ad8da6c63faaad712805b06c12bc6d503a8922b60c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): codex-rs/core-plugins/src/manager.rs:2253-2266 | codex-rs/core-plugins/src/manager.rs:2328-2341 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/core-plugins/src/manager.rs:2253\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":"codex-rs/core-plugins/src/manager.rs"},"region":{"startLine":2253}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b8e3ee820700ae316bbc4556c042bd2a975e7ea10be317cfff258cea3f5dc67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): codex-rs/core/src/client.rs:3323-3336 | codex-rs/core/src/client.rs:3378-3391 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/core/src/client.rs:3323\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060error\u0060 to \u0060\u0026ApiError\u0060 in one and \u0060Option\u003C\u0026ApiError\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/client.rs"},"region":{"startLine":3323}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f44181b8db266515379b1976f10c38e299bced6680e40561a98e485af6b75ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): codex-rs/core/src/guardian/review_session.rs:734-747 | codex-rs/core/src/guardian/review_session.rs:777-789 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/core/src/guardian/review_session.rs:734\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":"codex-rs/core/src/guardian/review_session.rs"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"28fc691d31ffdad06071cde4fc117c9325827ecd32f7550f0e46e2eeac7989f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): codex-rs/core/src/image_preparation.rs:347-360 | codex-rs/core/src/image_preparation.rs:388-401 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/core/src/image_preparation.rs:347\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":"codex-rs/core/src/image_preparation.rs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4d937a4bd27ecb974609faf463b1e6be4d757972eb8927c2f1a33632c1bde3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): codex-rs/exec/src/event_processor_with_human_output.rs:510-523 | codex-rs/exec/src/event_processor_with_jsonl_output.rs:391-404 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec/src/event_processor_with_human_output.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"daca9e7138ceada72424b26f6c65e76a8c117d84bbc56b243521a8e932abe54d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): codex-rs/exec/src/event_processor_with_jsonl_output.rs:431-444 | codex-rs/exec/src/event_processor_with_jsonl_output.rs:463-476 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec/src/event_processor_with_jsonl_output.rs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"248174e42d3a8394d5206f21daaf901b21779237358ec065a096299f1596ecd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): codex-rs/ext/skills/src/dynamic_skill_selector/character_ngram.rs:148-161 | codex-rs/ext/skills/src/dynamic_skill_selector/fielded_bm25.rs:173-186 \u2014 before extracting anything, compare \u0060codex-rs/ext/skills/src/dynamic_skill_selector/character_ngram.rs\u0060 and \u0060codex-rs/ext/skills/src/dynamic_skill_selector/fielded_bm25.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/skills/src/dynamic_skill_selector/character_ngram.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"86fbd38605b197e466051e2779e7c38df7204c4e3d043e641a26120b69e28628"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): codex-rs/external-agent-migration/src/detect/sessions/cla.rs:26-39 | codex-rs/external-agent-migration/src/detect/sessions/cur.rs:31-44 \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 \u0060codex-rs/external-agent-migration/src/detect/sessions/cla.rs:26\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/external-agent-migration/src/detect/sessions/cla.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3971963534ff5c084b251e84d5557d2244d98b2f74facf9635e9e53b79fd92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): codex-rs/hooks/src/events/session_start.rs:229-242 | codex-rs/hooks/src/events/user_prompt_submit.rs:143-156 \u2014 before extracting anything, compare \u0060codex-rs/hooks/src/events/session_start.rs\u0060 and \u0060codex-rs/hooks/src/events/user_prompt_submit.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 79 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 \u0060codex-rs/hooks/src/events/session_start.rs:229\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/hooks/src/events/session_start.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f47b7f691840a6bb96447de7fd6289db3cb0a1de98345be4fe9d2098a3eaf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): codex-rs/rmcp-client/src/oauth.rs:1274-1287 | codex-rs/rmcp-client/src/oauth/enterprise_generation.rs:48-61 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/oauth.rs"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba569e1be603332e7d717cd989d0624e4ca7a024350c51f5f443366771150b50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): codex-rs/shell-command/src/parse_command.rs:2516-2529 | codex-rs/shell-command/src/parse_command.rs:2545-2558 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/shell-command/src/parse_command.rs:2516\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":"codex-rs/shell-command/src/parse_command.rs"},"region":{"startLine":2516}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e919cd816dcca9e4a6678ead2fcb3e90e1c54436ff1b469153f3aeaf98347e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): codex-rs/thread-store/src/local/create_thread.rs:16-29 | codex-rs/thread-store/src/local/live_writer.rs:144-157 \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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060params\u0060 to \u0060CreateThreadParams\u0060 in one and \u0060ResumeThreadParams\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/create_thread.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ee412c7798359f2f408e623957fbfb6779874fe8f1f3a3fd9e38ef3673cffe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): codex-rs/thread-store/src/local/update_thread_metadata.rs:784-797 | codex-rs/thread-store/src/thread_metadata_sync.rs:430-443 \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":"codex-rs/thread-store/src/local/update_thread_metadata.rs"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"361deff7e8344bb814c498e67641095eca72c56160bae6b60deeb987d46e4428"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): codex-rs/tui/src/app/config_persistence.rs:950-963 | codex-rs/tui/src/app/config_persistence.rs:1354-1367 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/app/config_persistence.rs:950\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":"codex-rs/tui/src/app/config_persistence.rs"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9aa64cadecae25ce71fcfeff0712ff4232dfde03e6a8c001ec79eba66f63945"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): codex-rs/tui/src/bottom_pane/list_selection_view.rs:1149-1162 | codex-rs/tui/src/bottom_pane/list_selection_view.rs:1170-1182 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/tui/src/bottom_pane/list_selection_view.rs:1149\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/list_selection_view.rs"},"region":{"startLine":1149}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff52dfed5603c9a428fe2939d65cb744a88e820f7a6bef277a0dcb22f7474f53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): codex-rs/tui/src/bottom_pane/list_selection_view.rs:1559-1572 | codex-rs/tui/src/bottom_pane/list_selection_view.rs:1684-1697 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/tui/src/bottom_pane/list_selection_view.rs"},"region":{"startLine":1559}}}],"partialFingerprints":{"codehealthFindingId/v1":"004162a27832d663bc2e0f47ec89838ce9069f65180a550b674d549e02418b2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs:94-107 | codex-rs/tui/src/bottom_pane/request_user_input/mod.rs:113-126 \u2014 before extracting anything, compare \u0060codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs\u0060 and \u0060codex-rs/tui/src/bottom_pane/request_user_input/mod.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d9c41781a7797e971e4ac827fd30d70a808c682c5a612434255cb29d7d732e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): codex-rs/tui/src/bottom_pane/selection_popup_common.rs:401-411 | codex-rs/tui/src/bottom_pane/selection_popup_common.rs:560-573 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/selection_popup_common.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d9f5aadbc1ca3aee86fbed6d7db75dce3da7d0b95ca815ee7c6614c1f3af31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): codex-rs/tui/src/bottom_pane/textarea.rs:1891-1903 | codex-rs/tui/src/bottom_pane/textarea.rs:1908-1921 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/bottom_pane/textarea.rs:1891\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":"codex-rs/tui/src/bottom_pane/textarea.rs"},"region":{"startLine":1891}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc2899127027756394ad3cd34f40f133f0ffcb2c9f10eae25a936d6ac679fbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): codex-rs/tui/src/cwd_prompt.rs:129-153 | codex-rs/tui/src/update_prompt.rs:64-87 \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 \u0060codex-rs/tui/src/cwd_prompt.rs:129\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/cwd_prompt.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b86cf584287f583092ba10a94c8bcb0dd6bd952a8516295b8672d30a13403b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): codex-rs/tui/src/daemon_recovery.rs:89-102 | codex-rs/tui/src/startup_hooks_review.rs:120-133 \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":"codex-rs/tui/src/daemon_recovery.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e5d03dd5b3bdbfde3048b27f496a40022088687ca26273607e539237bcf68a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): codex-rs/tui/src/history_cell/session.rs:352-365 | codex-rs/tui/src/status/helpers.rs:149-162 \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 \u0060codex-rs/tui/src/history_cell/session.rs:352\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/history_cell/session.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b8910a83212c5b4b26798ba411cf41bf14b5173e7ca4d575366b774cf23b9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): codex-rs/tui/src/lib.rs:1662-1675 | codex-rs/tui/src/lib.rs:1766-1779 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/lib.rs:1662\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":"codex-rs/tui/src/lib.rs"},"region":{"startLine":1662}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f5886efb6cfa2779ff619c5849d16177b36b667777adbc716aae10d9a19126"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): codex-rs/tui/src/markdown_render/inline_directives.rs:158-171 | codex-rs/tui/src/markdown_render/math.rs:268-281 \u2014 before extracting anything, compare \u0060codex-rs/tui/src/markdown_render/inline_directives.rs\u0060 and \u0060codex-rs/tui/src/markdown_render/math.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 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 \u0060codex-rs/tui/src/markdown_render/inline_directives.rs:158\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/markdown_render/inline_directives.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc034dc1b6c94897449c870e6407fed9e56230bb2e66db7c4891b9a9dfa8229"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): codex-rs/tui/src/transcript_view/select_mode/motion.rs:231-244 | codex-rs/tui/src/transcript_view/select_mode/motion.rs:295-308 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/tui/src/transcript_view/select_mode/motion.rs:231\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":"codex-rs/tui/src/transcript_view/select_mode/motion.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4c73678593cca155e1de03fa893d232e0a43fd9f0cb821f45ea0f296e3a237"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): codex-rs/windows-sandbox-rs/src/bin/command_runner/win.rs:209-222 | codex-rs/windows-sandbox-rs/src/setup_provisioning/read_acl_mutex.rs:30-43 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-rs/src/bin/command_runner/win.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5de6461c744841fcfb8ddc448a4ea824ce74088c278252e2109929b77f62e05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 7): codex-rs/hooks/src/events/compact.rs:267-278 | codex-rs/hooks/src/events/permission_request.rs:201-213 | codex-rs/hooks/src/events/post_tool_use.rs:184-195 | codex-rs/hooks/src/events/pre_tool_use.rs:211-222 | codex-rs/hooks/src/events/session_start.rs:235-246 | codex-rs/hooks/src/events/stop.rs:256-267 | codex-rs/hooks/src/events/user_prompt_submit.rs:149-161 \u2014 before extracting anything, compare \u0060codex-rs/hooks/src/events/permission_request.rs\u0060 and \u0060codex-rs/hooks/src/events/post_tool_use.rs\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 \u0060codex-rs/hooks/src/events/compact.rs:267\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/hooks/src/events/compact.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1ab8b6f6c8aea0c4526e4d8a3b6c6ac103523ceaec93019fe171304832405a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): codex-rs/windows-sandbox-rs/src/acl.rs:173-185 | codex-rs/windows-sandbox-rs/src/acl.rs:370-382 | codex-rs/windows-sandbox-rs/src/acl.rs:411-423 | codex-rs/windows-sandbox-rs/src/acl.rs:469-481 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-rs/src/acl.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8c4dcd1d5aada9519e3aec0d5ed6ab87d6e3ba7aa60fd8d74f6a81dce60d19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): codex-rs/rollout/src/list.rs:1480-1492 | codex-rs/rollout/src/search.rs:133-145 | codex-rs/rollout/src/search.rs:233-245 \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 \u0060codex-rs/rollout/src/list.rs:1480\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":"codex-rs/rollout/src/list.rs"},"region":{"startLine":1480}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b861ef6031f90913004322dd1d0c6ae446aa309106a8bf57691584ab185bd1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): codex-rs/app-server-protocol/src/protocol/item_builders.rs:97-108 | codex-rs/app-server-protocol/src/protocol/item_builders.rs:124-136 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/app-server-protocol/src/protocol/item_builders.rs:97\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060payload\u0060 to \u0060\u0026ExecCommandBeginEvent\u0060 in one and \u0060\u0026ExecCommandEndEvent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/item_builders.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"084dab98f6e1c47f23f13b7988b1114a1e4deca04b9101fa5cb472f1bf317ea4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): codex-rs/app-server-protocol/src/protocol/thread_history.rs:1292-1304 | codex-rs/app-server-protocol/src/protocol/thread_history.rs:1341-1353 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/app-server-protocol/src/protocol/thread_history.rs:1292\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060payload\u0060 to \u0060\u0026codex_protocol::protocol::CollabCloseEndEvent\u0060 in one and \u0060\u0026codex_protocol::protocol::CollabResumeEndEvent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/thread_history.rs"},"region":{"startLine":1292}}}],"partialFingerprints":{"codehealthFindingId/v1":"462d61def8fdba3059f3da559cab316c11b39de0c513a186fb703efcd2ecb172"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): codex-rs/app-server-protocol/src/protocol/thread_history.rs:1748-1758 | codex-rs/thread-store/src/local/rollout_migration/legacy_event.rs:56-68 \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 \u0060codex-rs/app-server-protocol/src/protocol/thread_history.rs:1748\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/thread_history.rs"},"region":{"startLine":1748}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d4ad06201bcafcb7221ae3c353d4a28ba5c446797bfaec0c5923b87ea1e44f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): codex-rs/app-server-transport/src/transport/remote_control/mod.rs:463-475 | codex-rs/app-server-transport/src/transport/remote_control/mod.rs:707-719 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/app-server-transport/src/transport/remote_control/mod.rs:463\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":"codex-rs/app-server-transport/src/transport/remote_control/mod.rs"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8bd693189c197f7e567698f35b222b03c1bc83ced96a637abfaee202c7bc7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): codex-rs/app-server-transport/src/transport/remote_control/mod.rs:542-554 | codex-rs/app-server-transport/src/transport/remote_control/mod.rs:771-783 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/app-server-transport/src/transport/remote_control/mod.rs:542\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/app-server-transport/src/transport/remote_control/mod.rs:784\u0060 calls \u0060borrow\u0060, \u0060is_enabled\u0060, \u0060Err\u0060 and \u0060codex-rs/app-server-transport/src/transport/remote_control/mod.rs:555\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":"codex-rs/app-server-transport/src/transport/remote_control/mod.rs"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"09458ed982e79993374987cbc7186eb112c8e135a9edfddd4485f5ed3acd9aa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): codex-rs/app-server/src/lib.rs:775-787 | codex-rs/tui/src/startup_orchestration.rs:985-997 \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 \u0060codex-rs/app-server/src/lib.rs:775\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":"codex-rs/app-server/src/lib.rs"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"5154989f4e74cc2f330bbf17af37aaebcdc93d80d2f720b327b4bc786f47ba04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): codex-rs/app-server/src/models.rs:43-55 | codex-rs/tui/src/app_server_session.rs:2433-2445 \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":"codex-rs/app-server/src/models.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c46d8e7b3a78aa815e6d5bb7596a380abe7da6e5bc595f929bbcfb1f7d7ea1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): codex-rs/app-server/src/outgoing_message.rs:635-647 | codex-rs/app-server/src/outgoing_message.rs:725-737 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/app-server/src/outgoing_message.rs:635\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":"codex-rs/app-server/src/outgoing_message.rs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3c4d4ad7f5371b4258f78dac6a6bb7fdddcea58357102ea97f82fe69ef90b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): codex-rs/cloud-tasks/src/env_detect.rs:60-72 | codex-rs/cloud-tasks/src/env_detect.rs:340-352 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/cloud-tasks/src/env_detect.rs:60\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cloud-tasks/src/env_detect.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"04de35199c565c0068e82bfd2dfa0e250588b3f996aaa230b0a3d1700cdb3043"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): codex-rs/cloud-tasks/src/lib.rs:1719-1729 | codex-rs/cloud-tasks/src/lib.rs:2056-2068 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/cloud-tasks/src/lib.rs:1719\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":"codex-rs/cloud-tasks/src/lib.rs"},"region":{"startLine":1719}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6707f6ea09995ab1598d1005df6b984bb9cdc5c31c115dea64c4ecaf0c65afb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): codex-rs/core-plugins/src/manifest.rs:360-372 | codex-rs/core-plugins/src/remote.rs:2104-2115 \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 \u0060codex-rs/core-plugins/src/manifest.rs:360\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":"codex-rs/core-plugins/src/manifest.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c52268a6df6873fde9b1b9d0537b59c411e71a21ec12a44fe3f3d55b1511cf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): codex-rs/core-plugins/src/marketplace_upgrade/git.rs:317-329 | codex-rs/core-plugins/src/startup_sync.rs:738-750 \u2014 before extracting anything, compare \u0060codex-rs/core-plugins/src/marketplace_upgrade/git.rs\u0060 and \u0060codex-rs/core-plugins/src/startup_sync.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/marketplace_upgrade/git.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5bd4b352c3c3ce48bce595f151aa97e4854b6000e5b6a0f85eeb3d34a81bc5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): codex-rs/core/src/codex_thread.rs:573-585 | codex-rs/core/src/codex_thread.rs:644-657 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/core/src/codex_thread.rs:573\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":"codex-rs/core/src/codex_thread.rs"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb844fc3074159923353539bab27f518de70ee68758af1a69901dde03488a86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): codex-rs/core/src/realtime_conversation.rs:777-789 | codex-rs/core/src/realtime_conversation.rs:857-869 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/core/src/realtime_conversation.rs:777\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":"codex-rs/core/src/realtime_conversation.rs"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98496912de3d25d0017753d0b994df526ccda36927c92b9d21fad131b4fc67d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): codex-rs/ext/guardian-reviewer/src/pool.rs:235-247 | codex-rs/ext/guardian-reviewer/src/pool.rs:350-362 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/ext/guardian-reviewer/src/pool.rs:235\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":"codex-rs/ext/guardian-reviewer/src/pool.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ecfb7fbc80e0af783423afb3cbd1ce8df82583c52e76e1733b6988d7af2b939"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): codex-rs/ext/skills/src/sources.rs:196-208 | codex-rs/ext/skills/src/sources.rs:221-233 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/ext/skills/src/sources.rs:196\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060SkillReadRequest\u003C\u0027_\u003E\u0060 in one and \u0060SkillSearchRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/skills/src/sources.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94c90a797f83528d59a05c27380fe8aa74e97d141587d64c50e6d4f2e9f2521"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): codex-rs/external-agent-migration/src/sessions/append.rs:87-99 | codex-rs/external-agent-migration/src/sessions/append.rs:123-135 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/external-agent-migration/src/sessions/append.rs:87\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060codex-rs/external-agent-migration/src/sessions/append.rs:120\u0060 calls \u0060Ok\u0060, \u0060acquire\u0060 and \u0060codex-rs/external-agent-migration/src/sessions/append.rs:85\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":"codex-rs/external-agent-migration/src/sessions/append.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"554e15e2b079a56830e6ed6e3a561ad633abf666f620d39188a42f888b32b2f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): codex-rs/external-agent-migration/src/sessions/records_cla.rs:81-93 | codex-rs/external-agent-migration/src/sessions/records_cur.rs:69-81 \u2014 before extracting anything, compare \u0060codex-rs/external-agent-migration/src/sessions/records_cla.rs\u0060 and \u0060codex-rs/external-agent-migration/src/sessions/records_cur.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 104 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 \u0060codex-rs/external-agent-migration/src/sessions/records_cla.rs:81\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":"codex-rs/external-agent-migration/src/sessions/records_cla.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34ab587b6ffd781445baebc91b4abca56f92beff6e2462f3b14d93d553362f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): codex-rs/external-agent-migration/src/sessions/records_cur.rs:38-50 | codex-rs/external-agent-migration/src/sessions/records_cur.rs:111-123 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/external-agent-migration/src/sessions/records_cur.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc921b8a6487784912a6020f95d8d5c8b6441c8f09aefe3e8a7a298f27a5fb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): codex-rs/message-board/src/in_memory/queries.rs:274-286 | codex-rs/message-board/src/local/paging.rs:23-35 \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":"codex-rs/message-board/src/in_memory/queries.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f873a102ba1c581bb4ff93bf6f12833982d3f6b859d5594a375773f1ed6d583"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): codex-rs/protocol/src/permissions.rs:864-876 | codex-rs/protocol/src/permissions.rs:2472-2484 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/protocol/src/permissions.rs:864\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":"codex-rs/protocol/src/permissions.rs"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dbe01a0c2c7f9eab8a545c8322ffbe68af675088cd0138fd4b8c4e3f9aa8b10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): codex-rs/rmcp-client/src/rmcp_client.rs:718-730 | codex-rs/rmcp-client/src/rmcp_client.rs:1981-1993 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/rmcp-client/src/rmcp_client.rs:718\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":"codex-rs/rmcp-client/src/rmcp_client.rs"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f8cb325998914fe590ebc8babca33a3fd2d689acb0e59a637df074b15e2d85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): codex-rs/rollout-trace/src/protocol_event.rs:423-435 | codex-rs/rollout-trace/src/protocol_event.rs:505-517 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060codex-rs/rollout-trace/src/protocol_event.rs:421\u0060 calls \u0060TurnAborted\u0060 and \u0060codex-rs/rollout-trace/src/protocol_event.rs:504\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout-trace/src/protocol_event.rs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc04d738449f9a13e242f8487f1a12c7e956b3c228eb83c51ccc10f1ce02b57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): codex-rs/thread-store/src/local/list_threads.rs:31-43 | codex-rs/thread-store/src/local/search_threads.rs:46-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/thread-store/src/local/list_threads.rs:31\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060params\u0060 to \u0060ListThreadsParams\u0060 in one and \u0060SearchThreadsParams\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/list_threads.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a897f0e6b7a5c07a84262e0021ef0a7c1d112d2c39c4bf6d68f87c6f3fa3886"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): codex-rs/thread-store/src/local/list_threads.rs:45-57 | codex-rs/thread-store/src/local/search_threads.rs:64-76 \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 \u0060codex-rs/thread-store/src/local/list_threads.rs:45\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060params\u0060 to \u0060ListThreadsParams\u0060 in one and \u0060SearchThreadsParams\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/list_threads.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"028ff1c0ccbf2fc95fcab6e26bdfc193384e3dfd8bc4e39795874f36c5795407"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): codex-rs/tui/src/app/thread_goal_actions.rs:29-41 | codex-rs/tui/src/app/thread_goal_actions.rs:98-110 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060self\u0060 to \u0060super) async fn open_thread_goal_menu( \u0026mut\u0060 in one and \u0060super) async fn open_thread_goal_editor( \u0026mut\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/thread_goal_actions.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"9800656b7689b99cd31f65e49a1d0c437b0a637b1e56fe4d1cb8255b35e69e32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): codex-rs/tui/src/bottom_pane/chat_composer.rs:4539-4551 | codex-rs/tui/src/mention_codec.rs:288-300 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":4539}}}],"partialFingerprints":{"codehealthFindingId/v1":"db52922d8ca4fb2db0334624c62a24a914aa7b3bfa44ffe146b49c9314ec807f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 2): codex-rs/tui/src/bottom_pane/multi_select_picker.rs:584-593 | codex-rs/tui/src/bottom_pane/skills_toggle_view.rs:295-307 \u2014 before extracting anything, compare \u0060codex-rs/tui/src/bottom_pane/multi_select_picker.rs\u0060 and \u0060codex-rs/tui/src/bottom_pane/skills_toggle_view.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 99 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/tui/src/bottom_pane/skills_toggle_view.rs:295\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":"codex-rs/tui/src/bottom_pane/multi_select_picker.rs"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4817fa6b4d91ad8a6c6f8131cf17d24776f9f85d68b9958c6ac4b388f66d052"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): codex-rs/tui/src/bottom_pane/multi_select_picker.rs:594-606 | codex-rs/tui/src/bottom_pane/skills_toggle_view.rs:310-321 \u2014 before extracting anything, compare \u0060codex-rs/tui/src/bottom_pane/multi_select_picker.rs\u0060 and \u0060codex-rs/tui/src/bottom_pane/skills_toggle_view.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 99 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/tui/src/bottom_pane/multi_select_picker.rs:594\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":"codex-rs/tui/src/bottom_pane/multi_select_picker.rs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2382172cb955cbf1e34c10088c92c023e0902914fe0239f5ae18163947cfd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): codex-rs/utils/image/src/lib.rs:414-426 | codex-rs/utils/image/src/lib.rs:440-452 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/utils/image/src/lib.rs:414\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":"codex-rs/utils/image/src/lib.rs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"019d13306aed137b5687f130939a47bdb3aa2ad89333deeb0200c68f04798574"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): codex-rs/windows-sandbox-rs/src/acl.rs:120-132 | codex-rs/windows-sandbox-rs/src/acl.rs:928-940 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/windows-sandbox-rs/src/acl.rs:120\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/windows-sandbox-rs/src/acl.rs:941\u0060 calls \u0060is_null\u0060, \u0060LocalFree\u0060 and \u0060codex-rs/windows-sandbox-rs/src/acl.rs:133\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":"codex-rs/windows-sandbox-rs/src/acl.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3f67d5cb668f4b00577590f549d9173da2e481410b86e7533f4f04d02944ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): codex-rs/windows-sandbox-rs/src/acl.rs:777-789 | codex-rs/windows-sandbox-rs/src/acl.rs:1035-1047 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/windows-sandbox-rs/src/acl.rs:777\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/windows-sandbox-rs/src/acl.rs:790\u0060 calls \u0060Err\u0060, \u0060dacl_has_write_allow_for_sid\u0060 and \u0060codex-rs/windows-sandbox-rs/src/acl.rs:1048\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":"codex-rs/windows-sandbox-rs/src/acl.rs"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"97287e96cec11fc88c3ba6d8e6af80d9ec492ab861bbf291b3b4ae70aca8465d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): codex-rs/shell-command/src/parse_command.rs:2518-2529 | codex-rs/shell-command/src/parse_command.rs:2547-2558 | codex-rs/shell-command/src/parse_command.rs:2561-2572 | codex-rs/shell-command/src/parse_command.rs:2679-2690 | codex-rs/shell-command/src/parse_command.rs:2696-2707 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/shell-command/src/parse_command.rs:2518\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":"codex-rs/shell-command/src/parse_command.rs"},"region":{"startLine":2518}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc8d20035221d1852275f1a0e83d4d310044d7fdbd2910f720c0fa738cac28c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): codex-rs/shell-command/src/parse_command.rs:2517-2529 | codex-rs/shell-command/src/parse_command.rs:2546-2558 | codex-rs/shell-command/src/parse_command.rs:2561-2572 | codex-rs/shell-command/src/parse_command.rs:2679-2690 | codex-rs/shell-command/src/parse_command.rs:2710-2721 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/shell-command/src/parse_command.rs:2517\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":"codex-rs/shell-command/src/parse_command.rs"},"region":{"startLine":2517}}}],"partialFingerprints":{"codehealthFindingId/v1":"d955009b664f4b9ed3d32fa03fa8d62db19925db0e7ce7ca02dbb6e43fab61cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): codex-rs/app-server/src/command_exec.rs:395-405 | codex-rs/app-server/src/outgoing_message.rs:716-727 | codex-rs/app-server/src/request_processors/process_exec_processor.rs:436-446 \u2014 before extracting anything, compare \u0060codex-rs/app-server/src/command_exec.rs\u0060 and \u0060codex-rs/app-server/src/request_processors/process_exec_processor.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 140 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/app-server/src/command_exec.rs:395\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":"codex-rs/app-server/src/command_exec.rs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb73c91289c7a97992fe8ee784c7c216e70bcb346061cc28cf54c10ebf5164c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): codex-rs/tui/src/app/startup.rs:627-637 | codex-rs/tui/src/app/startup.rs:780-791 | codex-rs/tui/src/app/startup.rs:892-903 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/tui/src/app/startup.rs:627\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/startup.rs"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0681a2fc557924dffe33f7e8d325f0a27cfbd9983a079ef1b12aa71a0dc3d16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): codex-rs/windows-sandbox-rs/src/acl.rs:589-600 | codex-rs/windows-sandbox-rs/src/acl.rs:932-943 | codex-rs/windows-sandbox-rs/src/acl.rs:1039-1050 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/windows-sandbox-rs/src/acl.rs:589\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":"codex-rs/windows-sandbox-rs/src/acl.rs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ef5887e8040ba39f0317f826c36b18c46898f60dd5cb56b364b8fbd7baf519"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): codex-rs/analytics/src/events.rs:1566-1577 | codex-rs/core/src/hook_runtime.rs:1045-1055 \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 \u0060codex-rs/analytics/src/events.rs:1566\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/analytics/src/events.rs"},"region":{"startLine":1566}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d40e68232d2f7ed8dff56cf7e6404ec7b65edb88d110c62b7a202e2b2c16880"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/app-server/src/request_processors/turn_processor.rs:708-719 | codex-rs/app-server/src/request_processors/turn_processor.rs:1034-1045 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/app-server/src/request_processors/turn_processor.rs:708\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":"codex-rs/app-server/src/request_processors/turn_processor.rs"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"da42c6293e73b69f404c78409a1c741641e61d1774a61bde8d60c5ca70f68539"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/code-mode-runtime/src/runtime/callbacks.rs:85-96 | codex-rs/code-mode-runtime/src/runtime/callbacks.rs:285-296 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/code-mode-runtime/src/runtime/callbacks.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbda5a332f9d108bb84009c963a697b9e2c1aea317ac85051b6667e746f07dbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/codex-api/src/endpoint/realtime_websocket/protocol_v2.rs:146-157 | codex-rs/codex-api/src/endpoint/realtime_websocket/protocol_v2.rs:172-183 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/codex-api/src/endpoint/realtime_websocket/protocol_v2.rs:146\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":"codex-rs/codex-api/src/endpoint/realtime_websocket/protocol_v2.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"4112aa689ad012bd72695d66b9587708f889f38fce67b4c21bf8ec7009d7bd7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/config/src/marketplace_edit.rs:142-153 | codex-rs/config/src/marketplace_edit.rs:158-169 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/config/src/marketplace_edit.rs:158\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060codex-rs/config/src/marketplace_edit.rs:141\u0060 calls \u0060Table\u0060 and \u0060codex-rs/config/src/marketplace_edit.rs:157\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":"codex-rs/config/src/marketplace_edit.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff34dee2447e83a116ed7c764255622fb4ab90aba40dc13698ad90abc2289158"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/core-plugins/src/command_migration.rs:303-314 | codex-rs/external-agent-migration/src/subagents.rs:151-162 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/command_migration.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f4a297b5b8f1f3f850b8dd063159d739c8a00315f6931530f7373dc1371f2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/core-plugins/src/remote/share/checkout.rs:461-472 | codex-rs/core-plugins/src/remote/share/local_paths.rs:109-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 both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/remote/share/checkout.rs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b81ff174aff9d30f025d03c6b56535b79fb2990cb23bcc1747bbbc3cc544122"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/core/src/hook_runtime.rs:555-566 | codex-rs/core/src/hook_runtime.rs:597-608 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/core/src/hook_runtime.rs:555\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":"codex-rs/core/src/hook_runtime.rs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"49136d8bcc130a1d14eb3074353f2c39bd69e29dc10313452bb194c62ce5c54a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): codex-rs/core/src/realtime_conversation.rs:1223-1233 | codex-rs/core/src/realtime_conversation.rs:1291-1302 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/core/src/realtime_conversation.rs:1223\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":"codex-rs/core/src/realtime_conversation.rs"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d502d8c0283f54c1c899086542a412a606c9ae14083e037cb5394eafb6d4213"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/core/src/tools/orchestrator.rs:174-185 | codex-rs/core/src/tools/orchestrator.rs:210-221 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/core/src/tools/orchestrator.rs:174\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/core/src/tools/orchestrator.rs:222\u0060 calls \u0060clone\u0060 and \u0060codex-rs/core/src/tools/orchestrator.rs:186\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":"codex-rs/core/src/tools/orchestrator.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"128912d2a6fb50ce31d3e58a1ac3611d4655573ef49ed9ec907f3d8d65624b64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/exec-server/src/client/network_policy_audit.rs:60-71 | codex-rs/network-proxy/src/network_policy.rs:295-306 \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":"codex-rs/exec-server/src/client/network_policy_audit.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5e405d9af4718b88601f6cbb8b49c30fbaa43324248bfe04decd6dde4180e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/ext/goal/src/api.rs:224-235 | codex-rs/ext/goal/src/api.rs:268-279 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/ext/goal/src/api.rs:224\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":"codex-rs/ext/goal/src/api.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ae0627047eea0b2b38a153f855846ca5226dd9e447aa232664ff0e4ed2ad4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): codex-rs/ext/goal/src/runtime.rs:349-360 | codex-rs/ext/goal/src/runtime.rs:463-473 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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":"codex-rs/ext/goal/src/runtime.rs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63bb790ea615f7a8f7af01716bbb741ef55f9fbc7a839a68a93b4b8e3affdbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/external-agent-migration/src/sessions/records_cla.rs:52-63 | codex-rs/external-agent-migration/src/sessions/records_cla.rs:137-148 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/external-agent-migration/src/sessions/records_cla.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5d6c0d2b331efdd8e77e885c9250233517568ce3b42a8ff6201eb37001ccfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/hooks/src/events/compact.rs:280-291 | codex-rs/hooks/src/events/stop.rs:275-286 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/hooks/src/events/compact.rs:280\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/hooks/src/events/stop.rs:287\u0060 calls \u0060Some\u0060 and \u0060codex-rs/hooks/src/events/compact.rs:292\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":"codex-rs/hooks/src/events/compact.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb59434be6b92a59d143a6bc3dc2aa8a751d2bab8ab1f98458f1a92461c4a04c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): codex-rs/rmcp-client/src/utils.rs:112-121 | codex-rs/rmcp-client/src/utils.rs:137-148 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/rmcp-client/src/utils.rs:112\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/utils.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1353b3ec57a6f38e493641fdf5b7664b0d73489fc3a837931548f920909057a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): codex-rs/rollout-trace/src/protocol_event.rs:368-378 | codex-rs/rollout-trace/src/protocol_event.rs:451-462 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/rollout-trace/src/protocol_event.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"41234167ee51474a451544f97dd87785eb3fd6ee29e947435a167f90805889c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/rollout-trace/src/reducer/conversation.rs:274-285 | codex-rs/rollout-trace/src/reducer/conversation.rs:294-305 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/rollout-trace/src/reducer/conversation.rs:274\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":"codex-rs/rollout-trace/src/reducer/conversation.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a500b82eb73e1674473d858f463772d01fbd6070bc681d4ede4d1cbdd3e343"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/rollout/src/list.rs:1145-1156 | codex-rs/rollout/src/list.rs:1240-1251 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/rollout/src/list.rs:1145\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":"codex-rs/rollout/src/list.rs"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba18c9b51120b27416bd4fad97b6402a8466a2273b2d0ca5791b41b510e7bc25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/rollout/src/metadata.rs:78-89 | codex-rs/rollout/src/metadata.rs:176-187 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/rollout/src/metadata.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd8b89ce1c2f670f54ca0ff0ec31bdf6d3e6e3593955b302c611e0417af8573"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/skills/src/interface.rs:151-162 | codex-rs/utils/absolute-path/src/absolutize.rs:27-38 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/utils/absolute-path/src/absolutize.rs:40\u0060 calls \u0060as_os_str\u0060, \u0060is_empty\u0060, \u0060from\u0060 and \u0060codex-rs/skills/src/interface.rs:163\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":"codex-rs/skills/src/interface.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"78598c776c02fabbcd3fc6f52caadd9c244700db99eb44101b46f3e016f993d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/skills/src/interface.rs:167-178 | codex-rs/skills/src/metadata.rs:141-152 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/skills/src/interface.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc7d18366c400ba7a52de378c3c3d4775426bce95e8b87789dd777742ef8ab9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/state/src/runtime/projects.rs:124-135 | codex-rs/state/src/runtime/projects.rs:155-166 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/state/src/runtime/projects.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a39f3c43a33d9e538c1624ba77ec42d41aa7d2f131d0c660ce132a8183c467f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/thread-store/src/local/archive_thread.rs:103-114 | codex-rs/thread-store/src/local/unarchive_thread.rs:139-150 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/thread-store/src/local/archive_thread.rs:103\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":"codex-rs/thread-store/src/local/archive_thread.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab15365789c569832da08ad45844e2cc6afe6dc2076159c2d356f74a5130123"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/tui/src/analytics/chats.rs:83-94 | codex-rs/tui/src/analytics/tasks.rs:161-172 \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 \u0060codex-rs/tui/src/analytics/chats.rs:83\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":"codex-rs/tui/src/analytics/chats.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"3270a0d14eb400fa5ce9ae6c0c5b2d9b55c1261aba4963e3ba604b1cbf6ffb29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/tui/src/app/agents_overview_new.rs:284-295 | codex-rs/tui/src/app/managed_worktree_creation.rs:169-180 \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 \u0060codex-rs/tui/src/app/agents_overview_new.rs:284\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":"codex-rs/tui/src/app/agents_overview_new.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a7c7d5821e21c4a282536ac95d2a623db2ffdc9fdefa7afc678916497f07a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201329 lines \u00D7 2): codex-rs/tui/src/app_server_session.rs:2968-2996 | codex-rs/tui/src/app_server_session.rs:3043-3068 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060response\u0060 to \u0060ThreadResumeResponse\u0060 in one and \u0060\u0026ThreadResumeResponse\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app_server_session.rs"},"region":{"startLine":2968}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a023ddaade798071533c931259e46b8f710a9b1626863120e36acf44b53b8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): codex-rs/tui/src/bottom_pane/chat_composer_history.rs:638-649 | codex-rs/tui/src/bottom_pane/chat_composer_history.rs:702-712 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/bottom_pane/chat_composer_history.rs:638\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":"codex-rs/tui/src/bottom_pane/chat_composer_history.rs"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de7cf246fd058621460448600a1d0bef4cbfdc43c18c279eddd4cf25e2a7900"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs:816-827 | codex-rs/tui/src/bottom_pane/request_user_input/mod.rs:544-555 \u2014 before extracting anything, compare \u0060codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs\u0060 and \u0060codex-rs/tui/src/bottom_pane/request_user_input/mod.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs:816\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":"codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6a36ce63261bceb9e9fe16fcc7752e825d412672ece22cabbfdc7b1ef05e53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs:926-937 | codex-rs/tui/src/bottom_pane/request_user_input/mod.rs:403-414 \u2014 before extracting anything, compare \u0060codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs\u0060 and \u0060codex-rs/tui/src/bottom_pane/request_user_input/mod.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs:926\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"eabb9db5e983b39a09553376694a13871bf1db00dad63cb8f85f672e6778c42f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/tui/src/bottom_pane/pending_input_preview.rs:108-119 | codex-rs/tui/src/bottom_pane/pending_input_preview.rs:132-143 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/bottom_pane/pending_input_preview.rs:108\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":"codex-rs/tui/src/bottom_pane/pending_input_preview.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b808456b116545b351ad8fe4550117146ca13431d4f221f9214088603b5956"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/tui/src/chatwidget/realtime.rs:1473-1484 | codex-rs/tui/src/chatwidget/realtime.rs:1639-1650 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/chatwidget/realtime.rs:1473\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":"codex-rs/tui/src/chatwidget/realtime.rs"},"region":{"startLine":1473}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc61a58ed4302c0e012bda6805b52ce931377b79449b5f5c0195f8460c583de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/tui/src/history_cell/mcp.rs:267-278 | codex-rs/tui/src/history_cell/mcp.rs:282-293 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/history_cell/mcp.rs:267\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":"codex-rs/tui/src/history_cell/mcp.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"326aed4faa47a1220f23a7d9e13051ea0e3598daca55bc2fd806a3d1b79b1f7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/tui/src/startup_orchestration.rs:874-885 | codex-rs/tui/src/startup_orchestration.rs:895-906 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/startup_orchestration.rs:874\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":"codex-rs/tui/src/startup_orchestration.rs"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9082e67cd360c11491cd084896b5a785990367658dc101b001552dbb53cb78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/windows-sandbox-rs/src/dpapi.rs:40-51 | codex-rs/windows-sandbox-rs/src/dpapi.rs:74-85 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/windows-sandbox-rs/src/dpapi.rs:40\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":"codex-rs/windows-sandbox-rs/src/dpapi.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"1489a7542e8e2c8870466d6207680d2ce0812393da875c89ba63e386c4ff67e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 5): codex-rs/tui/src/config_panel/render.rs:136-146 | codex-rs/tui/src/config_panel/render.rs:177-185 | codex-rs/tui/src/config_panel/render.rs:214-221 | codex-rs/tui/src/config_panel/render.rs:251-259 | codex-rs/tui/src/config_panel/render.rs:291-299 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/tui/src/config_panel/render.rs:136\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":"codex-rs/tui/src/config_panel/render.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b272b6ac2a3cdb8438b3319f968a0af109ac780787721ad7ae68b3a241530c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 4): codex-rs/app-server/src/bespoke_event_handling.rs:1012-1022 | codex-rs/core/src/session/turn.rs:2512-2521 | codex-rs/rollout-trace/src/protocol_event.rs:518-527 | codex-rs/thread-manager-sample/src/main.rs:459-469 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/bespoke_event_handling.rs"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a3b1557853b3e599bc972f361dbc7c6c3914073781afb7ef2549e47f3eac97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): codex-rs/app-server/src/request_processors/apps_processor.rs:370-380 | codex-rs/app-server/src/request_processors/mcp_processor.rs:124-134 | codex-rs/app-server/src/request_processors/thread_processor.rs:1105-1115 | codex-rs/app-server/src/request_processors/turn_processor.rs:459-469 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/apps_processor.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ac617d4fdcd14ea4358dfccd81d952db30b78a6c6627b91a4c6890e87c1bd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): codex-rs/tui/src/lib.rs:1665-1675 | codex-rs/tui/src/lib.rs:1706-1716 | codex-rs/tui/src/lib.rs:1769-1779 | codex-rs/tui/src/lib.rs:1810-1820 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/tui/src/lib.rs:1665\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":"codex-rs/tui/src/lib.rs"},"region":{"startLine":1665}}}],"partialFingerprints":{"codehealthFindingId/v1":"669b295073adcac35ce71f2faaafbb967a5bb170892dc6cfa9a76a2152932148"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): codex-rs/analytics/src/reducer.rs:1802-1812 | codex-rs/analytics/src/reducer.rs:1836-1846 | codex-rs/analytics/src/reducer.rs:1876-1886 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/analytics/src/reducer.rs:1802\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/analytics/src/reducer.rs:1848\u0060 calls \u0060to_string\u0060 and \u0060codex-rs/analytics/src/reducer.rs:1813\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":"codex-rs/analytics/src/reducer.rs"},"region":{"startLine":1802}}}],"partialFingerprints":{"codehealthFindingId/v1":"15cacb249f5741d9bc2a463bd447c6129cc7562e970ed0c61a44bfa82640e71f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): codex-rs/app-server-transport/src/transport/remote_control/mod.rs:829-839 | codex-rs/app-server-transport/src/transport/remote_control/websocket.rs:341-351 | codex-rs/app-server-transport/src/transport/remote_control/websocket.rs:374-384 \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 \u0060codex-rs/app-server-transport/src/transport/remote_control/mod.rs:829\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":"codex-rs/app-server-transport/src/transport/remote_control/mod.rs"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc7eff1cfb58d87e0a4e82560d7a9a9653d99600ddae878206f88fcba79986f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): codex-rs/tui/src/bottom_pane/experimental_features_view.rs:390-400 | codex-rs/tui/src/bottom_pane/memories_settings_view.rs:364-374 | codex-rs/tui/src/bottom_pane/skills_toggle_view.rs:290-300 \u2014 before extracting anything, compare \u0060codex-rs/tui/src/bottom_pane/experimental_features_view.rs\u0060 and \u0060codex-rs/tui/src/bottom_pane/memories_settings_view.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 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 \u0060codex-rs/tui/src/bottom_pane/experimental_features_view.rs:390\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":"codex-rs/tui/src/bottom_pane/experimental_features_view.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"5052821cc88b396c4302dfc128aac5d219fdc3692905cc9289dd80003d50bcf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): codex-rs/app-server-daemon/src/backend/pid.rs:670-680 | codex-rs/app-server-daemon/src/lib.rs:1267-1277 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060file\u0060 to \u0060\u0026fs::File\u0060 in one and \u0060\u0026tokio::fs::File\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-daemon/src/backend/pid.rs"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b4f196c627e97b12099b0c9406ff3a3a919df4ef77f90f12201d8f25aa8313"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): codex-rs/app-server-protocol/src/export.rs:2063-2073 | codex-rs/app-server-protocol/src/precomputed_exports.rs:181-191 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/export.rs"},"region":{"startLine":2063}}}],"partialFingerprints":{"codehealthFindingId/v1":"c412c7435b6479f4ce56805a359e247e68aafc0d3306703d97d314254d531d0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): codex-rs/app-server-protocol/src/protocol/event_mapping.rs:109-119 | codex-rs/app-server-protocol/src/protocol/thread_history.rs:1128-1138 \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 \u0060codex-rs/app-server-protocol/src/protocol/event_mapping.rs:109\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":"codex-rs/app-server-protocol/src/protocol/event_mapping.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4578a891c7783c699b2047563a1fec5ec995199443d004c2c6efc950f38388"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): codex-rs/app-server-protocol/src/protocol/thread_history.rs:1279-1289 | codex-rs/app-server-protocol/src/protocol/thread_history.rs:1325-1335 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/app-server-protocol/src/protocol/thread_history.rs:1279\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060payload\u0060 to \u0060\u0026codex_protocol::protocol::CollabCloseBeginEvent\u0060 in one and \u0060\u0026codex_protocol::protocol::CollabResumeBeginEvent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/thread_history.rs"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"44feb7cb6872118193b60d473a2d82ec91e53175ec76cece2d36df905cbe168b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): codex-rs/app-server-protocol/src/protocol/thread_history.rs:1306-1316 | codex-rs/app-server-protocol/src/protocol/thread_history.rs:1355-1365 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/app-server-protocol/src/protocol/thread_history.rs:1306\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060payload\u0060 to \u0060\u0026codex_protocol::protocol::CollabCloseEndEvent\u0060 in one and \u0060\u0026codex_protocol::protocol::CollabResumeEndEvent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/thread_history.rs"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2eb738fe87e8014c592f9f4e8c759d97b75b0aa4e8b2f0d38bfaee82244b137"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): codex-rs/app-server-protocol/src/protocol/v2/thread_data.rs:471-481 | codex-rs/protocol/src/protocol.rs:2324-2334 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/v2/thread_data.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"37bb0f9f26cc22981d7cd5e9324b3457674d2537896ee2ab6914b14259870afa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): codex-rs/app-server/src/external_agent_migration/processor.rs:746-756 | codex-rs/external-agent-migration/src/detect/sessions/mod.rs:28-38 \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 \u0060codex-rs/app-server/src/external_agent_migration/processor.rs:746\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":"codex-rs/app-server/src/external_agent_migration/processor.rs"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe5daa98cbb1132ce801648393202dd16d5b23115a4a18253ca4c9808eca08a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): codex-rs/app-server/src/fuzzy_file_search.rs:59-69 | codex-rs/app-server/src/fuzzy_file_search.rs:234-244 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/app-server/src/fuzzy_file_search.rs:59\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/fuzzy_file_search.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"436f6fdbc7de631c27c58f1c6f051790a7426fe406b70f25eae82c3a80316b03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): codex-rs/app-server/src/request_processors/catalog_processor.rs:333-343 | codex-rs/app-server/src/request_processors/catalog_processor.rs:513-523 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/app-server/src/request_processors/catalog_processor.rs:333\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":"codex-rs/app-server/src/request_processors/catalog_processor.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"62dcf23ab82c06ed57ba818be7d28355bf6cf1554a365d99a1ef8a1d577b2fb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): codex-rs/app-server/src/request_processors/thread_goal_processor.rs:138-148 | codex-rs/app-server/src/request_processors/thread_goal_processor.rs:280-290 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060params\u0060 to \u0060ThreadGoalSetParams\u0060 in one and \u0060ThreadGoalClearParams\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/thread_goal_processor.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c0e42a9b9ff829425fe277c02e3d1214c1c4a83462d6d5255e3e66929e1fb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): codex-rs/app-server/src/request_processors/thread_processor.rs:1221-1231 | codex-rs/app-server/src/request_processors/turn_processor.rs:1590-1600 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":1221}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e772d96f4ad016cdfcaa1228590875388af56818f9e670e254ed8c07213036b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): codex-rs/code-mode-host/src/peer.rs:437-447 | codex-rs/code-mode-host/src/peer.rs:469-479 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/code-mode-host/src/peer.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"b263c6e3bba628d4107d999be450180923e35fc68decb5c9994187ef09c9e99d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): codex-rs/codex-api/src/endpoint/realtime_call.rs:119-128 | codex-rs/codex-api/src/endpoint/realtime_call.rs:205-215 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/codex-api/src/endpoint/realtime_call.rs:119\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":"codex-rs/codex-api/src/endpoint/realtime_call.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb19a379071593a9e13e579b2d667518a88b6540eaef5b6fc1386e476d64190"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): codex-rs/core-plugins/src/manager.rs:968-978 | codex-rs/core-plugins/src/manager.rs:999-1009 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"codex-rs/core-plugins/src/manager.rs"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f99a8b470d184cf81d666e89d3f4de583dccf8d6f0efdb152b4a1cf5845f95c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): codex-rs/core/src/tools/handlers/multi_agents/close_agent.rs:87-97 | codex-rs/core/src/tools/handlers/multi_agents/resume_agent.rs:118-128 \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 \u0060codex-rs/core/src/tools/handlers/multi_agents/close_agent.rs:87\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":"codex-rs/core/src/tools/handlers/multi_agents/close_agent.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"999caa2947dbc8329ef1c5fb99294429bd25c1065d67fa18ad1afcee6e0e9e7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): codex-rs/exec/src/lib.rs:1130-1140 | codex-rs/exec/src/lib.rs:1226-1234 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/exec/src/lib.rs:1130\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec/src/lib.rs"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ecfb7e021e0fea26085234dac161fdaad57f60bd22bf7ad4de0777a42feabd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): codex-rs/ext/memories/src/tools/mod.rs:63-73 | codex-rs/ext/skills/src/tools/mod.rs:382-392 \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 \u0060codex-rs/ext/memories/src/tools/mod.rs:63\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":"codex-rs/ext/memories/src/tools/mod.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb2933e5048528ef342f896631102c22075e0508904b7250e35a8ab54454c3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): codex-rs/ext/skills/src/loader/metadata.rs:111-121 | codex-rs/skills/src/parser.rs:188-198 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/skills/src/loader/metadata.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a85bb54dd5ba94a13ca1a49884ceab5d74db1687f2742a99ee35b0dfee13ba9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): codex-rs/external-agent-migration/src/hooks_cla.rs:205-213 | codex-rs/external-agent-migration/src/hooks_cur.rs:129-139 \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 \u0060codex-rs/external-agent-migration/src/hooks_cur.rs:129\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/external-agent-migration/src/hooks_cla.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"49eb0e54b7d469ed814f0546dc41d8181349931b350b3e46bf12f04737fdb5aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): codex-rs/hooks/src/events/post_tool_use.rs:89-99 | codex-rs/hooks/src/events/pre_tool_use.rs:91-101 \u2014 before extracting anything, compare \u0060codex-rs/hooks/src/events/post_tool_use.rs\u0060 and \u0060codex-rs/hooks/src/events/pre_tool_use.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 72 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 \u0060codex-rs/hooks/src/events/post_tool_use.rs:89\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060PostToolUseRequest\u0060 in one and \u0060PreToolUseRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/hooks/src/events/post_tool_use.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"c70a856ffb38b0689d772961dabfa2d5be6f6f021449900fe4fa5b6ccfcfc17d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): codex-rs/model-provider/src/shared_state.rs:150-160 | codex-rs/model-provider/src/shared_state.rs:174-184 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/model-provider/src/shared_state.rs:150\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/model-provider/src/shared_state.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"09fcc9dcf76de923aaf5d0ada22e6d26a08f58e7180ff6e49be9445b2517fa22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): codex-rs/otel/src/events/session_telemetry.rs:857-867 | codex-rs/otel/src/events/session_telemetry.rs:924-934 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/otel/src/events/session_telemetry.rs:857\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":"codex-rs/otel/src/events/session_telemetry.rs"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c6c493c56e79bdcd6facddc190439b8a2ae29b28d1f6657d4719fb02edcbf3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): codex-rs/protocol/src/protocol.rs:2777-2787 | codex-rs/tui/src/token_usage.rs:59-68 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/protocol.rs"},"region":{"startLine":2777}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2754019d5933a7c5cc925f493c666084644dfe50b926b20a8c817ad2a13441"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): codex-rs/rmcp-client/src/ema_http_client.rs:300-310 | codex-rs/rmcp-client/src/ema_http_client.rs:329-339 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/rmcp-client/src/ema_http_client.rs:300\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":"codex-rs/rmcp-client/src/ema_http_client.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"f641adea8f87d753d211d371d0f74be198bc32c1085f22b09f0cff87fbc21810"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): codex-rs/shell-command/src/parse_command.rs:1471-1481 | codex-rs/shell-command/src/parse_command.rs:2018-2028 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/shell-command/src/parse_command.rs"},"region":{"startLine":1471}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ae93d40be93e108f3488b8d18a90bec88b2e98a2cef6361192e2dc78ba9f63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): codex-rs/state/src/runtime/thread_attachments.rs:89-99 | codex-rs/state/src/runtime/thread_attachments.rs:157-167 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/state/src/runtime/thread_attachments.rs:89\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":"codex-rs/state/src/runtime/thread_attachments.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"958310fc4b993d27037a2e04df27123d8245fff994544230f7243794ed5585d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): codex-rs/thread-store/src/local/rollout_migration.rs:929-939 | codex-rs/thread-store/src/local/rollout_migration.rs:974-984 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/thread-store/src/local/rollout_migration.rs"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"1403568ebe476513f1a069afe0aa0ed20cf6e29a64ecb595c581d5dfd897c8e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): codex-rs/tui/src/app/history_ui.rs:211-220 | codex-rs/tui/src/app/history_ui.rs:227-237 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. 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":"codex-rs/tui/src/app/history_ui.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e0dc23b7e532501d8da24c9397c5af56e0ec39814857b6f09f4c2a8de6414d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): codex-rs/tui/src/bottom_pane/custom_prompt_view.rs:205-215 | codex-rs/tui/src/bottom_pane/feedback_note_view.rs:167-177 \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 \u0060codex-rs/tui/src/bottom_pane/custom_prompt_view.rs:205\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/tui/src/bottom_pane/custom_prompt_view.rs:217\u0060 calls \u0060is_some_and\u0060, \u0060text\u0060 and \u0060codex-rs/tui/src/bottom_pane/feedback_note_view.rs:178\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/custom_prompt_view.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14daadf73de0d86defa02d31268a29770727a18338652ab3920cce44893e6d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): codex-rs/tui/src/bottom_pane/multi_select_picker.rs:361-371 | codex-rs/tui/src/bottom_pane/skills_toggle_view.rs:167-177 \u2014 before extracting anything, compare \u0060codex-rs/tui/src/bottom_pane/multi_select_picker.rs\u0060 and \u0060codex-rs/tui/src/bottom_pane/skills_toggle_view.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 99 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/multi_select_picker.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"2368c58420902f2bf6e0602b0f69b5b32ef4f8fc86cd9e7315819edad59435a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): codex-rs/tui/src/history_cell/approvals.rs:71-81 | codex-rs/tui/src/history_cell/approvals.rs:116-126 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/tui/src/history_cell/approvals.rs:71\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/history_cell/approvals.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"b878797082aef12c2304964935fd5f621d653aca4580eb47f05c794c4a2dcc39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): codex-rs/tui/src/markdown_render/inline_directives.rs:73-83 | codex-rs/tui/src/markdown_render/math.rs:49-58 \u2014 before extracting anything, compare \u0060codex-rs/tui/src/markdown_render/inline_directives.rs\u0060 and \u0060codex-rs/tui/src/markdown_render/math.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 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 \u0060codex-rs/tui/src/markdown_render/inline_directives.rs:73\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/tui/src/markdown_render/math.rs:59\u0060 calls \u0060iter\u0060, \u0060peekable\u0060, \u0060sort_unstable_by_key\u0060 and \u0060codex-rs/tui/src/markdown_render/inline_directives.rs:84\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":"codex-rs/tui/src/markdown_render/inline_directives.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4db1fd0a30969a7948d13f9046929f7beae570c05e6649c0a557c83be5696e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): codex-rs/tui/src/worktree_browser.rs:119-129 | codex-rs/tui/src/worktree_browser.rs:155-164 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/tui/src/worktree_browser.rs:119\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":"codex-rs/tui/src/worktree_browser.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"1234013158199ca92cf83029a011c52e8b6fc86c1d41c3a5b3cc13e6552e9f03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): codex-rs/tui/src/wrapping.rs:962-972 | codex-rs/tui/src/wrapping.rs:1020-1030 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/wrapping.rs:962\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":"codex-rs/tui/src/wrapping.rs"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62231c6ae97cd104a08a0042d83aab4e247e363d09b1e1b94c4d6b74d97a9d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): codex-rs/windows-sandbox-rs/src/acl.rs:801-810 | codex-rs/windows-sandbox-rs/src/acl.rs:1134-1144 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/windows-sandbox-rs/src/acl.rs"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"42bf5d9bac57dde54bfb73a18c889f52a18cf5293e1d143752bca37a97903901"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): codex-rs/git-utils/src/apply.rs:465-475 | codex-rs/git-utils/src/apply.rs:477-487 | codex-rs/git-utils/src/apply.rs:489-499 | codex-rs/git-utils/src/apply.rs:503-513 | codex-rs/git-utils/src/apply.rs:556-566 | codex-rs/git-utils/src/apply.rs:570-580 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/git-utils/src/apply.rs:465\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/git-utils/src/apply.rs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e9a94654a36b8ef7e82ef4de180f51a509bc4a912d648a06cd273e8055474e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): codex-rs/tui/src/cwd_prompt.rs:341-350 | codex-rs/tui/src/model_migration.rs:309-318 | codex-rs/tui/src/oss_selection.rs:261-270 | codex-rs/tui/src/update_prompt.rs:259-268 \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 \u0060codex-rs/tui/src/cwd_prompt.rs:341\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060area\u0060 to \u0060Rect\u0060 in one and \u0060ratatui::layout::Rect\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/tui/src/update_prompt.rs:269\u0060 calls \u0060mark_underlined_hyperlink\u0060 and \u0060codex-rs/tui/src/cwd_prompt.rs:351\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":"codex-rs/tui/src/cwd_prompt.rs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d7a0be28e291d9a7e64ddf2774ad30cf530ebde1b1d2c5a6bd547837ef73e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): codex-rs/ext/skills/src/dynamic_skill_selector/character_ngram.rs:219-228 | codex-rs/ext/skills/src/dynamic_skill_selector/fielded_bm25.rs:215-224 | codex-rs/ext/skills/src/dynamic_skill_selector/routing_card_lexical.rs:227-236 \u2014 before extracting anything, compare \u0060codex-rs/ext/skills/src/dynamic_skill_selector/character_ngram.rs\u0060 and \u0060codex-rs/ext/skills/src/dynamic_skill_selector/fielded_bm25.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/skills/src/dynamic_skill_selector/character_ngram.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"3623c504cc3a10553239ae9648d26763906659e5cfea3f86646ea7da92c2a6fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): codex-rs/hooks/src/events/session_start.rs:278-287 | codex-rs/hooks/src/events/stop.rs:284-292 | codex-rs/hooks/src/events/user_prompt_submit.rs:185-193 \u2014 before extracting anything, compare \u0060codex-rs/hooks/src/events/session_start.rs\u0060 and \u0060codex-rs/hooks/src/events/stop.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 52 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":"codex-rs/hooks/src/events/session_start.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccbce1793edd302fc967074bb6c8d217491b4b71d6fb61ccea0114e1fa5cecad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 3): codex-rs/tools/src/code_mode.rs:44-53 | codex-rs/tools/src/code_mode.rs:172-178 | codex-rs/tools/src/code_mode.rs:203-210 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/tools/src/code_mode.rs:203\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tools/src/code_mode.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06e195e08012607a6d333dd01d5defdc307416e393af72ec7c266aa38a67cea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): codex-rs/tui/src/app_server_session.rs:2973-2993 | codex-rs/tui/src/app_server_session.rs:3011-3031 | codex-rs/tui/src/app_server_session.rs:3048-3068 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/tui/src/app_server_session.rs:2973\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060response\u0060 to \u0060ThreadResumeResponse\u0060 in one and \u0060\u0026ThreadResumeResponse\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/tui/src/app_server_session.rs:3032\u0060 calls \u0060clone\u0060 and \u0060codex-rs/tui/src/app_server_session.rs:3069\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app_server_session.rs"},"region":{"startLine":2973}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8ea146f18f32c08afb5b6e463b5f45a60fbbea208ebc9bfc5a1881a442daa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/app-server-daemon/src/lib.rs:510-519 | codex-rs/app-server-daemon/src/lib.rs:888-897 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/app-server-daemon/src/lib.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d21348a72db8b6b42f650c0104d6369c6656d4e2a2008478852e04008f4a79f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): codex-rs/app-server-protocol/src/export.rs:2076-2086 | codex-rs/app-server-protocol/src/precomputed_exports.rs:194-204 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/export.rs"},"region":{"startLine":2076}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef3fd1bc124df52d42b09b7efea4d6a47e62afe509320e026fb619b40eab6e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201310 lines \u00D7 3): codex-rs/app-server-protocol/src/schema_fixtures.rs:278-287 | codex-rs/config/src/schema.rs:292-295 | codex-rs/hooks/src/schema.rs:786-795 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/app-server-protocol/src/schema_fixtures.rs:278\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060codex-rs/hooks/src/schema.rs:785\u0060 calls \u0060iter\u0060, \u0060collect\u0060, \u0060sort_by_key\u0060 and \u0060codex-rs/config/src/schema.rs:292\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/schema_fixtures.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"0202efa0be95bb033c05ab466430bb5def565bb5a7701faca44a9c89401dfe9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): codex-rs/app-server/src/in_process_bootstrap.rs:111-119 | codex-rs/app-server/src/in_process_bootstrap.rs:135-144 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/app-server/src/in_process_bootstrap.rs:111\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/in_process_bootstrap.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d3d8cfb51021407c0656003289d33ad0c4f75ef34cfb6b8febd2fdf6a75302"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/app-server/src/request_processors/thread_processor.rs:3468-3478 | codex-rs/app-server/src/request_processors/thread_processor.rs:3530-3539 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/app-server/src/request_processors/thread_processor.rs:3468\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":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":3468}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4bac23dfbceba1ed015da7e582e66e8b37cc27902c132c9b6d77df47aa53fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/cli/src/doctor.rs:665-674 | codex-rs/cli/src/main.rs:2148-2157 \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":"codex-rs/cli/src/doctor.rs"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"286f6f5b2ce91ad4730a664a32fdd61e829bd095e08ce72774ed31ded0c79b68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/cli/src/doctor/output.rs:823-832 | codex-rs/cli/src/doctor/output.rs:1079-1088 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/cli/src/doctor/output.rs:823\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":"codex-rs/cli/src/doctor/output.rs"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c26ee54c82de2e395e2f8ca3eabe934939ca7df7c30f35c75efb53013244f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/cli/src/mcp_cmd.rs:869-878 | codex-rs/cli/src/mcp_cmd.rs:926-935 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/cli/src/mcp_cmd.rs:869\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":"codex-rs/cli/src/mcp_cmd.rs"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b04730a0c70bf09d2ffbec3ca2b04461c9a9e5034f76e0fe0178f53cd49caf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/cli/src/plugin_cmd.rs:382-391 | codex-rs/core-plugins/src/manager.rs:3809-3818 \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 \u0060codex-rs/cli/src/plugin_cmd.rs:382\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/core-plugins/src/manager.rs:3819\u0060 calls \u0060as_path\u0060, \u0060display\u0060, \u0060to_string\u0060 and \u0060codex-rs/cli/src/plugin_cmd.rs:392\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":"codex-rs/cli/src/plugin_cmd.rs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b89a1a83a199b8abfff4b47fb3fc6758078cc3bed1011d6f4235cf559f9abfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): codex-rs/cloud-tasks/src/lib.rs:1865-1873 | codex-rs/cloud-tasks/src/lib.rs:1903-1912 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/cloud-tasks/src/lib.rs:1865\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":"codex-rs/cloud-tasks/src/lib.rs"},"region":{"startLine":1865}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df51faa6866c18aa6be3a9ff28e95bc7966c2c8a878dd7e501caf464c171734"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/codex-mcp/src/binding_clients.rs:108-117 | codex-rs/codex-mcp/src/binding_clients.rs:139-148 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/codex-mcp/src/binding_clients.rs:108\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":"codex-rs/codex-mcp/src/binding_clients.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc897f7e2e768b1acf6c29955a07eccf2b7025a3f0c058ee3740fd675d12034"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/codex-mcp/src/runtime.rs:843-852 | codex-rs/codex-mcp/src/runtime.rs:864-873 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/codex-mcp/src/runtime.rs"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee55a6c6c803086ed1b758745ddf0a7b0700f808b260c8c083f4bf98ea955a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/config/src/diagnostics.rs:163-172 | codex-rs/config/src/strict_config.rs:85-94 \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 \u0060codex-rs/config/src/diagnostics.rs:163\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":"codex-rs/config/src/diagnostics.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ca731e33fa6a95322802ad745322d247ad75e4b6dbdab6adb8d8124dd753c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/config/src/loader/mod.rs:468-477 | codex-rs/config/src/loader/project_discovery.rs:19-28 \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":"codex-rs/config/src/loader/mod.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2bc80127de546d21c17601039c65f728abf3d64e33f5b4c7d6d0129fc18acc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/context-fragments/src/fragment.rs:168-177 | codex-rs/memories/write/src/rollout_input.rs:363-372 \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 \u0060codex-rs/context-fragments/src/fragment.rs:168\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":"codex-rs/context-fragments/src/fragment.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"d959b85215bd9e1c9d6306723bceb4f44a0bf79e5b60bdb3cbc643d000adb137"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/core/src/client.rs:3308-3317 | codex-rs/core/src/client.rs:3363-3372 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/core/src/client.rs:3308\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":"codex-rs/core/src/client.rs"},"region":{"startLine":3308}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4af40718351b309a9942f5599457f291e004f978ca7899a30468004b421c142"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/core/src/context/environment_context.rs:200-209 | codex-rs/hooks/src/engine/discovery.rs:490-499 \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":"codex-rs/core/src/context/environment_context.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9e17949d2087c0dec0b38c514afe929e5fc9c394bcf14f48b3acb8b0210c21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/core/src/context_manager/normalize.rs:352-361 | codex-rs/core/src/context_manager/normalize.rs:399-408 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/core/src/context_manager/normalize.rs:352\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":"codex-rs/core/src/context_manager/normalize.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"14359a4e040c90f79ab3a03f254ba3a8e92eb543f7086d52e696278a22122d02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/core/src/tools/handlers/multi_agents/wait.rs:157-166 | codex-rs/core/src/tools/handlers/multi_agents/wait.rs:228-237 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/core/src/tools/handlers/multi_agents/wait.rs:157\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":"codex-rs/core/src/tools/handlers/multi_agents/wait.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c4e5c25acecf41affa0a74fe7ee5f7547040b343adf3e7439981b9aea345b14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/core/src/tools/handlers/request_user_input_async.rs:141-150 | codex-rs/core/src/tools/handlers/send_message_to_user_async.rs:94-103 \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 \u0060codex-rs/core/src/tools/handlers/request_user_input_async.rs:141\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060codex-rs/core/src/tools/handlers/request_user_input_async.rs:139\u0060 calls \u0060Some\u0060 and \u0060codex-rs/core/src/tools/handlers/send_message_to_user_async.rs:93\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":"codex-rs/core/src/tools/handlers/request_user_input_async.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae13aae5e6dbda4dcd5f6b875026c276896420ab5ef84e11afd3d93408172c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): codex-rs/core/src/unified_exec/process_manager.rs:522-531 | codex-rs/core/src/unified_exec/process_manager.rs:894-902 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/core/src/unified_exec/process_manager.rs:522\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":"codex-rs/core/src/unified_exec/process_manager.rs"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38c10b81effbed9269f40f0719767034e2d5612066570bcbcf180c976b48e3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/exec-server-cli/src/exec_server_auth.rs:261-270 | codex-rs/model-provider/src/amazon_bedrock/auth.rs:324-333 \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":"codex-rs/exec-server-cli/src/exec_server_auth.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"a026f22a65871011a186ec27d3568049a64a7b31ee0fbb4ca535fc5fcf0e4e96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): codex-rs/exec/src/lib.rs:1004-1013 | codex-rs/exec/src/lib.rs:1027-1035 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/exec/src/lib.rs"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"16729cd1c74243137df6634546e1b7bc25abb3a997a6099485a48399ea0fed91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/ext/image-generation/src/extension.rs:98-107 | codex-rs/ext/web-search/src/extension.rs:137-146 \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 \u0060codex-rs/ext/image-generation/src/extension.rs:98\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":"codex-rs/ext/image-generation/src/extension.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe64d9ddf350ea8730ece426aac285a56c7bdd1a248fdd60a2819fa60f7a1f10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): codex-rs/ext/memories/src/local/list.rs:61-70 | codex-rs/ext/memories/src/local/search.rs:72-80 \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":"codex-rs/ext/memories/src/local/list.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ab42665d85240ce9616004c4ba51056bcb9dffba4e4fd1099784e03c3bb402"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): codex-rs/ext/skills/src/render.rs:854-862 | codex-rs/ext/skills/src/render.rs:1053-1062 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/ext/skills/src/render.rs:1053\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":"codex-rs/ext/skills/src/render.rs"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3129690754fb4c1b2b490ba05146099575d2e0a4c2733192bc66cbf2e9212a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): codex-rs/git-utils/src/apply.rs:84-92 | codex-rs/git-utils/src/apply.rs:105-114 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/git-utils/src/apply.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26ff757c3759bc6a8b949a07c5c5abac631485ac2e2dd065c2f9edb74abad76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/network-proxy/src/http_proxy.rs:613-622 | codex-rs/network-proxy/src/http_proxy.rs:757-766 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/network-proxy/src/http_proxy.rs:613\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/network-proxy/src/http_proxy.rs:767\u0060 calls \u0060method\u0060 and \u0060codex-rs/network-proxy/src/http_proxy.rs:623\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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"519543d54f5687e03debbb2fd729fde42ceee42a30d3b1ed5501b6f185dd4c69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/network-proxy/src/mitm.rs:505-514 | codex-rs/network-proxy/src/mitm.rs:554-563 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/network-proxy/src/mitm.rs:505\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":"codex-rs/network-proxy/src/mitm.rs"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5014ce68caa43f850c7606a240ac757eaa446bfbfe21649a79cd4a114ab93cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/network-proxy/src/socks5.rs:221-230 | codex-rs/network-proxy/src/socks5.rs:731-740 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/network-proxy/src/socks5.rs:221\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, \u0060codex-rs/network-proxy/src/socks5.rs:220\u0060 calls \u0060extensions\u0060 and \u0060codex-rs/network-proxy/src/socks5.rs:730\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":"codex-rs/network-proxy/src/socks5.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41b4875fce9cb7ff1b4ccd9ddd35bed9e4ff60715a054d01a08d21adab5aa73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201310 lines \u00D7 4): codex-rs/otel/src/events/session_telemetry.rs:747-750 | codex-rs/otel/src/events/session_telemetry.rs:845-854 | codex-rs/otel/src/events/session_telemetry.rs:910-919 | codex-rs/otel/src/events/session_telemetry.rs:961-964 \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":"codex-rs/otel/src/events/session_telemetry.rs"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"00967982f8ec707a254490a8a6add800d416ce27ba0f051c138194a1c4a93554"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/otel/src/provider.rs:513-522 | codex-rs/otel/src/provider.rs:599-608 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/otel/src/provider.rs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"6714ac3f37416bcedc69c3e90982662bd7540a8407ff8048e381890586814071"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/protocol/src/approvals.rs:368-377 | codex-rs/tui/src/approval_events.rs:57-66 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/approvals.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"7623a7c8edbe51d4d1fbc7f8455a8b119716943c7c548279da5b523f800c0b0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/rollout-trace/src/inference.rs:270-279 | codex-rs/rollout-trace/src/inference.rs:300-309 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/rollout-trace/src/inference.rs:270\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":"codex-rs/rollout-trace/src/inference.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8117050f76b153455fd96fd21ac87c1cc8f4bcbcf4673cfd85c4d7218f8892"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/rollout/src/reverse_jsonl_scanner.rs:100-109 | codex-rs/rollout/src/reverse_jsonl_scanner.rs:119-128 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout/src/reverse_jsonl_scanner.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0bd5123d6af8ad40eafd67731790e293166fc83bebff86f5a679a9ef5cbd701"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/secrets/src/lib.rs:170-179 | codex-rs/secrets/src/lib.rs:186-195 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/secrets/src/lib.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17fa760e8210d1003abafd8ce68ab33999bf24fd61de584ae6a10e35418df4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/state/src/runtime/logs.rs:78-87 | codex-rs/state/src/runtime/logs.rs:161-170 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/state/src/runtime/logs.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe7cf452b2c2c08aec9185487b9ad66e7158709ed9082fbbf6af7dc835ca54f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/thread-store/src/local/delete_thread.rs:257-266 | codex-rs/thread-store/src/local/delete_thread.rs:272-281 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/thread-store/src/local/delete_thread.rs:257\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/delete_thread.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f69df466b50874e7e6ed83e9a4229c86f0921415872f7e5cf1262c32e5f53d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/tui/src/app/background_requests.rs:808-817 | codex-rs/tui/src/app/recap.rs:157-166 \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 \u0060codex-rs/tui/src/app/background_requests.rs:808\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060self\u0060 to \u0060super) fn clear_committed_mcp_inventory_loading(\u0026mut\u0060 in one and \u0060super) fn clear_recap_request(\u0026mut\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/background_requests.rs"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9a1cf3c86a8c51fa0d9e0eba318c935c542c4a7bfe8f9ac040fe31c2c2afb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/tui/src/bottom_pane/custom_prompt_view.rs:194-203 | codex-rs/tui/src/bottom_pane/feedback_note_view.rs:156-165 \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 \u0060codex-rs/tui/src/bottom_pane/custom_prompt_view.rs:194\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":"codex-rs/tui/src/bottom_pane/custom_prompt_view.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8b67c5e9fce60955de52787b964968ce90c038141b1c99783969641c69cc30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/tui/src/bottom_pane/experimental_features_view.rs:344-353 | codex-rs/tui/src/bottom_pane/memories_settings_view.rs:291-300 \u2014 before extracting anything, compare \u0060codex-rs/tui/src/bottom_pane/experimental_features_view.rs\u0060 and \u0060codex-rs/tui/src/bottom_pane/memories_settings_view.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 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 \u0060codex-rs/tui/src/bottom_pane/experimental_features_view.rs:344\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/experimental_features_view.rs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b90cefd580d8771ef509247044ee35348caf9ed876b413bb3971d7dd0ade449"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/tui/src/bottom_pane/experimental_features_view.rs:420-429 | codex-rs/tui/src/bottom_pane/skills_toggle_view.rs:329-338 \u2014 before extracting anything, compare \u0060codex-rs/tui/src/bottom_pane/experimental_features_view.rs\u0060 and \u0060codex-rs/tui/src/bottom_pane/skills_toggle_view.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 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 \u0060codex-rs/tui/src/bottom_pane/experimental_features_view.rs:420\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":"codex-rs/tui/src/bottom_pane/experimental_features_view.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee690029af0ad3d3a9c5650abac49fc7510a65ada99101335adac0031bdabbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/tui/src/bottom_pane/multi_select_picker.rs:240-251 | codex-rs/tui/src/bottom_pane/skills_toggle_view.rs:101-112 \u2014 before extracting anything, compare \u0060codex-rs/tui/src/bottom_pane/multi_select_picker.rs\u0060 and \u0060codex-rs/tui/src/bottom_pane/skills_toggle_view.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 99 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/tui/src/bottom_pane/multi_select_picker.rs:240\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":"codex-rs/tui/src/bottom_pane/multi_select_picker.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"abbb9fec9647c510d1daefae4e150ccdae53396c734608340a6bae9290725754"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/tui/src/bottom_pane/multi_select_picker.rs:848-857 | codex-rs/tui/src/skills_helpers.rs:37-46 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/multi_select_picker.rs"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c50acf1e9bd5eda6e9be5163020dfe74df0a5b4b07dbde04b6fafe90c20bdfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/tui/src/bottom_pane/textarea.rs:1253-1262 | codex-rs/tui/src/bottom_pane/textarea.rs:1267-1276 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/tui/src/bottom_pane/textarea.rs"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"c514f8e67a0d250ad8e12e0f8d2de1b0f8ae1f4fc5137bcba5fe047f13b7b6fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/tui/src/chatwidget/streaming.rs:340-349 | codex-rs/tui/src/chatwidget/streaming.rs:758-767 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/tui/src/chatwidget/streaming.rs:340\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060self\u0060 to \u0060super) fn on_plan_delta(\u0026mut\u0060 in one and \u0060super) fn handle_streaming_delta(\u0026mut\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/streaming.rs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"436bd08e073aeb47997e3745dbaaba684eee5b504a2a48a5ec1161a6132bf19a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/tui/src/clipboard_copy/tmux.rs:74-83 | codex-rs/tui/src/clipboard_copy/tmux.rs:136-145 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/tui/src/clipboard_copy/tmux.rs:74\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":"codex-rs/tui/src/clipboard_copy/tmux.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"1602d68c88680b91123c62749394193a42c62dca40d981e83128cecb79505ca0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/tui/src/history_cell/request_user_input.rs:21-30 | codex-rs/tui/src/history_cell/request_user_input.rs:138-147 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/tui/src/history_cell/request_user_input.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"319c2c43bbb3bc77f369b0272a4e06cde4f1a999abd0b7113ed4dffa68e143d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/tui/src/lib.rs:1367-1377 | codex-rs/tui/src/lib.rs:2010-2019 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/lib.rs:1367\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060codex-rs/tui/src/lib.rs:2008\u0060 calls \u0060with_remote_cwd_override\u0060, \u0060clone\u0060 and \u0060codex-rs/tui/src/lib.rs:1365\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/lib.rs"},"region":{"startLine":1367}}}],"partialFingerprints":{"codehealthFindingId/v1":"2837b36527b10ea0f9b8552436fd24e030ce199686b32c7e27c57f1e1bddc033"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/tui/src/startup_orchestration.rs:151-160 | codex-rs/tui/src/startup_orchestration.rs:268-277 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/startup_orchestration.rs:151\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":"codex-rs/tui/src/startup_orchestration.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"60930d9fe40915e04f689b74b6b00532040b98f872f703cf7725302527a4ffb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 2): codex-rs/tui/src/status/card.rs:559-568 | codex-rs/tui/src/status/card.rs:578-584 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/status/card.rs:559\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/status/card.rs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd79ca557e68bc903e6b21a8845c957eb6379074e035c6918b170a2312403f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): codex-rs/tui/src/unarchive_prompt.rs:192-207 | codex-rs/tui/src/update_prompt.rs:247-262 \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 \u0060codex-rs/tui/src/unarchive_prompt.rs:192\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":"codex-rs/tui/src/unarchive_prompt.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"1094788f654bd28b6ded61cbbdba569cd9b86eefb7bff79edb92a102ec51b8ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): codex-rs/tui/src/wrapping.rs:247-259 | codex-rs/tui/src/wrapping.rs:293-305 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/wrapping.rs:247\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":"codex-rs/tui/src/wrapping.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d965f082b844bcb5902a940c389b05083dda02359810cbd6bb613193c8a047c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/windows-sandbox-rs/src/setup.rs:1246-1255 | codex-rs/windows-sandbox-rs/src/setup_provisioning/service.rs:27-36 \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":"codex-rs/windows-sandbox-rs/src/setup.rs"},"region":{"startLine":1246}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ccbf123e1119753995d38aa6fb00bb4aa8a0d9cf25d841d88dffff532806fe1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 4): codex-rs/apply-patch/src/streaming_parser.rs:314-322 | codex-rs/apply-patch/src/streaming_parser.rs:325-333 | codex-rs/apply-patch/src/streaming_parser.rs:336-344 | codex-rs/apply-patch/src/streaming_parser.rs:345-351 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/apply-patch/src/streaming_parser.rs:314\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/apply-patch/src/streaming_parser.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e5fc8d092c4b81f2f36a1ba29fd0cfdefaaa41c686cbd51a7789fd97de1784"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): codex-rs/core-plugins/src/command_migration/render.rs:48-57 | codex-rs/external-agent-migration/src/rewrite.rs:92-101 | codex-rs/external-agent-migration/src/rewrite.rs:131-140 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/command_migration/render.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd8e908a00a90b64326c4dcede04a347dcc05c64c95de1dd2c0325af04876b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): codex-rs/core-plugins/src/marketplace_upgrade/git.rs:286-294 | codex-rs/core-plugins/src/startup_sync.rs:697-705 | codex-rs/core-plugins/src/startup_sync.rs:708-716 \u2014 before extracting anything, compare \u0060codex-rs/core-plugins/src/marketplace_upgrade/git.rs\u0060 and \u0060codex-rs/core-plugins/src/startup_sync.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/core-plugins/src/marketplace_upgrade/git.rs:296\u0060 calls \u0060elapsed\u0060 and \u0060codex-rs/core-plugins/src/startup_sync.rs:718\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":"codex-rs/core-plugins/src/marketplace_upgrade/git.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"1270d90339bb195bb190f8cf7f876e5117dd5fa1b2458d936b815c5ff9d923a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): codex-rs/core/src/tools/runtimes/mod.rs:629-637 | codex-rs/shell-command/src/shell_snapshot_restore.rs:72-80 | tools/argument-comment-lint/src/comment_parser.rs:17-25 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/runtimes/mod.rs"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2adb898e01659d2159f4c226765f803d129cc534fcf27ed565c39278999f197"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): codex-rs/tui/src/bottom_pane/app_link_view.rs:437-445 | codex-rs/tui/src/bottom_pane/app_link_view.rs:447-455 | codex-rs/tui/src/bottom_pane/app_link_view.rs:457-465 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/app_link_view.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc373f5e1e4d41acd02b6e44e0a639fbbb303c201ae962010460e215c1d249d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20139 lines \u00D7 3): codex-rs/app-server-transport/src/transport/remote_control/enroll.rs:70-78 | codex-rs/app-server-transport/src/transport/remote_control/enroll.rs:178-186 | codex-rs/app-server-transport/src/transport/remote_control/server_api.rs:264-267 \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 \u0060codex-rs/app-server-transport/src/transport/remote_control/enroll.rs:70\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060StartRemoteControlPairingRequest\u0060 in one and \u0060RemoteControlPairingStatusRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/app-server-transport/src/transport/remote_control/enroll.rs:78\u0060 calls \u0060retry_after_with_jitter\u0060, \u0060now_utc\u0060 and \u0060codex-rs/app-server-transport/src/transport/remote_control/server_api.rs:267\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":"codex-rs/app-server-transport/src/transport/remote_control/enroll.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b565283a1c28117eb6d2888c2012ac3fd3b6a5f41fbdd077c9bebc24576c2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): codex-rs/app-server/src/fuzzy_file_search.rs:30-38 | codex-rs/app-server/src/fuzzy_file_search.rs:123-130 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/app-server/src/fuzzy_file_search.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea79eea0242f938462ec3a585cf586c80a9eb6de8c8791658ec9994225ea53d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/app-server/src/request_processors/account_processor.rs:768-777 | codex-rs/app-server/src/request_processors/account_processor.rs:837-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/app-server/src/request_processors/account_processor.rs:768\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":"codex-rs/app-server/src/request_processors/account_processor.rs"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"84949e33ba61765f2b4da1432d0e6b2440a807e57b6a74e35c2a885afd9bd7cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/app-server/src/request_processors/plugins.rs:1546-1554 | codex-rs/app-server/src/request_processors/plugins.rs:1644-1652 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/plugins.rs"},"region":{"startLine":1546}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5011ce2bef2aaa63e882a26b3b74497eabca003301f9300c83c7c922515ccb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/app-server/src/request_processors/thread_goal_processor.rs:539-547 | codex-rs/ext/goal/src/tool.rs:524-532 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/thread_goal_processor.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"be159785a43b0415526923933eb53556e9d2dafd8289b0911eb22108cac5146c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): codex-rs/backend-client/src/client.rs:415-422 | codex-rs/backend-client/src/client.rs:439-447 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/backend-client/src/client.rs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"0375efe2016c80389730a72c7c2a50729276845286192ae232413b5ff0210004"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/cloud-tasks-client/src/http.rs:812-820 | codex-rs/cloud-tasks-mock-client/src/mock.rs:256-264 \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 \u0060codex-rs/cloud-tasks-client/src/http.rs:812\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":"codex-rs/cloud-tasks-client/src/http.rs"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d638f812edabebf38f14e313baaab50f59fdd4ff8809185f09de995ec283c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/cloud-tasks/src/lib.rs:723-731 | codex-rs/cloud-tasks/src/lib.rs:784-792 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/cloud-tasks/src/lib.rs:723\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":"codex-rs/cloud-tasks/src/lib.rs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"489a27fee29bb19e76fc57ab9de740d54f148d743f9cc083ab90d2ee1e6d9b63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rs:146-154 | codex-rs/codex-api/src/endpoint/responses_websocket.rs:142-150 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rs:146\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":"codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"36060559a6eafff8a2567217bdd19014395bea009023fd4fdb9b3072dc535545"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rs:1211-1219 | codex-rs/codex-api/src/endpoint/responses_websocket.rs:611-619 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rs"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8ec70b185a65f817236958dee18061c2dbd01b0e3e0713b6c83b006d0a0742"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/codex-api/src/endpoint/session.rs:98-106 | codex-rs/codex-api/src/endpoint/session.rs:139-147 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/codex-api/src/endpoint/session.rs:98\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":"codex-rs/codex-api/src/endpoint/session.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d83dcecdb95e6fda2adbeac923f0435769b638fed71fdb4bc80e3cf46fe1eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/codex-mcp/src/codex_apps.rs:38-46 | codex-rs/codex-mcp/src/codex_apps.rs:48-56 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/codex-mcp/src/codex_apps.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1552aaeafd6dcd34df7ae1c6f937129ff3919cc76e137c99d8be8e78f38504a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/config/src/requirements_layers/layer.rs:208-216 | codex-rs/config/src/requirements_layers/layer.rs:225-233 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/config/src/requirements_layers/layer.rs:208\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":"codex-rs/config/src/requirements_layers/layer.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba01df36f28e36f9d8833edbd1c84e9231697a9a3b79646bfd48555eecee6d78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/core-plugins/src/loader.rs:1114-1122 | codex-rs/core-plugins/src/loader.rs:1168-1176 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/core-plugins/src/loader.rs:1114\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":"codex-rs/core-plugins/src/loader.rs"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1489cd590f3fd8fe627ef18b240def617e75ab484c6429e10deb86dcbf1050a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/core-plugins/src/remote.rs:1965-1973 | codex-rs/core-plugins/src/remote.rs:2060-2068 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/core-plugins/src/remote.rs:1965\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":"codex-rs/core-plugins/src/remote.rs"},"region":{"startLine":1965}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18d7ce6dd95fc359b160aff5030d0058ef7352729801de460132f650187a897"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/core/src/client.rs:1999-2007 | codex-rs/core/src/client.rs:2221-2229 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/core/src/client.rs:2008\u0060 calls \u0060http_transport\u0060 and \u0060codex-rs/core/src/client.rs:2230\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":"codex-rs/core/src/client.rs"},"region":{"startLine":1999}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0081de27afc27c90d599f10fc1055d9fa6962fc9df693ec85a72da59977e31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/core/src/context_manager/normalize.rs:72-80 | codex-rs/core/src/context_manager/normalize.rs:132-140 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/core/src/context_manager/normalize.rs:72\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":"codex-rs/core/src/context_manager/normalize.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a0aa13b7a5838a73a5ae9eeb0362fa547d89918a3adc027b70ae2bf6a217b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/core/src/hook_runtime/executor.rs:32-41 | codex-rs/core/src/mcp_tool_exposure.rs:268-276 \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 \u0060codex-rs/core/src/hook_runtime/executor.rs:32\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/hook_runtime/executor.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb65c2b8e141f7b29e783d799bb2b15316bc7954525f2aab45bd41ce0d85ebd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/core/src/realtime_conversation.rs:1063-1071 | codex-rs/core/src/realtime_conversation.rs:1225-1233 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/core/src/realtime_conversation.rs"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62bbcbecefc6c07be747f64f4b718de336c73ff88ad957a4a68e7c1ef72d0cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/core/src/session/turn_context.rs:466-474 | codex-rs/core/src/session/turn_context.rs:898-906 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/core/src/session/turn_context.rs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9e5ebaa899b4b3065464fdbad35cd4a54d4b8796c426e36f1f0cb225a4915b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/core/src/tools/handlers/extension_tools.rs:198-206 | codex-rs/core/src/tools/handlers/extension_tools.rs:213-221 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/core/src/tools/handlers/extension_tools.rs:198\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":"codex-rs/core/src/tools/handlers/extension_tools.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"9175027196d0e27582eba3d8896a0fa3f14c4c86b79b3780768d0c269cf36199"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): codex-rs/core/src/turn_diff_tracker.rs:214-221 | codex-rs/core/src/turn_diff_tracker.rs:254-262 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"codex-rs/core/src/turn_diff_tracker.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0730ce902902609aa71c1c0a2b87960bb887ae4e4c0eb82da03a65e6c98f5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/exec-server-protocol/src/protocol.rs:262-270 | codex-rs/exec-server-protocol/src/protocol.rs:293-301 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/exec-server-protocol/src/protocol.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"c843d56c1999bc112658c9521cfd5379bea94790ebc9ce352bd37f111fa75e93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/exec/src/lib.rs:430-438 | codex-rs/exec/src/lib.rs:460-468 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec/src/lib.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1487eed7bdb4619505ede1b73eef9bdbb292654116e99741deb82c79aead99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/ext/memories/src/tools/mod.rs:81-89 | codex-rs/ext/skills/src/tools/mod.rs:400-408 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/memories/src/tools/mod.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"452c0c01eaffb4cb570ab42e96bec9cfb5d86e1a5a2dfa2708a5c95f8c721fad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): codex-rs/external-agent-migration/src/hooks_common.rs:257-263 | codex-rs/external-agent-migration/src/utils.rs:50-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/external-agent-migration/src/hooks_common.rs:257\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":"codex-rs/external-agent-migration/src/hooks_common.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"da205cc02d98d8e62744aaa102f3ff3d74761b84288871b54f255c3ed566005e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/http-client/src/custom_ca.rs:693-701 | codex-rs/network-proxy/src/certs.rs:523-531 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/http-client/src/custom_ca.rs"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"326cd087ac825fb4d367b3f54f27109e16a0a23831367c75e2de78581dead73e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/login/src/auth/manager.rs:2536-2544 | codex-rs/login/src/auth/manager.rs:2577-2585 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/login/src/auth/manager.rs:2536\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":"codex-rs/login/src/auth/manager.rs"},"region":{"startLine":2536}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eaa986903c55ff5e46df57d58c238268969872878b32057ad96aa52f67e45a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): codex-rs/message-board/src/in_memory.rs:414-420 | codex-rs/message-board/src/local.rs:355-363 \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 \u0060codex-rs/message-board/src/in_memory.rs:414\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/message-board/src/in_memory.rs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"752565e140219de0fe5ee82c4ff84e185b5aca32d9e8557a4ae6c8146476becd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/network-proxy/src/credential_broker.rs:1513-1521 | codex-rs/network-proxy/src/credential_broker/environment.rs:200-208 \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 \u0060codex-rs/network-proxy/src/credential_broker.rs:1513\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, \u0060codex-rs/network-proxy/src/credential_broker.rs:1512\u0060 calls \u0060filter\u0060, \u0060should_restore\u0060 and \u0060codex-rs/network-proxy/src/credential_broker/environment.rs:199\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":"codex-rs/network-proxy/src/credential_broker.rs"},"region":{"startLine":1513}}}],"partialFingerprints":{"codehealthFindingId/v1":"283993e158350e6f9a1ca36b879b777699c4f2c3d1b0d65f153889d6c43c0d03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/network-proxy/src/state.rs:256-264 | codex-rs/network-proxy/src/state.rs:285-293 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/network-proxy/src/state.rs:256\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/state.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3fbff83143b65523ae5b310b013816421fb6bb9b173cc4b8a22f8200b2dfa8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/responses-api-proxy/src/auth.rs:404-412 | codex-rs/responses-api-proxy/src/github_oidc.rs:111-119 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/responses-api-proxy/src/auth.rs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c7424d79a17b740b7a77c4eb282132198dfd6f186b546b424e10f6bae34142"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/rmcp-client/src/oauth/resolved_store.rs:235-243 | codex-rs/rmcp-client/src/oauth/resolved_store.rs:333-341 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/rmcp-client/src/oauth/resolved_store.rs:235\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/oauth/resolved_store.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3cec0dc1a628614ad3cc81f5f28ae69e4339139148b2470fc050923fe1b3491"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/rmcp-client/src/rmcp_client.rs:1853-1861 | codex-rs/rmcp-client/src/streamable_http_retry.rs:84-92 \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 \u0060codex-rs/rmcp-client/src/rmcp_client.rs:1853\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":"codex-rs/rmcp-client/src/rmcp_client.rs"},"region":{"startLine":1853}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ac41b536a3c12026dab42a0cf98a1a33132ca1165de6ec09b502b22a1a239c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/rollout-trace/src/code_cell.rs:107-115 | codex-rs/rollout-trace/src/code_cell.rs:143-151 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/rollout-trace/src/code_cell.rs:107\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":"codex-rs/rollout-trace/src/code_cell.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"10092049ccbcae9fa804cfc9cc312db6dd9d49698f8b56dc2cadbf011dc21f52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/rollout/src/list.rs:1616-1624 | codex-rs/rollout/src/list.rs:1682-1690 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/rollout/src/list.rs:1616\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":"codex-rs/rollout/src/list.rs"},"region":{"startLine":1616}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf10ee93424a30d0118860fe07ef30ab226baa2d7d19bca51aa39f76ff1f8b87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/rollout/src/state_db.rs:318-326 | codex-rs/rollout/src/state_db.rs:380-388 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/rollout/src/state_db.rs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d88d88f8b950507c044fa66f9a449488f9f296988b821843a70e768ade3c16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/thread-store/src/local/thread_history/segment_paging.rs:319-327 | codex-rs/thread-store/src/local/thread_history/segment_paging.rs:397-405 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/thread-store/src/local/thread_history/segment_paging.rs:319\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/thread_history/segment_paging.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"b97c2b92758c4ce56ace27b601a1e65bada59b9c1321820ee280f99584e94972"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/tui/src/app/agents_overview.rs:912-920 | codex-rs/tui/src/app/session_lifecycle.rs:1905-1913 \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":"codex-rs/tui/src/app/agents_overview.rs"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef124a29c0d5f792a9756df6bba5d06236283af5e4287909981332f97640c043"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/tui/src/app/thread_title.rs:364-372 | codex-rs/tui/src/app/thread_title.rs:388-396 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/thread_title.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a37619dc36ce134d134c7dd976b1bbd77af2e1bd8f40a411824d7a5593cdc8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/tui/src/bottom_pane/approval_overlay.rs:325-333 | codex-rs/tui/src/bottom_pane/user_verification.rs:83-91 \u2014 before extracting anything, compare \u0060codex-rs/tui/src/bottom_pane/approval_overlay.rs\u0060 and \u0060codex-rs/tui/src/bottom_pane/user_verification.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 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":"codex-rs/tui/src/bottom_pane/approval_overlay.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f43be43f65b9feb9f2d7c754fd7735d9429a3f3e2db87ff6dd4226aa05949fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/tui/src/bottom_pane/chat_composer.rs:2113-2121 | codex-rs/tui/src/bottom_pane/chat_composer/completion_target.rs:97-105 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":2113}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c170e338d3efeb8fb24ec452f8602d17ac2cfcbd34337207d29e26b4348bc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs:1418-1426 | codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs:1484-1492 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs:1418\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs"},"region":{"startLine":1418}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bdd3ad2af3488dbf8b0016ba0fbc4f26cf5586371de726933b374acf205b958"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/tui/src/diff_render.rs:550-559 | codex-rs/tui/src/diff_render.rs:581-590 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/diff_render.rs:550\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":"codex-rs/tui/src/diff_render.rs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80b6b0abfe93dea1162486dce74abe8acbdd12d9bf34dff5a25f5467e1ed208"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20139 lines \u00D7 3): codex-rs/tui/src/external_agent_config_migration/mod.rs:102-110 | codex-rs/tui/src/external_agent_config_migration/source.rs:61-69 | codex-rs/tui/src/model_migration.rs:160-162 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/tui/src/external_agent_config_migration/mod.rs:102\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/tui/src/external_agent_config_migration/mod.rs:110\u0060 calls \u0060Key\u0060, \u0060handle_key\u0060 and \u0060codex-rs/tui/src/model_migration.rs:162\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":"codex-rs/tui/src/external_agent_config_migration/mod.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"820aee366ab52359e538ffc07ed8538cd0863f4b8aaaf0dfcac642544b44121b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): codex-rs/tui/src/markdown_render.rs:1940-1947 | codex-rs/tui/src/markdown_render/table_key_value.rs:268-276 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/markdown_render.rs"},"region":{"startLine":1940}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5a5d88a2a852db636279ca5a6f03a5c0318e6f2ab463e22427500d8fc9d72b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): codex-rs/tui/src/tui/event_stream.rs:226-233 | codex-rs/tui/src/tui/event_stream.rs:242-250 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/tui/event_stream.rs:242\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":"codex-rs/tui/src/tui/event_stream.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6d8938483e47af341730af0878419f3c693b09068d8c6d5b3520ef649b8968"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): codex-rs/windows-sandbox-rs/src/acl.rs:193-201 | codex-rs/windows-sandbox-rs/src/acl.rs:385-392 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-rs/src/acl.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e799e12316bdcaf3bc0334b324b46a65081448a88ef180ffd215aac4972ca6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/windows-sandbox-rs/src/acl.rs:432-440 | codex-rs/windows-sandbox-rs/src/acl.rs:488-496 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/windows-sandbox-rs/src/acl.rs:432\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"codex-rs/windows-sandbox-rs/src/acl.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"05051b91c87254dd4e26890001d3b8f0a99ff6e305b6d20c224b39d42e698559"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): codex-rs/app-server-protocol/src/protocol/event_mapping.rs:159-166 | codex-rs/app-server-protocol/src/protocol/event_mapping.rs:285-292 | codex-rs/app-server-protocol/src/protocol/event_mapping.rs:338-345 \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":"codex-rs/app-server-protocol/src/protocol/event_mapping.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"977fb00f116b678b5c1449c24c73307d5aabbd9c463627b21038ae97cc0316e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): codex-rs/otel/src/metrics/client.rs:680-687 | codex-rs/otel/src/provider.rs:513-519 | codex-rs/otel/src/provider.rs:599-605 \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 \u0060codex-rs/otel/src/metrics/client.rs:680\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/otel/src/metrics/client.rs"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f7616c604fe314c61b5ab166924a688983ad43de9a37631ee11d0deba2b71c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): codex-rs/state/src/runtime/thread_attachments.rs:36-43 | codex-rs/state/src/runtime/thread_attachments.rs:88-95 | codex-rs/state/src/runtime/thread_attachments.rs:156-163 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/state/src/runtime/thread_attachments.rs:36\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":"codex-rs/state/src/runtime/thread_attachments.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9083bb7abe6d5b76963a37f9f88c723a92765b5552019948d11db1f23392f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): codex-rs/tui/src/bottom_pane/experimental_features_view.rs:420-430 | codex-rs/tui/src/bottom_pane/memories_settings_view.rs:420-427 | codex-rs/tui/src/bottom_pane/skills_toggle_view.rs:329-339 \u2014 before extracting anything, compare \u0060codex-rs/tui/src/bottom_pane/experimental_features_view.rs\u0060 and \u0060codex-rs/tui/src/bottom_pane/memories_settings_view.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 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 \u0060codex-rs/tui/src/bottom_pane/experimental_features_view.rs:420\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":"codex-rs/tui/src/bottom_pane/experimental_features_view.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b545cac7284a88527dbf45c81e38ccce6863bb3fe78d28640a7e34bc55419e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/analytics/src/product_attribution.rs:61-68 | codex-rs/tui/src/keymap/chords.rs:576-583 \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 \u0060codex-rs/analytics/src/product_attribution.rs:61\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":"codex-rs/analytics/src/product_attribution.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c28933b770375c70ac22085708ab1c261ba16b94dd8d164658fb0c2a6fa1525"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/analytics/src/reducer.rs:2708-2715 | codex-rs/analytics/src/reducer.rs:2836-2843 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060codex-rs/analytics/src/reducer.rs:2707\u0060 calls \u0060turn_steer\u0060 and \u0060codex-rs/analytics/src/reducer.rs:2835\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":"codex-rs/analytics/src/reducer.rs"},"region":{"startLine":2708}}}],"partialFingerprints":{"codehealthFindingId/v1":"11eb5270862fef63bf198f8d5c76c4e2f0ab2ae8f9e39e9bd8a2ca2eee7c0153"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/app-server-transport/src/transport/remote_control/mod.rs:441-448 | codex-rs/app-server-transport/src/transport/remote_control/mod.rs:689-696 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/app-server-transport/src/transport/remote_control/mod.rs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec82a3dac35e9700c880a9606fd405d880852aee09e427a477129272faa0bce8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/app-server/src/request_processors/thread_goal_processor.rs:342-349 | codex-rs/app-server/src/request_processors/thread_goal_processor.rs:403-410 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/app-server/src/request_processors/thread_goal_processor.rs:342\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":"codex-rs/app-server/src/request_processors/thread_goal_processor.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1fce4e19267456944bec59cda8828dbde997cdd6244c6236c3fb57473632812"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/codex-mcp/src/mcp/mod.rs:775-782 | codex-rs/codex-mcp/src/mcp/mod.rs:815-822 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/codex-mcp/src/mcp/mod.rs:775\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, \u0060codex-rs/codex-mcp/src/mcp/mod.rs:814\u0060 calls \u0060or_else\u0060, \u0060get\u0060 and \u0060codex-rs/codex-mcp/src/mcp/mod.rs:774\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":"codex-rs/codex-mcp/src/mcp/mod.rs"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdffaee3cdd137482e5fe3d777c6ea99d621ab834f442dd2b380593c25220456"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/config/src/config_requirements.rs:366-373 | codex-rs/config/src/permissions_toml.rs:254-261 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/config_requirements.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"5367060bfed14d3b4ed4d5d0b949b9c99ec544ced09e7f9dfa14382b9c4e6145"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/config/src/config_requirements.rs:376-383 | codex-rs/config/src/permissions_toml.rs:264-271 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/config_requirements.rs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a0118dd0bb92623530b1f4452028c8f99e5e53543ce4fc927056caf3ecbd3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/core-plugins/src/manager.rs:2481-2488 | codex-rs/core-plugins/src/manager.rs:2546-2553 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/core-plugins/src/manager.rs:2481\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/manager.rs"},"region":{"startLine":2481}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b003bcc6cb090849399fda599d795ad52bb0a9f968c449baadb9853920fc359"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/core-plugins/src/remote.rs:2382-2389 | codex-rs/core-plugins/src/remote/share.rs:387-394 \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 \u0060codex-rs/core-plugins/src/remote.rs:2382\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":"codex-rs/core-plugins/src/remote.rs"},"region":{"startLine":2382}}}],"partialFingerprints":{"codehealthFindingId/v1":"efccade5a391feb8df3a1d54bcaf3b0f4a3eb736ed3c0de0c89677018175ccb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 2): codex-rs/core/src/session/mod.rs:1837-1842 | codex-rs/core/src/session/mod.rs:1884-1891 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":1837}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc76dcc2c08a2a0dd8aff8a922362e087241c0fc2da249307cce27c240ddc69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/core/src/session/turn.rs:2445-2452 | codex-rs/rollout/src/policy.rs:174-181 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/rollout/src/policy.rs:182\u0060 calls \u0060SafetyBuffering\u0060 and \u0060codex-rs/core/src/session/turn.rs:2453\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/turn.rs"},"region":{"startLine":2445}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a019274516fce1397d5c5e3db5e4d8f25d78f64718f4f856fca50eaff353cce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/core/src/tasks/user_shell.rs:250-257 | codex-rs/core/src/tasks/user_shell.rs:323-330 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/core/src/tasks/user_shell.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7cf17b2fe6f48b573b9f7aa17553d393807426b818dd6aecb4a93b6f2c4cea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): codex-rs/exec/src/lib.rs:1639-1657 | codex-rs/exec/src/lib.rs:1663-1681 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060response\u0060 to \u0060\u0026ThreadStartResponse\u0060 in one and \u0060\u0026ThreadResumeResponse\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec/src/lib.rs"},"region":{"startLine":1639}}}],"partialFingerprints":{"codehealthFindingId/v1":"0642b4732e1ae40eabece3241c66ebefe6fb78fd46e24703516b9c6bc2988a3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/ext/goal/src/accounting.rs:378-385 | codex-rs/ext/goal/src/accounting.rs:394-401 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/ext/goal/src/accounting.rs:378\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/goal/src/accounting.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27aea8f3be3e4e5aa5c70c50936af4c54e848db9a78f293dcdf4fa137d8aa37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/ext/memories/src/local/list.rs:19-27 | codex-rs/ext/memories/src/local/search.rs:37-45 \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 \u0060codex-rs/ext/memories/src/local/list.rs:19\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060ListMemoriesRequest\u0060 in one and \u0060SearchMemoriesRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/memories/src/local/list.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1fec77e18473e41176f924c49b0bc4d09f79926d68374d88fd1a2061962f2f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/ext/memories/src/schema.rs:15-22 | codex-rs/ext/skills/src/tools/schema.rs:15-22 \u2014 before extracting anything, compare \u0060codex-rs/ext/memories/src/schema.rs\u0060 and \u0060codex-rs/ext/skills/src/tools/schema.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/memories/src/schema.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36525d3dbb8bd74dbeb0404327a706e143f7a081a874657f53e0d2714bb7fab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/otel/src/metrics/client.rs:161-168 | codex-rs/otel/src/metrics/client.rs:224-231 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/otel/src/metrics/client.rs:161\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":"codex-rs/otel/src/metrics/client.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e5127d06c378c35613c17b438da651f856d4c7025f02aec943defa3025b421"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/protocol/src/permissions.rs:1427-1434 | codex-rs/protocol/src/permissions.rs:1564-1571 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/protocol/src/permissions.rs:1427\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/permissions.rs"},"region":{"startLine":1427}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6876837dcd5b761ebbeddf00b75ea9976aeff73bb33cc14c12c90ef61994f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/rollout/src/metadata.rs:175-182 | codex-rs/state/src/runtime/threads.rs:1513-1520 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/rollout/src/metadata.rs:183\u0060 calls \u0060TokenUsageRecord\u0060 and \u0060codex-rs/state/src/runtime/threads.rs:1521\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout/src/metadata.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ca6f1d61f6f97d28930adeb850eddee937267b6d23b2346f1536dbe670126d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/sandboxing/src/manager.rs:538-545 | codex-rs/sandboxing/src/manager.rs:600-607 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/sandboxing/src/manager.rs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"71686a388a430851a740ed33e743f2bb88df34fb9fb771f1d8a3daed62b1d2e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/shell-command/src/command_safety/is_dangerous_command.rs:113-120 | codex-rs/shell-command/src/command_safety/windows_dangerous_commands.rs:404-411 \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":"codex-rs/shell-command/src/command_safety/is_dangerous_command.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d462ae3ed341fa7d52d3c9a77f296bbc5430460125962a077e3bc9ed003247"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/shell-command/src/parse_command.rs:2582-2590 | codex-rs/shell-command/src/parse_command.rs:2635-2643 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/shell-command/src/parse_command.rs:2582\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":"codex-rs/shell-command/src/parse_command.rs"},"region":{"startLine":2582}}}],"partialFingerprints":{"codehealthFindingId/v1":"bebfdbe04470a7278fe8f4df79c217052e8b7789ad62deca677dffd125c34cdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/shell-command/src/shell_snapshot_restore.rs:18-25 | codex-rs/shell-command/src/shell_snapshot_restore.rs:40-47 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/shell-command/src/shell_snapshot_restore.rs:18\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":"codex-rs/shell-command/src/shell_snapshot_restore.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c2800bfa4c9251ad1d6e44d8cba46c21a82f8f9430c82166a44de378a0a9b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/thread-store/src/local/model_context.rs:127-134 | codex-rs/thread-store/src/local/model_context.rs:193-200 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/thread-store/src/local/model_context.rs:127\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":"codex-rs/thread-store/src/local/model_context.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b3be91380a0064adacd2c15c7721626346a2745436416192a61fea69668d4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs:1258-1265 | codex-rs/tui/src/bottom_pane/request_user_input/mod.rs:1061-1068 \u2014 before extracting anything, compare \u0060codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs\u0060 and \u0060codex-rs/tui/src/bottom_pane/request_user_input/mod.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs:1258\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs:1266\u0060 calls \u0060trim\u0060, \u0060is_empty\u0060 and \u0060codex-rs/tui/src/bottom_pane/request_user_input/mod.rs:1069\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":"codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs"},"region":{"startLine":1258}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c04e5a2aef22a1f0058c6c7b84f02ced4261fbb7b4623c34806a6416420765"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/tui/src/bottom_pane/request_user_input/mod.rs:811-818 | codex-rs/tui/src/bottom_pane/request_user_input/mod.rs:827-834 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/bottom_pane/request_user_input/mod.rs:811\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":"codex-rs/tui/src/bottom_pane/request_user_input/mod.rs"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52ad358bdda04656d9bec6bec90a964db805c627db4a1cab8ac54299c1eabf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/tui/src/history_cell/approvals.rs:55-62 | codex-rs/tui/src/history_cell/approvals.rs:100-107 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/history_cell/approvals.rs:55\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":"codex-rs/tui/src/history_cell/approvals.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c71bf409259b3a45cf224ca7de73ecdc7243370f8e73cdfc459b116ac98c22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/tui/src/history_cell/mcp.rs:744-751 | codex-rs/tui/src/history_cell/mcp.rs:764-771 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/history_cell/mcp.rs:744\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":"codex-rs/tui/src/history_cell/mcp.rs"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaccfb34b5813fea98a0d1584a552e3702f2b68c6e7a97e0dd7884e3f9f911f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/tui/src/keymap.rs:748-755 | codex-rs/tui/src/keymap.rs:761-768 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/keymap.rs:748\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":"codex-rs/tui/src/keymap.rs"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"81bbbe01d6abfb8fb81d79440f9a683b79327fc0cffda88dc353e71c5f000022"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/tui/src/markdown_render.rs:908-915 | codex-rs/tui/src/markdown_render.rs:988-995 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/tui/src/markdown_render.rs:908\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/tui/src/markdown_render.rs:997\u0060 calls \u0060push_local_link_label_break\u0060 and \u0060codex-rs/tui/src/markdown_render.rs:916\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":"codex-rs/tui/src/markdown_render.rs"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b38c27e73cfd63093cbf6b9e94d1e2df8588e79c526eeba8e470e0ca6d8c1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/tui/src/markdown_render.rs:953-960 | codex-rs/tui/src/markdown_render.rs:1016-1023 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/markdown_render.rs:953\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":"codex-rs/tui/src/markdown_render.rs"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a15b8516e229a1ed57b9d6ae0d0269d315f1f8833b65bab010be976e9cd1790"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/tui/src/markdown_render.rs:1443-1450 | codex-rs/tui/src/markdown_render.rs:2593-2600 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/markdown_render.rs:1443\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":"codex-rs/tui/src/markdown_render.rs"},"region":{"startLine":1443}}}],"partialFingerprints":{"codehealthFindingId/v1":"810d076b36804daeeab865ab2be4f09753b7d7e57ef060350c617102c7370e60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/tui/src/onboarding/auth.rs:1045-1052 | codex-rs/tui/src/onboarding/auth.rs:1108-1115 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/onboarding/auth.rs:1045\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060self\u0060 to \u0060\u0026mut\u0060 in one and \u0060super) fn start_chatgpt_login(\u0026mut\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060codex-rs/tui/src/onboarding/auth.rs:1107\u0060 calls \u0060clone\u0060 and \u0060codex-rs/tui/src/onboarding/auth.rs:1044\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/onboarding/auth.rs"},"region":{"startLine":1045}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f21bfd49e91680073f32eb3795f56790ccbe4b289189faab60cd734e50d83c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/tui/src/resume_picker.rs:3043-3050 | codex-rs/tui/src/resume_picker.rs:3077-3084 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/resume_picker.rs:3043\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":"codex-rs/tui/src/resume_picker.rs"},"region":{"startLine":3043}}}],"partialFingerprints":{"codehealthFindingId/v1":"7608f6f3ed887539625da0f32ceca42e6bbd5fd919379b1228506f3919329cfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/tui/src/task_mentions.rs:296-303 | codex-rs/tui/src/task_mentions.rs:343-350 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/tui/src/task_mentions.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"006fe2c48d7745adcbc76dfbb7fa6d2a509a670e39f213f6caa3e0945d76058d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/tui/src/transcript_view/select_mode.rs:457-464 | codex-rs/tui/src/transcript_view/select_mode.rs:473-480 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/tui/src/transcript_view/select_mode.rs:457\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":"codex-rs/tui/src/transcript_view/select_mode.rs"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05007eaae9e19169ee0918c19bc8e126f5dc26a3779b9d66712338f63e1b0f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/windows-sandbox-rs/src/unified_exec/backends/elevated.rs:231-238 | codex-rs/windows-sandbox-rs/src/unified_exec/backends/legacy.rs:398-405 \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":"codex-rs/windows-sandbox-rs/src/unified_exec/backends/elevated.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe1efebc6d87d8d5f49ab7b6564a5789a38b79f3d9163f3e8d4b102cedca28d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): codex-rs/app-server-daemon/src/backend/pid.rs:542-548 | codex-rs/app-server-daemon/src/backend/pid.rs:557-563 | codex-rs/app-server-daemon/src/backend/pid.rs:572-578 | codex-rs/app-server-daemon/src/backend/pid.rs:587-593 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-daemon/src/backend/pid.rs"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0eaa24f83eb9d932ddece4bb086a831ac25db7afb2d22825a836a1a5e63ed49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): codex-rs/core-plugins/src/remote.rs:2367-2373 | codex-rs/core-plugins/src/remote.rs:2385-2391 | codex-rs/core-plugins/src/remote.rs:2418-2424 | codex-rs/core-plugins/src/remote/share.rs:390-396 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/core-plugins/src/remote.rs:2367\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":"codex-rs/core-plugins/src/remote.rs"},"region":{"startLine":2367}}}],"partialFingerprints":{"codehealthFindingId/v1":"693aa4827ec07e679715d666e36cb8db9fa96af7d64f356d6fd1731cd267d26a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): codex-rs/tui/src/bottom_pane/approval_overlay.rs:732-738 | codex-rs/tui/src/bottom_pane/approval_overlay.rs:776-782 | codex-rs/tui/src/bottom_pane/approval_overlay.rs:805-811 | codex-rs/tui/src/bottom_pane/user_verification.rs:281-287 \u2014 before extracting anything, compare \u0060codex-rs/tui/src/bottom_pane/approval_overlay.rs\u0060 and \u0060codex-rs/tui/src/bottom_pane/user_verification.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060\u0026ApprovalRequest\u0060 in one and \u0060\u0026UserVerificationRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/approval_overlay.rs"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"b53d5bd10222e613f468103fd94d2b4201e3924155b7871c6a15013e7909c750"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 3): codex-rs/cloud-tasks/src/lib.rs:1102-1107 | codex-rs/cloud-tasks/src/lib.rs:1869-1874 | codex-rs/cloud-tasks/src/lib.rs:1907-1913 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/cloud-tasks/src/lib.rs:1102\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060codex-rs/cloud-tasks/src/lib.rs:1867\u0060 calls \u0060clear\u0060 and \u0060codex-rs/cloud-tasks/src/lib.rs:1101\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":"codex-rs/cloud-tasks/src/lib.rs"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"851b033f4db23f96dc126e95013dae14ae419b05e067803b4ae8f1f82fd48b4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): codex-rs/core/src/hook_runtime.rs:553-559 | codex-rs/core/src/hook_runtime.rs:595-601 | codex-rs/core/src/hook_runtime.rs:716-722 \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":"codex-rs/core/src/hook_runtime.rs"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc8d7baaff157f1b5f36351e421a73903f060194dd40722a16066d7144cd476"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): codex-rs/core/src/tools/orchestrator.rs:179-185 | codex-rs/core/src/tools/orchestrator.rs:215-221 | codex-rs/core/src/tools/orchestrator.rs:528-534 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/core/src/tools/orchestrator.rs:179\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/core/src/tools/orchestrator.rs:222\u0060 calls \u0060clone\u0060 and \u0060codex-rs/core/src/tools/orchestrator.rs:186\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":"codex-rs/core/src/tools/orchestrator.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c4502ce57edf8818e8ad54c0e7a30ae4cd6d29e6c412b9ad3e8feecf7ad949"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): codex-rs/ext/memories/src/tools/list.rs:95-101 | codex-rs/ext/memories/src/tools/read.rs:92-98 | codex-rs/ext/memories/src/tools/search.rs:93-99 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/ext/memories/src/tools/list.rs:95\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":"codex-rs/ext/memories/src/tools/list.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"219e1997d2964d4bc1ffab5a1fcc2a00b719bb53e7c6ade96f156e135745ca3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): codex-rs/network-proxy/src/http_proxy.rs:825-831 | codex-rs/network-proxy/src/http_proxy.rs:876-882 | codex-rs/network-proxy/src/http_proxy.rs:989-995 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/network-proxy/src/http_proxy.rs:825\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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe5dde98ea8db844657e0421f65c6b35c009133a79c8d72c1486883cc884b2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): codex-rs/tui/src/app/plugin_mentions.rs:76-82 | codex-rs/tui/src/chatwidget/plugin_catalog.rs:1809-1815 | codex-rs/tui/src/chatwidget/plugin_catalog.rs:1843-1849 \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 \u0060codex-rs/tui/src/app/plugin_mentions.rs:76\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":"codex-rs/tui/src/app/plugin_mentions.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a3f692d12e48103a5683a50c18d7f1a1fbc5ea012b708fe246c74779476708"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): codex-rs/tui/src/keymap.rs:1219-1225 | codex-rs/tui/src/keymap.rs:1228-1234 | codex-rs/tui/src/keymap.rs:1263-1269 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/tui/src/keymap.rs:1219\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":"codex-rs/tui/src/keymap.rs"},"region":{"startLine":1219}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb85689eb48c6035f15849b27ac0e92cd2b7016e2c43ba370b1087191866a64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): codex-rs/utils/pty/src/pipe.rs:269-275 | codex-rs/utils/pty/src/pty.rs:278-284 | codex-rs/utils/pty/src/pty.rs:438-444 \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 \u0060codex-rs/utils/pty/src/pipe.rs:269\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":"codex-rs/utils/pty/src/pipe.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b73704d5bdbcff152933a67b1481ba32bd5e00d3591b7f458f3e81c1e0e38b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/app-server-protocol/src/protocol/thread_history.rs:1507-1514 | codex-rs/app-server-protocol/src/protocol/thread_history.rs:1535-1542 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/app-server-protocol/src/protocol/thread_history.rs"},"region":{"startLine":1507}}}],"partialFingerprints":{"codehealthFindingId/v1":"af52984fc51af7616947f3258b72a22221825a67f84fd6d5fc7fdd91ca7466f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/app-server-transport/src/transport/remote_control/enroll.rs:75-86 | codex-rs/app-server-transport/src/transport/remote_control/enroll.rs:183-194 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/app-server-transport/src/transport/remote_control/enroll.rs:75\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":"codex-rs/app-server-transport/src/transport/remote_control/enroll.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"306644ce88c9d292ab260a525165095fbc5f7e34432747b2d630539cdf94131b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/app-server/src/request_processors/apps_processor.rs:70-76 | codex-rs/app-server/src/request_processors/mcp_processor.rs:463-469 \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":"codex-rs/app-server/src/request_processors/apps_processor.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c8fd4e0789ce9415fa1ca4748b0f0554ccfe908ff0904e7bc1ef51cba399b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/apply-patch/src/seek_sequence.rs:38-44 | codex-rs/apply-patch/src/seek_sequence.rs:51-57 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/apply-patch/src/seek_sequence.rs:38\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/apply-patch/src/seek_sequence.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8682181400b3167066d4549a41eb0f093bb5378e42834c31dd7ce3278b955f05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/cloud-tasks-client/src/http.rs:920-926 | codex-rs/cloud-tasks/src/util.rs:20-26 \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 \u0060codex-rs/cloud-tasks-client/src/http.rs:920\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":"codex-rs/cloud-tasks-client/src/http.rs"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1328a14f6e0fe1946bacb2124a5e2c3295b54d548f76d939a71318ba793aef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/cloud-tasks/src/env_detect.rs:356-362 | codex-rs/cloud-tasks/src/env_detect.rs:394-400 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/cloud-tasks/src/env_detect.rs:356\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":"codex-rs/cloud-tasks/src/env_detect.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e5ef94eacaaf2442f2062011e278a8a8dd58826c6362c65ae6e64dcba645fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/code-mode-runtime/src/runtime/value.rs:147-153 | codex-rs/code-mode-runtime/src/runtime/value.rs:271-277 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/code-mode-runtime/src/runtime/value.rs:147\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":"codex-rs/code-mode-runtime/src/runtime/value.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6c5b060b92b435a8e5ef32c80a2debeb10458a97d16331079cc89f104fb11a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/core/src/client.rs:2009-2015 | codex-rs/core/src/client.rs:2230-2236 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060codex-rs/core/src/client.rs:2008\u0060 calls \u0060http_transport\u0060 and \u0060codex-rs/core/src/client.rs:2229\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":"codex-rs/core/src/client.rs"},"region":{"startLine":2009}}}],"partialFingerprints":{"codehealthFindingId/v1":"321d28bf75ea6652a92afdbef1a60a0d78ce548eec5946adc69f40660826b4ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/core/src/session/mcp.rs:807-813 | codex-rs/core/src/session/mod.rs:3626-3632 \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 \u0060codex-rs/core/src/session/mcp.rs:807\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":"codex-rs/core/src/session/mcp.rs"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"c202bfc0bfd604fd628b7ca80076c5c6d6c18cf4a828901587aa9abf4e4cc77a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/core/src/session/mod.rs:3471-3477 | codex-rs/core/src/session/mod.rs:3689-3695 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/core/src/session/mod.rs:3471\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060codex-rs/core/src/session/mod.rs:3688\u0060 calls \u0060clone\u0060 and \u0060codex-rs/core/src/session/mod.rs:3469\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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":3471}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9c541c5efd73503a544dbfef683deea1f30d17cd829b04fd68faaaf3c076aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/core/src/skills.rs:205-211 | codex-rs/core/src/skills.rs:301-309 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/core/src/skills.rs:205\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":"codex-rs/core/src/skills.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5651b420d5c3d018200b9f071ca9861e5b1d840bb0e082400517c2143aa81dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/execpolicy/src/parser.rs:363-369 | codex-rs/execpolicy/src/parser.rs:421-427 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/execpolicy/src/parser.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"29827e136a47b3b0d9bc8132efc16bdbafe17cfab3483f44444864dd4a718924"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/external-agent-migration/src/detect/sessions/connectors_cla.rs:210-216 | codex-rs/external-agent-migration/src/detect/sessions/cur.rs:60-66 \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 \u0060codex-rs/external-agent-migration/src/detect/sessions/connectors_cla.rs:210\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/external-agent-migration/src/detect/sessions/cur.rs:67\u0060 calls \u0060path\u0060 and \u0060codex-rs/external-agent-migration/src/detect/sessions/connectors_cla.rs:217\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":"codex-rs/external-agent-migration/src/detect/sessions/connectors_cla.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e69a7987066dd5496270f03941ac3588c819afae07189ba5826ef88f1f3fa03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/external-agent-migration/src/service.rs:602-608 | codex-rs/external-agent-migration/src/service.rs:646-652 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/external-agent-migration/src/service.rs"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d9d25a1e9850e6bb0fa605cd627e7fdbe5262f67534ec54909611e9d306045"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): codex-rs/feedback/src/lib.rs:143-159 | codex-rs/feedback/src/lib.rs:167-183 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/feedback/src/lib.rs:143\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":"codex-rs/feedback/src/lib.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"de892677bda0f7b3365c9e3398d5bbdeee5ece1dbc3a6d1c9e08d7973a136f2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/hooks/src/engine/discovery.rs:489-495 | codex-rs/login/src/server.rs:1021-1027 \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 \u0060codex-rs/hooks/src/engine/discovery.rs:489\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":"codex-rs/hooks/src/engine/discovery.rs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"58411451b74a1efd7054e6eecd3fbf6cfd685a6d35ec4782fa8c6eaffdc07a62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/http-client/src/transport.rs:176-182 | codex-rs/http-client/src/transport.rs:216-222 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/http-client/src/transport.rs:223\u0060 calls \u0060is_success\u0060 and \u0060codex-rs/http-client/src/transport.rs:183\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":"codex-rs/http-client/src/transport.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1a20201e7c41f32ac9e3efd572b9d36c40cd36cf5a5c9fd4f58e8dd60b2091"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/network-proxy/src/http_proxy.rs:285-291 | codex-rs/network-proxy/src/http_proxy.rs:367-373 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/network-proxy/src/http_proxy.rs:285\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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"0998c0f2194a88a6ce92480d7ea51cff53564c346ae3601c22fa0985a9782e4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/network-proxy/src/socks5.rs:250-256 | codex-rs/network-proxy/src/socks5.rs:360-366 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/network-proxy/src/socks5.rs:250\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":"codex-rs/network-proxy/src/socks5.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"09612e003f5f2ccae384b2266e40f07a71295236b846054d6d6a68c5c7adace7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/network-proxy/src/socks5.rs:760-766 | codex-rs/network-proxy/src/socks5.rs:849-855 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/network-proxy/src/socks5.rs:760\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":"codex-rs/network-proxy/src/socks5.rs"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd3d7d961a3df14fdc1cbf5b8f25b42f25c55263066215a97f9d8a0393d4333"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/rmcp-client/src/oauth/ema_identity.rs:131-137 | codex-rs/rmcp-client/src/oauth/ema_identity.rs:183-189 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/rmcp-client/src/oauth/ema_identity.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"c864cb3bbaccdbd794f174767362d49e7c6236cc35998f1610d5e47d4b9318f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/thread-store/src/local/archive_thread.rs:26-32 | codex-rs/thread-store/src/local/delete_thread.rs:150-156 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/archive_thread.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f5864e1262b22ccce8eb4060d75f2d66bdfb261cc7af5f40c478f9986d1df5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/tui/src/app_server_session.rs:2808-2814 | codex-rs/tui/src/app_server_session.rs:2858-2864 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/tui/src/app_server_session.rs"},"region":{"startLine":2808}}}],"partialFingerprints":{"codehealthFindingId/v1":"da82b70ac7aa05f9e2f57bfc682ba35352c3069a2abe0a2e4ae106a365b7c094"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/tui/src/bottom_pane/chat_composer.rs:4377-4383 | codex-rs/tui/src/bottom_pane/mentions_v2/search_catalog.rs:94-100 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":4377}}}],"partialFingerprints":{"codehealthFindingId/v1":"348586705cd6bb20eb2b8a12438373af336fd5f4805d40645f32f3448e3c2672"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs:575-580 | codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs:621-627 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs:580\u0060 calls \u0060and_then\u0060, \u0060iter\u0060, \u0060position\u0060 and \u0060codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs:627\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"229590abba908f3de223023fb645d122c51d21cf3278d430681e7394c980ef8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/tui/src/bottom_pane/mentions_v2/render.rs:287-293 | codex-rs/tui/src/bottom_pane/mentions_v2/render.rs:334-340 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/tui/src/bottom_pane/mentions_v2/render.rs:287\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/mentions_v2/render.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"7691cf7eb866557495a511e0304440b58749ba63c30226be25a9f2e618701b09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/tui/src/bottom_pane/textarea.rs:1499-1505 | codex-rs/tui/src/bottom_pane/textarea.rs:1570-1576 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/bottom_pane/textarea.rs:1499\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":"codex-rs/tui/src/bottom_pane/textarea.rs"},"region":{"startLine":1499}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe0029bfb9cea37a9380e631fbee1470f5eec89da61a6ed59949ec9808cea63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/tui/src/chatwidget/plugin_catalog.rs:980-986 | codex-rs/tui/src/chatwidget/plugins.rs:867-873 \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 \u0060codex-rs/tui/src/chatwidget/plugin_catalog.rs:980\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":"codex-rs/tui/src/chatwidget/plugin_catalog.rs"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"39aaa9e4ca5ab0a9a15682a82dcd00732c720ee6495e134278d822131789665d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/tui/src/external_agent_config_migration/mod.rs:107-118 | codex-rs/tui/src/external_agent_config_migration/source.rs:66-77 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/tui/src/external_agent_config_migration/mod.rs:107\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":"codex-rs/tui/src/external_agent_config_migration/mod.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"835017105500e1dcfb2c447d21a602bbf9bf89b66753f8e9178572a679263880"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/tui/src/resume_picker.rs:634-640 | codex-rs/tui/src/resume_picker.rs:688-694 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/tui/src/resume_picker.rs"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"4760067236da77fe0b5342dde819eb503768c6af35395e09518d263cbc61ba52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/tui/src/transcript_view/search.rs:303-309 | codex-rs/tui/src/transcript_view/search.rs:414-420 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060self\u0060 to \u0060crate) fn cancel_search(\u0026mut\u0060 in one and \u0060super) fn close_search_after_select_mode(\u0026mut\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/transcript_view/search.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"9771a22f594178621b173261507090b93366611564b4203a1bc488d2c104061e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/tui/src/wrapping.rs:792-798 | codex-rs/tui/src/wrapping.rs:1339-1345 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/wrapping.rs:792\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":"codex-rs/tui/src/wrapping.rs"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"f347eb7d17b72410fc23470ebb48785f52df21470695188a7f15988d336fd157"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/utils/pty/src/posix_child.rs:81-87 | codex-rs/utils/pty/src/posix_child.rs:96-102 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/utils/pty/src/posix_child.rs:81\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":"codex-rs/utils/pty/src/posix_child.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6dd74755ee14eacf5107226a1c7c07c4545276260ad153f0dbe95438f38778"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/utils/stream-parser/src/tagged_line_parser.rs:87-93 | codex-rs/utils/stream-parser/src/tagged_line_parser.rs:113-119 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/utils/stream-parser/src/tagged_line_parser.rs:87\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060self\u0060 to \u0060crate) fn finish(\u0026mut\u0060 in one and \u0060\u0026mut\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/utils/stream-parser/src/tagged_line_parser.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b698477fef91d2ca452d26b5b0ae2aac43b9a31907f61e656033f28b176f33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/windows-sandbox-service/src/ipc/home.rs:37-45 | codex-rs/windows-sandbox-service/src/ipc/home.rs:59-65 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"codex-rs/windows-sandbox-service/src/ipc/home.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e67564b7cfcd455462799a802e674ee65d6a530378277d058eb24c9bd8483c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 10): codex-rs/network-proxy/src/http_proxy.rs:827-832 | codex-rs/network-proxy/src/http_proxy.rs:878-883 | codex-rs/network-proxy/src/http_proxy.rs:920-925 | codex-rs/network-proxy/src/http_proxy.rs:991-996 | codex-rs/network-proxy/src/socks5.rs:252-257 | codex-rs/network-proxy/src/socks5.rs:310-315 | codex-rs/network-proxy/src/socks5.rs:362-367 | codex-rs/network-proxy/src/socks5.rs:427-432 | codex-rs/network-proxy/src/socks5.rs:762-767 | codex-rs/network-proxy/src/socks5.rs:851-856 \u2014 there are 10 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 10 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/network-proxy/src/http_proxy.rs:827\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/network-proxy/src/http_proxy.rs:926\u0060 calls \u0060method\u0060 and \u0060codex-rs/network-proxy/src/socks5.rs:316\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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb840423e69c5952ea7f348d8dd08471991383681b03e04fc1738b25d3147ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20136 lines \u00D7 3): codex-rs/app-server/src/request_processors/thread_processor.rs:1225-1230 | codex-rs/app-server/src/request_processors/thread_processor.rs:1355-1359 | codex-rs/app-server/src/request_processors/turn_processor.rs:1594-1599 \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 \u0060codex-rs/app-server/src/request_processors/thread_processor.rs:1225\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":1225}}}],"partialFingerprints":{"codehealthFindingId/v1":"b030edaf1024cfae98a6179327abaa1e543e11d3a9d6954849b6ba348fcff3ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codex-rs/app-server-client/src/lib.rs:751-756 | codex-rs/app-server-client/src/lib.rs:848-853 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-client/src/lib.rs"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"6220a958ce5659836965a258bef7be84b2c2cc23372fb0793f44971e1cd4dfa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codex-rs/app-server-client/src/lib.rs:763-768 | codex-rs/app-server-client/src/lib.rs:860-865 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-client/src/lib.rs"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96d2e0622941d8938fba7fe0dfdb14769a5c9be0e07b7f66e5985cbed734248"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codex-rs/app-server/src/request_processors/turn_processor.rs:196-201 | codex-rs/app-server/src/request_processors/turn_processor.rs:420-425 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/app-server/src/request_processors/turn_processor.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb5fca0d973648bb07fdf17f47309dce44b833115f76550de55799384457514"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20136 lines \u00D7 2): codex-rs/cli/src/doctor/output.rs:311-316 | codex-rs/cli/src/doctor/output.rs:423-427 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/cli/src/doctor/output.rs:311\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"codex-rs/cli/src/doctor/output.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d6b0cfb3ec7e3e18f4f83bc28d6ad744d2c4e8befb52e05173c854c8c846e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codex-rs/cli/src/mcp_cmd.rs:1090-1095 | codex-rs/cli/src/mcp_cmd.rs:1103-1108 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/cli/src/mcp_cmd.rs:1090\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":"codex-rs/cli/src/mcp_cmd.rs"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2810a0eb205621e85209d3cf530d576b6e1271447c7052667b4a38da37ccd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codex-rs/cloud-tasks/src/lib.rs:1401-1406 | codex-rs/cloud-tasks/src/lib.rs:1873-1878 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/cloud-tasks/src/lib.rs:1401\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":"codex-rs/cloud-tasks/src/lib.rs"},"region":{"startLine":1401}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c462501b03f088700ca6c17d76f041dc41632968527b68992d7f608b21eb35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/cloud-tasks/src/ui.rs:985-991 | codex-rs/cloud-tasks/src/ui.rs:1040-1046 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/cloud-tasks/src/ui.rs:985\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":"codex-rs/cloud-tasks/src/ui.rs"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"825f84a4dbb982abe141de35f19c7aabaadf5caaffd8928fbe6ed86279dd2691"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codex-rs/code-mode/src/grpc_session/mod.rs:497-502 | codex-rs/code-mode/src/remote_session.rs:419-424 \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":"codex-rs/code-mode/src/grpc_session/mod.rs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"3965e114a6d025b960cb19f730b1bc30c3984c69e5c16379a4cac95a1fa953a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codex-rs/config/src/config_requirements.rs:1681-1686 | codex-rs/config/src/config_requirements.rs:1703-1708 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/config/src/config_requirements.rs"},"region":{"startLine":1681}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a4240d5fccaa0eb5ef433ad263bd9ce096addc4a77e3d4c3b55daaed153805"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/core-plugins/src/loader.rs:1532-1538 | codex-rs/core-plugins/src/loader.rs:1554-1560 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/core-plugins/src/loader.rs:1532\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/core-plugins/src/loader.rs:1561\u0060 calls \u0060display\u0060 and \u0060codex-rs/core-plugins/src/loader.rs:1539\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":"codex-rs/core-plugins/src/loader.rs"},"region":{"startLine":1532}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4512d048b08fedbae445df2b436c95a7859cda4af421bdff86575c6518a74a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codex-rs/core/src/agent/control/user_authorization.rs:85-91 | codex-rs/core/src/context_manager/history_user_authorization.rs:58-63 \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 \u0060codex-rs/core/src/agent/control/user_authorization.rs:85\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/agent/control/user_authorization.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d10e5adf21dfc7c9d8ed8ded3dd767a8c3a06eb0fe187b216c503d9eb4525c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codex-rs/core/src/config/auth_keyring.rs:52-57 | codex-rs/core/src/config/mod.rs:4240-4245 \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 \u0060codex-rs/core/src/config/auth_keyring.rs:52\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, \u0060codex-rs/core/src/config/auth_keyring.rs:51\u0060 calls \u0060into_vec\u0060 and \u0060codex-rs/core/src/config/mod.rs:4239\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":"codex-rs/core/src/config/auth_keyring.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d34f9087ecfc1a39f724d332fa43d7565f4629afc5130e0d64a2c90acfff3ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codex-rs/git-utils/src/info.rs:401-408 | codex-rs/tui/src/branch_summary.rs:205-210 \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 \u0060codex-rs/git-utils/src/info.rs:401\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":"codex-rs/git-utils/src/info.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c7fa59c33337f1b0c0668d7cb8f31138d204a75f0d89589d69a920a5df2143"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/state/src/runtime/threads.rs:306-312 | codex-rs/state/src/runtime/threads.rs:360-366 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/state/src/runtime/threads.rs:306\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":"codex-rs/state/src/runtime/threads.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff45ef03abc56ce9b0060a56e578dcf89a030e06ba07687989e936db199a943"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codex-rs/tui/src/bottom_pane/chat_composer/slash_input.rs:284-289 | codex-rs/tui/src/bottom_pane/chat_composer/slash_input.rs:339-345 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/bottom_pane/chat_composer/slash_input.rs:284\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":"codex-rs/tui/src/bottom_pane/chat_composer/slash_input.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f13622812f3ceefdb7fe267d1b940a083d598b9d44bf38c19e3fbd7543d289f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codex-rs/tui/src/markdown_render/inline_directives.rs:187-192 | codex-rs/tui/src/markdown_render/math.rs:285-290 \u2014 before extracting anything, compare \u0060codex-rs/tui/src/markdown_render/inline_directives.rs\u0060 and \u0060codex-rs/tui/src/markdown_render/math.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 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":"codex-rs/tui/src/markdown_render/inline_directives.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"455eec2932de87a44c69cc5e7683f8431f42bc329ac984a1e1504301fbd7c20f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codex-rs/tui/src/transcript_view/mutations.rs:46-51 | codex-rs/tui/src/transcript_view/mutations.rs:94-100 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/transcript_view/mutations.rs:46\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/transcript_view/mutations.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97539a5f6a443e96a004388d88979195646402b3e66f37c7a9a0a3a78e58912"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): codex-rs/cloud-tasks/src/lib.rs:1103-1109 | codex-rs/cloud-tasks/src/lib.rs:1176-1182 | codex-rs/cloud-tasks/src/lib.rs:1398-1404 | codex-rs/cloud-tasks/src/lib.rs:1870-1876 | codex-rs/cloud-tasks/src/lib.rs:1909-1915 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060codex-rs/cloud-tasks/src/lib.rs:1867\u0060 calls \u0060clear\u0060 and \u0060codex-rs/cloud-tasks/src/lib.rs:1101\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":"codex-rs/cloud-tasks/src/lib.rs"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e37ca956f90ac6c7bf98a76b5e50118d31ea08815fca0559169adc5f1018cc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): codex-rs/cli/src/migrate_rollouts.rs:409-413 | codex-rs/rollout/src/list.rs:1479-1483 | codex-rs/rollout/src/search.rs:132-136 | codex-rs/rollout/src/search.rs:232-236 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/cli/src/migrate_rollouts.rs:409\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/rollout/src/list.rs:1484\u0060 calls \u0060path\u0060 and \u0060codex-rs/cli/src/migrate_rollouts.rs:414\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":"codex-rs/cli/src/migrate_rollouts.rs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5e6dca88f1e2f0e060a3de9884e10012fe13e2f752b632dde20166c6d90002"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codex-rs/backend-client/src/client.rs:539-544 | codex-rs/backend-client/src/client/rate_limit_resets.rs:86-91 \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 \u0060codex-rs/backend-client/src/client.rs:539\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":"codex-rs/backend-client/src/client.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d81e933137ccbd9aa0a95d72631d7aa80ca441dd7d285a3d33495dd9d0f0ce1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codex-rs/cli/src/doctor.rs:3114-3119 | codex-rs/cli/src/doctor/background.rs:113-118 \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 \u0060codex-rs/cli/src/doctor.rs:3114\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":"codex-rs/cli/src/doctor.rs"},"region":{"startLine":3114}}}],"partialFingerprints":{"codehealthFindingId/v1":"b752a618f5c6aa27de6a34a42c3174758879e47802c2690a0e40e2ac2b21f764"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): codex-rs/codex-mcp/src/tools.rs:200-204 | codex-rs/codex-mcp/src/tools.rs:223-227 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/codex-mcp/src/tools.rs:200\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-mcp/src/tools.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9e7bf89338e4a4784a362421120df2a947ad9da3a709677d7fb9ad15556b38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/config/src/marketplace_edit.rs:71-78 | codex-rs/config/src/plugin_edit.rs:81-88 \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 \u0060codex-rs/config/src/plugin_edit.rs:81\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060config_path\u0060 to \u0060\u0026Path\u0060 in one and \u0060Option\u003C\u0026Path\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/marketplace_edit.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3921af93601890487d19d14be2eba17d4f8238b9f5169b9ea7f8021529c204"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): codex-rs/core/src/context_manager/normalize.rs:366-370 | codex-rs/core/src/context_manager/normalize.rs:413-417 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/core/src/context_manager/normalize.rs:366\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":"codex-rs/core/src/context_manager/normalize.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda9cd243779eabcf87b8d3691a5a18ce1c9a9f54ec3a91eba5d45ff4dbbc5c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): codex-rs/core/src/session/session.rs:288-292 | codex-rs/core/src/session/session.rs:330-334 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/core/src/session/session.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ffce5eeb72fc36a81876759fc7e4fe16d67efceef0424ba1fe0459af250a520"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codex-rs/http-client/src/lib.rs:105-110 | codex-rs/rmcp-client/src/ema_auth_policy.rs:306-311 \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":"codex-rs/http-client/src/lib.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"102f9f67c5ad9e5f51c3907f29f62ab829bd54c3fa2d26926baf2d1f75cf2ff9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codex-rs/login/src/auth/storage.rs:290-295 | codex-rs/utils/path-utils/src/lib.rs:167-172 \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 \u0060codex-rs/login/src/auth/storage.rs:290\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":"codex-rs/login/src/auth/storage.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f3882908b97c0ab20e63a515d4ac4d355150ad321d6dfd5f66e2f9f9548ed2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): codex-rs/model-provider/src/shared_state.rs:57-61 | codex-rs/model-provider/src/shared_state.rs:89-93 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/model-provider/src/shared_state.rs:57\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":"codex-rs/model-provider/src/shared_state.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c504c2dec7ebb5b880edd45300270e1c5f4e25ea08ca759c991dfc065c7239f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): codex-rs/network-proxy/src/credential_broker/environment.rs:290-294 | codex-rs/network-proxy/src/credential_broker/environment.rs:322-326 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/network-proxy/src/credential_broker/environment.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb229abe8ce26e7f433e714cb54b1deca561a038668a5e869502405f068f1c8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): codex-rs/network-proxy/src/runtime.rs:800-804 | codex-rs/network-proxy/src/runtime.rs:823-827 | codex-rs/network-proxy/src/runtime.rs:1271-1275 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060codex-rs/network-proxy/src/runtime.rs:1271\u0060 calls \u0060credential_broker\u0060 and \u0060codex-rs/network-proxy/src/runtime.rs:800\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":"codex-rs/network-proxy/src/runtime.rs"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c9c77b20b68d8cf536b0d3a723af05687ddc31ddf8ffed86f85ba13fc1370a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codex-rs/rollout/src/list.rs:1477-1482 | codex-rs/rollout/src/rollout_reference_index.rs:96-101 \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 \u0060codex-rs/rollout/src/list.rs:1477\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":"codex-rs/rollout/src/list.rs"},"region":{"startLine":1477}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab77b5cb095debba9f01e0d6d8eb0e066d5ed6309c8e19c501a50fbe2a9d133"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): codex-rs/shell-command/src/parse_command.rs:1528-1535 | codex-rs/shell-command/src/parse_command.rs:1539-1543 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/shell-command/src/parse_command.rs:1528\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. 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":"codex-rs/shell-command/src/parse_command.rs"},"region":{"startLine":1528}}}],"partialFingerprints":{"codehealthFindingId/v1":"805fd7c1aad15e41c5f60bbe2648f4754ec19d830f0a4d846bc58a4459932185"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/thread-store/src/local/archive_thread.rs:116-122 | codex-rs/thread-store/src/local/unarchive_thread.rs:152-158 \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 \u0060codex-rs/thread-store/src/local/archive_thread.rs:116\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/archive_thread.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa58dcc9bc91eed561631bc4ce63f20f91c428c6cfd6aa3b1a5b990827d58fb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): codex-rs/tui/src/lib.rs:1721-1725 | codex-rs/tui/src/lib.rs:1825-1829 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/lib.rs:1721\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":"codex-rs/tui/src/lib.rs"},"region":{"startLine":1721}}}],"partialFingerprints":{"codehealthFindingId/v1":"1800b212c4d5f0fe6b1edf6091436d65fba0314dde3f1ac598d20f0a58849639"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): codex-rs/tui/src/markdown_render.rs:2302-2306 | codex-rs/tui/src/markdown_render.rs:2315-2319 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/tui/src/markdown_render.rs"},"region":{"startLine":2302}}}],"partialFingerprints":{"codehealthFindingId/v1":"d160ca4ae43422c79180f76e1dd45ccc2f3421921295ae50e6a246365242b827"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): codex-rs/tui/src/markdown_render.rs:2443-2448 | codex-rs/tui/src/markdown_render.rs:2498-2502 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/tui/src/markdown_render.rs"},"region":{"startLine":2443}}}],"partialFingerprints":{"codehealthFindingId/v1":"083de27f2cc15733b79aa710bc3a9c795fe165ca356f7c6b462b3556817290ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codex-rs/tui/src/tui.rs:1533-1538 | codex-rs/tui/src/tui.rs:1557-1562 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/tui/src/tui.rs:1533\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":"codex-rs/tui/src/tui.rs"},"region":{"startLine":1533}}}],"partialFingerprints":{"codehealthFindingId/v1":"c895f40195d9b6d004968ed9fa3e4ce3b4187730f79f092448d2f5a7a29f1fad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/app-server-protocol/src/protocol/common.rs:66-75 | codex-rs/protocol/src/auth.rs:42-51 \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":"codex-rs/app-server-protocol/src/protocol/common.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ce5b986e066546f8de5ade165b98ab8c972b26a60b1a509ee39d6f89f6f05f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/app-server-protocol/src/protocol/common.rs:78-87 | codex-rs/protocol/src/auth.rs:54-63 \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":"codex-rs/app-server-protocol/src/protocol/common.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e57ddf9dbbe32f0b9a0578a16258017e6482e12f1756c99509cc0bf429c4d91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/app-server-protocol/src/protocol/v2/apps.rs:163-170 | codex-rs/connectors/src/app_info.rs:104-111 \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":"codex-rs/app-server-protocol/src/protocol/v2/apps.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9feed6d161310f0d03e1d1b60a9a06a1e86bc28ebee5da58b3eb66d6a74d0e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codex-rs/app-server-protocol/src/rpc.rs:24-29 | codex-rs/exec-server-protocol/src/rpc.rs:41-46 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/rpc.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"741877f45f951b2fbaad98baa8898020cc33955c156152d061b59c37c8edb44e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): codex-rs/app-server/src/image_url.rs:4-8 | codex-rs/core/src/image_preparation.rs:413-417 \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":"codex-rs/app-server/src/image_url.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7c2279a838acea52b6a907c559443cae8ff345b76e3fed1a0401e2e860562a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codex-rs/app-server/src/request_processors/account_processor/bedrock_setup.rs:143-148 | codex-rs/exec-server/src/environment.rs:692-697 \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":"codex-rs/app-server/src/request_processors/account_processor/bedrock_setup.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"087cf531927a3351701627fba749aeba9d1b60408f81ee9108eb5d39874ba6e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/app-server/src/request_processors/fs_processor.rs:215-221 | codex-rs/app-server/src/request_processors/remote_control_processor.rs:206-212 \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":"codex-rs/app-server/src/request_processors/fs_processor.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3131f015ea934ffd1dd05905ea44f5018bed42cafd5f556d3327e2a2cbada7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/cloud-tasks/src/scrollable_diff.rs:198-204 | codex-rs/tui/src/width.rs:19-25 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cloud-tasks/src/scrollable_diff.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd0aa57eb21657cc57253084624b43f0501c863dbe0a2399169f1e52d23ab68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/cloud-tasks/src/util.rs:34-43 | codex-rs/codex-mcp/src/mcp/mod.rs:649-658 \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":"codex-rs/cloud-tasks/src/util.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ed0afa837d2c542395add387b96e65137107c656cdd48891de1f705bead0c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/code-mode-protocol/src/json_schema_types.rs:476-483 | codex-rs/network-proxy/src/authorization_path.rs:53-60 \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":"codex-rs/code-mode-protocol/src/json_schema_types.rs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"365eb24c9974ee65a4d296110fd8338d7f146c407e8a71f1838f1c97391591ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/code-mode/src/grpc_session/generation.rs:119-128 | codex-rs/code-mode/src/remote_session/connection/driver/cell_ids.rs:94-103 \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":"codex-rs/code-mode/src/grpc_session/generation.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b5c2152e2325af3cbc57e0ae1f7d951c635bcf7263f862df11762e2df0d56e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rs:1185-1191 | codex-rs/core/src/realtime_conversation/sideband.rs:209-215 \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":"codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rs"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c39b3d13c2969a23944fa1ecec8cf1e3c4168a4bec853854f7eca437201de54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codex-rs/codex-mcp/src/agent_plugin_config.rs:506-511 | codex-rs/model-provider-info/src/gateway_oauth.rs:241-246 \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":"codex-rs/codex-mcp/src/agent_plugin_config.rs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f110c59751cc86868218080f83552c303b5fa11b66b86ddee5a8747cf46643"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): codex-rs/codex-mcp/src/runtime.rs:1278-1282 | codex-rs/connectors/src/connector_runtime/mod.rs:552-556 \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":"codex-rs/codex-mcp/src/runtime.rs"},"region":{"startLine":1278}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff17c2571b2f711d4b38e5738d9e127c2ea8f40fc554d7ccc5cc8bd7b640a3e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): codex-rs/codex-mcp/src/tools.rs:276-281 | codex-rs/connectors/src/connector_runtime/persistence.rs:227-232 | codex-rs/connectors/src/directory_cache.rs:108-113 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-mcp/src/tools.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e773469ec64f0c2659a6a1db1a30589700bcae8919d584423e9573a4bc3a51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/config/src/config_requirements.rs:422-428 | codex-rs/config/src/permissions_toml.rs:300-306 \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":"codex-rs/config/src/config_requirements.rs"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"481853eb48e8a72a6f9a53d38dea06920ab6ddd09513ab2d30b9ef7171256c37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): codex-rs/config/src/mcp_types.rs:711-715 | codex-rs/exec-server/src/environment_toml.rs:363-367 \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":"codex-rs/config/src/mcp_types.rs"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"aadc2328c7f8c11ac40607acabf1951eb712d7bf9ea7569d4acb40aa40d3ff4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/core-plugins/src/marketplace.rs:958-966 | codex-rs/core-plugins/src/marketplace_add/source.rs:188-196 \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":"codex-rs/core-plugins/src/marketplace.rs"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f685058cdbeb06aa69eed136e0ac6afe1fbe3674e7a6058a6d4f97cc38be6ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codex-rs/core-plugins/src/marketplace.rs:968-973 | codex-rs/core-plugins/src/marketplace_add/source.rs:198-203 \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":"codex-rs/core-plugins/src/marketplace.rs"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd24af13eb57f9fa1d9e35c364106cdef35dbf9e68ef6668f617f95c7b859a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codex-rs/core-plugins/src/remote.rs:2167-2172 | codex-rs/core/src/config/mod.rs:5321-5326 \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":"codex-rs/core-plugins/src/remote.rs"},"region":{"startLine":2167}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c06bdf134977eae720bb82895465390fcf47a88f205d897675f84c0f3b04d33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): codex-rs/core/src/agent/control.rs:755-760 | codex-rs/tui/src/app/app_server_thread_ownership.rs:51-58 | codex-rs/tui/src/app/loaded_threads.rs:115-122 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/agent/control.rs"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"8beec918bbae7718d54f82c8e35a2282637253e087a89ae077e91c81a7eff288"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codex-rs/core/src/mcp_tool_call.rs:905-910 | codex-rs/core/src/tools/handlers/list_available_plugins_to_install.rs:108-113 \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":"codex-rs/core/src/mcp_tool_call.rs"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29a833f7e0738153c69a0bad418ebcb60ea0a7132193905b5315909bb8ea55c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codex-rs/core/src/session/mcp.rs:1349-1354 | codex-rs/ext/guardian-reviewer/src/elicitation.rs:148-153 \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":"codex-rs/core/src/session/mcp.rs"},"region":{"startLine":1349}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d5b5efb5492392adc0a8572b08901f8a1117655d7858efc713849899836ffb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codex-rs/core/src/turn_timing.rs:328-333 | codex-rs/rollout-trace/src/writer.rs:279-284 \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":"codex-rs/core/src/turn_timing.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"860b88301a7f078cbe702a55ec22cfd906d282307e1b64d41eb7e05105a0ab35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): codex-rs/core/src/util.rs:90-97 | codex-rs/hooks/src/engine/output_parser.rs:514-521 | codex-rs/hooks/src/events/common.rs:39-46 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/util.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b12fc146cc56182f1e524e30c2ad51a3c125376d5ad514c1b625473ba09ef11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/exec-server/src/fs_helper.rs:433-441 | codex-rs/exec-server/src/server/file_system_handler.rs:360-368 \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":"codex-rs/exec-server/src/fs_helper.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b00875896d8e8b860eb8cffe3fa15a664437c5c8aa1d39f83a08fcbd35abe6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codex-rs/exec-server/src/local_file_system.rs:1291-1296 | codex-rs/exec-server/src/no_follow/mod.rs:120-125 \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":"codex-rs/exec-server/src/local_file_system.rs"},"region":{"startLine":1291}}}],"partialFingerprints":{"codehealthFindingId/v1":"65cf54763027fb1351c4613906aa5ba9f068ba8d90571d57304468eaa248c73b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): codex-rs/ext/skills/src/dynamic_skill_selector/character_ngram.rs:230-239 | codex-rs/ext/skills/src/dynamic_skill_selector/fielded_bm25.rs:226-235 | codex-rs/ext/skills/src/dynamic_skill_selector/routing_card_lexical.rs:245-254 | codex-rs/ext/skills/src/dynamic_skill_selector/weighted_lexical.rs:195-204 \u2014 before extracting anything, compare \u0060codex-rs/ext/skills/src/dynamic_skill_selector/character_ngram.rs\u0060 and \u0060codex-rs/ext/skills/src/dynamic_skill_selector/fielded_bm25.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 91 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":"codex-rs/ext/skills/src/dynamic_skill_selector/character_ngram.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b8137dedbc8bae017e1e9092deef5bde0c05b1ab7e3b292baadc25153526f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codex-rs/ext/skills/src/dynamic_skill_selector/routing_card_lexical.rs:238-243 | codex-rs/ext/skills/src/dynamic_skill_selector/weighted_lexical.rs:179-184 \u2014 before extracting anything, compare \u0060codex-rs/ext/skills/src/dynamic_skill_selector/routing_card_lexical.rs\u0060 and \u0060codex-rs/ext/skills/src/dynamic_skill_selector/weighted_lexical.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 47 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":"codex-rs/ext/skills/src/dynamic_skill_selector/routing_card_lexical.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e0a4f8d5fc1d3c0221fb823a7bc6ac38a4b2fd02ccc704d62cb6ea6a4d3237"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): codex-rs/message-board/src/in_memory.rs:262-274 | codex-rs/message-board/src/local.rs:171-183 \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":"codex-rs/message-board/src/in_memory.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8afb21d572789a8cb38c2fa62261c91d1f1d2bd739b275b0ec8e8a73d3c578"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): codex-rs/model-provider/src/amazon_bedrock/mod.rs:184-188 | codex-rs/model-provider/src/gcp/mod.rs:59-63 \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":"codex-rs/model-provider/src/amazon_bedrock/mod.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71ecd4a7f57a9554b11cc227f3745d4077b4fe4a56d947878ac231be7957f9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/network-proxy/src/http_proxy.rs:1272-1278 | codex-rs/network-proxy/src/responses.rs:26-32 \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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":1272}}}],"partialFingerprints":{"codehealthFindingId/v1":"afac76da6ce2e6f24946a0cf908ffdafb8bf45f7cc6b50d3afa0fa6a917a8d00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): codex-rs/protocol/src/session_id.rs:92-96 | codex-rs/protocol/src/thread_id.rs:95-99 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/session_id.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae406b723453a9d55204d0a66d11053249c50e14060f091f4abc5902906b7113"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): codex-rs/rmcp-client/src/http_client_adapter.rs:789-799 | codex-rs/rmcp-client/src/streamable_http_retry.rs:205-215 \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":"codex-rs/rmcp-client/src/http_client_adapter.rs"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09f96396e4ceb56f811ff7ea85c7253586dc93c733ddae3be27902c68c1fa34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): codex-rs/rollout-trace/src/reducer/code_cell.rs:727-731 | codex-rs/rollout-trace/src/reducer/tool.rs:513-517 | codex-rs/rollout-trace/src/reducer/tool/agents.rs:778-782 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout-trace/src/reducer/code_cell.rs"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"5274eb56ceb6b41c4119cf85ec714fc7cb28bd0a7fcc05e31bd2f4af6e5451fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/rollout/src/search.rs:387-394 | codex-rs/thread-store/src/local/thread_history/search.rs:488-495 \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":"codex-rs/rollout/src/search.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55788fecb9b22f3e0728f2e4c7967bd68bbcb1a3bef58d44ba7cf1f249f1c84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/rollout/src/search.rs:396-402 | codex-rs/thread-store/src/local/thread_history/search.rs:497-503 \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":"codex-rs/rollout/src/search.rs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18ebb8a1e307dc27a31babb305dc5f89a62d43165c61753bff484d8f2bc708f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): codex-rs/skills/src/mentions.rs:208-224 | codex-rs/tui/src/mention_codec.rs:306-322 \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":"codex-rs/skills/src/mentions.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"259d792a3b62088d995e7ddda239c67b73500cb1e6cc808c5e85c7798db85c41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): codex-rs/tui/src/app/agents_overview_actions.rs:39-45 | codex-rs/tui/src/app/agents_overview_errors.rs:10-16 | codex-rs/tui/src/app/daemon_menu.rs:15-21 | codex-rs/tui/src/chatwidget/quick_dials.rs:14-20 | codex-rs/tui/src/chatwidget/safety_buffering.rs:18-24 | codex-rs/tui/src/config_panel/render.rs:326-332 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/agents_overview_actions.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2c392b6eed4a78cf11cef8c5faada0e7b9fc5924d7de17b0f24a564620ff44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/tui/src/app/loaded_threads.rs:106-113 | codex-rs/tui/src/app_server_session.rs:557-564 \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":"codex-rs/tui/src/app/loaded_threads.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23d7c5072314e39ac68d4899aa79d509fff2b1f60441d19c59e0fa11b0cfe6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/tui/src/bottom_pane/approval_overlay.rs:608-616 | codex-rs/tui/src/bottom_pane/user_verification.rs:179-187 \u2014 before extracting anything, compare \u0060codex-rs/tui/src/bottom_pane/approval_overlay.rs\u0060 and \u0060codex-rs/tui/src/bottom_pane/user_verification.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 43 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":"codex-rs/tui/src/bottom_pane/approval_overlay.rs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d512bd331ffa1c868a254471f805018f2d135f5932e0474d4c97509d69a456e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/tui/src/bottom_pane/chat_composer.rs:4427-4434 | codex-rs/tui/src/chatwidget/connectors.rs:396-403 \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":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":4427}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e40d27857401b826bf542241e8a5f3185e1a944a3a860605f7dcb24c62a7b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/tui/src/bottom_pane/chat_composer.rs:4559-4567 | codex-rs/tui/src/mention_codec.rs:277-285 \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":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":4559}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08f7aa8c11de01a8bed432fde62327ec350b4b901d4a25cc547aa1e32bf744f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codex-rs/tui/src/bottom_pane/command_popup.rs:301-306 | codex-rs/tui/src/bottom_pane/slash_commands.rs:27-32 \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":"codex-rs/tui/src/bottom_pane/command_popup.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"9644c045ff8457005ad0a116c6e43bf9444a5d242f43c707c11e75279641d667"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs:797-804 | codex-rs/tui/src/bottom_pane/request_user_input/mod.rs:517-524 \u2014 before extracting anything, compare \u0060codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs\u0060 and \u0060codex-rs/tui/src/bottom_pane/request_user_input/mod.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c79b1c1083aa4323188ded2643241dd45e39eed468dd3d0580a5ea166ec55ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): codex-rs/tui/src/chatwidget/input_queue.rs:77-81 | codex-rs/tui/src/chatwidget/user_messages.rs:904-908 \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":"codex-rs/tui/src/chatwidget/input_queue.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ddb7eb469ee50370fcf89c15dab4eaeaa13620c5fb8f4a97f7e028f59ed1c5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codex-rs/tui/src/history_cell/mcp.rs:833-838 | codex-rs/tui/src/history_cell/notices.rs:399-405 \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":"codex-rs/tui/src/history_cell/mcp.rs"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14c0fa30af0b773b98f412e84676121c1a3a2f42d0b88ee3a2a259b8a4d85da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/utils/pty/src/win/procthreadattr.rs:84-95 | codex-rs/windows-sandbox-rs/src/proc_thread_attr.rs:76-87 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-rs/src/proc_thread_attr.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c8c0d1c203c9a7539929419cd5131e78c8a7d099542e4af4ca77f3b31737edd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/code-mode/src/grpc_session/operations.rs:441-447 | codex-rs/code-mode/src/remote_session/connection/driver/cell_ids.rs:105-111 \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":"codex-rs/code-mode/src/grpc_session/operations.rs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f137fc1ef06c2a6d3f75ce5714804979d74511622b80635c1dae66cced4b456"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/core-plugins/src/remote.rs:2484-2492 | codex-rs/core-plugins/src/remote_legacy.rs:187-195 \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 \u0060codex-rs/core-plugins/src/remote_legacy.rs:187\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":"codex-rs/core-plugins/src/remote.rs"},"region":{"startLine":2484}}}],"partialFingerprints":{"codehealthFindingId/v1":"3362cb185ef2da481ad6c1d25a127b33c273bd5c7002158f95766d6f96fa991b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/core/src/tools/handlers/multi_agents_v2/followup_task.rs:23-30 | codex-rs/core/src/tools/handlers/multi_agents_v2/send_message.rs:23-30 \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":"codex-rs/core/src/tools/handlers/multi_agents_v2/followup_task.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2835c705f8fe27872740195895379e33b7e0707b50ff218ece81d42b727412b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): codex-rs/ext/skills/src/dynamic_skill_selector/character_ngram.rs:103-113 | codex-rs/ext/skills/src/dynamic_skill_selector/fielded_bm25.rs:100-110 \u2014 before extracting anything, compare \u0060codex-rs/ext/skills/src/dynamic_skill_selector/character_ngram.rs\u0060 and \u0060codex-rs/ext/skills/src/dynamic_skill_selector/fielded_bm25.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 91 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":"codex-rs/ext/skills/src/dynamic_skill_selector/character_ngram.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff047f783edb9218081d45998d3b16ac6ec3353c622d9021a9c042d2efb70be0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/model-provider/src/amazon_bedrock/mantle.rs:28-34 | codex-rs/model-provider/src/amazon_bedrock/runtime.rs:13-19 \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":"codex-rs/model-provider/src/amazon_bedrock/mantle.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"45821ae4de4a755b762c1d6f0ed3f9e866638d5b2352afa3e0f2722d5b827f27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): codex-rs/tui/src/bottom_pane/memories_settings_view.rs:254-258 | codex-rs/tui/src/bottom_pane/request_user_input/mod.rs:957-961 \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":"codex-rs/tui/src/bottom_pane/memories_settings_view.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1f772c0a415975f027c860ba13fd9c3ab9aa764d83814bf9e968e8be5e9230"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): codex-rs/state/src/runtime/goals.rs:168-208 | codex-rs/state/src/runtime/goals.rs:225-266 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/state/src/runtime/goals.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4c38b51d656268a6cc6c235e654d5a3fa9985a6cf94adf972bf173a8e40746"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47\u201351 lines \u00D7 2): codex-rs/state/src/runtime/logs.rs:93-139 | codex-rs/state/src/runtime/logs.rs:176-226 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/state/src/runtime/logs.rs:93\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":"codex-rs/state/src/runtime/logs.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a14da76412c3d58186618e845012efa3e926dc8fa8529a686c4ed34a839c89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): codex-rs/state/src/runtime/memories.rs:1339-1363 | codex-rs/state/src/runtime/memories.rs:1380-1405 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/state/src/runtime/memories.rs:1339\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":"codex-rs/state/src/runtime/memories.rs"},"region":{"startLine":1339}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95abbe766c707d4f2fff6635437eef13385472b587fa89b34bd5415ea090c9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): codex-rs/state/src/runtime/goals.rs:289-308 | codex-rs/state/src/runtime/goals.rs:324-342 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/state/src/runtime/goals.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6afde54fa142c92407228f17edc84608de3614c5e7f65bd1fe1c83a9412cfa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): codex-rs/apply-patch/src/lib.rs:523-542 | codex-rs/apply-patch/src/lib.rs:617-636 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/apply-patch/src/lib.rs:523\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":"codex-rs/apply-patch/src/lib.rs"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f0ab244deb483040c9d8393268e47acae7ecd0169a65e14d49bc0765b884c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): codex-rs/thread-store/src/local/thread_history.rs:499-516 | codex-rs/thread-store/src/local/thread_history.rs:518-537 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/thread-store/src/local/thread_history.rs:499\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":"codex-rs/thread-store/src/local/thread_history.rs"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"a674c75391fae5549f802ca5481570bc5f779ba1d1a089e0604ff0a020eda3fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): codex-rs/core/src/tools/handlers/mcp.rs:275-293 | codex-rs/core/src/tools/handlers/unified_exec/exec_command.rs:138-156 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/handlers/mcp.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d8d50a7a48306a8700923a936d8f73330585746307477548a500954b8276b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): codex-rs/app-server/src/command_exec.rs:641-655 | codex-rs/app-server/src/request_processors/process_exec_processor.rs:712-728 \u2014 before extracting anything, compare \u0060codex-rs/app-server/src/command_exec.rs\u0060 and \u0060codex-rs/app-server/src/request_processors/process_exec_processor.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 140 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/app-server/src/command_exec.rs:641\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":"codex-rs/app-server/src/command_exec.rs"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"931b2cb4d55e35748fe1010e1fde558f975791fdb6589ef41f7e17fece66f6df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): codex-rs/hooks/src/events/compact.rs:95-110 | codex-rs/hooks/src/events/compact.rs:176-191 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/hooks/src/events/compact.rs:95\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060PreCompactRequest\u0060 in one and \u0060PostCompactRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/hooks/src/events/compact.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"11bd6b65e51849d37f330ed7af98f04ae510ce45cf2c1850190f31803d7635e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): codex-rs/app-server/src/request_processors/plugins.rs:1955-1970 | codex-rs/core/src/mcp_skill_dependencies.rs:176-189 \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 \u0060codex-rs/app-server/src/request_processors/plugins.rs:1955\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":"codex-rs/app-server/src/request_processors/plugins.rs"},"region":{"startLine":1955}}}],"partialFingerprints":{"codehealthFindingId/v1":"68424061cb594db7e3d542de2d80383f1c69331d4d163a69f402e8b1b01869e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): codex-rs/network-proxy/src/state.rs:186-199 | codex-rs/network-proxy/src/state.rs:205-220 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/network-proxy/src/state.rs:186\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/state.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08cefeeac76c2253f35609e6f1bbe1d8274fbb246c50b54f59b13c917bb6b7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): codex-rs/app-server/src/bespoke_event_handling.rs:1731-1745 | codex-rs/app-server/src/bespoke_event_handling.rs:1747-1761 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/bespoke_event_handling.rs"},"region":{"startLine":1731}}}],"partialFingerprints":{"codehealthFindingId/v1":"00bcf996619849800a51b0768e6072d6fdc308720f2fe9ca42fff4595c6c2341"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): codex-rs/hooks/src/events/stop.rs:150-164 | codex-rs/hooks/src/events/stop.rs:184-198 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/hooks/src/events/stop.rs:150\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":"codex-rs/hooks/src/events/stop.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"249c1bf47870334f012cf31808fb6634a9359ebf30963eaa63193addf7641659"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/utils/sleep-inhibitor/src/linux_inhibitor.rs:108-121 | codex-rs/utils/sleep-inhibitor/src/linux_inhibitor.rs:150-156 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/utils/sleep-inhibitor/src/linux_inhibitor.rs:108\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/utils/sleep-inhibitor/src/linux_inhibitor.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bde317072dd6f911992ab622959b59a6a73a012a943bbe901e8ab5d7e458121"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): codex-rs/network-proxy/src/windows_tcp_attribution.rs:115-128 | codex-rs/network-proxy/src/windows_tcp_attribution.rs:241-254 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/network-proxy/src/windows_tcp_attribution.rs:115\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/windows_tcp_attribution.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc84ce0599f28763677143969bd84e639fa762aa049f2533a85e4b8e0b11f42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): codex-rs/core/src/client.rs:3170-3183 | codex-rs/core/src/client.rs:3193-3206 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/core/src/client.rs:3170\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":"codex-rs/core/src/client.rs"},"region":{"startLine":3170}}}],"partialFingerprints":{"codehealthFindingId/v1":"2342d7f97c35383c264ca15761b68e866f4928a67c88957d4554e278d23f4eb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): codex-rs/tui/src/chatwidget/status_surfaces.rs:124-137 | codex-rs/tui/src/chatwidget/status_surfaces.rs:145-158 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/tui/src/chatwidget/status_surfaces.rs:124\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":"codex-rs/tui/src/chatwidget/status_surfaces.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"c043269cbc817a4fb1537ce65216f0cbf31f6b701746dcaf9707271ded04b735"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): codex-rs/tui/src/history_cell/mcp.rs:815-827 | codex-rs/tui/src/history_cell/notices.rs:381-393 \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 \u0060codex-rs/tui/src/history_cell/mcp.rs:815\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":"codex-rs/tui/src/history_cell/mcp.rs"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2ba1dafdf9df5e0aa10a6af75fdc5d12e745dd7c3bac4ec0f5251161aaaad4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): codex-rs/core/src/client.rs:3177-3189 | codex-rs/core/src/client.rs:3200-3212 | codex-rs/core/src/client.rs:3233-3245 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/core/src/client.rs:3177\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":"codex-rs/core/src/client.rs"},"region":{"startLine":3177}}}],"partialFingerprints":{"codehealthFindingId/v1":"064028e44d1211e81c3d87f150970f32e9a3c9da5c9b0c739b9a61debad31803"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): codex-rs/thread-store/src/local/update_thread_metadata.rs:826-838 | codex-rs/thread-store/src/local/update_thread_metadata.rs:858-870 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/thread-store/src/local/update_thread_metadata.rs:826\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":"codex-rs/thread-store/src/local/update_thread_metadata.rs"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f045f9515b1b7b26f5bdd714c195c15a9538c2c0d68183c58ab9a7b4992a6a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): codex-rs/cli/src/marketplace_cmd.rs:240-252 | codex-rs/cli/src/plugin_cmd.rs:995-1007 \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 \u0060codex-rs/cli/src/marketplace_cmd.rs:240\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":"codex-rs/cli/src/marketplace_cmd.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"269b9b29c2a03c0df1cada1b64acd0db8caf5a4774bae29eb2f8265b72d770a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): codex-rs/config/src/config_requirements.rs:2303-2324 | codex-rs/config/src/config_requirements.rs:2333-2354 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/config/src/config_requirements.rs:2303\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/config/src/config_requirements.rs:2356\u0060 calls \u0060read_only\u0060 and \u0060codex-rs/config/src/config_requirements.rs:2326\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":"codex-rs/config/src/config_requirements.rs"},"region":{"startLine":2303}}}],"partialFingerprints":{"codehealthFindingId/v1":"53cb4b4ff1b6716204b87def5b9577e063ae4ad81d79714e6af2a9a8fc6730e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/core/src/mcp_tool_call.rs:2667-2678 | codex-rs/core/src/mcp_tool_call.rs:2745-2756 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/core/src/mcp_tool_call.rs:2667\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":"codex-rs/core/src/mcp_tool_call.rs"},"region":{"startLine":2667}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13e0ca2120c5a944b957cdd7806a4a001c91f7285c2c18a9e8bc2a2846c367e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/analytics/src/reducer.rs:1026-1037 | codex-rs/analytics/src/reducer.rs:1108-1119 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/analytics/src/reducer.rs"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea454ea5f3611fe8aa1c00654e7d4de614283edd4b810242f73e7bea121a63a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/tui/src/bottom_pane/mod.rs:2142-2153 | codex-rs/tui/src/bottom_pane/mod.rs:2243-2254 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/bottom_pane/mod.rs:2142\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060ToolRequestUserInputParams\u0060 in one and \u0060McpServerElicitationFormRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/mod.rs"},"region":{"startLine":2142}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd5376f613aaa452fa1b75074a6bbf3a8abc08a479e6887f2c7f212feaa47d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/state/src/runtime/threads.rs:1221-1232 | codex-rs/state/src/runtime/threads.rs:1244-1255 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/state/src/runtime/threads.rs:1221\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":"codex-rs/state/src/runtime/threads.rs"},"region":{"startLine":1221}}}],"partialFingerprints":{"codehealthFindingId/v1":"d181fa11fa09bf5d42c0931347842af9a035a7e72ea799573e381a968b1bd7b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): codex-rs/app-server/src/request_processors/catalog_processor.rs:339-349 | codex-rs/app-server/src/request_processors/catalog_processor.rs:459-469 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/app-server/src/request_processors/catalog_processor.rs:339\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":"codex-rs/app-server/src/request_processors/catalog_processor.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"58fe283438548dff9e3f9c1f5e9ed36ffd7e590950aac512d7a6f2302fcc9623"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/state/src/runtime.rs:194-204 | codex-rs/state/src/runtime.rs:213-220 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/state/src/runtime.rs:194\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/state/src/runtime.rs:222\u0060 calls \u0060Some\u0060, \u0060as_ref\u0060 and \u0060codex-rs/state/src/runtime.rs:206\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/state/src/runtime.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"12de067f42781eda0968ea8d61aaede47dba783aadc2ff80e1e3b3018af6642a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): codex-rs/app-server/src/request_processors/catalog_processor.rs:336-346 | codex-rs/app-server/src/request_processors/catalog_processor.rs:516-526 | codex-rs/app-server/src/request_processors/mcp_processor.rs:889-898 \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 \u0060codex-rs/app-server/src/request_processors/catalog_processor.rs:336\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":"codex-rs/app-server/src/request_processors/catalog_processor.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f78741bbdd50601989d3fc9bfc37d72274c7e0474d449d25e150044ff8f0843"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): codex-rs/core/src/session/handlers.rs:444-454 | codex-rs/core/src/session/handlers.rs:918-928 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/core/src/session/handlers.rs:444\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":"codex-rs/core/src/session/handlers.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31563ce76ca872220795071fdf3abcfa44fe887d4f8d3f876221bfbbe137e1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/core/src/tools/runtimes/mod.rs:594-602 | codex-rs/core/src/tools/runtimes/mod.rs:604-614 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/runtimes/mod.rs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2d761f650e48c8a05499b43068f6beb341498d17f686373c94dc010c4f5057"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): codex-rs/app-server/src/command_exec.rs:327-337 | codex-rs/app-server/src/request_processors/process_exec_processor.rs:374-384 \u2014 before extracting anything, compare \u0060codex-rs/app-server/src/command_exec.rs\u0060 and \u0060codex-rs/app-server/src/request_processors/process_exec_processor.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 140 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/app-server/src/command_exec.rs:327\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060params\u0060 to \u0060CommandExecWriteParams\u0060 in one and \u0060ProcessWriteStdinParams\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/command_exec.rs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef32023c87233ec6af1abd7db752e942a5cb2770114a0c98ce7f5c22b12ba95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): codex-rs/cloud-tasks-client/src/http.rs:511-521 | codex-rs/cloud-tasks-client/src/http.rs:530-540 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/cloud-tasks-client/src/http.rs:511\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":"codex-rs/cloud-tasks-client/src/http.rs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"169ae44f92754c43b87e64e3332e27c352a787aa28615e9acfd62cbc0b9c331f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): codex-rs/core-plugins/src/marketplace_upgrade/git.rs:317-323 | codex-rs/core-plugins/src/startup_sync.rs:738-744 | codex-rs/tui/src/app/history_ui.rs:476-486 \u2014 before extracting anything, compare \u0060codex-rs/core-plugins/src/marketplace_upgrade/git.rs\u0060 and \u0060codex-rs/core-plugins/src/startup_sync.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/core-plugins/src/marketplace_upgrade/git.rs:317\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":"codex-rs/core-plugins/src/marketplace_upgrade/git.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07eff77a4f2738462638546c3b0227ab13cc0779506a8bd69989059ed1c905b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): codex-rs/app-server/src/thread_state.rs:575-584 | codex-rs/app-server/src/thread_state.rs:625-634 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/app-server/src/thread_state.rs:575\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":"codex-rs/app-server/src/thread_state.rs"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2056cd9ce5750b83f3368619c951f75241ec5948e5b9f4aaa12be79e6d5b3c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/core-plugins/src/marketplace_upgrade/activation.rs:156-164 | codex-rs/core-plugins/src/startup_sync.rs:544-552 \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 \u0060codex-rs/core-plugins/src/marketplace_upgrade/activation.rs:156\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/marketplace_upgrade/activation.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2fce41799f8287c0cddf97dc8be0fa01aff8ae62870bd17f62367a1a0238198"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/tui/src/app/agents_overview_usage.rs:97-105 | codex-rs/tui/src/app/background_requests.rs:172-180 \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 \u0060codex-rs/tui/src/app/agents_overview_usage.rs:97\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060self\u0060 to \u0060super) fn refresh_agents_overview_usage( \u0026mut\u0060 in one and \u0060crate) fn refresh_rate_limits( \u0026mut\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060codex-rs/tui/src/app/agents_overview_usage.rs:95\u0060 calls \u0060new_v4\u0060, \u0060Some\u0060 and \u0060codex-rs/tui/src/app/background_requests.rs:171\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":"codex-rs/tui/src/app/agents_overview_usage.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"29acd7f141b16da33a293029e278143c501fb919a74b07afb5a2f43e00c1f649"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/tui/src/markdown_render/inline_directives.rs:63-71 | codex-rs/tui/src/markdown_render/math.rs:36-43 \u2014 before extracting anything, compare \u0060codex-rs/tui/src/markdown_render/inline_directives.rs\u0060 and \u0060codex-rs/tui/src/markdown_render/math.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 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 \u0060codex-rs/tui/src/markdown_render/inline_directives.rs:63\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":"codex-rs/tui/src/markdown_render/inline_directives.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e282f8e5f744f0d183ae726c10eda5988463c7858d897488478e6badd118354"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/core-plugins/src/marketplace.rs:716-724 | codex-rs/core-plugins/src/marketplace.rs:744-752 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/core-plugins/src/marketplace.rs"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed709a6b653fb701fb6dfd77e4dc77837d0e8700b33eec7e95ee59045c6b32e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/rollout/src/recorder.rs:1126-1132 | codex-rs/rollout/src/recorder.rs:1147-1155 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/rollout/src/recorder.rs:1126\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout/src/recorder.rs"},"region":{"startLine":1126}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aabc5e7bb90763ec043e0b976d03f1af79eaf6a2fca83389d33af4385dfbaee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/tui/src/history_cell/approvals.rs:197-205 | codex-rs/tui/src/history_cell/approvals.rs:225-233 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/history_cell/approvals.rs:197\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":"codex-rs/tui/src/history_cell/approvals.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9009c5776b7713dd965357b5c5c7fc8d78ca10f617371ddf3901d0ab1d8dce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): codex-rs/core/src/config/edit.rs:925-933 | codex-rs/core/src/config/edit.rs:937-945 | codex-rs/core/src/config/edit.rs:949-957 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/core/src/config/edit.rs:925\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":"codex-rs/core/src/config/edit.rs"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ba3cfed5f0dc63c3f6c3ec96613c604ebd97117487a678bc32b0f01706a807"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): codex-rs/hooks/src/events/permission_request.rs:252-260 | codex-rs/hooks/src/events/post_tool_use.rs:257-265 | codex-rs/hooks/src/events/pre_tool_use.rs:261-269 \u2014 before extracting anything, compare \u0060codex-rs/hooks/src/events/permission_request.rs\u0060 and \u0060codex-rs/hooks/src/events/post_tool_use.rs\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 \u0060codex-rs/hooks/src/events/permission_request.rs:252\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/hooks/src/events/pre_tool_use.rs:272\u0060 calls \u0060Some\u0060, \u0060clone\u0060 and \u0060codex-rs/hooks/src/events/permission_request.rs:262\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":"codex-rs/hooks/src/events/permission_request.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"139e7f593fcc0d96e3d0c137c9dc187c80e90aa1867984800de94ea0c7a23457"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): codex-rs/windows-sandbox-rs/src/desktop.rs:315-323 | codex-rs/windows-sandbox-rs/src/desktop.rs:364-372 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/windows-sandbox-rs/src/desktop.rs:315\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":"codex-rs/windows-sandbox-rs/src/desktop.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae517122f1b0bc134af6f68540834e1e811b23a1f02d8366c6ed429f502040d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/tui/src/oss_selection.rs:210-217 | codex-rs/tui/src/unarchive_prompt.rs:169-176 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/tui/src/oss_selection.rs:210\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":"codex-rs/tui/src/oss_selection.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"b682956bb984086055aef102a930bb3e52c6c3eb535b2df747d290112bd0f12d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/cloud-client/src/history.rs:123-130 | codex-rs/cloud-client/src/history.rs:151-158 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/cloud-client/src/history.rs:123\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060\u0026ListTurnsRequest\u0060 in one and \u0060\u0026ListItemsRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060codex-rs/cloud-client/src/history.rs:149\u0060 calls \u0060clone\u0060 and \u0060codex-rs/cloud-client/src/history.rs:121\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cloud-client/src/history.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a812325ba32fc3a8422e42fb50c0775558592cbec45f8a2d12222e88d342bde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/tui/src/bottom_pane/feedback_view.rs:71-78 | codex-rs/tui/src/bottom_pane/feedback_view.rs:91-98 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/bottom_pane/feedback_view.rs:71\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":"codex-rs/tui/src/bottom_pane/feedback_view.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f2730d0d0a5dec1e9fdfd98b201844eb0f620b4ef9b40123a6a1181d31c564"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/network-proxy/src/windows_tcp_attribution.rs:101-108 | codex-rs/network-proxy/src/windows_tcp_attribution.rs:227-234 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/network-proxy/src/windows_tcp_attribution.rs:101\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":"codex-rs/network-proxy/src/windows_tcp_attribution.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"7700618e4ef6f7cf49da55f9704ff6ccf1c76f2305afb4b6391f9fecb364c4ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/ollama/src/client.rs:133-140 | codex-rs/ollama/src/client.rs:159-166 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/ollama/src/client.rs:133\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":"codex-rs/ollama/src/client.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"a630b2d20ab2a96efd36f7592841bb283561aa0ef714a7082b033a7bada46e1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/tui/src/app/new_session.rs:121-128 | codex-rs/tui/src/app/resume_config.rs:71-78 \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":"codex-rs/tui/src/app/new_session.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd5159b85d9cea450681f7c9186a84e469e6f005a19c4be2ac499b14f4062be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): codex-rs/ext/guardian-v2/src/sync_reviewer/mod.rs:249-256 | codex-rs/ext/guardian-v2/src/sync_reviewer/mod.rs:260-267 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/ext/guardian-v2/src/sync_reviewer/mod.rs:249\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":"codex-rs/ext/guardian-v2/src/sync_reviewer/mod.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5fcd671c77ed27cbd6f4171c8f0dcda4dd987edcac8f787fce80291fe402d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/rmcp-client/src/rmcp_client.rs:849-855 | codex-rs/rmcp-client/src/rmcp_client.rs:887-893 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/rmcp-client/src/rmcp_client.rs:849\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":"codex-rs/rmcp-client/src/rmcp_client.rs"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16c4d34a1ace9bcf9252ac2f018cbfe5606df800497e789f5121ac8d0d03eba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/tui/src/bottom_pane/experimental_features_view.rs:452-463 | codex-rs/tui/src/bottom_pane/memories_settings_view.rs:457-468 \u2014 before extracting anything, compare \u0060codex-rs/tui/src/bottom_pane/experimental_features_view.rs\u0060 and \u0060codex-rs/tui/src/bottom_pane/memories_settings_view.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 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 \u0060codex-rs/tui/src/bottom_pane/experimental_features_view.rs:452\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":"codex-rs/tui/src/bottom_pane/experimental_features_view.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"693c1d7ccc4fb02d2abdd024152d2b89f54f756a1a9095380f43ce41557c7383"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/shell-command/src/parse_command.rs:2169-2175 | codex-rs/shell-command/src/parse_command.rs:2178-2184 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/shell-command/src/parse_command.rs"},"region":{"startLine":2169}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c777ab67e788041b076d885b655c2b3ebc3596650f8f216d6c643d579c54eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/core/src/config/edit.rs:115-121 | codex-rs/core/src/config/edit.rs:136-142 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/config/edit.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1b90bd89a3aef5e55cdc0e84aa6d3fd28eff8a1e15895aeed87b8c210bdff4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): codex-rs/shell-command/src/shell_snapshot_literals.rs:315-320 | codex-rs/shell-command/src/shell_snapshot_literals.rs:418-422 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/shell-command/src/shell_snapshot_literals.rs:315\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/shell-command/src/shell_snapshot_literals.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99fb155e8083030892b0382e3e6359a7c351115ac7d804b9e8551464c74a143"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codex-rs/hooks/src/engine/output_parser.rs:216-221 | codex-rs/hooks/src/engine/output_parser.rs:269-274 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/hooks/src/engine/output_parser.rs:216\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/hooks/src/engine/output_parser.rs:222\u0060 calls \u0060is_some\u0060, \u0060Some\u0060, \u0060to_string\u0060 and \u0060codex-rs/hooks/src/engine/output_parser.rs:275\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/hooks/src/engine/output_parser.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e544aaa2300b57ed17ec98fa995649abf7946cc673ae7852bf9d872b737794"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): codex-rs/network-proxy/src/http_proxy.rs:919-924 | codex-rs/network-proxy/src/socks5.rs:309-314 | codex-rs/network-proxy/src/socks5.rs:803-808 \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 \u0060codex-rs/network-proxy/src/http_proxy.rs:919\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/network-proxy/src/http_proxy.rs:926\u0060 calls \u0060method\u0060 and \u0060codex-rs/network-proxy/src/socks5.rs:316\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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9523d9d85a1085071c146a6b2cbedaef7db560b51b132dd550aed151f49ea0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codex-rs/config-schema/src/main.rs:28-33 | codex-rs/hooks/src/bin/write_hooks_schema_fixtures.rs:14-19 \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 \u0060codex-rs/config-schema/src/main.rs:28\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":"codex-rs/config-schema/src/main.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2284c1caae0ed4c18b9b3f692331c810d924472f799d94fa319f9c785b2321cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codex-rs/app-server-daemon/src/backend/pid.rs:493-498 | codex-rs/worktree/src/metadata.rs:33-38 \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 \u0060codex-rs/app-server-daemon/src/backend/pid.rs:493\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":"codex-rs/app-server-daemon/src/backend/pid.rs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d78fcc5191d7a4ebd9dc4e852ecc5ad4c147fe61ace9c41d91e245f6bb3c320"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codex-rs/hooks/src/events/compact.rs:133-138 | codex-rs/hooks/src/events/compact.rs:214-219 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/hooks/src/events/compact.rs:133\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060\u0026PreCompactRequest\u0060 in one and \u0060\u0026PostCompactRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/hooks/src/events/compact.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"568a5d27b82a9e70e903db537ffed4738faf1de104a354a89ff3d22bdf972793"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codex-rs/core/src/config/mod.rs:3563-3568 | codex-rs/core/src/config/mod.rs:3569-3574 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/core/src/config/mod.rs:3563\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":"codex-rs/core/src/config/mod.rs"},"region":{"startLine":3563}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9bcb6858010f21db812dd87e7512c266f4c13779a8b0f948ff139c0adf3aac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): codex-rs/ollama/src/pull.rs:65-70 | codex-rs/ollama/src/pull.rs:116-120 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/ollama/src/pull.rs:65\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ollama/src/pull.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5ea46d87b3e40bc030edd77d7a2a6d7c13af56fd2c23148e601157731578b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codex-rs/code-mode-runtime/src/runtime/module_loader.rs:170-175 | codex-rs/code-mode-runtime/src/runtime/module_loader.rs:181-186 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/code-mode-runtime/src/runtime/module_loader.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae8e0989fe68e1ee608edc1ec4fe3909ba4409f1ecd7193f7c934689abb9685"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): codex-rs/external-agent-migration/src/service.rs:623-627 | codex-rs/external-agent-migration/src/service.rs:679-683 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/external-agent-migration/src/service.rs:623\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":"codex-rs/external-agent-migration/src/service.rs"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e83db97dd8c816ca9b050b0a000cf25e525824c0dacd6786a8c42224712b60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): codex-rs/core-plugins/src/marketplace_upgrade/git.rs:37-41 | codex-rs/core-plugins/src/startup_sync.rs:626-630 \u2014 before extracting anything, compare \u0060codex-rs/core-plugins/src/marketplace_upgrade/git.rs\u0060 and \u0060codex-rs/core-plugins/src/startup_sync.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060codex-rs/core-plugins/src/marketplace_upgrade/git.rs:37\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/core-plugins/src/marketplace_upgrade/git.rs:45\u0060 calls \u0060trim\u0060 and \u0060codex-rs/core-plugins/src/startup_sync.rs:634\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":"codex-rs/core-plugins/src/marketplace_upgrade/git.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf1efaf62d327f5345385749bcedf815c453314c3c08cd4c9a294adaf41f9dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): codex-rs/cloud-tasks/src/ui.rs:901-905 | codex-rs/cloud-tasks/src/ui.rs:1010-1014 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/cloud-tasks/src/ui.rs"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb4befb4e0ec461509e436928219abd25575533c65700218556500bc8c4dcb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): codex-rs/hooks/src/events/session_start.rs:161-165 | codex-rs/hooks/src/events/stop.rs:142-146 \u2014 before extracting anything, compare \u0060codex-rs/hooks/src/events/session_start.rs\u0060 and \u0060codex-rs/hooks/src/events/stop.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 52 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060SessionStartRequest\u0060 in one and \u0060StopRequest\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/hooks/src/events/session_start.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"9987f4a3c394c5a1794dce8f4d1a2f3a974e97812bac6b6e6aaa9d77b29e49d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): codex-rs/linux-sandbox/src/linux_run_main.rs:919-923 | codex-rs/linux-sandbox/src/linux_run_main.rs:954-958 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/linux-sandbox/src/linux_run_main.rs:919\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":"codex-rs/linux-sandbox/src/linux_run_main.rs"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcdebcda5af3b8a7d2c6ea62222dfcf8850a85bfe681d67abfb37ff5c112391b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): codex-rs/app-server-protocol/src/export.rs:1805-1809 | codex-rs/app-server-protocol/src/export.rs:1811-1815 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/app-server-protocol/src/export.rs"},"region":{"startLine":1805}}}],"partialFingerprints":{"codehealthFindingId/v1":"d427a3598d42baf339a3a9c4f3cd9bcd4ae1043a34a07981f1a37ba83ebc5bca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): codex-rs/cloud-tasks/src/env_detect.rs:296-300 | codex-rs/cloud-tasks/src/env_detect.rs:312-316 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/cloud-tasks/src/env_detect.rs:296\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cloud-tasks/src/env_detect.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c7fa7eadeedd2ff3442283698d5f4c6ab10e93586381333abc0a9698eecb21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): codex-rs/state/src/runtime/thread_attachments.rs:231-235 | codex-rs/state/src/runtime/thread_attachments.rs:297-301 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/state/src/runtime/thread_attachments.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5482727a502e5a43a764757b3068c7969a018bc7360b1c30b57888deb7cd82c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/cloud-tasks-client/src/http.rs:657-663 | codex-rs/cloud-tasks/src/lib.rs:367-373 \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 \u0060codex-rs/cloud-tasks-client/src/http.rs:657\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":"codex-rs/cloud-tasks-client/src/http.rs"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f3f7cd1a8d5baad15996b088d9eaa7411c1aa5c0757f3efa93bc6af35e67580"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codex-rs/code-mode-runtime/src/ui/engine.rs:118-123 | codex-rs/code-mode-runtime/src/ui/engine.rs:181-186 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/code-mode-runtime/src/ui/engine.rs:118\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/code-mode-runtime/src/ui/engine.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"913c28fd4b0bc243c0ef3d072eb467a110788ac774c4e97f55e23ddc5251f5c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): codex-rs/exec/src/lib.rs:1966-1971 | codex-rs/tui/src/worktree_startup.rs:98-103 \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 \u0060codex-rs/exec/src/lib.rs:1966\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060path\u0060 to \u0060\u0026Path\u0060 in one and \u0060Option\u003CPathBuf\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec/src/lib.rs"},"region":{"startLine":1966}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc27a375a0f346f9700d20e005535e0df5125657e3cc7ee10067424ce84cc60e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): codex-rs/otel/src/otlp.rs:123-127 | codex-rs/otel/src/otlp.rs:171-175 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/otel/src/otlp.rs:123\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":"codex-rs/otel/src/otlp.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"9038c5fab17fab7bb4aec4034fcc954dbcb59fb6854d4112f91958e6fac322a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): codex-rs/tui/src/keymap.rs:2743-2747 | codex-rs/tui/src/keymap.rs:2778-2782 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/tui/src/keymap.rs:2743\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":"codex-rs/tui/src/keymap.rs"},"region":{"startLine":2743}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5bd1a0e47025a94ac660c3f9f7809788fad56a65da75705d82571b4fecac3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): codex-rs/utils/pty/src/pipe.rs:246-250 | codex-rs/utils/pty/src/pty.rs:427-431 \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":"codex-rs/utils/pty/src/pipe.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"9394b60607a6e69021b6e41572adacc32860e9a97a935d9068b8052fe85b61f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): codex-rs/utils/pty/src/process.rs:444-448 | codex-rs/utils/pty/src/pty.rs:270-274 \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":"codex-rs/utils/pty/src/process.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"e506878045ea0f9dc51b9605c0d85f89d30c865f30c0029431e7f70221dc2776"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): sdk/python/src/openai_codex/_run.py:73-99 | sdk/python/src/openai_codex/_run.py:110-135 \u2014 both copies are in the same file, so extract the block 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":"sdk/python/src/openai_codex/_run.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f358222f99ca00b5ed2fae4369c199397f28a59dfe3a4111b895ce7bf92ae7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): scripts/mcp_conformance/review_regressions.py:1202-1221 | scripts/mcp_conformance/run_codex_compliance.py:2129-2149 \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 \u0060scripts/mcp_conformance/run_codex_compliance.py:2129\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mcp_conformance/review_regressions.py"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2a26ede7b1ec453b857a9fd068e617be5b2093e8bbd4a3e4fe87cf14d11e47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): scripts/mcp_conformance/server.py:803-823 | scripts/mcp_conformance/server.py:952-972 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060scripts/mcp_conformance/server.py:803\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mcp_conformance/server.py"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9fa0df48d391dfaa9b8a175bdedd62e467e5ddce2595dd163497b13062705a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): sdk/python/src/openai_codex/api.py:154-171 | sdk/python/src/openai_codex/api.py:413-430 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060sdk/python/src/openai_codex/api.py:412\u0060 calls \u0060_ensure_initialized\u0060 and \u0060sdk/python/src/openai_codex/api.py:152\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":"sdk/python/src/openai_codex/api.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"21218c5b83fa21caaac2402a263a8b1896de8bff0674536a6fb797d045168b5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): sdk/python/src/openai_codex/api.py:643-660 | sdk/python/src/openai_codex/api.py:750-767 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060sdk/python/src/openai_codex/api.py:749\u0060 calls \u0060_ensure_initialized\u0060 and \u0060sdk/python/src/openai_codex/api.py:642\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":"sdk/python/src/openai_codex/api.py"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dccab887b4f9d6454b08a429792387ef1f252fea68aac513b410d48c6a9871f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): scripts/mcp_conformance/review_regressions.py:1223-1239 | scripts/mcp_conformance/run_codex_compliance.py:2151-2167 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mcp_conformance/review_regressions.py"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fdab1cb650daa9859541dd852588c2fb3627c0b6b9f6eb27854d8394939bae8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): scripts/mcp_conformance/run_codex_compliance.py:254-270 | scripts/mcp_conformance/run_codex_compliance.py:292-308 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060scripts/mcp_conformance/run_codex_compliance.py:271\u0060 calls \u0060get\u0060 and \u0060scripts/mcp_conformance/run_codex_compliance.py:309\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":"scripts/mcp_conformance/run_codex_compliance.py"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"541c9059f8dd417444aaf5f528f81e70e07394f42c920bfdae02e3dfea3daeee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): sdk/python/src/openai_codex/api.py:268-284 | sdk/python/src/openai_codex/api.py:530-546 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060sdk/python/src/openai_codex/api.py:529\u0060 calls \u0060_ensure_initialized\u0060 and \u0060sdk/python/src/openai_codex/api.py:266\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":"sdk/python/src/openai_codex/api.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d2516f932e1b6404de7aeafe21bf443e8031551b36e2077d57eab141dc9169"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): sdk/python/src/openai_codex/api.py:227-242 | sdk/python/src/openai_codex/api.py:488-503 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060sdk/python/src/openai_codex/api.py:487\u0060 calls \u0060_ensure_initialized\u0060 and \u0060sdk/python/src/openai_codex/api.py:225\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":"sdk/python/src/openai_codex/api.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"37433fdd48d13e3cae6fe32a1a765aa6e4d5685e85a78a23e9b304f02437fb8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): scripts/mcp_conformance/server.py:800-814 | scripts/mcp_conformance/server.py:901-915 | scripts/mcp_conformance/server.py:949-963 \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. 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":"scripts/mcp_conformance/server.py"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"7298fa62695b55df1acce8fe9ef28ecdb6513012f00350aac46a083ff2ea794a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): scripts/mcp_conformance/run_codex_compliance.py:1556-1566 | scripts/mcp_conformance/run_codex_compliance.py:1616-1627 \u2014 both copies are in the same file, so extract the block 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":"scripts/mcp_conformance/run_codex_compliance.py"},"region":{"startLine":1556}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5617aceb1289bdc518e35833bf04180a46104cba7bf500ea13fbb15a836caf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): scripts/mcp_conformance/review_regressions.py:887-895 | scripts/mcp_conformance/review_regressions.py:941-949 | scripts/mcp_conformance/run_codex_compliance.py:1595-1603 \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. 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":"scripts/mcp_conformance/review_regressions.py"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ba7f5fddc75d4e2470cbddc9792f259c31a3e2840f2df2487574c4fe4d7295"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): .github/scripts/verify_cargo_workspace_manifests.py:282-289 | .github/scripts/verify_tui_core_boundary.py:64-71 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/verify_cargo_workspace_manifests.py"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e64301d55e576dde41b21ed9c2d2206a8ebbaec9eb7098c0c7cb1185175164"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): scripts/mcp_conformance/review_regressions.py:1082-1086 | scripts/mcp_conformance/run_codex_compliance.py:1768-1772 \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":"scripts/mcp_conformance/review_regressions.py"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8c78e6c9335118872b17feac31a6ccdc4b0114f7d40c58b7fa74bc2f412e62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): scripts/mcp_conformance/review_regressions.py:1114-1118 | scripts/mcp_conformance/run_codex_compliance.py:1730-1734 \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":"scripts/mcp_conformance/review_regressions.py"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8a0e7520c645f4d283c86e847cacedcbb1a956d7305a0558ea81336d36457e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): codex-rs/core/src/tools/handlers/test_sync.rs:141-196 | codex-rs/rmcp-client/src/bin/test_stdio_server.rs:1069-1129 \u2014 These two members are one piece of code written twice and then edited apart: 56 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/handlers/test_sync.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19b22c3715cc97668fc5b36c5c23d6c6f473d365bd552f888892a1e90bcb898"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): codex-rs/app-server-test-client/src/plugin_analytics_capture.rs:12-43 | codex-rs/app-server-test-client/src/plugin_analytics_smoke.rs:380-406 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-test-client/src/plugin_analytics_capture.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca97c61ed99b0b36e91b94b573e67898ef18d3cb15669a8c217b77a5f73a6b00"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): codex-rs/rmcp-client/src/bin/rmcp_test_server.rs:103-135 | codex-rs/rmcp-client/src/bin/test_streamable_http_server.rs:328-359 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/bin/rmcp_test_server.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"d115548d4af0796832fe51f9e51e777cd440bec90132229fb2be6fb7e1a32b5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 28\u002B corresponding lines): codex-rs/rmcp-client/src/bin/test_stdio_server.rs:228-265 | codex-rs/rmcp-client/src/bin/test_stdio_server.rs:267-294 | codex-rs/rmcp-client/src/bin/test_streamable_http_server.rs:374-411 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 28 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":"codex-rs/rmcp-client/src/bin/test_stdio_server.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9490db2fe59b1f7ed94d9825604ab6df8d1b19f55aab467f63d6ee6e9ebccc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): codex-rs/app-server-test-client/src/lib.rs:802-831 | codex-rs/app-server-test-client/src/lib.rs:943-979 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-test-client/src/lib.rs"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa77911b7c879c5d043bb640ac61ae63cbd4b7713cc36a89a23c987b1afe2bb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): codex-rs/app-server-test-client/src/plugin_analytics_capture.rs:55-73 | codex-rs/app-server-test-client/src/plugin_analytics_smoke.rs:408-429 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-test-client/src/plugin_analytics_capture.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ba28671b824001bb06acafb8a582df136a308b7dc5f993c893bf510e3e28ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): codex-rs/rmcp-client/src/bin/test_stdio_server.rs:296-312 | codex-rs/rmcp-client/src/bin/test_stdio_server.rs:364-380 \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":"codex-rs/rmcp-client/src/bin/test_stdio_server.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8285e862f64488d02f07a86e49bab47c44dbedc20fb9ad5b02200186f5bd76"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): codex-rs/rmcp-client/src/bin/test_streamable_http_server.rs:444-457 | codex-rs/rmcp-client/src/bin/test_streamable_http_server.rs:463-476 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/bin/test_streamable_http_server.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"452f9801cc1e97bfbd4e06f488cc3fb49e9505516779dd950cb9eb6413bdab66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): sdk/python/examples/11_cli_mini_app/async.py:24-30 | sdk/python/examples/11_cli_mini_app/sync.py:24-30 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdk/python/examples/11_cli_mini_app/async.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d7e7cad3759c55458b41a5a27757de9855b3639709c02946cb5e3134d82406"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): codex-rs/app-server-test-client/src/lib.rs:1220-1232 | codex-rs/app-server-test-client/src/lib.rs:1234-1246 \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":"codex-rs/app-server-test-client/src/lib.rs"},"region":{"startLine":1220}}}],"partialFingerprints":{"codehealthFindingId/v1":"1645677a3f0161e1bbce79f3be3e7951608abe7f25941972e100e9e3fb8aea6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): codex-rs/app-server-test-client/src/lib.rs:870-889 | codex-rs/app-server-test-client/src/lib.rs:896-915 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-test-client/src/lib.rs"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5dde4c45e5fd1e1dc99e787c020de31a65758bc15c2ea57b0b7b696204046ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): codex-rs/app-server-test-client/src/lib.rs:837-852 | codex-rs/app-server-test-client/src/lib.rs:1151-1162 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-test-client/src/lib.rs"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eca18b364ef69f1d431b9e1f2b57e5b7cc3630b73501915c9e0f1bdda479ae3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): codex-rs/rmcp-client/src/bin/rmcp_test_server.rs:94-97 | codex-rs/rmcp-client/src/bin/test_streamable_http_server.rs:277-280 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/bin/rmcp_test_server.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"67516b1f5c456a79dff22ee8280018344fd46a4b7fd1db87585f958e9877a349"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): codex-rs/rmcp-client/src/bin/test_stdio_server.rs:682-685 | codex-rs/rmcp-client/src/bin/test_streamable_http_server.rs:286-289 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/bin/test_stdio_server.rs"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae3e85afe5524202d5c7ece2653b4a2176805d93c1fe61e023c2b98af94885d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201333 lines \u00D7 2): codex-rs/rmcp-client/src/bin/rmcp_test_server.rs:38-70 | codex-rs/rmcp-client/src/bin/test_streamable_http_server.rs:377-408 \u2014 before extracting anything, compare \u0060codex-rs/rmcp-client/src/bin/rmcp_test_server.rs\u0060 and \u0060codex-rs/rmcp-client/src/bin/test_streamable_http_server.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 82 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 \u0060codex-rs/rmcp-client/src/bin/rmcp_test_server.rs:38\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/rmcp-client/src/bin/test_streamable_http_server.rs:408\u0060 calls \u0060Some\u0060, \u0060read_only\u0060 and \u0060codex-rs/rmcp-client/src/bin/rmcp_test_server.rs:70\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":"codex-rs/rmcp-client/src/bin/rmcp_test_server.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d4d816f9ade0588220f01ffbec18d9eda88a502307eb80ade41228b6730cc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201325 lines \u00D7 2): codex-rs/app-server-test-client/src/plugin_analytics_capture.rs:13-37 | codex-rs/app-server-test-client/src/plugin_analytics_smoke.rs:381-402 \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 \u0060codex-rs/app-server-test-client/src/plugin_analytics_capture.rs:13\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-test-client/src/plugin_analytics_capture.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf9f72c8520e3d037275236c4455061eac741fcbdc6e38b835a7a59af85bf21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): codex-rs/rmcp-client/src/bin/test_stdio_server.rs:710-726 | codex-rs/rmcp-client/src/bin/test_streamable_http_server.rs:306-322 \u2014 before extracting anything, compare \u0060codex-rs/rmcp-client/src/bin/test_stdio_server.rs\u0060 and \u0060codex-rs/rmcp-client/src/bin/test_streamable_http_server.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 50 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 \u0060codex-rs/rmcp-client/src/bin/test_stdio_server.rs:710\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":"codex-rs/rmcp-client/src/bin/test_stdio_server.rs"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"8394af47af705d37f69a09c2595be3c08e00a1de758956332ff3e2ad5e3482a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): codex-rs/rmcp-client/src/bin/rmcp_test_server.rs:104-119 | codex-rs/rmcp-client/src/bin/test_streamable_http_server.rs:329-344 \u2014 before extracting anything, compare \u0060codex-rs/rmcp-client/src/bin/rmcp_test_server.rs\u0060 and \u0060codex-rs/rmcp-client/src/bin/test_streamable_http_server.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 82 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 \u0060codex-rs/rmcp-client/src/bin/rmcp_test_server.rs:104\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":"codex-rs/rmcp-client/src/bin/rmcp_test_server.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14ca44979708f46706c1213d262d10130162f789de0784ac467889e133b547d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): codex-rs/rmcp-client/src/bin/rmcp_test_server.rs:36-48 | codex-rs/rmcp-client/src/bin/test_stdio_server.rs:229-241 | codex-rs/rmcp-client/src/bin/test_streamable_http_server.rs:375-387 \u2014 before extracting anything, compare \u0060codex-rs/rmcp-client/src/bin/rmcp_test_server.rs\u0060 and \u0060codex-rs/rmcp-client/src/bin/test_stdio_server.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060codex-rs/rmcp-client/src/bin/rmcp_test_server.rs:36\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":"codex-rs/rmcp-client/src/bin/rmcp_test_server.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"262c1c04468066686896b98bfd658fe81014b5a9de2d194af215a5a17dcd734a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): codex-rs/rmcp-client/src/bin/rmcp_test_server.rs:51-63 | codex-rs/rmcp-client/src/bin/test_stdio_server.rs:244-255 | codex-rs/rmcp-client/src/bin/test_streamable_http_server.rs:390-402 \u2014 before extracting anything, compare \u0060codex-rs/rmcp-client/src/bin/rmcp_test_server.rs\u0060 and \u0060codex-rs/rmcp-client/src/bin/test_stdio_server.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060codex-rs/rmcp-client/src/bin/rmcp_test_server.rs:51\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note 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":"codex-rs/rmcp-client/src/bin/rmcp_test_server.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"443f1167fc73d6d8c6699063d9798560e79adbf6c7b2ad450c5e0e5e9652744a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/app-server-test-client/src/lib.rs:1535-1546 | codex-rs/app-server-test-client/src/lib.rs:1572-1583 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/app-server-test-client/src/lib.rs:1535\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":"codex-rs/app-server-test-client/src/lib.rs"},"region":{"startLine":1535}}}],"partialFingerprints":{"codehealthFindingId/v1":"798249bffedaabd9034780cb207f4af89fc083eb57ab71f106b44c39ba69c357"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/app-server-test-client/src/lib.rs:574-585 | codex-rs/app-server-test-client/src/lib.rs:1496-1507 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/app-server-test-client/src/lib.rs"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"1511a673f919dfbb2092630d212aa9af70fcbdf5d87a5d67a7e74500f54247cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): codex-rs/app-server-test-client/src/lib.rs:998-1008 | codex-rs/app-server-test-client/src/lib.rs:1012-1022 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-test-client/src/lib.rs"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"9960155a5efc15a8db6f2bb3389d4298b2a614b186bb6e5649933983fc54b085"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): codex-rs/app-server-test-client/src/lib.rs:672-679 | codex-rs/app-server-test-client/src/lib.rs:705-711 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060codex-rs/app-server-test-client/src/lib.rs:681\u0060 calls \u0060is_empty\u0060, \u0060Ok\u0060 and \u0060codex-rs/app-server-test-client/src/lib.rs:712\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":"codex-rs/app-server-test-client/src/lib.rs"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"4360d41dd5c962cb86ac4762ab34cf4ff75c3d05bc307fd05ec5b454ae089c66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): codex-rs/rmcp-client/src/bin/rmcp_test_server.rs:106-112 | codex-rs/rmcp-client/src/bin/test_stdio_server.rs:846-852 | codex-rs/rmcp-client/src/bin/test_streamable_http_server.rs:331-337 \u2014 before extracting anything, compare \u0060codex-rs/rmcp-client/src/bin/rmcp_test_server.rs\u0060 and \u0060codex-rs/rmcp-client/src/bin/test_stdio_server.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060codex-rs/rmcp-client/src/bin/rmcp_test_server.rs:106\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":"codex-rs/rmcp-client/src/bin/rmcp_test_server.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e65fdabf832586b778e19080162614117ea96bb820ef901f125b078b36d6687"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/app-server-test-client/src/plugin_analytics_capture.rs:97-103 | codex-rs/app-server-test-client/src/plugin_analytics_smoke.rs:472-478 \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":"codex-rs/app-server-test-client/src/plugin_analytics_capture.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99f6d1995b59b3c5ef474673ff096046282f8784b03c8c5ec2be4f1e9d63986"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): codex-rs/app-server-test-client/src/lib.rs:874-889 | codex-rs/app-server-test-client/src/lib.rs:900-915 \u2014 both copies are in the same file, so extract the block 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 \u0060codex-rs/app-server-test-client/src/lib.rs:874\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":"codex-rs/app-server-test-client/src/lib.rs"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"704feafe0e27dbb31a041bf142b69fae63022f8b9656798d8d9b7d87ad96679b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 2): sdk/python/examples/07_image_and_text/async.py:20-33 | sdk/python/examples/08_local_image_and_text/async.py:23-39 \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":"sdk/python/examples/07_image_and_text/async.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6235f6968a69dc34ff286666e7eda22428de2ba380e53de6aa3d57322390622"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): sdk/python/examples/14_turn_controls/async.py:25-38 | sdk/python/examples/14_turn_controls/async.py:45-58 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"sdk/python/examples/14_turn_controls/async.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"43630801a28631ce7a75fcd6660a7fa38b417ce8ae206d06012c0b00ce7959be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201312 lines \u00D7 2): codex-rs/skills/src/assets/samples/imagegen/scripts/image_gen.py:603-614 | codex-rs/skills/src/assets/samples/imagegen/scripts/image_gen.py:662-668 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/skills/src/assets/samples/imagegen/scripts/image_gen.py"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a4650a502fd9567d73115e40c920a3ada9b3b5636ca2e27e77aacd195d16901"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): codex-rs/skills/src/assets/samples/imagegen/scripts/image_gen.py:779-790 | codex-rs/skills/src/assets/samples/imagegen/scripts/image_gen.py:861-871 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/skills/src/assets/samples/imagegen/scripts/image_gen.py"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5209ba06e896a67d330b1f3ebaa1803db0e17663261fedc21b26a8740d23182"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): codex-rs/skills/src/assets/samples/imagegen/scripts/remove_chroma_key.py:112-123 | codex-rs/skills/src/assets/samples/imagegen/scripts/remove_chroma_key.py:143-154 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/skills/src/assets/samples/imagegen/scripts/remove_chroma_key.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"c207654e98ce9f197827451b37ab2017b653f60824d4f1ec2f8ed5866f129ec2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sdk/python/examples/13_model_select_and_turn_params/async.py:36-44 | sdk/python/examples/13_model_select_and_turn_params/sync.py:34-42 \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":"sdk/python/examples/13_model_select_and_turn_params/async.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2158a858d856dd581ebfac16ba72b0821f1dce32e48a1fd0cc5d03d45b6057c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): codex-rs/skills/src/assets/samples/imagegen/scripts/image_gen.py:317-323 | codex-rs/skills/src/assets/samples/imagegen/scripts/image_gen.py:385-391 \u2014 both copies are in the same file, so extract the block 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":"codex-rs/skills/src/assets/samples/imagegen/scripts/image_gen.py"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b0c64c21f9a4e228e5f1f81816bf263ea76c91c98a6d8c23073a0201a45cb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sdk/python/examples/11_cli_mini_app/async.py:24-28 | sdk/python/examples/11_cli_mini_app/sync.py:24-28 \u2014 before extracting anything, compare \u0060sdk/python/examples/11_cli_mini_app/async.py\u0060 and \u0060sdk/python/examples/11_cli_mini_app/sync.py\u0060 as WHOLE FILES: 86% 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sdk/python/examples/11_cli_mini_app/async.py:24\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdk/python/examples/11_cli_mini_app/async.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9ec33104101283bab891c1e1c99d9545dc08eb4e3051e76a971175c66bca25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sdk/python/examples/13_model_select_and_turn_params/async.py:48-55 | sdk/python/examples/13_model_select_and_turn_params/sync.py:46-53 \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":"sdk/python/examples/13_model_select_and_turn_params/async.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"7972abd9d16fdd46e989ee30015081072ce92c582e9ad2d9c5f8163245b4a71a"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project codex-agent-message-board-extension: codex-agent-message-board-extension has instability 0.91 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b85733709a11bbfb3bb4555533f3db7ed005de5009bca7c38eb489422e731e1b"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project codex-agent-message-board-host: codex-agent-message-board-host has instability 0.90 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7c7083ad385ef91a9a3585e585679b80258c5c0bb912d98983fc84acb371af94"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project codex-app-server: codex-app-server has instability 0.96 with 3 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d733520b1998c469e8ddac3b57e25ca808effe84aabbe7d1dbc770f81030f6fc"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project codex-app-server-client: codex-app-server-client has instability 0.88 with 2 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"cda141b6c276eac16b6ace2f69f653f18f5842f82f60c69d15acbc72b61c84bc"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project codex-app-server-transport: codex-app-server-transport has instability 0.83 with 3 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"63b1da18e9353ff3b31f9b3bfa7a7d810423bf0a7d7d9b964a39dbb4d30823e5"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project codex-chatgpt: codex-chatgpt has instability 0.83 with 2 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"104a4dd663c3cce7b9acedfa519a4627e45e232866a9a8b594352d12660e1036"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project codex-cloud-tasks: codex-cloud-tasks has instability 0.92 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ad5e3e2cbbc9b9aec21b00332198d4fec47fc757c875d6151f2f5d333162fca5"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project codex-code-mode-runtime: codex-code-mode-runtime has instability 0.86 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"de54c1ab44c2ef26fe2ae577641c6f38480eb073e808da6fc5293e2742e75bca"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project codex-connectors-extension: codex-connectors-extension has instability 0.83 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"02824133e664b67107f8586f1d4a8fe9e26c4bdc5ebcfe523b5af044332bec4f"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project codex-exec: codex-exec has instability 0.96 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"07115df0c50c419a56167185c41f8b7924306abc1f60441e98c22dde4059ac23"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project codex-exec-server-cli: codex-exec-server-cli has instability 0.94 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"002b0d9c7d26525331b954bf7bd44e881d194605bf813ccc28b553d35d5a711f"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project codex-external-agent-migration: codex-external-agent-migration has instability 0.93 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8adc4cc804b7133b46d7c282164bb7e64731c4d04fd8c75235bac5608d8c8b94"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project codex-goal-extension: codex-goal-extension has instability 0.91 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4a16b29d29809711f83f4501f8c9a42524b21605cb92b36711553d3fad15e78f"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project codex-guardian-reviewer: codex-guardian-reviewer has instability 0.85 with 3 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5b716417244e4271d288e9a7d68d30d10eb61c78d0cd8c1c21d87ff63b45607f"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project codex-guardian-v2: codex-guardian-v2 has instability 0.95 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e5aec7014697b7702b308947a84ad87af1e2992a57a8c701aaee72005e052206"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project codex-guardian-v3: codex-guardian-v3 has instability 0.91 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4a0dde27830f83d25278ff705ca0b66dd7d2793fe642179c852189b47e756c06"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project codex-history-notes-extension: codex-history-notes-extension has instability 0.91 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"97a3d9730d0669391f82e40016aa333d4a4aa61ef0cbc2c1aff7f9eb6bf8ad5b"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project codex-image-generation-extension: codex-image-generation-extension has instability 0.88 with 2 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"483b5091ed92f4779b8f4d0ba99883be57f2f68fd1c587de2cbe927930dd9d3f"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project codex-mcp-extension: codex-mcp-extension has instability 0.93 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d11f6687fa6ce5f262128cb3406788f89f3ae49b6780401931085ea9dfbe60a3"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project codex-memories-extension: codex-memories-extension has instability 0.90 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a40b25ce9aebc174b8adae4f8cd872a9244c7f84d2428b34ff7fa848331621a3"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project codex-memories-write: codex-memories-write has instability 0.85 with 3 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"855e9d2ab4d187eaaf9fe409e46010c6503839f7f4748ea453ecaf557753461a"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project codex-message-board-mcp: codex-message-board-mcp has instability 0.88 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c518eed6dc39237156942ebf39a7e6653b290a53a24b21970f320de03c417b4d"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project codex-skills-extension: codex-skills-extension has instability 0.81 with 3 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f006b0c95d8e05ab96de5fbedb396431e099879848a3724aa76701fac8df9176"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project codex-tui: codex-tui has instability 0.96 with 2 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"32e92d8c1732f393458eed81077cdbd6a9c88454db5e3fd09d358127e6dc6c64"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project codex-web-search-extension: codex-web-search-extension has instability 0.92 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"597722061f19be5a018e5b01459d8e9e5d4a693dd94d1f2628df50ec544706d6"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-backend-openapi-models: codex-backend-openapi-models: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a01380ee0ab425fd016942404b8c2932552ce3e1f13467cc5280ac67fc70ef8c"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-diagnostics: codex-diagnostics: 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":"99431a30c72a986ff39bc881f540ad78884538e92e87ed3bf13cedf7911ac702"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-file-watcher: codex-file-watcher: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1b33aea38de275c0232dfab600551ac354062c750628ecae7d19adb86ff9d524"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-mermaid: codex-mermaid: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"982e68cb614abb5e7414e9f958f388f38a50013c3357158bdc2cf8ebebc79460"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-otel-trace-websocket: codex-otel-trace-websocket: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"68fff4477eb2beea5bf3642d38f5fda775a9d49f343efabff48234d8374766b5"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-tcp-tunnel: codex-tcp-tunnel: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dc872ee12905e70ad561e0bfb339b34704de1d30b620fc8b77986df5c05b44da"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-uds: codex-uds: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 8 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d73cbdb32f88c312981ced12c5228fb0703e52877969d261994263beae0cf61c"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-utils-cache: codex-utils-cache: 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":"737d5aa3fad79c1bc52550a6619860da2d7e51ffaca4ffaf0798c3e88618f413"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-utils-critical-path: codex-utils-critical-path: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"60537cad16d73d48de76aa69e1f90ebbae97c7d93a4e8a65203ab88ab3ab019b"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-utils-head-tail-buffer: codex-utils-head-tail-buffer: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"252cb9f70116e9964983ef577ecc358c89992f8fd8e44cf6d1cde1011a5f7626"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-utils-redacted-string: codex-utils-redacted-string: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 8 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"79ee50681a2008c5fcb9192094ddeca740bb3c93ec479356a7abe97e537725b3"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-utils-sleep-inhibitor: codex-utils-sleep-inhibitor: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"72f65922934b854833081c809371cd09edb83862a426db914c56b4e91a8eaf12"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-utils-string: codex-utils-string: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 15 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b59ee9007fa38ca832fbbdb3eeb9c0f8cd9cf13c063721d4816d25b73339c418"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-utils-template: codex-utils-template: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2735076f1e0171f706faf5898c782861f53f355eb3af002709c9def3adfaa2c7"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-utils-path-uri: codex-utils-path-uri: abstractness 0.00, instability 0.03, distance 0.97 \u2014 zone of pain \u2014 concrete and depended on by 35 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bac5d39bbe393d0e29a61f3c3387f524a380ef0defb15967f3a888ba068de6c6"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-utils-stream-parser: codex-utils-stream-parser: abstractness 0.08, instability 0.00, distance 0.92 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"13f41697dea898661e30694a41aeeead4cce84aa5b17ae03d9f6bbddeebc3384"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-user-verification: codex-user-verification: abstractness 0.08, instability 0.00, distance 0.92 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c682b053c210eeba8480a7968790cfb43a75f1646f08d237b82b612e7db37082"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-http-client: codex-http-client: abstractness 0.08, instability 0.02, distance 0.90 \u2014 zone of pain \u2014 concrete and depended on by 47 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d447b862eb0cb61f16a06f2a49ccfbc42afb5b6bd480c75a404b030c071838ac"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-utils-pty: codex-utils-pty: abstractness 0.11, instability 0.00, distance 0.89 \u2014 zone of pain \u2014 concrete and depended on by 12 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9d06e3260b4d40b2ce10061635c5500bcdcb36161f25f4bea03301f4ab1a29c5"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-extension-items: codex-extension-items: abstractness 0.00, instability 0.11, distance 0.89 \u2014 zone of pain \u2014 concrete and depended on by 8 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5a069ed641545eb287b324376cfb27040a4f32e68394cbaee73bdb00fb980d26"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-utils-path: codex-utils-path: abstractness 0.00, instability 0.11, distance 0.89 \u2014 zone of pain \u2014 concrete and depended on by 8 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8182d769ec02a2aed2602c8be4cb41f539ae79879b9736ba57ea597ba06e358b"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-protocol: codex-protocol: abstractness 0.00, instability 0.12, distance 0.88 \u2014 zone of pain \u2014 concrete and depended on by 80 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"caf32a9fa505234c78c17f09cbab688a46e34dc456401dcbcdf2f9f5a67d2f47"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-attachment-store: codex-attachment-store: abstractness 0.13, instability 0.00, distance 0.88 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e3fd55dba2bfbda045c3d12506e2a61ccd5deefd9b6a86454e1eff5c3d960e9e"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-utils-model-facing-id: codex-utils-model-facing-id: abstractness 0.13, instability 0.00, distance 0.88 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"580c28ae6f8eb9aa35f832220d411a4a339b1189ab5989627c479fd133b14f7a"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-utils-output-truncation: codex-utils-output-truncation: abstractness 0.00, instability 0.13, distance 0.87 \u2014 zone of pain \u2014 concrete and depended on by 13 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"845d48a658b40c94ed98031b0d58e8456b39f6dfbd9fd3938a966afe8ea5ba2f"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-features: codex-features: abstractness 0.03, instability 0.10, distance 0.86 \u2014 zone of pain \u2014 concrete and depended on by 26 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2930a62e83d02e8e924cbc614ccc3d33df7463d52e532f4fc3e73583707f695a"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-file-search: codex-file-search: abstractness 0.15, instability 0.00, distance 0.85 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d6c471cae8a16c8b45e24df2de09892c4ad0785b5dafe7087626cc17938db4e1"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-install-context: codex-install-context: abstractness 0.00, instability 0.15, distance 0.85 \u2014 zone of pain \u2014 concrete and depended on by 11 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d09a729de5c64aaefa8cae84c9fe14b6f6af775d0f56714d083000e9c2640e9c"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-shell-command: codex-shell-command: abstractness 0.00, instability 0.15, distance 0.85 \u2014 zone of pain \u2014 concrete and depended on by 11 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5b76763c59423b8ca8707ada2c2072436b92ea7e06691aedf3a0b6b70b08c22"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-build-info: codex-build-info: abstractness 0.00, instability 0.17, distance 0.83 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6bd6c3702cd8d8c151f3329a1f985a8789851135a5f759efab2b5a58458f4cae"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-websocket-auth: codex-websocket-auth: abstractness 0.00, instability 0.17, distance 0.83 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"02bb065ddbafc8e904750a70ae2d8b9cea342f509ca624f58e1cb059cb6a1139"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-history: codex-history: abstractness 0.00, instability 0.19, distance 0.81 \u2014 zone of pain \u2014 concrete and depended on by 13 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1ec25542bf84f2f59cbca71af9550ff8192430a2efee39af8a25fc2f9cd9a5d6"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-utils-cli: codex-utils-cli: abstractness 0.00, instability 0.22, distance 0.78 \u2014 zone of pain \u2014 concrete and depended on by 7 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a4ba58c75aebce02561c5cc421dabe93e58785b9089ed0911fd6e0fec3b86809"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-execpolicy: codex-execpolicy: abstractness 0.06, instability 0.17, distance 0.77 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ab58f9fbb7082060ea4fe8f35d14db1bfc16a2dec45d9bd236a88b98d087203f"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-model-provider-info: codex-model-provider-info: abstractness 0.00, instability 0.24, distance 0.76 \u2014 zone of pain \u2014 concrete and depended on by 13 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0a6544180e7cdd90a346354dbd1732aac59f2f287734569e03f94953661f819b"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-otel: codex-otel: abstractness 0.00, instability 0.24, distance 0.76 \u2014 zone of pain \u2014 concrete and depended on by 26 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a894a906954dd0f23448dfb2fb23ef32fefd5679a87329dea7325ae5ee5124aa"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-response-debug-context: codex-response-debug-context: abstractness 0.00, instability 0.25, distance 0.75 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1ee9472457ff02718a63158da58f7a64fab68fd379fff66feb6396457924cfc6"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-utils-image: codex-utils-image: abstractness 0.00, instability 0.25, distance 0.75 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"90811d7ccd47fb975f4d8ddbac05b34de8951a6e64259108b97c93faf46d154d"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-api: codex-api: abstractness 0.04, instability 0.24, distance 0.72 \u2014 zone of pain \u2014 concrete and depended on by 19 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3a11f693582d5bad735685da6b25f5a2ddd3141acebdf3c80260f9ae13cca936"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-network-proxy: codex-network-proxy: abstractness 0.03, instability 0.25, distance 0.72 \u2014 zone of pain \u2014 concrete and depended on by 12 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0997e8279ad8943cf9e99380e433aaa5e94e460980b09f653a8c682101ba8406"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: codex-state: codex-state: abstractness 0.08, instability 0.22, distance 0.70 \u2014 zone of pain \u2014 concrete and depended on by 18 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"106dbbfb6ffe32845f69b82975630253918140e60fa99862a2e6589d8d4c0956"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: LocalThreadStore (LCOM4 41): LocalThreadStore\u0027s methods fall into 41 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 41 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/mod.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"81de5dbe5d1d8e93869aa8a59566da99e9a8d2719332fc8d0f87efd5d0943e27"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: GoalExtension (LCOM4 8): GoalExtension\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/goal/src/extension.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"428552caa166f8924ab1e35080df152edb6e049eec6d6d1789cd1c188cfd4919"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WebSocketConnection (LCOM4 6): WebSocketConnection\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/websocket-client/src/lib.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"e170283d47ee9020f0052cc36f35edde82aa8ae1f0726aba8297def9f0bfd4de"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ExecCommandHandler (LCOM4 5): ExecCommandHandler\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/handlers/unified_exec/exec_command.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4d150fe4bba2374a8e09305fd5bd8de9b606605a4831d2179003cc99218026"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: GuardianExtension (LCOM4 5): GuardianExtension\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/guardian-v2/src/sync_reviewer/mod.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26451a4e9c791bc4a80e9abf01420af187c5cc16fe5aaf4e7d8c23bb0eb2ce4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SkillCatalogEntry (LCOM4 5): SkillCatalogEntry\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/skills/src/catalog.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"7096d6931b33c1eedbeea90239c5ab99be7d4f1f4f8dc4e8457ce543df2d622e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ModelProviderSharedState (LCOM4 5): ModelProviderSharedState\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/model-provider/src/shared_state.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"156b4d7722cd58d79ffa953e36e4824031eaecd7d73f4ea5a99f7ebd700d679a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Notifications (LCOM4 4): Notifications\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/agent-message-board-client/src/notifications.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"143cbaeb412471e87fab7e14da51a404eb56e2b1edb85e9f246617ac5f3717a6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: HttpClient (LCOM4 4): HttpClient\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cloud-tasks-client/src/http.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8432f080d2c8f169a0b46894108eb1c69cf72555fc5d5708e6be5cd19497fed8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ModelClient (LCOM4 4): ModelClient\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/client.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8a6fd688444a3d2357da9696082be31bba33b93725df8cfd55df9b0236508c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Config (LCOM4 4): Config\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/config/mod.rs"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac68e1f0db683db0203b85bdcec739fb4756f5365fbe1bbcc0179f7c33bbcd8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ExecServerClient (LCOM4 4): ExecServerClient\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/client.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cfe81d18c302af5d791e538ee8c71acca26b783f45e37679de98466397a6b0a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: McpBoards (LCOM4 4): McpBoards\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/agent-message-board/src/mcp.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd12f08ee345fb26272ddb16daaa4efae5dbb15a7b90a60fcec1b878926da10"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: GuardianV2Extension (LCOM4 4): GuardianV2Extension\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/guardian-v2/src/async_scorer/extension.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c36893a13fed560ef4c88e97bbb4dd5a122e689eb78cc7852aeca8e8a86daf"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MemoriesExtension (LCOM4 4): MemoriesExtension\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/memories/src/extension.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1a1c624f31e3fe85564c1c71579168d9d00d4e60d04cfb7f3e7a52349195f2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SessionTelemetry (LCOM4 4): SessionTelemetry\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/otel/src/events/session_telemetry.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"e159e812700c5ab75958dd029278611e9034cdce64955e0736f96928c2b74d48"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MetricsConfig (LCOM4 4): MetricsConfig\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/otel/src/metrics/config.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4ef43545ded2456393eb87a0cd9016293844e08106537a9d4386c98c324dbf"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ModelInfo (LCOM4 4): ModelInfo\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/openai_models.rs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb10c6f8cfe6cd06ea79501a15e5437833bd6a18163ed0f203e721c21a79639"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TestToolServer (LCOM4 4): TestToolServer\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/bin/test_stdio_server.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"417ebc8fb14518b7edcf78f3e2c3eb4857124e9f51da49ce5bcaf15c52328bb3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TestToolServer (LCOM4 4): TestToolServer\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/bin/test_streamable_http_server.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec5b8c02ac082d4a97a80052179739718ba92bdebe1a7dec5311fe479f2cd39"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: does not introduce shipping, intermediate, or modern official conformance regressions: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdk/typescript/tests/mcpConformance.test.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c0557c2637b07f29732e0349d6f2c06b7022bde65f9fd9d92b537083aea257"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: does not introduce production reviewer or catalog-boundary regressions: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdk/typescript/tests/mcpConformance.test.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dfc3c0c0bb04b57cd9594462a673151df8be1a95142a8f5d2bc750f4582b129"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app/event_dispatch.rs: codex-rs/tui/src/app/event_dispatch.rs changed 199 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 724 in App::handle_event at line 35. 4 of those changes were fix/bug commits, and the other 195 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app/event_dispatch.rs\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":"codex-rs/tui/src/app/event_dispatch.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb69a20b7c9beb25e1f5442559f2ceca224bdf4c11ba1f185115900cc831a50"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app/startup.rs: codex-rs/tui/src/app/startup.rs changed 131 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 231 in App::run at line 248. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app/startup.rs\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":"codex-rs/tui/src/app/startup.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"3119fdc5ced63b715b3bc510a76ae491b82fb640ae9bfe14af561af2d0400c7f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/session/session.rs: codex-rs/core/src/session/session.rs changed 199 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 113 in Session::new at line 790. 1 of those changes was a fix/bug commit, and the other 198 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/session/session.rs\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":"codex-rs/core/src/session/session.rs"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb3380c856e9e4ea81727be2dec4184037b8b904eb42e1145668303ddfe3a7f5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/session/turn.rs: codex-rs/core/src/session/turn.rs changed 151 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 130 in codex_core::session::turn::try_run_sampling_request at line 2869. 2 of those changes were fix/bug commits, and the other 149 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/session/turn.rs\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":"codex-rs/core/src/session/turn.rs"},"region":{"startLine":2869}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4be23669efd6375437b52684f387fa3cc8fc0ffe4acf12261c8c2786e283862"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/config/mod.rs: codex-rs/core/src/config/mod.rs changed 165 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 117 in Config::load_config_with_layer_stack at line 3392. 2 of those changes were fix/bug commits, and the other 163 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/config/mod.rs\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":"codex-rs/core/src/config/mod.rs"},"region":{"startLine":3392}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c963b97bbff7a135834d25dc0c161d57439fcc0079e4e923bd03c700c4e288"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/app-server/src/message_processor.rs: codex-rs/app-server/src/message_processor.rs changed 94 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 195 in MessageProcessor::handle_initialized_client_request at line 1138. 3 of those changes were fix/bug commits, and the other 91 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/app-server/src/message_processor.rs\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":"codex-rs/app-server/src/message_processor.rs"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"803a588b40383607d6fa65a2fd8acd94423bae01854c83fe953bb5152bc71d26"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app.rs: codex-rs/tui/src/app.rs changed 145 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 125 in App::handle_tui_event at line 863. 2 of those changes were fix/bug commits, and the other 143 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app.rs\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":"codex-rs/tui/src/app.rs"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"276abe9991e1021db9ae242f27d23fe7b78a5cc22c86e490c146f82319fe14ac"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/lib.rs: codex-rs/tui/src/lib.rs changed 140 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 122 in codex_tui::run_ratatui_app at line 1239. 2 of those changes were fix/bug commits, and the other 138 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/lib.rs\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":"codex-rs/tui/src/lib.rs"},"region":{"startLine":1239}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff3dc3ac4e1c0581c3ab9fc2f9faffe1c4938868801a21d1c9c9ab6389bf0ef"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/session/mod.rs: codex-rs/core/src/session/mod.rs changed 302 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in Session::assemble_initial_context at line 5124. 2 of those changes were fix/bug commits, and the other 300 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/session/mod.rs\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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":5124}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f70bb01a0c21bcd076c4a6714c7a0bd4424c049c42b0c4676a013869244dc5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/app-server/src/request_processors/thread_processor.rs: codex-rs/app-server/src/request_processors/thread_processor.rs changed 103 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 102 in ThreadRequestProcessor::thread_fork_inner at line 5297. 4 of those changes were fix/bug commits, and the other 99 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/app-server/src/request_processors/thread_processor.rs\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":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":5297}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a3b20dc707e87dff8d2de1097b8e1b73470cc7bf013bc6dbfa0273405711ee"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/startup_orchestration.rs: codex-rs/tui/src/startup_orchestration.rs changed 53 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 147 in codex_tui::startup_orchestration::run_main_inner at line 10. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/startup_orchestration.rs\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":"codex-rs/tui/src/startup_orchestration.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"71096fec3dfe2ca1079fb1605efc0473d15836a4b03d3202601865ce2826fb5c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/bottom_pane/chat_composer.rs: codex-rs/tui/src/bottom_pane/chat_composer.rs changed 109 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 70 in ChatComposer::render_with_options at line 4659. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/bottom_pane/chat_composer.rs\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":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":4659}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9e913a163c558999464ed0bb08b14a09642c21dfe6b01d54cedb3de9756035"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app/agents_overview.rs: codex-rs/tui/src/app/agents_overview.rs changed 87 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 84 in App::attach_agents_overview_thread at line 565. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app/agents_overview.rs\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":"codex-rs/tui/src/app/agents_overview.rs"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"3947cd2baaebb2c916801d678910d08a6e85e3019097c5c1cbbeca02654011dc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/app-server/src/lib.rs: codex-rs/app-server/src/lib.rs changed 63 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 112 in codex_app_server::run_main_with_transport_options at line 515. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/app-server/src/lib.rs\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":"codex-rs/app-server/src/lib.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f2b1738ce1f4615baa6aa99e32c44ff391359d6b5246eb240ae27eee1b7d63"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/cli/src/main.rs: codex-rs/cli/src/main.rs changed 67 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 102 in codex_cli::dispatch_cli at line 1063. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/cli/src/main.rs\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":"codex-rs/cli/src/main.rs"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6448e51a6cb2fe9b86243890f1a2790c173fa56905988368bfb0d202730403"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/thread_manager.rs: codex-rs/core/src/thread_manager.rs changed 99 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 63 in ThreadManagerState::spawn_thread at line 2491. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/thread_manager.rs\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":"codex-rs/core/src/thread_manager.rs"},"region":{"startLine":2491}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca709f062bcd16f4bb0becd5e53116390150a6df40a47b725d83910b56c298f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app/owned_transcript.rs: codex-rs/tui/src/app/owned_transcript.rs changed 61 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 96 in App::handle_owned_transcript_event at line 812. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app/owned_transcript.rs\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":"codex-rs/tui/src/app/owned_transcript.rs"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a92d52c9a121f1e4ca39500f94751ffae4ad1286b52d0a47dd9dab9cce418d4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/chatwidget/slash_dispatch.rs: codex-rs/tui/src/chatwidget/slash_dispatch.rs changed 58 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 93 in ChatWidget::dispatch_command_from_source at line 173. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/chatwidget/slash_dispatch.rs\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":"codex-rs/tui/src/chatwidget/slash_dispatch.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"8377df281385d496e3be9d72bdf752f314cc70ec6128019392964cbc641ff532"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/app-server/src/bespoke_event_handling.rs: codex-rs/app-server/src/bespoke_event_handling.rs changed 48 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 106 in codex_app_server::bespoke_event_handling::apply_bespoke_event_handling at line 148. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/app-server/src/bespoke_event_handling.rs\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":"codex-rs/app-server/src/bespoke_event_handling.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b65b3793bc27f9f87e49150bde26409f8d936dc5a28e2c1960648d750718a91"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/codex-mcp/src/connection_manager.rs: codex-rs/codex-mcp/src/connection_manager.rs changed 48 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 96 in McpConnectionSet::new at line 416. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/codex-mcp/src/connection_manager.rs\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":"codex-rs/codex-mcp/src/connection_manager.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5ee4f49274a9de153242320f9fd2d8fd06882810e7a4097c61c1078b59019f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/features/src/lib.rs: codex-rs/features/src/lib.rs changed 176 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in Features::apply_map at line 740. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/features/src/lib.rs\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":"codex-rs/features/src/lib.rs"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"520728a73e6409cf81dbcdf4148156b8eeff6db58f1ee9317541a8f498c25787"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/chatwidget/protocol.rs: codex-rs/tui/src/chatwidget/protocol.rs changed 46 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 97 in ChatWidget::handle_server_notification 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-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/chatwidget/protocol.rs\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":"codex-rs/tui/src/chatwidget/protocol.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c03009edfde326513abd1fbcf437510c9c185792786a585706ba55b86811105"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app/input.rs: codex-rs/tui/src/app/input.rs changed 59 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 71 in App::handle_key_event at line 440. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app/input.rs\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":"codex-rs/tui/src/app/input.rs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"2740b850e042996cdd76c19f71fd7da82dcf12bdd049ba7b58eec6f778ea0ab4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app/app_server_events.rs: codex-rs/tui/src/app/app_server_events.rs changed 53 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 78 in App::handle_server_notification_event at line 189. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app/app_server_events.rs\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":"codex-rs/tui/src/app/app_server_events.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf98f145a884120c576a623744b3132577dc7051b2f0845c6bd998b0dd577f0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/bottom_pane/mod.rs: codex-rs/tui/src/bottom_pane/mod.rs changed 113 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in BottomPane::renderable_for_views at line 2466. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/bottom_pane/mod.rs\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":"codex-rs/tui/src/bottom_pane/mod.rs"},"region":{"startLine":2466}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed53b6c2b7ce33f8021ccaea00151dae356bd8be99ca61960bab32d88bf0a54"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app/thread_routing.rs: codex-rs/tui/src/app/thread_routing.rs changed 98 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in App::enqueue_thread_notification at line 1130. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app/thread_routing.rs\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":"codex-rs/tui/src/app/thread_routing.rs"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"870c36bcc93de8541edba0d1a90b620dde7f479a241327283938b3c196dcf3c3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app/session_lifecycle.rs: codex-rs/tui/src/app/session_lifecycle.rs changed 108 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in App::activate_prepared_session_after_clear at line 1833. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app/session_lifecycle.rs\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":"codex-rs/tui/src/app/session_lifecycle.rs"},"region":{"startLine":1833}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1de944339f54f6970bdbf6a61659715b2569ebbaa2ef04bf67ce0d545757722"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/config/src/config_requirements.rs: codex-rs/config/src/config_requirements.rs changed 36 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 102 in ConfigRequirementsWithSources::merge_unset_fields at line 1414. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/config/src/config_requirements.rs\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":"codex-rs/config/src/config_requirements.rs"},"region":{"startLine":1414}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea394d7aa45ca3346c0bd6ac50d7b08fd84faa9188c3bfed77b01dc2a255267"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/agent/control/spawn.rs: codex-rs/core/src/agent/control/spawn.rs changed 80 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in LocalAgentControl::ensure_v2_agent_loaded at line 247. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/agent/control/spawn.rs\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":"codex-rs/core/src/agent/control/spawn.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc139b886a522041882383602e69de0dd9a98896a108965d0be3128ea9391c0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app_server_session.rs: codex-rs/tui/src/app_server_session.rs changed 130 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in AppServerSession::fork_thread_at_with_presentation at line 1423. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app_server_session.rs\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":"codex-rs/tui/src/app_server_session.rs"},"region":{"startLine":1423}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9b09879e0d3c658154a69f07b5b46d286a91f15dd982d1094884ab48e2b844"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app/reconnect.rs: codex-rs/tui/src/app/reconnect.rs changed 66 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in App::finish_reconnect at line 364. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app/reconnect.rs\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":"codex-rs/tui/src/app/reconnect.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"df05293ce01843c3d0aee8f19e14df56cf6a9f42411df1605e68bee3fd2e2c40"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/chatwidget/interaction.rs: codex-rs/tui/src/chatwidget/interaction.rs changed 59 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in ChatWidget::handle_key_event_with_activation_key at line 154. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/chatwidget/interaction.rs\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":"codex-rs/tui/src/chatwidget/interaction.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ccec4af689819e69ee338e97fa5c910df346de9715de73e43ba6b1e9898f7c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/guardian/review_session.rs: codex-rs/core/src/guardian/review_session.rs changed 86 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in codex_core::guardian::review_session::run_review_on_session at line 234. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/guardian/review_session.rs\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":"codex-rs/core/src/guardian/review_session.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e979e9477a52bfce02c1f6458628da01473e5acd23e7869ada8c9f34c395117"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/session/handlers.rs: codex-rs/core/src/session/handlers.rs changed 45 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in codex_core::session::handlers::submission_loop at line 520. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/session/handlers.rs\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":"codex-rs/core/src/session/handlers.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c47954193947576b06d2b1cbfafe0b26c7510f704971f813445c21bee4821ea"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app/agents_overview_view.rs: codex-rs/tui/src/app/agents_overview_view.rs changed 46 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in AgentsOverviewView::handle_key_event at line 696. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app/agents_overview_view.rs\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":"codex-rs/tui/src/app/agents_overview_view.rs"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"096f24290e6663c83351114b8a47bf03618a7df71f40a3d7c3a37d3ab48e79ce"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/keymap.rs: codex-rs/tui/src/keymap.rs changed 49 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in RuntimeKeymap::resolve at line 707. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/keymap.rs\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":"codex-rs/tui/src/keymap.rs"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49159771e0c65543b6b06a46fe735996b521be3cc6f3f7fcbafe3df0e846074"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/session/world_state.rs: codex-rs/core/src/session/world_state.rs changed 56 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in Session::build_world_state_for_step at line 78. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/session/world_state.rs\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":"codex-rs/core/src/session/world_state.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b83c072ab1538f24641dac72692f7153aadc911de5c1c9c7b4d74e47bec2ff"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/client.rs: codex-rs/core/src/client.rs changed 95 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in codex_core::client::map_response_events at line 2788. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/client.rs\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":"codex-rs/core/src/client.rs"},"region":{"startLine":2788}}}],"partialFingerprints":{"codehealthFindingId/v1":"315490867a79bc0a5d4321b8706088b784be78a34b083147ccb05c67416908d7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/resume_picker.rs: codex-rs/tui/src/resume_picker.rs changed 54 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in PickerState::handle_key at line 1615. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/resume_picker.rs\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":"codex-rs/tui/src/resume_picker.rs"},"region":{"startLine":1615}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eba57e1f682389aa82a37d1a6d6231a1ebaafa797bca71baec8862783240f27"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/exec/src/lib.rs: codex-rs/exec/src/lib.rs changed 51 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in codex_exec::run_main at line 273. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/exec/src/lib.rs\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":"codex-rs/exec/src/lib.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c22cd5e66bdda5c983b70941df2bfc2bf4cb9f9dc7734843e660f92ce5d16f4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/chatwidget.rs: codex-rs/tui/src/chatwidget.rs changed 138 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in ChatWidget::on_committed_user_message at line 1354. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/chatwidget.rs\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":"codex-rs/tui/src/chatwidget.rs"},"region":{"startLine":1354}}}],"partialFingerprints":{"codehealthFindingId/v1":"b408a93b147f57bf5edc2e2d64bd7a7745dbbe03222cdc5fa0205c3b676fc482"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/dynamic_tools.rs: codex-rs/tui/src/dynamic_tools.rs changed 29 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 81 in codex_tui::dynamic_tools::execute_inner at line 325. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/dynamic_tools.rs\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":"codex-rs/tui/src/dynamic_tools.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"331cc8feb074c6cdb70da7cb837398f37dd317c8863d99dc19145380627be442"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/analytics/src/reducer.rs: codex-rs/analytics/src/reducer.rs changed 45 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in AnalyticsReducer::ingest at line 614. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/analytics/src/reducer.rs\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":"codex-rs/analytics/src/reducer.rs"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"080df518ac81a918fac4b503b5898cfeb6ce8a53a9750ee31674830fe284867b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/tools/runtimes/unified_exec.rs: codex-rs/core/src/tools/runtimes/unified_exec.rs changed 44 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in UnifiedExecRuntime::run at line 221. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/tools/runtimes/unified_exec.rs\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":"codex-rs/core/src/tools/runtimes/unified_exec.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"a568177965ee058f0ef80cadd86356ed290300533374ba5cf7e2df873b148132"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/session/mcp.rs: codex-rs/core/src/session/mcp.rs changed 62 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in codex_core::session::mcp::review_guardian_mcp_elicitation at line 1007. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/session/mcp.rs\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":"codex-rs/core/src/session/mcp.rs"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef20449ee78c27525ae9befc84d4e8a2a084d0571cbaa8ffbf24c94699d8f14"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/chatwidget/input_submission.rs: codex-rs/tui/src/chatwidget/input_submission.rs changed 30 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 73 in ChatWidget::submit_user_message_with_prepared_images at line 158. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/chatwidget/input_submission.rs\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":"codex-rs/tui/src/chatwidget/input_submission.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0d9c701004b04ed5a35bd2625f60c7b63fc23900f027ccde34e36fdc045ea7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/app-server/src/request_processors/thread_lifecycle.rs: codex-rs/app-server/src/request_processors/thread_lifecycle.rs changed 28 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 75 in codex_app_server::request_processors::thread_lifecycle::start_listener at line 330. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/app-server/src/request_processors/thread_lifecycle.rs\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":"codex-rs/app-server/src/request_processors/thread_lifecycle.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f75fe38bddc06bbc54dbf5512a45ec85085696ca29fe716f47d0f3e3e7b846"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/guardian-context/src/composition.rs: codex-rs/guardian-context/src/composition.rs changed 44 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in CollectedContext::compose_prepared at line 215. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/guardian-context/src/composition.rs\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":"codex-rs/guardian-context/src/composition.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e66e9f8f6825e19b089628431ffe94ecf0f9b34768af30e9a4da875d6e0b743"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/tools/spec_plan.rs: codex-rs/core/src/tools/spec_plan.rs changed 58 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in codex_core::tools::spec_plan::finalize_tool_router at line 401. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/tools/spec_plan.rs\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":"codex-rs/core/src/tools/spec_plan.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c648907ed43a268a8a8e3297c8ff56f1be71108a7cbc0699ba53ca09fc404c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/session/rollout_reconstruction.rs: codex-rs/core/src/session/rollout_reconstruction.rs changed 27 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 62 in ContextManager::reconstruct_rollout at line 214. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/session/rollout_reconstruction.rs\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":"codex-rs/core/src/session/rollout_reconstruction.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b555536f705543d9f614f9d5394e3cb92f749a5c7bd9ecec7711aba29dd20a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/tools/registry.rs: codex-rs/core/src/tools/registry.rs changed 44 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in ToolRegistry::dispatch_any_with_state at line 760. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/tools/registry.rs\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":"codex-rs/core/src/tools/registry.rs"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"0abb5f9bfe733345bd49e92d455a8cbb7a79b65849db5f2d4c5a906805ffc570"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/context_manager/history.rs: codex-rs/core/src/context_manager/history.rs changed 76 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in ContextManager::restore_review_context at line 430. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/context_manager/history.rs\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":"codex-rs/core/src/context_manager/history.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"4312d29b37b8790a2124bbc2248fe25714916a4b4ec1e2c359fbde1d2c2d6187"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/unified_exec/process_manager.rs: codex-rs/core/src/unified_exec/process_manager.rs changed 59 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in UnifiedExecProcessManager::write_stdin_inner at line 904. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/unified_exec/process_manager.rs\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":"codex-rs/core/src/unified_exec/process_manager.rs"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"f82353b60e8dce96c51ddab773dde6d68e321dea1ec23ab38c0b0ca7e44cfe92"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app/working_directory.rs: codex-rs/tui/src/app/working_directory.rs changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 69 in App::change_working_directory_with_managed at line 143. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app/working_directory.rs\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":"codex-rs/tui/src/app/working_directory.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b3a88bd3bf84e9417f8cec1cf349d3392db5e3e42b113526d09bb9028271a2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/chatwidget/session_flow.rs: codex-rs/tui/src/chatwidget/session_flow.rs changed 42 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in ChatWidget::on_session_configured_with_display_and_fork_parent_title at line 68. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/chatwidget/session_flow.rs\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":"codex-rs/tui/src/chatwidget/session_flow.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceafdc786e8da06fd0fe0ffa614786ad969c22009d856b76d1a9682e1918c7f7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/codex-api/src/endpoint/responses_websocket.rs: codex-rs/codex-api/src/endpoint/responses_websocket.rs changed 35 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in codex_api::endpoint::responses_websocket::run_websocket_response_stream at line 841. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/codex-api/src/endpoint/responses_websocket.rs\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":"codex-rs/codex-api/src/endpoint/responses_websocket.rs"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad5901fbfbc3f6544e57d482b4040e06bf423c592156f0a695d429cf3e21c03"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/tasks/mod.rs: codex-rs/core/src/tasks/mod.rs changed 51 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in Session::on_task_finished at line 721. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/tasks/mod.rs\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":"codex-rs/core/src/tasks/mod.rs"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ceb5cfe8b9832bb91e81f45763da2cc2ea191e6aa4f5c9fdb255eb236d77ea8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/codex-api/src/api_bridge.rs: codex-rs/codex-api/src/api_bridge.rs changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in codex_api::api_bridge::map_api_error_details at line 60. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/codex-api/src/api_bridge.rs\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":"codex-rs/codex-api/src/api_bridge.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"784ecdf2057f01c06e0b88a5c98a48ef1ded1ac1c454f1af472a2bc18788e4a6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/compact_remote_v2.rs: codex-rs/core/src/compact_remote_v2.rs changed 51 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in codex_core::compact_remote_v2::select_retained_items at line 662. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/compact_remote_v2.rs\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":"codex-rs/core/src/compact_remote_v2.rs"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af3bc492ba8223c6b5af166e1093d18bced40588b7dbd402f34163f67a2cc08"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/chatwidget/status_surfaces.rs: codex-rs/tui/src/chatwidget/status_surfaces.rs changed 33 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in ChatWidget::status_line_value_for_item at line 749. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/chatwidget/status_surfaces.rs\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":"codex-rs/tui/src/chatwidget/status_surfaces.rs"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"6501b4567450b8443f86b2ba6eb95e30025ede4f5f240a23d9064f0b740c97cf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/codex-mcp/src/connection_manager/tool_catalog.rs: codex-rs/codex-mcp/src/connection_manager/tool_catalog.rs changed 29 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in McpConnectionSet::capture_binding_with_metadata at line 293. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/codex-mcp/src/connection_manager/tool_catalog.rs\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":"codex-rs/codex-mcp/src/connection_manager/tool_catalog.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"2746cd8edbcdf2e194359a0ef10ae0c5c970ba2deba5597dae7473e5bcc9193a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app/config_persistence.rs: codex-rs/tui/src/app/config_persistence.rs changed 38 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in App::update_feature_flags at line 724. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app/config_persistence.rs\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":"codex-rs/tui/src/app/config_persistence.rs"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"785ffede24dc7d8daa26cda93b7fea8f1914a9955988056fb571848edaad286b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/mcp_tool_call.rs: codex-rs/core/src/mcp_tool_call.rs changed 65 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in codex_core::mcp_tool_call::build_mcp_tool_approval_elicitation_meta at line 2323. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/mcp_tool_call.rs\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":"codex-rs/core/src/mcp_tool_call.rs"},"region":{"startLine":2323}}}],"partialFingerprints":{"codehealthFindingId/v1":"959324bbe12f3e3734ad6d569e7c310d5a11b6cea3c5221e4d018fa33ca11a48"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/app-server/src/request_processors/plugins.rs: codex-rs/app-server/src/request_processors/plugins.rs changed 28 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in PluginRequestProcessor::plugin_list_response at line 560. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/app-server/src/request_processors/plugins.rs\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":"codex-rs/app-server/src/request_processors/plugins.rs"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c6eee4a71e84f8424790b3c820115846b66e7f0efa7f78335f535b71e364d1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/network-proxy/src/credential_broker.rs: codex-rs/network-proxy/src/credential_broker.rs changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 67 in CredentialBroker::virtualize_env at line 561. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/network-proxy/src/credential_broker.rs\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":"codex-rs/network-proxy/src/credential_broker.rs"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"49cb74983421d83491fd8f45210c68d9eac7db52ac777ae6930ecdee9fdb5214"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/agent/control.rs: codex-rs/core/src/agent/control.rs changed 51 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in LocalAgentControl::maybe_start_completion_watcher at line 465. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/agent/control.rs\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":"codex-rs/core/src/agent/control.rs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"3311c12d8297b79123933ee156dbfca88770245912c6c6d4ec92cc439168a6e5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/codex-api/src/sse/responses.rs: codex-rs/codex-api/src/sse/responses.rs changed 33 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in codex_api::sse::responses::process_responses_event at line 400. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/codex-api/src/sse/responses.rs\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":"codex-rs/codex-api/src/sse/responses.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36189e25aadaf7cacd412c44b30b2b808f93a3fa4c398e535c5d11ba107b0c0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/tools/orchestrator.rs: codex-rs/core/src/tools/orchestrator.rs changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in ToolOrchestrator::run at line 125. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/tools/orchestrator.rs\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":"codex-rs/core/src/tools/orchestrator.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7fdaa171657c5d716ab724c79fdaab874825387585afa4a0706a3f5e63e3dc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/app-server/src/in_process.rs: codex-rs/app-server/src/in_process.rs changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in codex_app_server::in_process::start_uninitialized at line 463. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/app-server/src/in_process.rs\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":"codex-rs/app-server/src/in_process.rs"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"1873a547d9014eb2ea9cb700517c9c6c6d9b6144cf30df7e5693ae65c1c6738b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/cloud-tasks/src/lib.rs: codex-rs/cloud-tasks/src/lib.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 221 in codex_cloud_tasks::run_cloud at line 827. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/cloud-tasks/src/lib.rs\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":"codex-rs/cloud-tasks/src/lib.rs"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"5626928138677a4bfec6dffa13ef738b4bf513bc67cb16a685f76c0b81b12027"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/ext/guardian-v2/src/async_scorer/classification.rs: codex-rs/ext/guardian-v2/src/async_scorer/classification.rs changed 29 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in Classification::run at line 112. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/ext/guardian-v2/src/async_scorer/classification.rs\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":"codex-rs/ext/guardian-v2/src/async_scorer/classification.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"53bb68fcf5359b6e10ad4aaa76b530dfd9ce6e0517ca47a87694800d3bfc0e8b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/app-server/src/request_processors/turn_processor.rs: codex-rs/app-server/src/request_processors/turn_processor.rs changed 64 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in TurnRequestProcessor::turn_start_inner at line 577. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/app-server/src/request_processors/turn_processor.rs\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":"codex-rs/app-server/src/request_processors/turn_processor.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"405537753cc614e58767fe97d7b927abe3985f562f54aa4200175b864efb32b2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/chatwidget/realtime.rs: codex-rs/tui/src/chatwidget/realtime.rs changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in ChatWidget::on_realtime_transcript_done at line 1460. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/chatwidget/realtime.rs\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":"codex-rs/tui/src/chatwidget/realtime.rs"},"region":{"startLine":1460}}}],"partialFingerprints":{"codehealthFindingId/v1":"146f0361eb9252f70173e06041412e580272845a7611c9b6627cd92b4911c784"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/realtime_conversation.rs: codex-rs/core/src/realtime_conversation.rs changed 38 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in codex_core::realtime_conversation::handle_handoff_output at line 2648. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/realtime_conversation.rs\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":"codex-rs/core/src/realtime_conversation.rs"},"region":{"startLine":2648}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4bbd55e044861c60455f8d2e1cf9b18e873a026ffcf0f19f19fbf61d4de3af"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/bottom_pane/list_selection_view.rs: codex-rs/tui/src/bottom_pane/list_selection_view.rs changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in ListSelectionView::handle_key_event at line 1289. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/bottom_pane/list_selection_view.rs\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":"codex-rs/tui/src/bottom_pane/list_selection_view.rs"},"region":{"startLine":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"56736df6ec73c82ccc640ed9fe4f06ec2d959e0914a050b6a4eef0137d2bdd59"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/session/turn_input.rs: codex-rs/core/src/session/turn_input.rs changed 58 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in codex_core::session::turn_input::start_if_idle at line 535. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/session/turn_input.rs\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":"codex-rs/core/src/session/turn_input.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"616bf682fc7ed73c35a14ecf5ec2230501be059d77c5543238d22384df7b65b9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/ext/guardian-v2/src/async_scorer/sampler/execution.rs: codex-rs/ext/guardian-v2/src/async_scorer/sampler/execution.rs changed 28 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in SamplingExecution::run at line 187. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/ext/guardian-v2/src/async_scorer/sampler/execution.rs\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":"codex-rs/ext/guardian-v2/src/async_scorer/sampler/execution.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bdf22c7d5909ada11211d340abe05272be8e6ba2c8be118613de4096c708c8f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/guardian-context/src/transcript.rs: codex-rs/guardian-context/src/transcript.rs changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in codex_guardian_context::transcript::collect_transcript_for_review at line 158. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/guardian-context/src/transcript.rs\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":"codex-rs/guardian-context/src/transcript.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b338ba474f270c0a182a0d0e18bb638e456fd04f8513e4387d994c0b2c4219"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/chatwidget/replay.rs: codex-rs/tui/src/chatwidget/replay.rs changed 31 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in ChatWidget::handle_thread_item at line 281. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/chatwidget/replay.rs\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":"codex-rs/tui/src/chatwidget/replay.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a4d5756da4e954c5dd3818aece18173e5795f87f6a5e57b1b15a39301ba41f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/tools/network_approval.rs: codex-rs/core/src/tools/network_approval.rs changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in NetworkApprovalService::handle_inline_policy_request at line 743. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/tools/network_approval.rs\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":"codex-rs/core/src/tools/network_approval.rs"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0fb7a558637a421a1725a017a33b5c8be9b14f111ed8281a9222f097d93e32"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/config/src/loader/mod.rs: codex-rs/config/src/loader/mod.rs changed 31 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in codex_config::loader::load_config_layers_state at line 147. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/config/src/loader/mod.rs\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":"codex-rs/config/src/loader/mod.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"643b284db493f4d2e07e51bc719104d85cc5291fccc6916cc12358efa6134c4e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/app-server-protocol/src/protocol/thread_history.rs: codex-rs/app-server-protocol/src/protocol/thread_history.rs changed 47 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in ThreadHistoryBuilder::build_user_inputs at line 1730. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/app-server-protocol/src/protocol/thread_history.rs\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":"codex-rs/app-server-protocol/src/protocol/thread_history.rs"},"region":{"startLine":1730}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ccb6869cc51f86444f8e1f44357cb6f753f6e4aaca28efd0b9c98063da72ce"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/transcript_view.rs: codex-rs/tui/src/transcript_view.rs changed 31 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in TranscriptView::paint_rows at line 193. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/transcript_view.rs\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":"codex-rs/tui/src/transcript_view.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"566b55b56a4c484f1cddbbc50945f61c476019c5ff4bafa7748266540df2757c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/app-server/src/request_processors/feedback_processor.rs: codex-rs/app-server/src/request_processors/feedback_processor.rs changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in FeedbackRequestProcessor::feedback_response at line 94. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/app-server/src/request_processors/feedback_processor.rs\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":"codex-rs/app-server/src/request_processors/feedback_processor.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d3491faee60a014540b2a185a90ac575bebb7707bb5d7232fc4fb7d55aca22"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app/side_focus.rs: codex-rs/tui/src/app/side_focus.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 65 in App::handle_sidebar_input at line 136. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app/side_focus.rs\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":"codex-rs/tui/src/app/side_focus.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8f4b247eb34530c138f73cf2de9eb82ef2ede91f3a00ba3f60cc791e95eaf0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/state/src/runtime/threads.rs: codex-rs/state/src/runtime/threads.rs changed 32 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in codex_state::runtime::threads::push_thread_filters_with_preview at line 1563. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/state/src/runtime/threads.rs\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":"codex-rs/state/src/runtime/threads.rs"},"region":{"startLine":1563}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4fcde454b26f5d20a8b5c83d3e9c4f08fd5b26ad9094a872707e24ac5b5f6c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/onboarding/onboarding_screen.rs: codex-rs/tui/src/onboarding/onboarding_screen.rs changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in codex_tui::onboarding::onboarding_screen::run_onboarding_screen_inner at line 700. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/onboarding/onboarding_screen.rs\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":"codex-rs/tui/src/onboarding/onboarding_screen.rs"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb1b2857f7f3968d639f650f018dbaebd98ff5e9556dcabc9bac16e99fb630f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/analytics.rs: codex-rs/tui/src/analytics.rs changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in AnalyticsView::handle_key at line 297. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/analytics.rs\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":"codex-rs/tui/src/analytics.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3a2246ba499f880ef8bae3b194710128dcac4a82f22bb46f2ebf01658202bd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/thread-store/src/local/update_thread_metadata.rs: codex-rs/thread-store/src/local/update_thread_metadata.rs changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in codex_thread_store::local::update_thread_metadata::apply_metadata_update at line 350. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/thread-store/src/local/update_thread_metadata.rs\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":"codex-rs/thread-store/src/local/update_thread_metadata.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eba274133bbfdf1e19fc17a667470fbece5b4a59768a5a09aa70ae958a0a755"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/linux-sandbox/src/bwrap.rs: codex-rs/linux-sandbox/src/bwrap.rs changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in codex_linux_sandbox::bwrap::create_filesystem_args at line 405. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/linux-sandbox/src/bwrap.rs\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":"codex-rs/linux-sandbox/src/bwrap.rs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a232d8ea54104923c8133b4ac07cc9bf52e0e1c52d6ec309a0afa83f850adf4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/environment_selection.rs: codex-rs/core/src/environment_selection.rs changed 46 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in ThreadEnvironments::update_selections_with_bindings at line 623. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/environment_selection.rs\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":"codex-rs/core/src/environment_selection.rs"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a6f45889101004c113ae56036dfa482c25dcad91ccb7d1f55332da9f261437"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/transcript_view/input.rs: codex-rs/tui/src/transcript_view/input.rs changed 28 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in TranscriptView::handle_mouse_with_mode at line 300. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/transcript_view/input.rs\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":"codex-rs/tui/src/transcript_view/input.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"2babc746f84c74b6d6ca4629ae9d7970f1a0700e7b053221e699b12f86b569f6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app/thread_events.rs: codex-rs/tui/src/app/thread_events.rs changed 33 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in ThreadEventStore::snapshot at line 413. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app/thread_events.rs\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":"codex-rs/tui/src/app/thread_events.rs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ee2709d103771ca6dd07cb1dbd316915c7d39d8fbcb739a3f63dc48edec6ac"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/login/src/auth/manager.rs: codex-rs/login/src/auth/manager.rs changed 37 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in CodexAuth::from_auth_dot_json at line 370. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/login/src/auth/manager.rs\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":"codex-rs/login/src/auth/manager.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"e837c583a7c7b1eb5b43934292e8140153786e493212bbb04efea45713273cdb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/keymap/chords.rs: codex-rs/tui/src/keymap/chords.rs changed 31 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in KeymapContextSet::contains_action at line 213. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/keymap/chords.rs\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":"codex-rs/tui/src/keymap/chords.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2941377bd972d5631bcb880c2ba1c24d8d7f34570f542322d8d7a0b602b0a4c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/protocol/src/permissions.rs: codex-rs/protocol/src/permissions.rs changed 32 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in FileSystemSandboxPolicy::to_legacy_sandbox_policy_with_projection at line 1888. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/protocol/src/permissions.rs\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":"codex-rs/protocol/src/permissions.rs"},"region":{"startLine":1888}}}],"partialFingerprints":{"codehealthFindingId/v1":"099a3955319e682951b39f85c67dd8ebe3bd93fa14e9653503e87cb3e4523cab"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/ext/guardian-v2/src/async_scorer/observation.rs: codex-rs/ext/guardian-v2/src/async_scorer/observation.rs changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in GuardianV2Extension::score_tool at line 53. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/ext/guardian-v2/src/async_scorer/observation.rs\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":"codex-rs/ext/guardian-v2/src/async_scorer/observation.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b426d502f36d23bb3b1a8eb1a2ff80ade6ea1813831f5a34f694451d0108563b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/thread-store/src/types.rs: codex-rs/thread-store/src/types.rs changed 28 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in ThreadMetadataPatch::merge at line 899. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/thread-store/src/types.rs\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":"codex-rs/thread-store/src/types.rs"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4147e5b9c0d7d8f45013b5a0b22903159c660be749c69d088e4b1f36413401e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/mcp.rs: codex-rs/core/src/mcp.rs changed 28 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in McpManager::runtime_config_with_context at line 310. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/mcp.rs\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":"codex-rs/core/src/mcp.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6973b6b3390f458cba8739f252241c2d7b51a03e0bae5823f18bed03cebe8e5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/markdown_render.rs: codex-rs/tui/src/markdown_render.rs changed 31 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in Writer::start_tag at line 694. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/markdown_render.rs\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":"codex-rs/tui/src/markdown_render.rs"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5a2ac9d8261b328ec6197ee7c655d0e99eb84dbe5fc048f224720afb215c95"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/codex-mcp/src/rmcp_client.rs: codex-rs/codex-mcp/src/rmcp_client.rs changed 47 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in codex_mcp::rmcp_client::start_server_task at line 1140. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/codex-mcp/src/rmcp_client.rs\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":"codex-rs/codex-mcp/src/rmcp_client.rs"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8e4d9d9d03ee8467b1f8936e7ace5fefebccd006e3f993fe4b0e777fc3fb70"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/tools/parallel.rs: codex-rs/core/src/tools/parallel.rs changed 33 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in ToolCallRuntime::handle_tool_call_with_source at line 167. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/tools/parallel.rs\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":"codex-rs/core/src/tools/parallel.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7676ac50cce36fe27def240ce931c6e66905f7e4f0a000eac681bfd0e5a9c6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/sandboxing/src/manager.rs: codex-rs/sandboxing/src/manager.rs changed 28 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in SandboxManager::transform at line 382. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/sandboxing/src/manager.rs\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":"codex-rs/sandboxing/src/manager.rs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c52921191da4509e6310ea477339fe12b65df0311c3523b7706836f8fb2a20"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core-plugins/src/manager.rs: codex-rs/core-plugins/src/manager.rs changed 44 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in PluginsManager::plugins_for_config at line 944. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core-plugins/src/manager.rs\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":"codex-rs/core-plugins/src/manager.rs"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"639301c04a9a0e03bdd1b6645e9269e539592caf202f7e289fdcbe7c6c25ec59"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/guardian-context/src/preparation/transcript.rs: codex-rs/guardian-context/src/preparation/transcript.rs changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in ContextProfile::prepare_transcript_for_budgeting at line 135. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/guardian-context/src/preparation/transcript.rs\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":"codex-rs/guardian-context/src/preparation/transcript.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea6be0412b70e6a455793949c67da43428da04f9dae044f257186b14e8cdd57"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app/agents_overview_threads.rs: codex-rs/tui/src/app/agents_overview_threads.rs changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in App::start_agents_overview_refresh at line 259. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app/agents_overview_threads.rs\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":"codex-rs/tui/src/app/agents_overview_threads.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3d444c9c6baccf389f907103ceab55bca939be79a90b09f11e8d7ea360e2d8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/thread-store/src/thread_metadata_sync.rs: codex-rs/thread-store/src/thread_metadata_sync.rs changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in ThreadMetadataSync::observe_items_with_update at line 242. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/thread-store/src/thread_metadata_sync.rs\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":"codex-rs/thread-store/src/thread_metadata_sync.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd0a7a29686f355993b6e34b607f943a4625557fb798c0d396a1bfcf0a6b2d9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/bottom_pane/textarea.rs: codex-rs/tui/src/bottom_pane/textarea.rs changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in TextArea::handle_vim_normal at line 843. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/bottom_pane/textarea.rs\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":"codex-rs/tui/src/bottom_pane/textarea.rs"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"13df969425fe0a80a8c490fa5a42ab9f8527d1a91c5e87e905afa33f62170292"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/app-server-daemon/src/backend/pid_start.rs: codex-rs/app-server-daemon/src/backend/pid_start.rs changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in PidBackend::start_inner at line 22. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/app-server-daemon/src/backend/pid_start.rs\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":"codex-rs/app-server-daemon/src/backend/pid_start.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0223927db6cbe57e139669693dccd6c33d23015a177b5b9e1af81a685b9fd4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/rollout/src/list.rs: codex-rs/rollout/src/list.rs changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in codex_rollout::list::read_head_summary at line 977. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/rollout/src/list.rs\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":"codex-rs/rollout/src/list.rs"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae120e972011e50691dee28d6985fa36cee51d6f50bdf46099077cd8af7b9283"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/tools/executed_tool_calls/request_metadata.rs: codex-rs/core/src/tools/executed_tool_calls/request_metadata.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 75 in ExecutedToolCalls::attach_pending_to_prompt_with_state at line 63. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/tools/executed_tool_calls/request_metadata.rs\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":"codex-rs/core/src/tools/executed_tool_calls/request_metadata.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd284a9c74ae8da6abaa479f6a8d538addf5ab13a7004a4740ce7a35f64e56bd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/rollout/src/recorder.rs: codex-rs/rollout/src/recorder.rs changed 28 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in RolloutRecorder::list_threads_with_db_fallback at line 545. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/rollout/src/recorder.rs\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":"codex-rs/rollout/src/recorder.rs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"71682fda697a5ff25c1a77a3c01cf4606d3527776398cbadfb529395638d648f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/agent/control/user_authorization.rs: codex-rs/core/src/agent/control/user_authorization.rs changed 33 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in CapturedRootConversation::prepare at line 50. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/agent/control/user_authorization.rs\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":"codex-rs/core/src/agent/control/user_authorization.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9fa9d9ad6e5540f81acf6066fa62c7937810962cc643c35e3c1f1b9efc35b2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/ext/skills/src/extension.rs: codex-rs/ext/skills/src/extension.rs changed 27 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in SkillsExtension::contribute at line 333. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/ext/skills/src/extension.rs\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":"codex-rs/ext/skills/src/extension.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a9195d47816d3c7ebaba9352f25fd36481982ae6527ea7704686b18bcb7dc4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/thread-store/src/local/rollout_migration/rollback_plan.rs: codex-rs/thread-store/src/local/rollout_migration/rollback_plan.rs changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in RollbackPlanner::observe at line 139. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/thread-store/src/local/rollout_migration/rollback_plan.rs\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":"codex-rs/thread-store/src/local/rollout_migration/rollback_plan.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc93bd6278b021a997b1ea4509820f95a7fe8a7399f16e779ecfe4ce8c844249"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/app-server/src/request_processors/mcp_processor.rs: codex-rs/app-server/src/request_processors/mcp_processor.rs changed 34 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in McpRequestProcessor::mcp_server_oauth_login_response at line 136. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/app-server/src/request_processors/mcp_processor.rs\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":"codex-rs/app-server/src/request_processors/mcp_processor.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae414f4509291a6aa793de1babf631fd829f0e578d7b74ba6db66f9d1dfa8cb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/windows-sandbox-rs/src/setup_provisioning.rs: codex-rs/windows-sandbox-rs/src/setup_provisioning.rs changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in codex_windows_sandbox::setup_provisioning::run_setup_full at line 975. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/windows-sandbox-rs/src/setup_provisioning.rs\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":"codex-rs/windows-sandbox-rs/src/setup_provisioning.rs"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e923b009b674ad98f3d68fe5adae9d4a499482cb9a8228af230af5792eb221"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/tools/approvals.rs: codex-rs/core/src/tools/approvals.rs changed 35 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in Session::request_approval_with_user_prompt at line 563. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/tools/approvals.rs\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":"codex-rs/core/src/tools/approvals.rs"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"27fa99d269e4a47ae107ba989b7adfde526893d4b0f3bba474307e059b16efca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/windows-sandbox-rs/src/lib.rs: codex-rs/windows-sandbox-rs/src/lib.rs changed 30 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in codex_windows_sandbox::windows_impl::run_windows_sandbox_capture_with_filesystem_overrides at line 710. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/windows-sandbox-rs/src/lib.rs\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":"codex-rs/windows-sandbox-rs/src/lib.rs"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"8293dc2a415fc6fd045778cb40c82b58960cf233142d0d63fb64e6f1c2124a7e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/model-provider-info/src/lib.rs: codex-rs/model-provider-info/src/lib.rs changed 30 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in ModelProviderInfo::validate at line 356. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/model-provider-info/src/lib.rs\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":"codex-rs/model-provider-info/src/lib.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4f1c264dbd5aebafb1a41e9ac56ee7cea870c50b0efc6d94ec5aa271a85160"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/linux-sandbox/src/linux_run_main.rs: codex-rs/linux-sandbox/src/linux_run_main.rs changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in codex_linux_sandbox::linux_run_main::run_main at line 144. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/linux-sandbox/src/linux_run_main.rs\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":"codex-rs/linux-sandbox/src/linux_run_main.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"8443e9cd455c7fbc8879be04f1b0d8555ea73243ed72a3b9ab97e5cedb83280d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/tui.rs: codex-rs/tui/src/tui.rs changed 37 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in Tui::with_restored at line 1003. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/tui.rs\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":"codex-rs/tui/src/tui.rs"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86ec55342ec2970d0244d413e88e5a703320464dad4f884ea9dffe2406a2805"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app_backtrack.rs: codex-rs/tui/src/app_backtrack.rs changed 28 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in App::overlay_forward_event at line 398. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app_backtrack.rs\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":"codex-rs/tui/src/app_backtrack.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5542c364884e4ec153bc69c87c929e9b7aae7cd7421e8829b48411e5eb31bb2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/exec-server/src/shell_snapshot.rs: codex-rs/exec-server/src/shell_snapshot.rs changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in ShellSnapshotCache::prepare at line 109. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/exec-server/src/shell_snapshot.rs\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":"codex-rs/exec-server/src/shell_snapshot.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"0006d61f723bf90f92915ff4e748c9bc6a56b4b2d12d597e9538376791d0b4e6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app/agents_overview_actions.rs: codex-rs/tui/src/app/agents_overview_actions.rs changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in App::run_agents_overview_action at line 286. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app/agents_overview_actions.rs\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":"codex-rs/tui/src/app/agents_overview_actions.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc251f63ba7064d779cd23c09228c003a780e5bfc46c1399b36ac2f52ad84fc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/config/src/requirements_layers/stack.rs: codex-rs/config/src/requirements_layers/stack.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in codex_config::requirements_layers::stack::populate_merged_regular_fields_with_sources at line 248. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/config/src/requirements_layers/stack.rs\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":"codex-rs/config/src/requirements_layers/stack.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"0333d101cf62f88615ffb1ca2a02ac2c27601ced40ea1cbc78df7e7fac63cd75"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/app-server-client/src/cloud_backend/mod.rs: codex-rs/app-server-client/src/cloud_backend/mod.rs changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in codex_app_server_client::cloud_backend::run_worker_with_prepared at line 312. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/app-server-client/src/cloud_backend/mod.rs\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":"codex-rs/app-server-client/src/cloud_backend/mod.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b326d1f0032f21a044d06954e48b48aa18a43fe5a79f7503b02eeb0b8a8fed0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/shell_snapshot.rs: codex-rs/core/src/shell_snapshot.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in codex_core::shell_snapshot::capture_snapshot at line 578. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/shell_snapshot.rs\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":"codex-rs/core/src/shell_snapshot.rs"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74de5be1001748ae6161d5ecdea4b312e3de366eca26d79b7515c750b15f4b0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app/agent_center/rows.rs: codex-rs/tui/src/app/agent_center/rows.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in AgentsOverviewView::render_center_rows at line 38. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app/agent_center/rows.rs\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":"codex-rs/tui/src/app/agent_center/rows.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"81af373af0a15bd7070469ae372d44aaa55489db5530def53e5b7d6b527d3afc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/ext/guardian-v2/src/async_scorer/approval.rs: codex-rs/ext/guardian-v2/src/async_scorer/approval.rs changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in codex_guardian_v2::async_scorer::approval::cached_evidence at line 202. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/ext/guardian-v2/src/async_scorer/approval.rs\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":"codex-rs/ext/guardian-v2/src/async_scorer/approval.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6c4777b407bb116da776d067281c1088f06e2647439342a41a79b6f4d4f3328"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/guardian/input_budget.rs: codex-rs/core/src/guardian/input_budget.rs changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in codex_core::guardian::input_budget::finalize at line 162. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/guardian/input_budget.rs\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":"codex-rs/core/src/guardian/input_budget.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"c385ed65bbb2bccee68c9420ffe1c8c89466051def042b6f79d0191f8ba3df2b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/guardian-context/src/enforcement.rs: codex-rs/guardian-context/src/enforcement.rs changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in ComposedContext::enforce_budget at line 255. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/guardian-context/src/enforcement.rs\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":"codex-rs/guardian-context/src/enforcement.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"2227d10bd80e3f6bb5bd233266faa9a062f38e6f636b74f745cbbe347c1fd5c2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/bottom_pane/textarea/vim_commands.rs: codex-rs/tui/src/bottom_pane/textarea/vim_commands.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in TextArea::apply_vim_editor_action at line 345. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/bottom_pane/textarea/vim_commands.rs\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":"codex-rs/tui/src/bottom_pane/textarea/vim_commands.rs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d080bd996e874baae9e1c5161abfc9a021fa764b8d6c1cf0fa1299b666b849"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/chatwidget/input_restore.rs: codex-rs/tui/src/chatwidget/input_restore.rs changed 33 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in ChatWidget::submit_initial_user_message_if_pending at line 174. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/chatwidget/input_restore.rs\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":"codex-rs/tui/src/chatwidget/input_restore.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc83c3ea1b91d8988d01b24559347c23a6559b59afccc4397e340adc7056ba5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/session/mcp_runtime.rs: codex-rs/core/src/session/mcp_runtime.rs changed 33 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in Session::project_selected_environment_mcp_servers at line 141. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/session/mcp_runtime.rs\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":"codex-rs/core/src/session/mcp_runtime.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"037bafe5c336659ed97826ef36c04eb3b147f8f5bd00cd4b9e30a0d9689d3700"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/keymap_setup.rs: codex-rs/tui/src/keymap_setup.rs changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in codex_tui::keymap_setup::key_parts_to_config_key_spec at line 687. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/keymap_setup.rs\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":"codex-rs/tui/src/keymap_setup.rs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"054911deb1d10128fab86f9454283f96ce8dcd86b2342a761259747bfe6cc76a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/chatwidget/input_flow.rs: codex-rs/tui/src/chatwidget/input_flow.rs changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in ChatWidget::handle_composer_input_result at line 21. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/chatwidget/input_flow.rs\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":"codex-rs/tui/src/chatwidget/input_flow.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74936997ec77555f4e9d6e886705a4abbee943789231e6037c24751881fce84"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app/side.rs: codex-rs/tui/src/app/side.rs changed 31 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in App::apply_side_creation at line 899. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app/side.rs\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":"codex-rs/tui/src/app/side.rs"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a59290e05b7f8159d545754cba1ab7fe7fa44dbc5273620f35e221b81e75de4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/rmcp-client/src/http_client_adapter.rs: codex-rs/rmcp-client/src/http_client_adapter.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in StreamableHttpClientAdapter::post_message at line 149. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/rmcp-client/src/http_client_adapter.rs\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":"codex-rs/rmcp-client/src/http_client_adapter.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfca5ca6ccb07ace22879521f7c5914884049b60b0d8245c0197c638cf2c89a8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/exec-server/src/relay.rs: codex-rs/exec-server/src/relay.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in codex_exec_server::relay::run_multiplexed_environment at line 513. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/exec-server/src/relay.rs\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":"codex-rs/exec-server/src/relay.rs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7ae20926c14f8e887ff7cd2677e2cbd582bb2331bcf973626fb8cb7ed60714"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/markdown_copy.rs: codex-rs/tui/src/markdown_copy.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in codex_tui::markdown_copy::render_selection at line 402. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/markdown_copy.rs\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":"codex-rs/tui/src/markdown_copy.rs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"696f4809c6e077b89f0686a02d4a8a44df9591b744604c3aa53afba42eeb5ea5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/app-server-daemon/src/lib.rs: codex-rs/app-server-daemon/src/lib.rs changed 31 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in Daemon::try_restart_if_running at line 559. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/app-server-daemon/src/lib.rs\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":"codex-rs/app-server-daemon/src/lib.rs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b5e7e852feb56689ab9e513e16b8e1a3bb23b7423b4695983d8cce479dba29"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/ext/skills/src/tools/read.rs: codex-rs/ext/skills/src/tools/read.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in ReadTool::handle at line 116. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/ext/skills/src/tools/read.rs\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":"codex-rs/ext/skills/src/tools/read.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b741b3df995ab40d5ef3384933dadc0645d1a63efd068e303d589cbc7c2bf8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/status/card.rs: codex-rs/tui/src/status/card.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in StatusHistoryCell::content_lines at line 757. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/status/card.rs\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":"codex-rs/tui/src/status/card.rs"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c2bf0469bef5397d662dd12d5dcd3ef1d0977380214d4b2ef38b32d1a3be6a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/exec-server/src/local_process.rs: codex-rs/exec-server/src/local_process.rs changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in LocalProcess::start_process at line 290. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/exec-server/src/local_process.rs\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":"codex-rs/exec-server/src/local_process.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9be9a4d1275975a28b79f38f47d131fba7f87d84b2146660885bb01fa89571d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/chatwidget/turn_runtime.rs: codex-rs/tui/src/chatwidget/turn_runtime.rs changed 30 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ChatWidget::on_task_complete at line 140. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/chatwidget/turn_runtime.rs\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":"codex-rs/tui/src/chatwidget/turn_runtime.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c77003166a11ff76beddedd01705e7dbffc7d729fb0e74c904843ee9bc844e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/exec-server/src/process_sandbox.rs: codex-rs/exec-server/src/process_sandbox.rs changed 28 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in codex_exec_server::process_sandbox::prepare_exec_request_with_telemetry at line 109. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/exec-server/src/process_sandbox.rs\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":"codex-rs/exec-server/src/process_sandbox.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2999890eac09cd55cb7db5448ff99d700ff22f45a940fe8bccd0051cc0ac5c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app_server_session/rollout_history.rs: codex-rs/tui/src/app_server_session/rollout_history.rs changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in AppServerSession::resume_thread_with_permission_overrides at line 217. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app_server_session/rollout_history.rs\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":"codex-rs/tui/src/app_server_session/rollout_history.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"49980d5b9119b7c68afbc908e57f778ac082e40d55087aa127d9d3e49dc5040e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/chatwidget/streaming.rs: codex-rs/tui/src/chatwidget/streaming.rs changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in ChatWidget::on_agent_message_item_completed at line 534. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/chatwidget/streaming.rs\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":"codex-rs/tui/src/chatwidget/streaming.rs"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf36813f46684c8d0475b4acf225a177a864c77a96526f56580fe64b97c339b6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/chatwidget/rate_limits.rs: codex-rs/tui/src/chatwidget/rate_limits.rs changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in ChatWidget::on_rate_limit_snapshot_from at line 259. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/chatwidget/rate_limits.rs\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":"codex-rs/tui/src/chatwidget/rate_limits.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4c0f9558e2ba89e1886d1f78deac50caea3a1277f8a938302fb434e8c4769c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/rollout-trace/src/reducer/mod.rs: codex-rs/rollout-trace/src/reducer/mod.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in TraceReducer::apply_event at line 260. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/rollout-trace/src/reducer/mod.rs\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":"codex-rs/rollout-trace/src/reducer/mod.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37b71f1745c39b981378a5cd3dc6ce7cc0a7899dd00f7f275f097c4078583f9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/exec-server/src/noise_relay/harness.rs: codex-rs/exec-server/src/noise_relay/harness.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 66 in codex_exec_server::noise_relay::harness::noise_harness_connection_from_websocket_with_readiness at line 94. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/exec-server/src/noise_relay/harness.rs\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":"codex-rs/exec-server/src/noise_relay/harness.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"b00f7d01d5fc4a48022234512ca5a221e897a1449c9f85b2aca90e47656c2867"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/terminal_hyperlinks.rs: codex-rs/tui/src/terminal_hyperlinks.rs changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in codex_tui::terminal_hyperlinks::trailing_url_end at line 651. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/terminal_hyperlinks.rs\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":"codex-rs/tui/src/terminal_hyperlinks.rs"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7ed18af85b72b0f144fcfbf056fe917b1745df4b84e35b3021838a61eec46c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/cli/src/debug_sandbox.rs: codex-rs/cli/src/debug_sandbox.rs changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in codex_cli::debug_sandbox::run_command_under_sandbox at line 208. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/cli/src/debug_sandbox.rs\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":"codex-rs/cli/src/debug_sandbox.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"7549be871d00ce16fecc7c7d18c01e535dee54b33c940492ea534c8a77dd3b45"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/chatwidget/tool_requests.rs: codex-rs/tui/src/chatwidget/tool_requests.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in ChatWidget::on_guardian_assessment at line 37. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/chatwidget/tool_requests.rs\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":"codex-rs/tui/src/chatwidget/tool_requests.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb328e25d61eb8244e5ed503b686d75e6f681dc20871bac8d3c0e0977ce8b02e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/session/environment.rs: codex-rs/core/src/session/environment.rs changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in Session::update_environment_configuration at line 339. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/session/environment.rs\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":"codex-rs/core/src/session/environment.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c822c1d32dbbe7568e8f42c5f5c6c0e423465c5e17e810ff15eee95d1f15bb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app/backend_selection.rs: codex-rs/tui/src/app/backend_selection.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in App::switch_to_new_backend_session at line 149. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app/backend_selection.rs\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":"codex-rs/tui/src/app/backend_selection.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"163e1e47286495dce115532a0bdc8a7cb7f58cc741655c560337b3cae88a1f23"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/exec-server/src/client_recovery.rs: codex-rs/exec-server/src/client_recovery.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in ExecServerClient::spawn_rpc_reader at line 655. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/exec-server/src/client_recovery.rs\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":"codex-rs/exec-server/src/client_recovery.rs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23d645a1f64077da09a6f86e16d6e6f21a406b925f18f612cbfb974e2ce23d2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/rmcp-client/src/rmcp_client.rs: codex-rs/rmcp-client/src/rmcp_client.rs changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in RmcpClient::call_tool_inner at line 1053. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/rmcp-client/src/rmcp_client.rs\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":"codex-rs/rmcp-client/src/rmcp_client.rs"},"region":{"startLine":1053}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe323441ec51ba41d7413462001b46126db622351667ad27c044a7641c77c7ea"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/pager_overlay/transcript.rs: codex-rs/tui/src/pager_overlay/transcript.rs changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in TranscriptOverlay::handle_key at line 445. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/pager_overlay/transcript.rs\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":"codex-rs/tui/src/pager_overlay/transcript.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a04a0eaf38879a2881e9f635f0626fcffadd31331c556f57e11728b8f0359c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/app-server/src/config_manager_service.rs: codex-rs/app-server/src/config_manager_service.rs changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in ConfigManager::persist_user_edits at line 354. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/app-server/src/config_manager_service.rs\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":"codex-rs/app-server/src/config_manager_service.rs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5801354d730cef137a16f86e1b24c44e14d54ffb95b329c0369823a44c58e8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/utils/pty/src/posix_child.rs: codex-rs/utils/pty/src/posix_child.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in NativeChild::spawn at line 61. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/utils/pty/src/posix_child.rs\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":"codex-rs/utils/pty/src/posix_child.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6eec75bab05df679cae34502d8fa88a7c7379ce12a45b424a304b8ae1d9d22"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/tools/executed_tool_calls.rs: codex-rs/core/src/tools/executed_tool_calls.rs changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ExecutedToolCalls::record_nested_tool_call at line 538. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/tools/executed_tool_calls.rs\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":"codex-rs/core/src/tools/executed_tool_calls.rs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"1724f8a8d553b38c1202871bdf66f88df4f9a18f95062b09c6ce2a308661cfb0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/chatwidget/reconnect.rs: codex-rs/tui/src/chatwidget/reconnect.rs changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in ChatWidget::handle_restricted_key at line 211. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/chatwidget/reconnect.rs\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":"codex-rs/tui/src/chatwidget/reconnect.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4da726b3ba07fb9fd79fcf073cf1174874587cd956f885e7bad58fe099e292"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/app-server-daemon/src/update_loop.rs: codex-rs/app-server-daemon/src/update_loop.rs changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in codex_app_server_daemon::update_loop::run_with_http at line 98. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/app-server-daemon/src/update_loop.rs\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":"codex-rs/app-server-daemon/src/update_loop.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d07a4dd6c449ebbe57cd69cf2336d1cb1a2eeef45deaf14874a8b29a5c03f5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/sandboxing/src/seatbelt.rs: codex-rs/sandboxing/src/seatbelt.rs changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in codex_sandboxing::seatbelt::create_seatbelt_command_args_with_profile at line 818. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/sandboxing/src/seatbelt.rs\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":"codex-rs/sandboxing/src/seatbelt.rs"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"42528330261247cec8f33361b195be55430078ff577e9738609ed0f935e7b998"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/state/src/model/thread_metadata.rs: codex-rs/state/src/model/thread_metadata.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in ThreadMetadata::diff_fields at line 247. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/state/src/model/thread_metadata.rs\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":"codex-rs/state/src/model/thread_metadata.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd24d7a5d121773d7b6825a254a0a4fe964a2bae88c340602abf31af3aaa043"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/message-board/src/local.rs: codex-rs/message-board/src/local.rs changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in LocalAgentMessageBoard::post_inner at line 206. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/message-board/src/local.rs\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":"codex-rs/message-board/src/local.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dcac8d3c863d2911c38e988109528e36f91ceec67e309564c6cf2ed7816c550"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/guardian-context/src/preparation/mod.rs: codex-rs/guardian-context/src/preparation/mod.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in codex_guardian_context::preparation::prepare_sections at line 172. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/guardian-context/src/preparation/mod.rs\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":"codex-rs/guardian-context/src/preparation/mod.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"853af5a81fe32d4dc9747dfe809ac3a57fdf41aa3f7c20b277a5146fe65446d4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/tools/handlers/request_plugin_install.rs: codex-rs/core/src/tools/handlers/request_plugin_install.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in RequestPluginInstallHandler::handle_call at line 95. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/tools/handlers/request_plugin_install.rs\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":"codex-rs/core/src/tools/handlers/request_plugin_install.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89b34c414456e3cda844708616687f31aae42d2bae861d3119d2893a732dc8a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/onboarding/auth.rs: codex-rs/tui/src/onboarding/auth.rs changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in AuthModeWidget::render_pick_mode at line 551. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/onboarding/auth.rs\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":"codex-rs/tui/src/onboarding/auth.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13389b6d3c17117cab660b2629de348ed2796f2c889bf63f971eb193d0f867a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/codex-mcp/src/elicitation.rs: codex-rs/codex-mcp/src/elicitation.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in ElicitationRequestManager::make_sender at line 425. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/codex-mcp/src/elicitation.rs\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":"codex-rs/codex-mcp/src/elicitation.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c64eb1c8c2b0ba9bc3b75af0a56d8795f613b99861e409c808a1f3e25fd42b9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/app-server/src/mcp_refresh.rs: codex-rs/app-server/src/mcp_refresh.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in codex_app_server::mcp_refresh::reload_mcp_config_with_policy at line 44. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/app-server/src/mcp_refresh.rs\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":"codex-rs/app-server/src/mcp_refresh.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db1fc3171be9a1937c702e926a961bcc042ccd875fb6a5d8e1ef328397333ba"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/voice-host/src/main.rs: codex-rs/voice-host/src/main.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in codex_voice_host::run at line 70. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/voice-host/src/main.rs\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":"codex-rs/voice-host/src/main.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fcc91fca5ba1570ebbb9227477a1b39708bedde0e1072b325cb203082ac5413"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/exec.rs: codex-rs/core/src/exec.rs changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in codex_core::exec::consume_output at line 986. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/exec.rs\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":"codex-rs/core/src/exec.rs"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b6d923815ad0f8086d23da8da33962caa80b2180434a4f6a7e6306c0cb348b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/unified_exec/process.rs: codex-rs/core/src/unified_exec/process.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in UnifiedExecProcess::spawn_exec_server_output_task at line 452. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/unified_exec/process.rs\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":"codex-rs/core/src/unified_exec/process.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbb550d69d10556641e45088a7246926102271c0c292e9fd59ffc80c79a6063"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/analytics/chart.rs: codex-rs/tui/src/analytics/chart.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in AnalyticsView::history_lines at line 38. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/analytics/chart.rs\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":"codex-rs/tui/src/analytics/chart.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d575b4e13ad2d617e5a265f8f78a2b52882bd6b182fbe0716faa2976469e2f8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/thread-store/src/local/rollout_migration/legacy_event.rs: codex-rs/thread-store/src/local/rollout_migration/legacy_event.rs changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in codex_thread_store::local::rollout_migration::legacy_event::user_message_item at line 39. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/thread-store/src/local/rollout_migration/legacy_event.rs\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":"codex-rs/thread-store/src/local/rollout_migration/legacy_event.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13b4a7104e367a73b5cee587860c2c2f70f8587f03b57f1c53f908461509db2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app/resume_config.rs: codex-rs/tui/src/app/resume_config.rs changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in App::resume_config_for_target at line 29. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app/resume_config.rs\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":"codex-rs/tui/src/app/resume_config.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d5e4d45c26e5a3db11437cd254477ed24fa391c8ba6aa6f8af4af8d8da469f3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/daemon_startup.rs: codex-rs/tui/src/daemon_startup.rs changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in codex_tui::daemon_startup::compatibility_warning at line 128. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/daemon_startup.rs\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":"codex-rs/tui/src/daemon_startup.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b29edff44c04667c0f3da06a0089f3aeb2179e755d7c3d7b3ca33c67043856"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/app-server/src/outgoing_message.rs: codex-rs/app-server/src/outgoing_message.rs changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in OutgoingMessageSender::send_request_to_connections at line 388. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/app-server/src/outgoing_message.rs\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":"codex-rs/app-server/src/outgoing_message.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d68a8ed547a02e1abad9f1e8bc14acb22b0240915283749ac518b5e7765f47"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core-plugins/src/loader.rs: codex-rs/core-plugins/src/loader.rs changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in codex_core_plugins::loader::refresh_non_curated_plugin_cache_with_mode at line 546. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core-plugins/src/loader.rs\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":"codex-rs/core-plugins/src/loader.rs"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb35a11ed0ee3bb2dd02ec1106407bb9a666d2c5d00b58950ca50da2c068656"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/thread-store/src/local/rollout_migration.rs: codex-rs/thread-store/src/local/rollout_migration.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in LocalThreadStore::migrate_rollout_path at line 419. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/thread-store/src/local/rollout_migration.rs\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":"codex-rs/thread-store/src/local/rollout_migration.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6b8045956d6e965afed71718c67308fb5fa394f5dc0ea252562dc5e4c7287f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/bottom_pane/chat_composer/reconnect.rs: codex-rs/tui/src/bottom_pane/chat_composer/reconnect.rs changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in ChatComposer::handle_restricted_key at line 61. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/bottom_pane/chat_composer/reconnect.rs\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":"codex-rs/tui/src/bottom_pane/chat_composer/reconnect.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6feae76bc199772cbf557ce6530e08a32684cfde7980fd16048c6672c16fc6f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/history_cell/mcp.rs: codex-rs/tui/src/history_cell/mcp.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in codex_tui::history_cell::mcp::new_mcp_tools_output_from_statuses at line 647. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/history_cell/mcp.rs\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":"codex-rs/tui/src/history_cell/mcp.rs"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"654f0d3993db599eadc245991bf558fdea1a03366b936b887c68e402ebccc918"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/session/step_activation.rs: codex-rs/core/src/session/step_activation.rs changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in Session::apply_turn_settings at line 234. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/session/step_activation.rs\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":"codex-rs/core/src/session/step_activation.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93e502713ba61b02d6b42c184b56bcf413753aa8bc239b8d186691b7e19c940"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/network-proxy/src/http_proxy.rs: codex-rs/network-proxy/src/http_proxy.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in codex_network_proxy::http_proxy::http_plain_proxy at line 569. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/network-proxy/src/http_proxy.rs\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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd4548b0a5b4aaea9fa57d805304c57989250b134fa939ed06d68570c37e7ba1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/config/edit/document_helpers.rs: codex-rs/core/src/config/edit/document_helpers.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in codex_core::config::edit::document_helpers::serialize_mcp_server_table at line 50. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/config/edit/document_helpers.rs\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":"codex-rs/core/src/config/edit/document_helpers.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d819a48401587e835378933b173d32a25b78d3476c26f1dc0cfb6ebbc464378e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/app-server-daemon/src/backend/pid.rs: codex-rs/app-server-daemon/src/backend/pid.rs changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in PidBackend::stop_with_grace at line 172. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/app-server-daemon/src/backend/pid.rs\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":"codex-rs/app-server-daemon/src/backend/pid.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"7871019b4dc83234a2d3d29b1f64da28b1818ee788b247855c72e0a801c06830"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/code-mode-runtime/src/cell_actor/mod.rs: codex-rs/code-mode-runtime/src/cell_actor/mod.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in codex_code_mode_runtime::cell_actor::run_cell at line 113. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/code-mode-runtime/src/cell_actor/mod.rs\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":"codex-rs/code-mode-runtime/src/cell_actor/mod.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea39f8d0535b29c3a0c28f6d0a97699b26c96f29e41b9b8a1ff9f101c35a9763"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/ext/guardian-reviewer/src/review.rs: codex-rs/ext/guardian-reviewer/src/review.rs changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in ReviewRequest::review at line 97. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/ext/guardian-reviewer/src/review.rs\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":"codex-rs/ext/guardian-reviewer/src/review.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca14f81e7f31ce2080990d0e20347a2dacb2b8ac749bb7c2f0be0e80753e2661"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/app-server-daemon/src/prepare_install.rs: codex-rs/app-server-daemon/src/prepare_install.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in codex_app_server_daemon::prepare_install::prepare_from_package at line 87. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/app-server-daemon/src/prepare_install.rs\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":"codex-rs/app-server-daemon/src/prepare_install.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"587f12db434c068dac4319e7a43fb5e5a0081d2e874d7f67d8b4bfdc37924fc5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/transcript_view/footer.rs: codex-rs/tui/src/transcript_view/footer.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in TranscriptView::footer_with_navigation at line 17. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/transcript_view/footer.rs\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":"codex-rs/tui/src/transcript_view/footer.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"05132e027c45bd3e5adb81c84dc0685ab6927459d0fc98b43cf87dea14f1aa65"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/tools/runtimes/mod.rs: codex-rs/core/src/tools/runtimes/mod.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in codex_core::tools::runtimes::maybe_wrap_shell_lc_with_snapshot at line 286. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/tools/runtimes/mod.rs\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":"codex-rs/core/src/tools/runtimes/mod.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff0272a10cb4d906d6b1bd2859ebfd01c1343598ecb71f511cdc4d3e8979c72"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/analytics/render.rs: codex-rs/tui/src/analytics/render.rs changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in AnalyticsView::render at line 86. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/analytics/render.rs\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":"codex-rs/tui/src/analytics/render.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0de15b7505e544142b22ae36e56c51e91fc1849f862d5b5bb2fca3710a6a685"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/named_session_lookup.rs: codex-rs/tui/src/named_session_lookup.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in codex_tui::named_session_lookup::lookup at line 48. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/named_session_lookup.rs\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":"codex-rs/tui/src/named_session_lookup.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e87ba17f2f3264defd2bb2e7d39226502a783bfa87ad51b62198446d4c3a2ec"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/exec-server-cli/src/command.rs: codex-rs/exec-server-cli/src/command.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in ExecServerCommand::run at line 193. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/exec-server-cli/src/command.rs\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":"codex-rs/exec-server-cli/src/command.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec59e607b0a1f6c759ce15a4cf320064c15ca2eb116834f368b0db54b9d91f2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/app-server/src/request_processors/account_processor/workspace_routing.rs: codex-rs/app-server/src/request_processors/account_processor/workspace_routing.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in AccountRequestProcessor::read_account at line 309. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/app-server/src/request_processors/account_processor/workspace_routing.rs\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":"codex-rs/app-server/src/request_processors/account_processor/workspace_routing.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f854feecbe1b16c0074fd08e54ef0d4fa8c30f3c5406bdd55d96a592911018"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/cli/src/mcp_cmd.rs: codex-rs/cli/src/mcp_cmd.rs changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in codex_cli::mcp_cmd::run_list at line 691. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/cli/src/mcp_cmd.rs\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":"codex-rs/cli/src/mcp_cmd.rs"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f542075b2e6561174395c0b7bd6cc0c41a40a54a13ab51f51e3e07f51d17a8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/models-manager/src/manager.rs: codex-rs/models-manager/src/manager.rs changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in OpenAiModelsManager::fetch_and_update_models at line 831. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/models-manager/src/manager.rs\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":"codex-rs/models-manager/src/manager.rs"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3181b8bc336c4abb4174a951498bc4ccd623a039768ef9656d78a71ef21504a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app/history_ui.rs: codex-rs/tui/src/app/history_ui.rs changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in App::refresh_thread_usage_history_tail at line 168. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app/history_ui.rs\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":"codex-rs/tui/src/app/history_ui.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1bdf40129af6e51428703a1a7956a3c057984ee03e09477cf8f5be4d1e4db1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/thread_transcript.rs: codex-rs/tui/src/thread_transcript.rs changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in codex_tui::thread_transcript::thread_items_to_transcript_cells at line 129. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/thread_transcript.rs\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":"codex-rs/tui/src/thread_transcript.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"892ac74772b91e2708c548b80454b278595ba8e336b4ed825d9e50efe24507b7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/transcript_view/layout.rs: codex-rs/tui/src/transcript_view/layout.rs changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in TranscriptView::entry_layout at line 214. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/transcript_view/layout.rs\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":"codex-rs/tui/src/transcript_view/layout.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"826f5daa7aaf22a577c574de45cc33d9c00ea6e806a2963fc376b362c609b96b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app/safety_buffering.rs: codex-rs/tui/src/app/safety_buffering.rs changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in App::retry_safety_buffered_turn at line 26. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app/safety_buffering.rs\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":"codex-rs/tui/src/app/safety_buffering.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"caca3d57a802eb981df831f54908f76e32e51c7fe20ffdbce081c045c7963637"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/bottom_pane/chat_composer/slash_input.rs: codex-rs/tui/src/bottom_pane/chat_composer/slash_input.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in ChatComposer::handle_key_event_with_slash_popup at line 238. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/bottom_pane/chat_composer/slash_input.rs\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":"codex-rs/tui/src/bottom_pane/chat_composer/slash_input.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a280fd5e153e0f2a1d47a7c73786f46061906f9e1dbbfacf3b33b4503509d4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/hooks/src/engine/discovery.rs: codex-rs/hooks/src/engine/discovery.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in codex_hooks::engine::discovery::append_matcher_groups at line 623. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/hooks/src/engine/discovery.rs\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":"codex-rs/hooks/src/engine/discovery.rs"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b855e088ed9511ee4b4d01f115dcce64b402ea4f53e29fdcb25d7fd82d688f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app/workspace_hud.rs: codex-rs/tui/src/app/workspace_hud.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in App::workspace_hud at line 10. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app/workspace_hud.rs\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":"codex-rs/tui/src/app/workspace_hud.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c70a3c55a86bcbbe88db8d16ca797eafc746756d5ed4fab86000f452db1f58d9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/custom_terminal.rs: codex-rs/tui/src/custom_terminal.rs changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in Terminal::draw_with_size at line 381. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/custom_terminal.rs\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":"codex-rs/tui/src/custom_terminal.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f9201721b3d50d15e6ce2d9ecc67a6160d7c7768e8134297601b899ae02821"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/message-board/src/tools.rs: codex-rs/message-board/src/tools.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in BoardTool::execute at line 192. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/message-board/src/tools.rs\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":"codex-rs/message-board/src/tools.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"3227991e6002418447b939b18e0b1f27cc1c4472b8725e7bbb4c81e050f482bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/rmcp-client/src/stdio_server_launcher.rs: codex-rs/rmcp-client/src/stdio_server_launcher.rs changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in LocalStdioServerLauncher::launch_server at line 452. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/rmcp-client/src/stdio_server_launcher.rs\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":"codex-rs/rmcp-client/src/stdio_server_launcher.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3d01f1850fa1bcdda0f8b4afd0777f031323702b8570eae7e40cbfcbd46446"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rs: codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in WsStream::new at line 88. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rs\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":"codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"28dbed88380d8cd686f5b81ce46311c1311d02edc038520bdab7defb8cc6c50f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app_server_session/history.rs: codex-rs/tui/src/app_server_session/history.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in AppServerSession::hydrate_initial_thread_history at line 358. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app_server_session/history.rs\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":"codex-rs/tui/src/app_server_session/history.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48c875a8b338ef571f36cdd8f53aa2d1cff46649b1052855d4d7e5532629846"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/config/runtime_refresh.rs: codex-rs/core/src/config/runtime_refresh.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in Config::resolve_runtime_refresh at line 40. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/config/runtime_refresh.rs\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":"codex-rs/core/src/config/runtime_refresh.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"3057d8a2ef52b9ad4c52e32c4dfa0a0fe96cdbfc71c786a0075c4798c499cce9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/startup_draft_input.rs: codex-rs/tui/src/startup_draft_input.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in StartupDraftPump::handle_event at line 24. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/startup_draft_input.rs\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":"codex-rs/tui/src/startup_draft_input.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c002407d4c2353d66d62b30f372e16bf5579b0051d4c54ac82c34a026432d7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/app-server-client/src/cloud_backend/requests.rs: codex-rs/app-server-client/src/cloud_backend/requests.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in Requests::handle at line 56. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/app-server-client/src/cloud_backend/requests.rs\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":"codex-rs/app-server-client/src/cloud_backend/requests.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"25414d62f62288ac36dd27a89660547ae72f9178225b1c18afef2786157ac804"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/chatwidget/command_lifecycle.rs: codex-rs/tui/src/chatwidget/command_lifecycle.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in ChatWidget::handle_command_execution_completed_now at line 370. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/chatwidget/command_lifecycle.rs\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":"codex-rs/tui/src/chatwidget/command_lifecycle.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58b1c50103e52885364a97389cf6e5eae4d1748b13b5f9cb787a9c3e86bc33d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/history/src/rollout_payload.rs: codex-rs/history/src/rollout_payload.rs changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in RolloutItem::from at line 284. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/history/src/rollout_payload.rs\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":"codex-rs/history/src/rollout_payload.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"8afcbc45c6d332077ea4eb43dd97b175e0d8ec8dcd739ee0c92239400353cd38"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/markdown_render/math/render.rs: codex-rs/tui/src/markdown_render/math/render.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in MathParser::command at line 225. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/markdown_render/math/render.rs\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":"codex-rs/tui/src/markdown_render/math/render.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"0183a6f942175a2ee9098b3171a7cd57252516686e2b517e0d93b971bbe931d4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/thread-store/src/local/rollout_migration/canonicalizer.rs: codex-rs/thread-store/src/local/rollout_migration/canonicalizer.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in LegacyRolloutCanonicalizer::process_line at line 104. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/thread-store/src/local/rollout_migration/canonicalizer.rs\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":"codex-rs/thread-store/src/local/rollout_migration/canonicalizer.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3e699142d0c20a3c4fe8f0dfd9887e174281d3f44a81896703a96c2b39ee2f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/onboarding/bedrock.rs: codex-rs/tui/src/onboarding/bedrock.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in BedrockState::render at line 350. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/onboarding/bedrock.rs\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":"codex-rs/tui/src/onboarding/bedrock.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0fe337581da26658411309fb213458f1d3599255f57e48eb55f77fdb7db5992"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/network-proxy/src/state.rs: codex-rs/network-proxy/src/state.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in codex_network_proxy::state::validate_policy_against_constraints at line 121. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/network-proxy/src/state.rs\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":"codex-rs/network-proxy/src/state.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"e954a606f3909babce63ee0258d91f5cedb82e88261042862cf5a4c04b44d456"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/chatwidget/permission_popups.rs: codex-rs/tui/src/chatwidget/permission_popups.rs changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ChatWidget::open_legacy_permissions_popup at line 36. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/chatwidget/permission_popups.rs\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":"codex-rs/tui/src/chatwidget/permission_popups.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"faeff72b8a5660f3d7945573a797686308174dbd15f972506ef676254db14cc6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/context/world_state/top_level_tools.rs: codex-rs/core/src/context/world_state/top_level_tools.rs changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in TopLevelToolsState::render_declaration_updates at line 217. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/context/world_state/top_level_tools.rs\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":"codex-rs/core/src/context/world_state/top_level_tools.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a817bf2af867837c42fd38ea3c3891daa40cca7cef139bc81412ec423a8936e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/app-server-transport/src/transport/remote_control/websocket.rs: codex-rs/app-server-transport/src/transport/remote_control/websocket.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in RemoteControlWebsocket::run_server_writer_inner at line 979. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/app-server-transport/src/transport/remote_control/websocket.rs\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":"codex-rs/app-server-transport/src/transport/remote_control/websocket.rs"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb243d56f21fbb50a885656fd48157eaab6ad109d7b3942a3e8c2b9b75a7bb8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/utils/output-truncation/src/lib.rs: codex-rs/utils/output-truncation/src/lib.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in codex_utils_output_truncation::truncate_measured_output_iter at line 348. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/utils/output-truncation/src/lib.rs\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":"codex-rs/utils/output-truncation/src/lib.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"50deca079dee41fe769c100be1196db21a8b87e1e977b867dbf9f8cdbc6d266f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app/agents_overview_new.rs: codex-rs/tui/src/app/agents_overview_new.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in App::start_agents_overview_session at line 96. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app/agents_overview_new.rs\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":"codex-rs/tui/src/app/agents_overview_new.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a78ff9585a088dfe3d27faf7b2cfe89321836ba669bdb2a460d8ebc61bc7633"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/ext/mcp/src/plugin.rs: codex-rs/ext/mcp/src/plugin.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in PluginContributor::selected_plugins at line 247. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/ext/mcp/src/plugin.rs\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":"codex-rs/ext/mcp/src/plugin.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2888c2e56b00e477bdb92a4b0d68d75d5012eacb1fa7013d00382da88fae634"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/codex-api/src/files.rs: codex-rs/codex-api/src/files.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in codex_api::files::upload_openai_file at line 133. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/codex-api/src/files.rs\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":"codex-rs/codex-api/src/files.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9365bc471efdf693c0365444d73c53cd29e0fa1ad34cf4a437109455e0e94f3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/rollout/src/compression.rs: codex-rs/rollout/src/compression.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in codex_rollout::compression::worker::compress_rollouts_in_root at line 591. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/rollout/src/compression.rs\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":"codex-rs/rollout/src/compression.rs"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"3adff7891db10d495b2c58095ccce0975271dd4f5e4be4861ab125f8af04fea2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/chatwidget/model_popups.rs: codex-rs/tui/src/chatwidget/model_popups.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in ChatWidget::open_reasoning_popup at line 516. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/chatwidget/model_popups.rs\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":"codex-rs/tui/src/chatwidget/model_popups.rs"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"bffd2659bdb7926cb65bc4477f697d0e515ae86ea6c5f83aa3bfebcdf07f6862"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/thread-store/src/local/read_thread.rs: codex-rs/thread-store/src/local/read_thread.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in codex_thread_store::local::read_thread::read_thread at line 32. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/thread-store/src/local/read_thread.rs\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":"codex-rs/thread-store/src/local/read_thread.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"02bc9cde875f3b81dcfb5e261dda850d25a818e0b221d037116e68a64c0d9295"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/bottom_pane/async_questions/input.rs: codex-rs/tui/src/bottom_pane/async_questions/input.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in AsyncQuestions::handle_key_event at line 155. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/bottom_pane/async_questions/input.rs\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":"codex-rs/tui/src/bottom_pane/async_questions/input.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4113d64fc8aed11fe08116f7f278462ce1ea4a14da2135de04f0949dc566c5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/markdown_render/math.rs: codex-rs/tui/src/markdown_render/math.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in MathMarkdown::new at line 28. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/markdown_render/math.rs\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":"codex-rs/tui/src/markdown_render/math.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e803e112d906a9aa8b474692cd1bf83cb5e203a820c2e5eb937cab4d16517b7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/app-server/src/request_processors/command_exec_processor.rs: codex-rs/app-server/src/request_processors/command_exec_processor.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in CommandExecRequestProcessor::exec_one_off_command_inner at line 102. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/app-server/src/request_processors/command_exec_processor.rs\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":"codex-rs/app-server/src/request_processors/command_exec_processor.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"005f2b99be481989139e6bd5cbf4e9f5f8364ab64d9f2262ddec3df236e684e5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/code-mode/src/grpc_session/mod.rs: codex-rs/code-mode/src/grpc_session/mod.rs changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in GrpcCodeModeSessionProvider::open_binding at line 154. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/code-mode/src/grpc_session/mod.rs\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":"codex-rs/code-mode/src/grpc_session/mod.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"5425f748c7600589332ea8337cb57829c47a48c3d16d4a84ae220acb3a8ec229"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/config/src/mcp_types.rs: codex-rs/config/src/mcp_types.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in McpServerConfig::try_from at line 470. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/config/src/mcp_types.rs\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":"codex-rs/config/src/mcp_types.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aad139d0550c13002dede580379574b308022598c943fbeb7545109c757f70c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/codex-mcp/src/catalog.rs: codex-rs/codex-mcp/src/catalog.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in McpCatalogBuilder::build at line 528. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/codex-mcp/src/catalog.rs\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":"codex-rs/codex-mcp/src/catalog.rs"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"28fb2728349f0dcfe65a6eed440f439445c73fa18a2d9657fe49b1860298b193"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/transcript_view/search.rs: codex-rs/tui/src/transcript_view/search.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in TranscriptView::handle_search_key at line 185. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/transcript_view/search.rs\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":"codex-rs/tui/src/transcript_view/search.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2e571d0fc293b354ac5a759fb1bffb6a237ee7119d85973052c3169c6441bb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/exec_cell/render.rs: codex-rs/tui/src/exec_cell/render.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in ExecCell::command_display_lines_with_hidden_details at line 503. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/exec_cell/render.rs\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":"codex-rs/tui/src/exec_cell/render.rs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c889e782bc4776b127bb6572ea121a0afc18cf5f519df9233d9d4e6c0135bc7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/network-proxy/src/socks5.rs: codex-rs/network-proxy/src/socks5.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in codex_network_proxy::socks5::handle_socks5_tcp at line 201. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/network-proxy/src/socks5.rs\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":"codex-rs/network-proxy/src/socks5.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8522daa2bb593b7c214c6436871de6f6c64465e27f408da90052a4674bf528"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/thread-store/src/local/thread_history_materialization.rs: codex-rs/thread-store/src/local/thread_history_materialization.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in codex_thread_store::local::thread_history_materialization::read_projection_batches at line 122. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/thread-store/src/local/thread_history_materialization.rs\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":"codex-rs/thread-store/src/local/thread_history_materialization.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b7dfb9a90cee32d43db4b671725bcae132c29f3d3cfde0b8e475e82e9d196e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/transcript_view/disclosure.rs: codex-rs/tui/src/transcript_view/disclosure.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in TranscriptView::handle_disclosure_key at line 212. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/transcript_view/disclosure.rs\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":"codex-rs/tui/src/transcript_view/disclosure.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24fba2e574d97114e0e077230e3da83a75f7eb7d71830caeea428bc79aed646"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app/user_turn_submission.rs: codex-rs/tui/src/app/user_turn_submission.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in codex_tui::app::user_turn_submission::try_submit_user_turn at line 12. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app/user_turn_submission.rs\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":"codex-rs/tui/src/app/user_turn_submission.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7e7a9d5ad43fb6d364e552b93ec1d3b0666fbf893924902d29cb2e26e1f527"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/connectors.rs: codex-rs/core/src/connectors.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in codex_core::connectors::list_accessible_connectors_from_mcp_tools_with_mcp_manager at line 199. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/connectors.rs\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":"codex-rs/core/src/connectors.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dbde395b66149e7cbfbb2bf46fba29b68bf8d6c4627d2a1b5b0dbf3353cf24d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/chatwidget/questions.rs: codex-rs/tui/src/chatwidget/questions.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in ChatWidget::handle_question_key at line 56. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/chatwidget/questions.rs\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":"codex-rs/tui/src/chatwidget/questions.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b4f94174bdb38276dc190738dbf5b52e21682197c31bdc8f3ad9e1bc177114"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/config/edit.rs: codex-rs/core/src/config/edit.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in ConfigDocument::apply at line 219. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/config/edit.rs\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":"codex-rs/core/src/config/edit.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4e40d037b08954a5c395897022a7dcb2dd43a4462b8c02c10ffdd9ad4ee492"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/guardian/recorded_tool_call.rs: codex-rs/core/src/guardian/recorded_tool_call.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in codex_core::guardian::recorded_tool_call::review_tool_call at line 40. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/guardian/recorded_tool_call.rs\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":"codex-rs/core/src/guardian/recorded_tool_call.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cfd9f82fb9845e0802ade3d7f9c6e348299237044fb9bae403fa741f3e99b04"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/app-server-client/src/remote.rs: codex-rs/app-server-client/src/remote.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in RemoteAppServerClient::connect_with_stream at line 244. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/app-server-client/src/remote.rs\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":"codex-rs/app-server-client/src/remote.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"3223786c63d14dd250a5f29fec41232709f2e630e64bc6131ff9ca281923fd2f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/agent/history.rs: codex-rs/core/src/agent/history.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in codex_core::agent::history::prepare_forked_history at line 192. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/agent/history.rs\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":"codex-rs/core/src/agent/history.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"9966cc52893197f6a124c69deb4af8c255eb03461a0621342ae321dc3f80d898"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/config/src/merge.rs: codex-rs/config/src/merge.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in codex_config::merge::merge_toml_values_at_path at line 81. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/config/src/merge.rs\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":"codex-rs/config/src/merge.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c554dbca11b4afe92573be6f70e9ab09000346797a648543957df7af4ad38f0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/sidebar_chooser.rs: codex-rs/tui/src/sidebar_chooser.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in codex_tui::sidebar_chooser::paint at line 373. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/sidebar_chooser.rs\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":"codex-rs/tui/src/sidebar_chooser.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"499d8ca13c517e66dac623115a2f96c89745091002d2751f550560f99bb48e83"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/app-server/src/thread_sample.rs: codex-rs/app-server/src/thread_sample.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in SampleTask::run at line 113. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/app-server/src/thread_sample.rs\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":"codex-rs/app-server/src/thread_sample.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"913e9116133e9c70053449cf5bbd41a83e3ce54e9ab38049873fe582c2a43451"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/memories/write/src/rollout_input.rs: codex-rs/memories/write/src/rollout_input.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in codex_memories_write::rollout_input::serialize_tiered_input at line 105. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/memories/write/src/rollout_input.rs\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":"codex-rs/memories/write/src/rollout_input.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a9dde05df791c75b69463ffc5727fc9ef804bded247b22fc9784bc85aae0bb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/guardian-context/src/history.rs: codex-rs/guardian-context/src/history.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in TranscriptHistory::record at line 68. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/guardian-context/src/history.rs\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":"codex-rs/guardian-context/src/history.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a88dae89d199962c1cd5c08c77afde76a101500223ac17bf75886b7945511d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/windows-sandbox-rs/src/acl.rs: codex-rs/windows-sandbox-rs/src/acl.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in codex_windows_sandbox::acl::ensure_allow_mask_aces_with_inheritance_impl at line 549. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/windows-sandbox-rs/src/acl.rs\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":"codex-rs/windows-sandbox-rs/src/acl.rs"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf21af115d61147d6b4c9f9cc68f158c618b9278b32d9eafbd6e6cc2d7e1e6e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/transcript_view/select_mode.rs: codex-rs/tui/src/transcript_view/select_mode.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in TranscriptView::handle_select_mode_key at line 185. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/transcript_view/select_mode.rs\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":"codex-rs/tui/src/transcript_view/select_mode.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cce8fbdec6b840a4a100d595ec44b8feedd81eb0461d749a05447b144017923"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/bottom_pane/chat_composer/history_search.rs: codex-rs/tui/src/bottom_pane/chat_composer/history_search.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ChatComposer::handle_history_search_key at line 166. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/bottom_pane/chat_composer/history_search.rs\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":"codex-rs/tui/src/bottom_pane/chat_composer/history_search.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"66343d4368bc0954ea978f7c30bff9c600282907ebb8d157595912ebe30fab76"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/app-server/src/external_agent_migration/session_importer.rs: codex-rs/app-server/src/external_agent_migration/session_importer.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in ExternalAgentSessionImporter::persist_session at line 391. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/app-server/src/external_agent_migration/session_importer.rs\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":"codex-rs/app-server/src/external_agent_migration/session_importer.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a8d33237ffe21257f9c4ab95a6baf8478be485f82d319033223990885f60b85"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/code-mode-host/src/lib.rs: codex-rs/code-mode-host/src/lib.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in HostState::handle_request at line 403. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/code-mode-host/src/lib.rs\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":"codex-rs/code-mode-host/src/lib.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"479ba8ff6d196d18bb27bef62d5eabed6368c4e1bd7bf96b8badff5a7446e84d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/bottom_pane/request_user_input/mod.rs: codex-rs/tui/src/bottom_pane/request_user_input/mod.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in RequestUserInputOverlay::footer_tips at line 585. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/bottom_pane/request_user_input/mod.rs\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":"codex-rs/tui/src/bottom_pane/request_user_input/mod.rs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8a491c665c61a87d9fecd9b83a58ca2311a1851c59bb2c71d65f3d5a1e9a65"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/rmcp-client/src/perform_oauth_login.rs: codex-rs/rmcp-client/src/perform_oauth_login.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in OauthLoginFlow::new at line 544. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/rmcp-client/src/perform_oauth_login.rs\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":"codex-rs/rmcp-client/src/perform_oauth_login.rs"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"edd6513bf4038670932b0bacd9870c53e9f314b2f71c8b63029ce2e621993a95"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app/model_defaults.rs: codex-rs/tui/src/app/model_defaults.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in App::select_session_model at line 89. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app/model_defaults.rs\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":"codex-rs/tui/src/app/model_defaults.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef98afea70e9fc9443a04ec8bea2502b8dd1cb50d2826d20dcb79c9672e0fa7f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/session/config_refresh.rs: codex-rs/core/src/session/config_refresh.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in Session::refresh_config at line 53. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/session/config_refresh.rs\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":"codex-rs/core/src/session/config_refresh.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c238f9c03df9746d2447fd6cf4828fcd15db04a4476522200bbc95b2548cf588"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/ext/goal/src/runtime.rs: codex-rs/ext/goal/src/runtime.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in GoalRuntimeHandle::stop_active_goal_for_turn at line 275. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/ext/goal/src/runtime.rs\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":"codex-rs/ext/goal/src/runtime.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9564caa80dae6c3d1fc66c95d5ef59ac8dabc3c76f53d83d36af5c0567d1bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/rmcp-client/src/bin/test_stdio_server.rs: codex-rs/rmcp-client/src/bin/test_stdio_server.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in TestToolServer::call_tool at line 758. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/rmcp-client/src/bin/test_stdio_server.rs\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":"codex-rs/rmcp-client/src/bin/test_stdio_server.rs"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7bbafde6165185cb25ecc9217a712b63fd8cb87e2e606f31b4f683c5eee4ca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/context_manager/history_user_authorization.rs: codex-rs/core/src/context_manager/history_user_authorization.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in ContextManager::record_retained_message at line 115. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/context_manager/history_user_authorization.rs\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":"codex-rs/core/src/context_manager/history_user_authorization.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f617b2e04fb7c7e7f95ccb6ccf6d08b07fb8db93fdc992be2cb81895f8975b3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/shell-command/src/shell_snapshot_credentials.rs: codex-rs/shell-command/src/shell_snapshot_credentials.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in codex_shell_command::shell_snapshot_credentials::prepare_snapshot_credentials at line 39. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/shell-command/src/shell_snapshot_credentials.rs\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":"codex-rs/shell-command/src/shell_snapshot_credentials.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e95a7a5b569a627b3cb3c848c0e30b28505cac39298a3594cb9f52e30c346ad"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/config_update.rs: codex-rs/tui/src/config_update.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in codex_tui::config_update::read_remote_project_trust at line 209. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/config_update.rs\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":"codex-rs/tui/src/config_update.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c647102f485bae9cb838c380d8d20dbc91b493cd3d303e8ba85d71f2da6e4f7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/ext/guardian-reviewer/src/pool.rs: codex-rs/ext/guardian-reviewer/src/pool.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in ReviewerPool::review at line 184. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/ext/guardian-reviewer/src/pool.rs\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":"codex-rs/ext/guardian-reviewer/src/pool.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"9089480f9f43147a5a9d96b9bb4b77b173ad9a50d828680a3c5ef0b962266f47"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/ext/guardian-reviewer/src/completion.rs: codex-rs/ext/guardian-reviewer/src/completion.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in codex_guardian_reviewer::completion::complete_review at line 39. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/ext/guardian-reviewer/src/completion.rs\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":"codex-rs/ext/guardian-reviewer/src/completion.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca69c2f8e9c7e53d6926ad7ec6d338ffd49f4b85d7a2c3d2b0a2401d5e478bfb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/streaming/prose_preview.rs: codex-rs/tui/src/streaming/prose_preview.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in LinkPreview::scan at line 155. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/streaming/prose_preview.rs\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":"codex-rs/tui/src/streaming/prose_preview.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc00fa86bfd29a60eb38274aec7aafb0866157234312e977322b3bfd48ec671"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app/agent_picker.rs: codex-rs/tui/src/app/agent_picker.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in App::apply_agent_picker_thread_refresh at line 108. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app/agent_picker.rs\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":"codex-rs/tui/src/app/agent_picker.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8291d99c3294129bea6fcee15b11d7965a08eef0496a3f923cc128c0cb84a9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/markdown_copy/table.rs: codex-rs/tui/src/markdown_copy/table.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in codex_tui::markdown_copy::table::render at line 163. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/markdown_copy/table.rs\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":"codex-rs/tui/src/markdown_copy/table.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b16a1efea0a935a744cf2026f97adb2b25518d7ed0d6cf54458d2f73b0d74dd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app/agents_overview_details.rs: codex-rs/tui/src/app/agents_overview_details.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in App::agents_overview_details at line 136. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app/agents_overview_details.rs\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":"codex-rs/tui/src/app/agents_overview_details.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7414744a3bbd2cf9293805c8a4bee6328bd3ad669f55a44416115e55b99a2b4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/bottom_pane/experimental_features_view.rs: codex-rs/tui/src/bottom_pane/experimental_features_view.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in ExperimentalFeaturesView::pre_draw_tick at line 232. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/bottom_pane/experimental_features_view.rs\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":"codex-rs/tui/src/bottom_pane/experimental_features_view.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a54fa164d46be2f237c704ee320d5e436f5293efb716063bf90de3a614a582"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/exec/src/event_processor_with_human_output.rs: codex-rs/exec/src/event_processor_with_human_output.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in EventProcessorWithHumanOutput::process_server_notification at line 230. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/exec/src/event_processor_with_human_output.rs\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":"codex-rs/exec/src/event_processor_with_human_output.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d84fd17b12320a01b8289aeb2a014c3deefad38b1fef93592adaaf1f0d744f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/chatwidget/plugin_catalog.rs: codex-rs/tui/src/chatwidget/plugin_catalog.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in ChatWidget::plugin_selection_items at line 1148. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/chatwidget/plugin_catalog.rs\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":"codex-rs/tui/src/chatwidget/plugin_catalog.rs"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"51410ca72dbc2533d8da5ac4776f1825751e24c16b051fc13b417c4d952f0685"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/responses_retry.rs: codex-rs/core/src/responses_retry.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in codex_core::responses_retry::handle_response_stream_error at line 58. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/responses_retry.rs\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":"codex-rs/core/src/responses_retry.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f926dbd53edb8eee5df4321dcf1b1085408bbad592c2858a6c59bfd376aae9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/agent/role.rs: codex-rs/core/src/agent/role.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in codex_core::agent::role::role_overrides::build_next_config at line 174. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/agent/role.rs\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":"codex-rs/core/src/agent/role.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ed61a1340e81374ad61bfef7941fb97713c86b92d7faef507423454ec73c18"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/bottom_pane/approval_overlay.rs: codex-rs/tui/src/bottom_pane/approval_overlay.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in codex_tui::bottom_pane::approval_overlay::build_header at line 728. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/bottom_pane/approval_overlay.rs\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":"codex-rs/tui/src/bottom_pane/approval_overlay.rs"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de01de5b43c39c0201821d36f5bab0d00256ca80edeb1f8443796251e794e26"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/thread-store/src/local/thread_history/segment_paging.rs: codex-rs/thread-store/src/local/thread_history/segment_paging.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in codex_thread_store::local::thread_history::segment_paging::page_item_rows at line 235. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/thread-store/src/local/thread_history/segment_paging.rs\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":"codex-rs/thread-store/src/local/thread_history/segment_paging.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a03385b158d1352d480ef64c2b37e95cc923fbb22bb1bc66fdba0256d99000"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app/agent_center/render.rs: codex-rs/tui/src/app/agent_center/render.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in AgentsOverviewView::render at line 126. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app/agent_center/render.rs\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":"codex-rs/tui/src/app/agent_center/render.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"885072cefdbaaeae0e5b64a347b3d1313ff0fee1d822c1c6ac3ddf53d41bca6e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/exec-server/src/capability_discovery.rs: codex-rs/exec-server/src/capability_discovery.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in codex_exec_server::capability_discovery::discover_root at line 64. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/exec-server/src/capability_discovery.rs\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":"codex-rs/exec-server/src/capability_discovery.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"725bc311ade7fe1df37268858fb51b908ed81fad475de458aa8d31e434bd992e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/rmcp-client/src/oauth_http_client.rs: codex-rs/rmcp-client/src/oauth_http_client.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in OAuthHttpClientAdapter::execute_request at line 213. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/rmcp-client/src/oauth_http_client.rs\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":"codex-rs/rmcp-client/src/oauth_http_client.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"a519762c0252735607de7dcb5e3de3038287dd8fd623deb7bccaa4fb249f38ac"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/thread-store/src/local/search_threads.rs: codex-rs/thread-store/src/local/search_threads.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in codex_thread_store::local::search_threads::search_threads at line 36. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/thread-store/src/local/search_threads.rs\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":"codex-rs/thread-store/src/local/search_threads.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2fe5b5c73c86c6d0261f83973afdca2e7e431e48a5f17390231dcf072d315ae"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app/misalignment_policy.rs: codex-rs/tui/src/app/misalignment_policy.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in App::continue_misalignment at line 51. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app/misalignment_policy.rs\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":"codex-rs/tui/src/app/misalignment_policy.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4265884a005874151b7e174bad846abef18e48fb29d88c655822ab4c6c5b5a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/app-server/src/request_processors/initialize_processor.rs: codex-rs/app-server/src/request_processors/initialize_processor.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in InitializeRequestProcessor::initialize at line 53. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/app-server/src/request_processors/initialize_processor.rs\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":"codex-rs/app-server/src/request_processors/initialize_processor.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b23460c09137baa9a9a90cd67e3dc08a9218e0fe46d06e9e2917eca81c1ff54"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app/side_pane.rs: codex-rs/tui/src/app/side_pane.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in App::handle_divider_event at line 361. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app/side_pane.rs\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":"codex-rs/tui/src/app/side_pane.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"594b992932af2e6560349786f997a7426db5c14318a01443849c7fd5bb6c62d6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/cli/src/plugin_cmd.rs: codex-rs/cli/src/plugin_cmd.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in codex_cli::plugin_cmd::render_plugin_list at line 337. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/cli/src/plugin_cmd.rs\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":"codex-rs/cli/src/plugin_cmd.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e93c77f90e8026bc75116befd9b249a9d6f2180d656185477251105d30ddca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/mcp_openai_file.rs: codex-rs/core/src/mcp_openai_file.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in codex_core::mcp_openai_file::build_uploaded_argument_value at line 132. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/mcp_openai_file.rs\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":"codex-rs/core/src/mcp_openai_file.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"5966b1b420937ecaa1ca5367b77a93329d51c580a4a511053e33e6b7935eeb20"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/exec-server/src/server/processor.rs: codex-rs/exec-server/src/server/processor.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in codex_exec_server::server::processor::run_connection at line 108. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/exec-server/src/server/processor.rs\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":"codex-rs/exec-server/src/server/processor.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc619a4b3f32b38acc4e751a56bf46adacea30ec2d52bd8d43dcb82e24e149b1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/diff_render.rs: codex-rs/tui/src/diff_render.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in codex_tui::diff_render::render_change_with_preview at line 539. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/diff_render.rs\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":"codex-rs/tui/src/diff_render.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f83a3a58af411e39bf1f8544b55a60ab87db3fb71d809a022521eeda5f80488"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/ext/guardian-reviewer/src/routing.rs: codex-rs/ext/guardian-reviewer/src/routing.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in ReviewRequest::decide at line 70. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/ext/guardian-reviewer/src/routing.rs\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":"codex-rs/ext/guardian-reviewer/src/routing.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"098c36f73c27cf00fc39097f0ee3baab105fa6ba7f6bb772b1178b38d0e12481"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/bottom_pane/async_questions/render.rs: codex-rs/tui/src/bottom_pane/async_questions/render.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in AsyncQuestions::footer_lines at line 164. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/bottom_pane/async_questions/render.rs\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":"codex-rs/tui/src/bottom_pane/async_questions/render.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"522eb0429a701792f217938e7d43f106bb4a1a03f4c8b7e2fc8b6c99a512fde7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/cli/src/doctor/sandbox.rs: codex-rs/cli/src/doctor/sandbox.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in codex_cli::doctor::sandbox::sandbox_check at line 47. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/cli/src/doctor/sandbox.rs\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":"codex-rs/cli/src/doctor/sandbox.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8f1cadeb48ad44026b569c011692258ce9b4020c60ff70cc4d00f2d7502adc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/agent-message-board-client/src/client.rs: codex-rs/agent-message-board-client/src/client.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in RemoteAgentMessageBoard::notifications at line 156. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/agent-message-board-client/src/client.rs\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":"codex-rs/agent-message-board-client/src/client.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d1cbd4a97b9ef7412f699e6db94016c5b2dff038ec0132bfb975f24abadcdc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/config/src/strict_config.rs: codex-rs/config/src/strict_config.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in codex_config::strict_config::ignored_config_warning at line 229. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/config/src/strict_config.rs\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":"codex-rs/config/src/strict_config.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"64cbd1745a3c9af285b725b742c34e29df699eff0ee4ba12a7a74f293ce23a4c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/login/src/server.rs: codex-rs/login/src/server.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in codex_login::server::process_request at line 349. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/login/src/server.rs\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":"codex-rs/login/src/server.rs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3731cffb14e3149f55b1fe016aa085758127807e6f89df7a182b39403685cbb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/app-server-protocol/src/protocol/event_mapping.rs: codex-rs/app-server-protocol/src/protocol/event_mapping.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in codex_app_server_protocol::protocol::event_mapping::item_event_to_server_notification at line 30. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/app-server-protocol/src/protocol/event_mapping.rs\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":"codex-rs/app-server-protocol/src/protocol/event_mapping.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b67b72ddcc8f5e03adbd096f6489da2a28ba00bacb925fb01df89c636642d6dd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/app-server/src/request_processors/plugins/search.rs: codex-rs/app-server/src/request_processors/plugins/search.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in PluginRequestProcessor::plugin_search_response at line 25. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/app-server/src/request_processors/plugins/search.rs\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":"codex-rs/app-server/src/request_processors/plugins/search.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"807b9207e77394588e23ed3df274947d8aaeffe01eaad18e2127f2734f1be90e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/exec/src/event_processor_with_jsonl_output.rs: codex-rs/exec/src/event_processor_with_jsonl_output.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in EventProcessorWithJsonOutput::map_item_with_id at line 144. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/exec/src/event_processor_with_jsonl_output.rs\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":"codex-rs/exec/src/event_processor_with_jsonl_output.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"523155e5c4be1856ca62099615031ee9894783800e2b057f6828341033a4d4d1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/config/src/schema.rs: codex-rs/config/src/schema.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in codex_config::schema::features_schema at line 42. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/config/src/schema.rs\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":"codex-rs/config/src/schema.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d3d1efa4102e41d26b61fa36453fb3ed2d584bbfd2e68271bf44750bc393e1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/analytics/summary_panel.rs: codex-rs/tui/src/analytics/summary_panel.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in AnalyticsView::summary_lines at line 18. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/analytics/summary_panel.rs\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":"codex-rs/tui/src/analytics/summary_panel.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fba27660b68c2e1369e3188ff58b83c4a77274d7fd0b99db98d09ddb30a91b0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app/transcript_export.rs: codex-rs/tui/src/app/transcript_export.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in codex_tui::app::transcript_export::render_markdown_transcript at line 229. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app/transcript_export.rs\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":"codex-rs/tui/src/app/transcript_export.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"33eba87ddad544bbf0a0a19d458196318cbdc7a2adc7def0418901d098ac4aca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/code-mode/src/remote_session/connection/driver/responses.rs: codex-rs/code-mode/src/remote_session/connection/driver/responses.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in ConnectionDriver::complete_request at line 150. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/code-mode/src/remote_session/connection/driver/responses.rs\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":"codex-rs/code-mode/src/remote_session/connection/driver/responses.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"679554867c62f62c1e18718b748bf895f409b677428ce075c2a939eaa3581c26"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/analytics/sections.rs: codex-rs/tui/src/analytics/sections.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in AnalyticsView::start_reports at line 203. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/analytics/sections.rs\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":"codex-rs/tui/src/analytics/sections.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b3d8578de968417e29f82071264712e5a811fd786474d226a4767cc89a391e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/resume_picker/sources.rs: codex-rs/tui/src/resume_picker/sources.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in codex_tui::resume_picker::sources::spawn at line 34. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/resume_picker/sources.rs\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":"codex-rs/tui/src/resume_picker/sources.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"892967e0860c5f9d3654e2c9237e7cab65923d444f74ec3b101375560d77aeda"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/chatwidget/permission_shortcuts.rs: codex-rs/tui/src/chatwidget/permission_shortcuts.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in ChatWidget::handle_permission_shortcut at line 6. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/chatwidget/permission_shortcuts.rs\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":"codex-rs/tui/src/chatwidget/permission_shortcuts.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"5359ba4f1eba0b770f4cdb2d128b2b40e2004dcce0803bf0fb33ceb5d33c6925"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/linux-sandbox/src/seccomp.rs: codex-rs/linux-sandbox/src/seccomp.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in codex_linux_sandbox::seccomp::install_network_seccomp_filter_on_current_thread at line 186. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/linux-sandbox/src/seccomp.rs\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":"codex-rs/linux-sandbox/src/seccomp.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"17417cb7b3068e70dd5abcc77169ef8a660139833241bcc857e45708fb6a5701"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app/right_click_paste.rs: codex-rs/tui/src/app/right_click_paste.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in App::invalidate_right_click_paste at line 168. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app/right_click_paste.rs\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":"codex-rs/tui/src/app/right_click_paste.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"49eab4b7d4f1d85e948157da1507752829a638b43a166f2acb4dca66b53b44b3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/memories/write/src/phase2.rs: codex-rs/memories/write/src/phase2.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in codex_memories_write::phase2::agent::handle at line 387. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/memories/write/src/phase2.rs\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":"codex-rs/memories/write/src/phase2.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6bff18a58abe757136e0503d70dc9861e89d0a594ce25e83728576f60493c3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/codex-mcp/src/mcp/auth.rs: codex-rs/codex-mcp/src/mcp/auth.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in codex_mcp::mcp::auth::compute_auth_status at line 258. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/codex-mcp/src/mcp/auth.rs\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":"codex-rs/codex-mcp/src/mcp/auth.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"4968c21da337f5eda624318614ad9e68516a2da1d85924ff6e8134411d3eed87"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/bottom_pane/textarea/mouse.rs: codex-rs/tui/src/bottom_pane/textarea/mouse.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in TextArea::handle_mouse at line 100. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/bottom_pane/textarea/mouse.rs\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":"codex-rs/tui/src/bottom_pane/textarea/mouse.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d495f1aa55cb9f3cff293ce12ea2a5c27a9621a61f71ff6691b69e07196662"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/ext/skills/src/tools/list.rs: codex-rs/ext/skills/src/tools/list.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in ListTool::handle at line 82. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/ext/skills/src/tools/list.rs\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":"codex-rs/ext/skills/src/tools/list.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"18bf98e51abf4e6982ea5bc8ec0b87da9cb1b284b90debcde9bf6977000605f9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/ext/skills/src/loader/host.rs: codex-rs/ext/skills/src/loader/host.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in codex_skills_extension::loader::host::load_skills_under_root at line 146. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/ext/skills/src/loader/host.rs\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":"codex-rs/ext/skills/src/loader/host.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a7b2c27f11ce677b5e2b97565aea4c488795ad476b4c4c9005caf958b242a3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/analytics/dashboard.rs: codex-rs/tui/src/analytics/dashboard.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in AnalyticsView::dashboard_lines at line 21. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/analytics/dashboard.rs\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":"codex-rs/tui/src/analytics/dashboard.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb87b58c922dfc0aab66f7eb962be71cd6e77f35fbc110c495e2b67c2e6a073"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: .github/scripts/macos-signing/sign_macos_cli_package.py: .github/scripts/macos-signing/sign_macos_cli_package.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in sign_macos_cli_package.main at line 13. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- .github/scripts/macos-signing/sign_macos_cli_package.py\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":".github/scripts/macos-signing/sign_macos_cli_package.py"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07e46581cae78081802862f62f931c859f89b6e12f8f984396a1b62ca634f25"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/mermaid/src/relations.rs: codex-rs/mermaid/src/relations.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 62 in codex_mermaid::relations::parse at line 11. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/mermaid/src/relations.rs\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":"codex-rs/mermaid/src/relations.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f20ecdec37fa8e7d0c2c124d8db5cccd3cd949fde6c9e7c42607d41a0271277"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/chatwidget/backend_banners.rs: codex-rs/tui/src/chatwidget/backend_banners.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in ChatWidget::refresh_backend_banner_visibility at line 390. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/chatwidget/backend_banners.rs\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":"codex-rs/tui/src/chatwidget/backend_banners.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd36e88912026d5faa3cce24a9a3d9f0112b4ebfbacd3e825c27c06e71c721b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/shell-command/src/shell_snapshot_capture.rs: codex-rs/shell-command/src/shell_snapshot_capture.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in CapturedSnapshot::parse at line 303. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/shell-command/src/shell_snapshot_capture.rs\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":"codex-rs/shell-command/src/shell_snapshot_capture.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"387ac43d72128ba0b75b3e2bd72131f311f7ba4885994ba006bf495428bdec1d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/guardian-context/src/images.rs: codex-rs/guardian-context/src/images.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in TranscriptImages::collect at line 110. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/guardian-context/src/images.rs\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":"codex-rs/guardian-context/src/images.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"391f3d87aa6043b3b989206246211c256ca690ac96bac9543efa90d0d81f3919"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/cloud-client/src/turns.rs: codex-rs/cloud-client/src/turns.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in Client::add_user_message at line 127. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/cloud-client/src/turns.rs\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":"codex-rs/cloud-client/src/turns.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"27755fd97309445dfbe536789a73f71d069b88ade2eea55ade110d9f57edd511"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/windows-sandbox-service/src/package_lifecycle/cleanup.rs: codex-rs/windows-sandbox-service/src/package_lifecycle/cleanup.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in codex_windows_sandbox_service::package_lifecycle::cleanup::clean_up at line 23. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/windows-sandbox-service/src/package_lifecycle/cleanup.rs\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":"codex-rs/windows-sandbox-service/src/package_lifecycle/cleanup.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c261644bd8a6800393711feeddf4b4fcd1732296f49f72fb356025ad2ce9fa3a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/code-mode-runtime/src/runtime/mod.rs: codex-rs/code-mode-runtime/src/runtime/mod.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in codex_code_mode_runtime::runtime::run_runtime at line 182. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/code-mode-runtime/src/runtime/mod.rs\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":"codex-rs/code-mode-runtime/src/runtime/mod.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"11083c39f199e4d789ab1ea9de676f9164319d0426e59fade90fc550e94ec42c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/bottom_pane/pending_input_preview.rs: codex-rs/tui/src/bottom_pane/pending_input_preview.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in PendingInputPreview::as_renderable at line 85. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/bottom_pane/pending_input_preview.rs\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":"codex-rs/tui/src/bottom_pane/pending_input_preview.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e350d74fded5e1fab58a682ca552b6a21f4c80b408a1901caa2ef1a1a83ff6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/compact_remote_v2_installation.rs: codex-rs/core/src/compact_remote_v2_installation.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in codex_core::compact_remote_v2_installation::build_and_install_compaction at line 74. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/compact_remote_v2_installation.rs\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":"codex-rs/core/src/compact_remote_v2_installation.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9a13eff6f8448878f760e19b222a487349d6e706cf3ae895c57b02bf111067"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app_backtrack/legacy_input.rs: codex-rs/tui/src/app_backtrack/legacy_input.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in App::handle_legacy_transcript_event at line 69. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app_backtrack/legacy_input.rs\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":"codex-rs/tui/src/app_backtrack/legacy_input.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"54cb0e63cde6f0095aacaecb5ab49a2e0c599adb19e853d9f013a6d7a1edeb2a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/history_cell/computer_activity.rs: codex-rs/tui/src/history_cell/computer_activity.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in ComputerActivityCell::display_lines at line 154. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/history_cell/computer_activity.rs\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":"codex-rs/tui/src/history_cell/computer_activity.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd8caa45eea4f86a96194732abb1b63681a1b3f253ac286ca68d6134d68e6c9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/config_panel/mod.rs: codex-rs/tui/src/config_panel/mod.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in ConfigEditor::value at line 141. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/config_panel/mod.rs\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":"codex-rs/tui/src/config_panel/mod.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"443284cb53434a96913610901812f5252b2956e7f458c1fee22286439451d925"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/code-mode-protocol/src/description.rs: codex-rs/code-mode-protocol/src/description.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in codex_code_mode_protocol::description::build_exec_tool_description_and_definitions at line 290. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/code-mode-protocol/src/description.rs\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":"codex-rs/code-mode-protocol/src/description.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d66bfdb23414fc3cd864a0eea42032b0ae7ce76cde5614079fa2467ca21a1f1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/message-board/src/in_memory.rs: codex-rs/message-board/src/in_memory.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in InMemoryAgentMessageBoard::post_inner at line 289. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/message-board/src/in_memory.rs\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":"codex-rs/message-board/src/in_memory.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe07a5a17d652c123dbe3c87aae93d4ff5a05bb0352b3eab8b427444df7de8d6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/external-agent-migration/src/detect/mod.rs: codex-rs/external-agent-migration/src/detect/mod.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in ExternalAgentConfigService::detect_migrations at line 79. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/external-agent-migration/src/detect/mod.rs\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":"codex-rs/external-agent-migration/src/detect/mod.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"359b5547186c9b2ff744d65944ba1fa0c96f9ca5ab09d12295d95eadf1b58d58"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/context/world_state/permissions.rs: codex-rs/core/src/context/world_state/permissions.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in PermissionsState::render_diff at line 147. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/context/world_state/permissions.rs\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":"codex-rs/core/src/context/world_state/permissions.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69db99ab2987a817cca95b7a4ed63e6fece83e056bc501f951a3b56b58bd13a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/mermaid/src/parse.rs: codex-rs/mermaid/src/parse.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in codex_mermaid::parse::parse at line 15. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/mermaid/src/parse.rs\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":"codex-rs/mermaid/src/parse.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ca774be276087cad98d7b1f66e572389fa960c7e2732c2e005947fe8b56f13"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/network-proxy/src/credential_broker/matching.rs: codex-rs/network-proxy/src/credential_broker/matching.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in codex_network_proxy::credential_broker::matching::virtualize_text at line 158. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/network-proxy/src/credential_broker/matching.rs\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":"codex-rs/network-proxy/src/credential_broker/matching.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d2adee6f2a401a1b66b0dbca33ef71bfe3fd264ad608a0c44b17c64fb3a894"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/guardian-context/src/preparation/root.rs: codex-rs/guardian-context/src/preparation/root.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in codex_guardian_context::preparation::root::prepare_root_context at line 289. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/guardian-context/src/preparation/root.rs\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":"codex-rs/guardian-context/src/preparation/root.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb4dc6b5b970d9d52d04c6315ed19cab76309dbc0eca04968eb942f2521e2b9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/clipboard_copy/worker.rs: codex-rs/tui/src/clipboard_copy/worker.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in ClipboardWorker::poll at line 468. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/clipboard_copy/worker.rs\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":"codex-rs/tui/src/clipboard_copy/worker.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6e54e10d1e8c3a3ba3c9394b78ae359bfa949876affb75e34382578136019b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/chatwidget/quick_dials.rs: codex-rs/tui/src/chatwidget/quick_dials.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in ChatWidget::handle_quick_dial_menu at line 520. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/chatwidget/quick_dials.rs\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":"codex-rs/tui/src/chatwidget/quick_dials.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"d993750ffcd37e1ade1a0763ecedd82e1dedebcb348acc0c8d330bfd3417dbcd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/bottom_pane/voice_strip.rs: codex-rs/tui/src/bottom_pane/voice_strip.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in VoiceStrip::render at line 73. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/bottom_pane/voice_strip.rs\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":"codex-rs/tui/src/bottom_pane/voice_strip.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"342ca972916d1ccbf70a01dbc8e2fd753c5c332c2ff4f6d58d03793865165c89"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/linux-sandbox/src/daemon_mounts.rs: codex-rs/linux-sandbox/src/daemon_mounts.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in codex_linux_sandbox::daemon_mounts::check_mounts at line 63. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/linux-sandbox/src/daemon_mounts.rs\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":"codex-rs/linux-sandbox/src/daemon_mounts.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2af854ad6b61037381a8c8320a75d321fe227beb2824b9109a89c86638e575b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/mermaid/src/draw.rs: codex-rs/mermaid/src/draw.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in codex_mermaid::draw::render at line 16. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/mermaid/src/draw.rs\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":"codex-rs/mermaid/src/draw.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d50fe069ac4c600e70194942a4710dea76de7fdd4f89a89199b8bc0463359d0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/ext/skills/src/host_roots.rs: codex-rs/ext/skills/src/host_roots.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in codex_skills_extension::host_roots::repo_agents_skill_roots at line 192. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/ext/skills/src/host_roots.rs\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":"codex-rs/ext/skills/src/host_roots.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"573d1b9c52ee84572d8e03caf8dd075b87ae9b761e807733ab363e3ad6307d7b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app/provider.rs: codex-rs/tui/src/app/provider.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in codex_tui::app::provider::handle at line 118. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app/provider.rs\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":"codex-rs/tui/src/app/provider.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c11e8956af81fc8559dc9a772dac9a247519d7c3f6637d63338757b262bec3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/daemon_recovery.rs: codex-rs/tui/src/daemon_recovery.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in codex_tui::daemon_recovery::check at line 30. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/daemon_recovery.rs\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":"codex-rs/tui/src/daemon_recovery.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda54f6e7a2baeb290b2f3ffaa6465f726b5e9c9c70bf98c8241e8755d24d841"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/http-client/src/route_aware_client_pool/execution.rs: codex-rs/http-client/src/route_aware_client_pool/execution.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in RouteAwareClientPool::send_authorized at line 75. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/http-client/src/route_aware_client_pool/execution.rs\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":"codex-rs/http-client/src/route_aware_client_pool/execution.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"d68e7b3013bd3d37347045aa52afba2ac9a82a3c3927829dc21d60a8835a7ff1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/exec-server/src/connection.rs: codex-rs/exec-server/src/connection.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in JsonRpcConnection::from_stdio_with_max_message_len at line 313. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/exec-server/src/connection.rs\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":"codex-rs/exec-server/src/connection.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"23cde947e490e34df9accc5dd704b4e4f44561631c33d8ba1c0dd15eb99c5a5a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/chatwidget/realtime_split_flap.rs: codex-rs/tui/src/chatwidget/realtime_split_flap.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in SplitFlapTranscriptCell::animate_lines at line 136. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/chatwidget/realtime_split_flap.rs\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":"codex-rs/tui/src/chatwidget/realtime_split_flap.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3cdfcdc25ca8dd58a791bf0625d5e37e1e61b19ec767006b5d93b1c9832010"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/network-proxy/src/credential_broker/registry.rs: codex-rs/network-proxy/src/credential_broker/registry.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in codex_network_proxy::credential_broker::registry::select_credentials at line 191. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/network-proxy/src/credential_broker/registry.rs\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":"codex-rs/network-proxy/src/credential_broker/registry.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a43f098be828248338f29d07b77879b8b3476281cdb41733c3e72b1c4f31379"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/history_cell/exec.rs: codex-rs/tui/src/history_cell/exec.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in UnifiedExecProcessesCell::display_lines at line 148. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/history_cell/exec.rs\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":"codex-rs/tui/src/history_cell/exec.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e0c0764027b146f9217804c9ec1e8032b444e2fc1f296f83fbff9add1e289c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/empty_state_animation.rs: codex-rs/tui/src/empty_state_animation.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in EmptyStateAnimation::render_in_at at line 129. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/empty_state_animation.rs\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":"codex-rs/tui/src/empty_state_animation.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce9df883f2f1d8624db49c0d2a2bad01056a4391824a6de02e609cb743673fd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/network-proxy/src/credential_broker/environment.rs: codex-rs/network-proxy/src/credential_broker/environment.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in CredentialBrokerState::environment at line 117. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/network-proxy/src/credential_broker/environment.rs\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":"codex-rs/network-proxy/src/credential_broker/environment.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a31f9be63b0810afc49cb2c12c1d325f4cda067abc5b6ecab5f72934731ed42"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/windows-sandbox-rs/src/bin/command_runner/win.rs: codex-rs/windows-sandbox-rs/src/bin/command_runner/win.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in codex_windows_sandbox::bin::command_runner::win::spawn_input_loop at line 442. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/windows-sandbox-rs/src/bin/command_runner/win.rs\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":"codex-rs/windows-sandbox-rs/src/bin/command_runner/win.rs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae93ba5d620dd828178b9418beb25bf3d29bf37b62d559d947c9edf4c02be28"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/realtime_conversation/sideband.rs: codex-rs/core/src/realtime_conversation/sideband.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in codex_core::realtime_conversation::sideband::spawn_webrtc_sideband_input_task at line 30. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/realtime_conversation/sideband.rs\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":"codex-rs/core/src/realtime_conversation/sideband.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"655fd100dd72954f706922cdac8ebdb852af5bfcf8aee8556697f3d32ccc05ba"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/config/src/permissions_toml.rs: codex-rs/config/src/permissions_toml.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in NetworkToml::apply_to_network_proxy_config at line 539. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/config/src/permissions_toml.rs\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":"codex-rs/config/src/permissions_toml.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a472dda950b0f5ffc1f4a66e3a1f09da9b18c4672a3f86200e58a03f861d53"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/bottom_pane/custom_prompt_view.rs: codex-rs/tui/src/bottom_pane/custom_prompt_view.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in CustomPromptView::handle_key_event_at at line 135. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/bottom_pane/custom_prompt_view.rs\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":"codex-rs/tui/src/bottom_pane/custom_prompt_view.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd56c97da66f9e83f52e426deae361851852e3c27cefe94e3619d781f9a9b68"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/thread_transcript/tools.rs: codex-rs/tui/src/thread_transcript/tools.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in codex_tui::thread_transcript::tools::historical_tool_fallback at line 30. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/thread_transcript/tools.rs\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":"codex-rs/tui/src/thread_transcript/tools.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"28536b02354a641efcd17ce59c5ee5650fcaab5f8ae9aaa7c0e92decd08e9f64"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sdk/typescript/src/exec.ts: sdk/typescript/src/exec.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in CodexExec.run at line 94. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- sdk/typescript/src/exec.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":"sdk/typescript/src/exec.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"3958dc9a922a8fb93c8e4ad37a620506f9ea222d19a84696e76c60811bd17ce8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/transcript_view/turn_details.rs: codex-rs/tui/src/transcript_view/turn_details.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in TurnDetails::index_turn at line 169. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/transcript_view/turn_details.rs\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":"codex-rs/tui/src/transcript_view/turn_details.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae0c64abdb72f891af7989fa7d1154cf2588d333267dcbe70073367db3cd2d8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/thread-store/src/local/unarchive_thread.rs: codex-rs/thread-store/src/local/unarchive_thread.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in codex_thread_store::local::unarchive_thread::unarchive_thread_with_index at line 86. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/thread-store/src/local/unarchive_thread.rs\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":"codex-rs/thread-store/src/local/unarchive_thread.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9dfc3a4634cb51a5a7a83377baba8c61c79cfc0dc6341663ccc1fa9eb47077d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/app-server/src/request_processors/daemon_continuation.rs: codex-rs/app-server/src/request_processors/daemon_continuation.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in ThreadRequestProcessor::continue_daemon_turn at line 23. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/app-server/src/request_processors/daemon_continuation.rs\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":"codex-rs/app-server/src/request_processors/daemon_continuation.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a540d7be25d57913cb4025f65aad851878d013145d6d5d5866ba249de142ee0c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/bottom_pane/warnings_view.rs: codex-rs/tui/src/bottom_pane/warnings_view.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in WarningsView::handle_key at line 112. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/bottom_pane/warnings_view.rs\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":"codex-rs/tui/src/bottom_pane/warnings_view.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf565af8e4eefc62f4506d92343899601c9a967c45705ab4a0dd5fa8426e9b7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/rollout/src/rollout_reference_index.rs: codex-rs/rollout/src/rollout_reference_index.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in RolloutReferenceIndex::scan_paths at line 91. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/rollout/src/rollout_reference_index.rs\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":"codex-rs/rollout/src/rollout_reference_index.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"24af444197c40b9d9de147ce44acb1fb683d7190f9754c56c0450c81f270ea34"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/app-server-daemon/src/manual_update.rs: codex-rs/app-server-daemon/src/manual_update.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in codex_app_server_daemon::manual_update::request at line 28. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/app-server-daemon/src/manual_update.rs\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":"codex-rs/app-server-daemon/src/manual_update.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"4420c39aad0b256a9156be1b45afe5872fba3289613428bf13cf35110e210f18"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/bottom_pane/feedback_note_view.rs: codex-rs/tui/src/bottom_pane/feedback_note_view.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in FeedbackNoteView::render at line 229. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/bottom_pane/feedback_note_view.rs\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":"codex-rs/tui/src/bottom_pane/feedback_note_view.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"a662d2f926448c609a463f55f0cab9fce66ea1a22c813f22b6bc015fcc3123ae"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app_server_session/user_message_submission.rs: codex-rs/tui/src/app_server_session/user_message_submission.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in AppServerSession::submit_user_message at line 190. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app_server_session/user_message_submission.rs\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":"codex-rs/tui/src/app_server_session/user_message_submission.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2696b1fdfca1273cd40d0ccea853c46ce63d91155744c166f7f369317a21c6b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/rmcp-client/src/ema_auth.rs: codex-rs/rmcp-client/src/ema_auth.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in codex_rmcp_client::ema_auth::discover_ema_authorization_metadata at line 135. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/rmcp-client/src/ema_auth.rs\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":"codex-rs/rmcp-client/src/ema_auth.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63d612db31a0e9bb4ff73cb5dfb7c8bbf043fcd9447dc58e9e02894a6f05e33"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/tools/handlers/multi_agents/wait.rs: codex-rs/core/src/tools/handlers/multi_agents/wait.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in Handler::handle_call at line 56. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/tools/handlers/multi_agents/wait.rs\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":"codex-rs/core/src/tools/handlers/multi_agents/wait.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3fd751012ff7fef7d2c6386157674cadca5ad7a73dab1d5ab6b7a9ac29543cf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/app-server/src/request_processors/account_processor/enterprise_login.rs: codex-rs/app-server/src/request_processors/account_processor/enterprise_login.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in EnterpriseLoginState::start at line 161. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/app-server/src/request_processors/account_processor/enterprise_login.rs\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":"codex-rs/app-server/src/request_processors/account_processor/enterprise_login.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a9f0fe728644f99f920af31e2c775cdec9a4ef24a2a3bad036e4f2baffa433"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/history_cell/hook_cell.rs: codex-rs/tui/src/history_cell/hook_cell.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in HookCell::output_lines at line 272. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/history_cell/hook_cell.rs\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":"codex-rs/tui/src/history_cell/hook_cell.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2e256d0407bed9ef3325e36ce31015d7ab2fa2843209c98432c507d150abc7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app/managed_worktree_creation.rs: codex-rs/tui/src/app/managed_worktree_creation.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in App::start_managed_worktree at line 61. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app/managed_worktree_creation.rs\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":"codex-rs/tui/src/app/managed_worktree_creation.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1b0e05232d93c905f269e6569c76241c73e1cf6f42cbe656134b9d4238fc23"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/sandboxing/src/windows.rs: codex-rs/sandboxing/src/windows.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in codex_sandboxing::windows::resolve_windows_elevated_filesystem_overrides at line 209. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/sandboxing/src/windows.rs\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":"codex-rs/sandboxing/src/windows.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"629a1f3fc6107cd25f1e36a9a618afe1f557462e0b5aba1cfe85a9e8e57d540c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/terminal-detection/src/lib.rs: codex-rs/terminal-detection/src/lib.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in codex_terminal_detection::detect_terminal_identity_from_env at line 289. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/terminal-detection/src/lib.rs\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":"codex-rs/terminal-detection/src/lib.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39b0832a0075f80c055e4e8e1a4a97ea418907a032d0203af43546a46a9d5ca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/onboarding/directory_trust.rs: codex-rs/tui/src/onboarding/directory_trust.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in codex_tui::onboarding::directory_trust::check_directory_trust at line 36. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/onboarding/directory_trust.rs\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":"codex-rs/tui/src/onboarding/directory_trust.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d239cb7c0bb69af7861327f01ae84e18d2d5bd6ee22c35bf968d1c06f513336b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/analytics/plan_panel.rs: codex-rs/tui/src/analytics/plan_panel.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in AnalyticsView::plan_lines at line 67. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/analytics/plan_panel.rs\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":"codex-rs/tui/src/analytics/plan_panel.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb45cb8ee20337047bd8c49e026d99b874461852d0b4d881c572bb94fafcf0d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/sandboxing/src/bwrap.rs: codex-rs/sandboxing/src/bwrap.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in codex_sandboxing::bwrap::find_executable_in_search_paths at line 210. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/sandboxing/src/bwrap.rs\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":"codex-rs/sandboxing/src/bwrap.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7ab65772c1bf445ff3a8c67cdc38a34cd0232f9434a793a5f877fdb61f95d6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/exec-server/src/discoverV2/capability_discoveries.rs: codex-rs/exec-server/src/discoverV2/capability_discoveries.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in codex_exec_server::discoverV2::capability_discoveries::parse_root at line 177. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/exec-server/src/discoverV2/capability_discoveries.rs\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":"codex-rs/exec-server/src/discoverV2/capability_discoveries.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"2599e078429ee674190a3bf07dbd74a2330d8ab5b2bb1710e3cabd41c067938a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/realtime_history.rs: codex-rs/core/src/realtime_history.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in RealtimeHistoryState::observe at line 171. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/realtime_history.rs\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":"codex-rs/core/src/realtime_history.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8d3c11aff4bb6639613d481b893fe89d87c2f95205467bf905786ec342c186"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app/input/select_mode.rs: codex-rs/tui/src/app/input/select_mode.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in App::select_mode_owns_chord at line 17. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app/input/select_mode.rs\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":"codex-rs/tui/src/app/input/select_mode.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ff7f842bd59b9908505a7aff9756b81883e5a19a387361e97953e18eeaaf41"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/chatwidget/thread_usage.rs: codex-rs/tui/src/chatwidget/thread_usage.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in ChatWidget::finish_thread_usage_refresh at line 183. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/chatwidget/thread_usage.rs\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":"codex-rs/tui/src/chatwidget/thread_usage.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd4b7231805f874b0d2181c4f679b743c6d07787deb9f5711808bd2e4835bd0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: .github/scripts/publish_r2_release.py: .github/scripts/publish_r2_release.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in publish_r2_release.main at line 414. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- .github/scripts/publish_r2_release.py\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":".github/scripts/publish_r2_release.py"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a829a5d0fc373cb02d3b933037df45522664da469060e0da4173a1c05ae3d10"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/assistant_directives.rs: codex-rs/tui/src/assistant_directives.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in codex_tui::assistant_directives::parse_assistant_directive_with_budget at line 44. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/assistant_directives.rs\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":"codex-rs/tui/src/assistant_directives.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"962c179da3d5446365bc118d94d036ba86cd14ad47b258666f84edd4cba321f9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/git-utils/src/trust.rs: codex-rs/git-utils/src/trust.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in codex_git_utils::trust::resolve_root at line 71. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/git-utils/src/trust.rs\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":"codex-rs/git-utils/src/trust.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"5502e84370d6c4e43b66a9296aa9cecc7de24a45b3c1e7c69d9a4b73b84aa152"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/analytics/task_panel.rs: codex-rs/tui/src/analytics/task_panel.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in AnalyticsView::task_lines at line 152. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/analytics/task_panel.rs\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":"codex-rs/tui/src/analytics/task_panel.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"276ea1a47d9649526bdf6fc34bcd21d6e6510e6080a4203df34d95f1ece14c9e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/transcript_view/select_mode/motion.rs: codex-rs/tui/src/transcript_view/select_mode/motion.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in TranscriptView::move_select_cursor at line 9. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/transcript_view/select_mode/motion.rs\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":"codex-rs/tui/src/transcript_view/select_mode/motion.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"5688240f29fb0c5b57fc461ef75421b1f3290a9fd8b40c755af5e300b0f2fccb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/chatwidget/safety_recourse/metadata.rs: codex-rs/tui/src/chatwidget/safety_recourse/metadata.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in codex_tui::chatwidget::safety_recourse::metadata::parse at line 53. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/chatwidget/safety_recourse/metadata.rs\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":"codex-rs/tui/src/chatwidget/safety_recourse/metadata.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e5936df463a7c094f750676505db1faf0e3c60e9730e5562e66cc0805d90c7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/ext/skills/src/loader/discovery.rs: codex-rs/ext/skills/src/loader/discovery.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in codex_skills_extension::loader::discovery::discover_skills at line 55. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/ext/skills/src/loader/discovery.rs\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":"codex-rs/ext/skills/src/loader/discovery.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62b7e731588cf967ad5be614e92e1daa3afc19fb63f357177b8085d5b430f82"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/bottom_pane/request_user_input/render.rs: codex-rs/tui/src/bottom_pane/request_user_input/render.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in RequestUserInputOverlay::render_ui_at at line 249. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/bottom_pane/request_user_input/render.rs\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":"codex-rs/tui/src/bottom_pane/request_user_input/render.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"e880c00075ad11a0a67376edb3b3241d22c64e753d74cb2d8fe1bb0104f1dbfa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/bottom_pane/textarea/wrapping.rs: codex-rs/tui/src/bottom_pane/textarea/wrapping.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in codex_tui::bottom_pane::textarea::wrapping::wrapped_lines at line 55. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/bottom_pane/textarea/wrapping.rs\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":"codex-rs/tui/src/bottom_pane/textarea/wrapping.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"203c1e495607366c56503b5bc394f9ad0bfe6b0551e63bacadf902e1a6bd371c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/context_manager/media_availability.rs: codex-rs/core/src/context_manager/media_availability.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in codex_core::context_manager::media_availability::replace_unresolvable_media_files at line 22. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/context_manager/media_availability.rs\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":"codex-rs/core/src/context_manager/media_availability.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"dedc44f8ede17e57a8c35114dfa9a0a361ae23dab44d2e1f76fedc526f4d6673"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/ext/guardian-v3/src/housekeeper.rs: codex-rs/ext/guardian-v3/src/housekeeper.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in Housekeeper::route at line 109. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/ext/guardian-v3/src/housekeeper.rs\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":"codex-rs/ext/guardian-v3/src/housekeeper.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"e896f2245392b0cd7195a9472c3d38238d6e6dd03bc850f234624a62509edf21"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/ext/skills/src/tools/installations.rs: codex-rs/ext/skills/src/tools/installations.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in InstallationsTool::handle at line 73. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/ext/skills/src/tools/installations.rs\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":"codex-rs/ext/skills/src/tools/installations.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"a596725d071997bf2d9d29f113c9d9dfae9c57aa40fc346997f8c0bdd4f87ebe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/core/src/context/world_state/plugins_instructions.rs: codex-rs/core/src/context/world_state/plugins_instructions.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in PluginsInstructionsState::render_diff at line 93. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/core/src/context/world_state/plugins_instructions.rs\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":"codex-rs/core/src/context/world_state/plugins_instructions.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2c10a5d3e1084c849a239618baf90dca279d5dd2cf0d56b3bffd5f2c93a165"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app/agents_overview_usage.rs: codex-rs/tui/src/app/agents_overview_usage.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in App::finish_agents_overview_usage at line 115. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app/agents_overview_usage.rs\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":"codex-rs/tui/src/app/agents_overview_usage.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a0b1fd60b6b32d25e35c3498e028678e32246a9a2306c512d13a26ba59ff34"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/app/config_panel.rs: codex-rs/tui/src/app/config_panel.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in App::save_config_preference at line 11. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/app/config_panel.rs\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":"codex-rs/tui/src/app/config_panel.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0ec60809de02bef7e844cc72248708cefb064efce9a0e6ba9f1ec06c0905ba"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/feedback/src/upload.rs: codex-rs/feedback/src/upload.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in codex_feedback::upload::send_envelope at line 54. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/feedback/src/upload.rs\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":"codex-rs/feedback/src/upload.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc108d7c79f7adfadcf3ae4a5885b130b72ec9e32ad41d81f9e03dc55970f4f7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/analytics/controls.rs: codex-rs/tui/src/analytics/controls.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in AnalyticsView::render_controls at line 105. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/analytics/controls.rs\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":"codex-rs/tui/src/analytics/controls.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"477fc7ec0173c573a5d3ef9557f178d2cc50a57ec2ee96a4067f41dafb9ed4ee"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/tui/src/thread_transcript/other_items.rs: codex-rs/tui/src/thread_transcript/other_items.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in codex_tui::thread_transcript::other_items::cells at line 18. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/tui/src/thread_transcript/other_items.rs\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":"codex-rs/tui/src/thread_transcript/other_items.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f57ccf93532ad3da5c094fde9faf927fd3ed0442fa571a1bb609364177ba5e2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/app-server-transport/src/transport/stdio.rs: codex-rs/app-server-transport/src/transport/stdio.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in codex_app_server_transport::transport::stdio::start_stdio_connection at line 28. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/app-server-transport/src/transport/stdio.rs\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":"codex-rs/app-server-transport/src/transport/stdio.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"73784c1767a067365c4eb75e5fd1cb8abd75295a6605945fafe63c36371a4d27"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/cloud-client/src/items.rs: codex-rs/cloud-client/src/items.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in codex_cloud_client::items::summary at line 173. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/cloud-client/src/items.rs\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":"codex-rs/cloud-client/src/items.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"313cec08abb80f83902fb9578a8f3251f6d1dc34e5f77bef42cf33818f8ec698"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: .github/scripts/run_bazel.py: .github/scripts/run_bazel.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in run_bazel.bazel_args_with_remote_config at line 70. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- .github/scripts/run_bazel.py\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":".github/scripts/run_bazel.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4bf3f1876c4af8706423e9b62efc2341194f360569c4f964130d53098c93e6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-rs/ext/skills/src/catalog_delta.rs: codex-rs/ext/skills/src/catalog_delta.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in codex_skills_extension::catalog_delta::build_catalog_update at line 186. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-rs/ext/skills/src/catalog_delta.rs\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":"codex-rs/ext/skills/src/catalog_delta.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"94352dc5d306a3cbd894ce79494329de84a4b12cd401c36f7d9178dcba790e0d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: codex-cli/scripts/build_npm_package.py: codex-cli/scripts/build_npm_package.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in build_npm_package.copy_native_binaries at line 358. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 09:43:57 \u002B00:00\u0027 --until=\u00272026-11-14 09:43:57 \u002B00:00\u0027 --full-history --no-merges -- codex-cli/scripts/build_npm_package.py\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":"codex-cli/scripts/build_npm_package.py"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6180278bf51dc94455a374469f38084395961401aa8af82afbb9fadb43a3b3"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 45 significant file(s) lose their only recent owner: codex-rs/tui/src/ide_context/ipc.rs, codex-rs/tui/src/markdown_render/math/render.rs, codex-rs/mermaid/src/tests.rs, codex-rs/tui/src/app/thread_goal_actions.rs, codex-rs/cli/src/doctor/filesystem_paths.rs, codex-rs/tui/src/markdown_render/math.rs, codex-rs/cli/src/doctor/background.rs, codex-rs/tui/src/markdown_render/math/render/structured.rs (\u002B37 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"38db8fa7d6c4024e5b5e9ab63e093a27ce1960027f621affbf07b731217a0d6a"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 27 significant file(s) lose their only recent owner: codex-rs/codex-mcp/src/ema_auth.rs, codex-rs/git-utils/src/branch.rs, codex-rs/ext/skills/src/dynamic_skill_selector/character_ngram.rs, codex-rs/rollout/src/seekable_reader.rs, codex-rs/protocol/src/agent_path.rs, codex-rs/ext/memories/src/backend.rs, codex-rs/feedback/src/guardian.rs, codex-rs/ext/skills/src/dynamic_skill_selector/multi_query_lexical.rs (\u002B19 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"df0c7a37db0e78e8ba0cd2f84f491953403e0a2483ea5c141a2d645238c94b85"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 20 significant file(s) lose their only recent owner: codex-rs/voice-host/src/devices.rs, codex-rs/tui/src/transcript_view/copy_mode.rs, codex-rs/tui/src/chatwidget/worktree_picker.rs, codex-rs/cloud-client/src/lib.rs, codex-rs/worktree/src/lib.rs, codex-rs/realtime-webrtc/src/session.rs, codex-rs/realtime-webrtc/src/client.rs, codex-rs/voice-host/src/main.rs (\u002B12 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b94fb153a6ebc014c1e758aaab08dc76bba0f4614c738f2acbbef724cc73f1d8"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #4: If anonymized user #4 becomes unavailable, 19 significant file(s) lose their only recent owner: codex-rs/tui/src/transcript_view/select_mode.rs, codex-rs/tui/src/config_panel/render.rs, codex-rs/tui/src/transcript_view/select_mode/motion.rs, codex-rs/tui/src/analytics/normalize.rs, codex-rs/tui/src/transcript_reflow.rs, codex-rs/tui/src/analytics/report_data.rs, codex-rs/tui/src/markdown_copy/table.rs, codex-rs/tui/src/analytics/plot/annotations.rs (\u002B11 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e458c48b046c578692e18e84316fea0c094e61f2c6d9a69c524a22a89ae27c77"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #5: If anonymized user #5 becomes unavailable, 14 significant file(s) lose their only recent owner: codex-rs/guardian-context/src/preparation/transcript/window.rs, codex-rs/history/src/reconciled_retained_context.rs, codex-rs/skills/src/parser.rs, codex-rs/cli/src/sandbox_setup.rs, codex-rs/guardian-context/src/transcript_record.rs, codex-rs/mxc-sandbox/src/lib.rs, codex-rs/windows-sandbox-rs/src/sandbox_utils.rs, codex-rs/exec-server/src/sandbox_integrity/telemetry.rs (\u002B6 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bada92828eb80839e97adaee6941f35eadc8edfc1656ae5abfe22b2d06fbf79a"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #6: If anonymized user #6 becomes unavailable, 7 significant file(s) lose their only recent owner: codex-rs/rollout-trace/src/reducer/tool/terminal.rs, codex-rs/rollout-trace/src/writer.rs, codex-rs/rollout-trace/src/reducer/inference.rs, codex-rs/rollout-trace/src/reducer/test_support.rs, codex-rs/rollout-trace/src/model/mod.rs, codex-rs/rollout-trace/src/model/session.rs, codex-rs/rollout-trace/src/lib.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c1a7fad6db3ea51ce7a245a493b1632249c01f4c069100f5c36c87b0438d530c"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #7: If anonymized user #7 becomes unavailable, 7 significant file(s) lose their only recent owner: codex-rs/windows-sandbox-service/src/registered_runtime/metadata.rs, codex-rs/windows-sandbox-rs/src/app_package.rs, codex-rs/windows-sandbox-rs/src/service_diagnostics.rs, codex-rs/windows-sandbox-service/src/registered_runtime/registration_result.rs, codex-rs/windows-sandbox-rs/src/provisioning_client/refresh_retry.rs, codex-rs/windows-sandbox-rs/src/installation_record.rs, codex-rs/windows-sandbox-rs/src/token_user.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"876a6c6880c8f9afafd16b786a59513d763ad7963255d026ef746aac4c2e2a39"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #8: If anonymized user #8 becomes unavailable, 6 significant file(s) lose their only recent owner: codex-rs/exec-server/src/discoverV2/capability_discoveries.rs, codex-rs/ext/mcp/src/cloud_plugin.rs, codex-rs/exec-server/src/discoverV2/capability_manager.rs, codex-rs/exec-server/src/discoverV2/capability_manager/capability_watchers.rs, codex-rs/exec-server/src/discoverV2/capability_locations/candidates.rs, codex-rs/exec-server-protocol/src/capabilities.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"42626d9cd6b0e69a9668459f07b044c9453f975e4de53860b26279da566997fb"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #9: If anonymized user #9 becomes unavailable, 6 significant file(s) lose their only recent owner: codex-rs/app-server/src/external_agent_migration/protocol.rs, codex-rs/external-agent-migration/src/detect/sessions/connectors_cur.rs, codex-rs/external-agent-migration/src/detect/sessions/connectors_cla.rs, codex-rs/external-agent-migration/src/model.rs, codex-rs/external-agent-migration/src/reporting.rs, codex-rs/external-agent-migration/src/detect/sessions/common.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d6106f9cf71e1d6d6936d117cb80f892cf52dc57139e9b9b288e3caeefbcb97a"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #10: If anonymized user #10 becomes unavailable, 5 significant file(s) lose their only recent owner: codex-rs/network-proxy/src/credential_broker/configured.rs, codex-rs/network-proxy/src/credential_broker/matching.rs, codex-rs/network-proxy/src/brokered_tunnel.rs, codex-rs/network-proxy/src/credential_broker/providers/github.rs, codex-rs/network-proxy/src/credential_broker/providers/openai.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"540902727f1f1479ea118374dab0fad760715609c7c366cddaf58868b5bc63f3"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #11: If anonymized user #11 becomes unavailable, 5 significant file(s) lose their only recent owner: codex-rs/message-history/src/batch.rs, codex-rs/tui/src/bottom_pane/chat_composer/completion_target.rs, codex-rs/utils/pty/src/child.rs, codex-rs/tui/src/pets/catalog.rs, codex-rs/utils/pty/src/child_reaper.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd0cd39522fb89a3028fe8c92fdb7ead8dc26ced138e99ed98bf7a11a25ac336"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #12: If anonymized user #12 becomes unavailable, 5 significant file(s) lose their only recent owner: codex-rs/exec-server/src/rpc_server_requests.rs, codex-rs/exec-server/src/network_policy_decisions.rs, codex-rs/utils/pty/src/unix_io.rs, codex-rs/core/src/network_policy_decision.rs, codex-rs/exec-server/src/client/network_policy_audit.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"340d231429ddf30cfdd197569c488203452adf4d8f34468afc449d4ee4cf94ec"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #13: If anonymized user #13 becomes unavailable, 4 significant file(s) lose their only recent owner: sdk/python/src/openai_codex/_message_router.py, sdk/python/src/openai_codex/_goal.py, sdk/python/src/openai_codex/async_client.py, codex-rs/codex-api/src/endpoint/realtime_websocket/protocol_common.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f414a95c59dd88a80e7358c585115c8f53ce3babace6d8fae0d12c5f39bb1a08"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #14: If anonymized user #14 becomes unavailable, 4 significant file(s) lose their only recent owner: bazel/rules/testing/wine/src/lib.rs, codex-rs/exec-server/src/file_handle.rs, codex-rs/otel-trace-websocket/src/lib.rs, codex-rs/linux-sandbox/src/fd_mount.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2831908ae284f624efefe4654660ce6eb6dea4bd57fcca534f3b394f12bf03c5"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #15: If anonymized user #15 becomes unavailable, 4 significant file(s) lose their only recent owner: codex-rs/state/src/runtime/reclamation.rs, codex-rs/app-server/src/request_processors/feedback_rollout_history.rs, codex-rs/feedback/src/rollout_archive.rs, codex-rs/state/src/runtime/logs_maintenance.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"82e1ce48280c39c2fbdb1b834a94d603e8af3c540ac1f5f99de5e2df38a35989"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #16: If anonymized user #16 becomes unavailable, 4 significant file(s) lose their only recent owner: codex-rs/cli/src/doctor/desktop.rs, codex-rs/cli/src/doctor/desktop/macos_security.rs, codex-rs/feedback/src/upload.rs, codex-rs/feedback/src/report_upload.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c741a1060f658ed1072c716a26ad6ca828878c355cf4908d4eb5499db763a01d"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #17: If anonymized user #17 becomes unavailable, 4 significant file(s) lose their only recent owner: codex-rs/utils/path-uri/src/config_path.rs, codex-rs/config/src/project_trust.rs, codex-rs/protocol/src/permissions/deny_read_validator.rs, codex-rs/config/src/path_context.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"decaf2b198bf4e83e57189d8c46a04b9701fe920feb82b9715e47e48ea6e73d0"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #18: If anonymized user #18 becomes unavailable, 3 significant file(s) lose their only recent owner: codex-rs/login/src/auth/workload_identity.rs, codex-rs/workload-identity/src/exchange.rs, codex-rs/workload-identity/src/lib.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"be6f3bdbf04ddd25388f24ad0f017440a6ea42f7cd4c4a0c1ed89ae347e06bb4"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #19: If anonymized user #19 becomes unavailable, 3 significant file(s) lose their only recent owner: codex-rs/keyring-store/src/lib.rs, codex-rs/otel/src/metrics/buffered.rs, codex-rs/tools/src/json_schema/traversal.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1273806a4dde6cd5b088d7d1935f99979a51dc0d425498da47d6d3c1b040a0a0"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #20: If anonymized user #20 becomes unavailable, 3 significant file(s) lose their only recent owner: codex-rs/code-mode-protocol/src/host/types.rs, codex-rs/code-mode-protocol/src/host/codec.rs, codex-rs/code-mode-runtime/src/cell_actor/callbacks.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"967f351dc57683430ca922a81d1ee9f343a35496bdebab7c729fabbba864a512"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #21: If anonymized user #21 becomes unavailable, 3 significant file(s) lose their only recent owner: codex-rs/app-server-protocol/src/protocol/v2/thread_attachment.rs, codex-rs/thread-store/src/local/thread_attachments.rs, codex-rs/state/src/model/thread_attachment.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a22dde50d3cef9a61f5ada0c978befcd8af244c9f9d6e89da4fc47babbea9503"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 29 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (234 single-owned of 2766 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 2766 of the 3625 production source files in this repository met that bar). They are anonymized user #22 (2 file(s)), anonymized user #23 (2 file(s)), anonymized user #24 (2 file(s)), anonymized user #25 (2 file(s)), anonymized user #26 (2 file(s)), anonymized user #27 (2 file(s)) (\u002B23 more) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: codex-rs/rmcp-client/src/ema_resource.rs, codex-rs/rmcp-client/src/oauth/enterprise_generation.rs, codex-rs/cli/src/migrate_rollouts.rs, codex-rs/thread-store/src/local/rollout_migration/telemetry.rs, codex-rs/cli/src/mcp_login.rs, codex-rs/rmcp-client/src/oauth_callback_input.rs, codex-rs/login/src/oauth/error.rs, codex-rs/app-server-protocol/src/protocol/v2/bedrock.rs (\u002B28 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Add the sandbox helper to the SDK workflow so this can use a deny-read override. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdk/typescript/tests/run.test.ts"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c71748245e2897b217f66eacb9356ce58ede425ee0aac37ec7d30dc294cd90"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(pakrym): remove timeout \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdk/typescript/tests/run.test.ts"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53402211398ff212ed1a2d68f4d418c067e0ee0ca0fa25f0c7f3027aca100dc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(anp): Assert resolved rg paths once Windows sandbox PATH finds them. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/codex_package/smoke_tests/test_codex_package.py"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c38c3e5485e2c4ee683ba65654ffea6f1d06836eb3b0a53485d6e70af9efd7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Reconcile the Windows backend copy with the supplied sandbox \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-rs/src/unified_exec/mod.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80074311003899efd44a3a0f854c226e66e432900baa6cf229c3fba8c4ad347"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Reconcile the Windows backend copy with the supplied sandbox \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/sandboxing/src/spawn.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5bbce347c026032c5a44d3b71e1c311d8237c84b00716c7d181bcf84cf75a4c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(anp): Once \u0060PathUri\u0060 carries an environment identifier, prefer the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/utils/path-uri/src/lib.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca9545a28570023916e0a265b07e204ebdc92021a5908b4c3a78f1b0e1ad29e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Keep this as PathUri once \u0060tui::approval_events::ExecApprovalRequestEvent\u0060 and \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget.rs"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b8f6e3a6f8d55e84b41d5ec62c309d6bcaee6f1e23d896e8894fed64d4f908"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We\u0027ll improve the implementation/unit tests over time, as appropriate. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/clipboard_paste.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"1720dbe9b1e9c8eb13add334603aece60a257e2f128961a1dc72192420df51cc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Support foreign skill paths through skills/config/write and persisted config. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/config_update.rs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bfa91ff146695cab4a85528b3dc7e7ecb30cf0e04b2bec37c80a698e7c085ef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(gt): Expand this debug output with detailed skills and rules display. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/debug_config.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d9d37753b06af855532e90193be4eda716dbda8ef68285a4a94817e0c4ebf6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nornagon): is this supported on Windows? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/insert_history.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a053a4d211b8b92fa6ab89f8e19d433f7ace6617f7070fa8b4f5fb4695c0c2a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nornagon): is this supported on Windows? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/insert_history.rs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"200fae415d1ffab4dc5484eb8a48d560afb95c9af9be999f4795a8c10a7493d3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jif) delete after 22/11/2026. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/lib.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a6bb3db1fe974094847de1fbb346fd2c833b2b6d6b0ec3a9aeecaf5f15d55c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Rationalize instruction-source summaries with the TUI\u0027s broader foreign-path \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/status/helpers.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28f03aa0b0b46ab255e7bbc477c6956e69b55bec5c5ed0fa2156b8e98051dec"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Preserve executor path identity through both structured skill input paths \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/input_submission.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"764a27f0a3b0c0f7ff5f26549e17ed7ad323d93c84e463bb3937bcf9d43e0b89"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove this native-path localization error path once core permission \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/protocol_requests.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a427f99512057f8185cc9a0a3ce2dcbb123ada4e59b450616db71c77363c94f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove this native-path localization error path once core permission \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/thread_routing.rs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1823c67c8cb47500ba7175d1697c904ce734480748dec28414a3f9f79e22ab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove this native-path localization error path once core permission paths \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/protocol_requests.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5392a961cd5e7470f29c51cffc8254e87ba34b7ea48e81c341e9f6323516ce"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove this native-path localization error path once core permission paths \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/bespoke_event_handling.rs"},"region":{"startLine":1912}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ecfa8d23a486b8f97b7c43866d4e68a33dff397d8eb3995f0a47257d3da75d8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Replace streamed output with the final plan item text if plan streaming is \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/streaming.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"72889ab247917db0418ad77c4f3bf90a807310ffb01e778c9c94f670f11afb8f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Include audio inputs in pending steer comparison. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/user_messages.rs"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"504bde56c8951460fc90bf913de0af768640ef6e4c1e82931d583b7abe42e582"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Include audio inputs in pending steer comparison. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/user_messages.rs"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"774b0c00eb826ecef66ae99aa4c13f429d38f172899ca60c99467d9523c1e335"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kc) preserve file-backed images when the TUI can resolve or replay them. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/user_messages.rs"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d9fcf5705a5c2552a4de43fdd0a3c7d37090b80023c390188ae3fd5a75e81e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Include audio inputs in the user message display. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/user_messages.rs"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a910190a6a0a1724ca0457e5ffa439ac3e6b39d65acfe6b6b0a467cc378fbb9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Include audio inputs in the user message display. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/user_messages.rs"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"5388ac5a6403a1e42a433854eeb445b13076859e27d653b5f58429c1381b7523"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Emit interrupted request_user_input results (including committed answers) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/request_user_input/mod.rs"},"region":{"startLine":1221}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc7aabdc9002dc2e44d470584075f29a609c8d6695d6cc4509ec4554a6cda1c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Emit interrupted request_user_input results (including committed answers) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/request_user_input/mod.rs"},"region":{"startLine":1462}}}],"partialFingerprints":{"codehealthFindingId/v1":"724922f87e1c35ac6ac45d1bfd448d2c80966336ddf34e43fea30fd694aa6cbf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Emit interrupted request_user_input results (including committed answers) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/request_user_input/mod.rs"},"region":{"startLine":1473}}}],"partialFingerprints":{"codehealthFindingId/v1":"af859c18428c7b203f76c51a2881dc20b4bd13bea792b0729b8002b0ede6c293"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove this duplicate validation once core permission paths remain \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/app_server_requests.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce629814987d774a158edec4c1ff7148f5eb2b2b215bc22c4c4bd3db895cdf3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(aibrahim): Remove this and don\u0027t use config as a state object. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/config_persistence.rs"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77c9e0bcb2dbda07fb7f4fa0890a0cf1e53065cee3d90f6b5275faa07d59ee9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Validation. When strict is set to true, the JSON schema, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tools/src/responses_api.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc6da3fdeffdfed2933efc026fd5108aea2ce81cc692c82e0a35ba5646917e7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Understand why we get an error on web_search although the API docs \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tools/src/tool_spec.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc94d7b72874a2101616741e384a486562748d20dc2461f7bb96c4bc3870a9b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Add actual script logic here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/skills/src/assets/samples/skill-creator/scripts/init_skill.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9965846cd803db0b70767e47d7cce6766d4a30d8e045be97c4b40f52f8f532"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Reconcile these backend copies with the supplied sandbox context \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/sandboxing/src/manager.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"79fa2c55a7ab90ed57686bb1273afe0a3846588bb7f343f867143433b032a256"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(viyatb): Evaluate switching this to Option\u003CArc\u003CNetworkProxy\u003E\u003E \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/sandboxing/src/manager.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"71882bd2d22d7adeff4217d32920aede610bd244c026acc4f4dd435a00684faa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Reconcile these backend inputs with the supplied sandbox context \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/sandboxing/src/manager.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a8f7e5234282509bf0b365e5310656b2280963c283faf4def8cf796169fdbe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Revisit this preparation type once this module\u0027s PathUri migration is complete. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/sandboxing/src/manager.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"414084a1bf15377212c64e6ff2f0f07517453f040c22f12792f2046822768a1f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Move PathUri conversion into the platform sandbox implementations. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/sandboxing/src/manager.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5bedb0ed253901791f3fbc3b2dcee1db5293d1b4b76fbdbd8a9b1d0508e7cd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Keep PathUri through the Windows sandbox wrapper boundary. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/sandboxing/src/manager.rs"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"966ec51eca08bac447512e27b872bdeba70d9c74292e4378b0392a595c68aac8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mbolin): Should also support the case where \u0060.git\u0060 is a file \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/sandboxing/src/seatbelt_tests.rs"},"region":{"startLine":3180}}}],"partialFingerprints":{"codehealthFindingId/v1":"968c343617c3cb7ec65d419abe5bb573d0126877a2ac9baaa91323a77acd37da"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jif): sqlite migration phase 1 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout/src/list.rs"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d0e8a5f92e6d6e831c05d0bbbe72a4afeee913aae3458a20e369bb77981602"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Follow same-origin redirects once later hops cannot leak helper headers. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/http_headers.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdfc17e72d907ef2a7a39a55703e1704e5a459df503bbfe103b884363437c043"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(stevenlee): define that rendezvous before expanding this lock\u0027s scope. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/oauth/refresh_lock.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"15796cc1881dc8b933907938fca181d8bb19e6a4126c4e8abadcd7005e557d70"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add a bounded persistence retry only if telemetry shows this is common; never \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/oauth/refresh_transaction.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"894af591462aa8f9bf96ba390437bcd92ac26456b98c38248359fe8a67090369"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(stevenlee): Add an RMCP adoption API that atomically updates credentials, client ID, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/oauth/refresh_transaction.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"741320486c78f7847be4a40d551246990ff28bfe56914dcbd6683e800e532f32"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(stevenlee): Different processes can still resolve Auto to different stores \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rmcp-client/src/oauth/resolved_store.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"de16ce4cddaab7f9685a47b439073d5d8eb837f65154e4b15c4ce7e83f4c3f3f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(viyatb): Add websocket protocol variants when managed proxy policy \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/approvals.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b207d2622a03c1dc3409ff22d553f342547a836163a479133f1546617faf73bd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove this compatibility macro once callers construct \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/error.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"b419772b164ea27c663bca82bb34a9637bf889aab6b753b42a063a54ecb6977b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove this compatibility macro once callers construct \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/error.rs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a007a9e4d0c9495b8e10c08021c405912115fa559b2494e1dd3ddd0762ea6d2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove this compatibility constructor once callers construct \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/error.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d19c1f72efd97b4ca23bc89cc466509d7807ba19c9f50b22f99ff87441b1361"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo(aibrahim): add the model link here. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/openai_models.rs"},"region":{"startLine":1107}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe34ab200a4129f409b19054eb4ed81d6e4d8783ad48237d0e7e891d3ecfe9b7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp) Migrate callers to select the executor\u0027s path convention explicitly. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/permissions.rs"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"978c6105fef0dd1575d9a05ab5d5ec46c1ed10f272310117ba3b49c6eabaecd2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp) Migrate callers to select the executor\u0027s path convention explicitly. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/permissions.rs"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56a266ef55937d00d359e72c69f884bec323e62ade07f2302d434799a28cc0c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp) Migrate callers to select the executor\u0027s path convention explicitly. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/permissions.rs"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"462ed3ac795a780d17c95dbe5d309d3eaa6fddaac209877b434043c380aeeac7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Remove this rollout knob once transcript-tail flushing is always enabled. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/protocol.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc618865dd8a5a49ca78e5a6578bb0203e654ffe1ea5606f036f511d341b50c3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Remove this rollout knob once transcript-tail flushing is always enabled. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/v2/realtime.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a2bb99bef44f6e4df226f9d548b5a4860bd7cb51ddb3e71e52385288b1559a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mbolin): cwd param should be AbsolutePathBuf. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/protocol.rs"},"region":{"startLine":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe722b2014cf4071e5d51fa166a7691cc45494bb2faab762fb666a09bffd6ef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(aibrahim): make this not optional \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/protocol.rs"},"region":{"startLine":2512}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbebec03333e75a8456e34867fdbbc5b4948cc9fad0085504fba4be74fbd8a1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(aibrahim): make this not optional \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/protocol.rs"},"region":{"startLine":2607}}}],"partialFingerprints":{"codehealthFindingId/v1":"e64eacbb4cbcc4efcfcf3b482f7ca3ce1bf969939da45e7ecc21bb5a9fab6fd0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(aibrahim): make this not optional \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/v2/thread.rs"},"region":{"startLine":2158}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdefe6991f58d9039405e5b90913b58db6c1f615393e2996f1864196da9781bf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(mbolin): Perform the appropriate configuration for Windows. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/process-hardening/src/lib.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"459e6289fc8cf82669ac317258ab81f29e126f582d050cc0ba9e39a8e9208114"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(winston): Materialize policy-checked per-child bundles for readable \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/proxy.rs"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1049c8d66c84a461aa32971141966c94bfe7f910e0f1a124c268097d4b3e7d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo(aibrahim): should be visible to core only and sent on session_configured event \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/models-manager/src/manager.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"3227f499e9af3b4a84189ae6ec3c136a84a784bbb41c7b98c8cfe5f18a2f1ec2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo(aibrahim): look if we can tighten it to pub(crate) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/models-manager/src/manager.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"354652c919e43677c13b04e9549c8a73582e194827f509a75e2507ac3e9f8b8d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(celia-oai): Support AWS SigV4 signing for WebSocket \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/model-provider-info/src/lib.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b918cb54ad24375b87e33038a7555087432c0081fe49649072062b783d4b119"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(celia-oai): Make auth manager access internal to this crate so callers \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/model-provider/src/provider.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d499ed56f7c1074a1a69bb4ec4802678319bb7eec14787bbf89570c31bf3aa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Switch Guardian to gpt-5.6-luna once it is available on GCP. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/model-provider/src/gcp/mod.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"af489310768c95ed3cff82b8d560d999e391b2d2ea701fc50371b1fd05d1029d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check \u0060text\u0060 for sensitive patterns \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/message-history/src/lib.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"d069a21255e6424c2a74846f92b43470c7c2ff8e53ddcbc0342b1ba4c090b1be"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO (gpeal): replace this with an injectable env var provider. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/login/src/auth/auth_tests.rs"},"region":{"startLine":2291}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed326514c7298c706b9a1e669de5dfd1b01a258041f841834914496977c2195"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Preserve retry advice on body failures without changing their \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/http-client/src/transport.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aee6a60300e5fb9a5844cd540ecb19958312798b4257fc53ed1211c54a16e06"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this hook and its environment plumbing when legacy \u0060notify\u0060 support is removed. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/hooks/src/legacy_notify.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"84226d2aadc4296ef62ef92ba9cee4a0b0d98c3fb63629a5124bb8358a63b16d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Once legacy \u0060notify\u0060 is removed, capture this snapshot in \u0060CommandHookRuntime::new\u0060 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/hooks/src/registry.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b251c09c8723616a1f7948a34956b141e6bb196ca93cefdab241bca27a57bab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this legacy-notify-only command builder when \u0060notify\u0060 support is removed. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/hooks/src/registry.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a60737b3d43b015c52188a822f71744e358e747a4ff0a19ba06b68dca020c31"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: With CCA, all hooks will be executor-scoped, so user visibility \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/hooks/src/engine/mod.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef4c18a69a1dff3db2a12250ad2f00584c41858b66f78507fd060063e1298ed"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Infer resource path conventions once foreign repository paths can reach this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/skills/src/provider/host.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc4bf11f58be89fa45db71b82aba91684ec6ff79eba53072ddcd9e9676d3e7e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Migrate image tool path arguments and saved-path events to PathUri so image \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/image-generation/src/tool.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"32de9ba136dd378199b28dd3eafef7bc1a9a97789938a6fe7df5067049e74b91"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Replace the absolute path with a more general instruction-source \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/extension-api/src/user_instructions.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40cb1b808ba09dfb8d017c4e3e1c6c433f8bb0feb9979861bed221d3346bc21"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Make this required once all supported exec-server versions return environmentInfo. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server-protocol/src/protocol.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c0980b83ad0cb223329c9dbebcb9fcac66d55760b430c798f6bfde2143870d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove after app-server migrates off this call. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/client.rs"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"076b806f299883dfb8716d1e89e41dfc4c2bb7647424ab267563b9e655a4e142"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove after app-server migrates off of force_environment_info. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/environment.rs"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2bc104cda655ee36554d0f9a63416de3f689eaf7858d5f953e3b07b63fc52c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Keep PathUri through the filesystem helper launch boundary. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/fs_sandbox.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d5c0489912c7cf0fc23cccf9555e77fcc2eba9551f24ed56f7441dbc46c166"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp) bound queued request bytes without blocking later responses or cleanup. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/server/request_dispatcher.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"8594e700b6c422315258735af5f8500995fdc43852398f61de1415c39fdced56"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Keep PathUri through the macOS sandbox process launch boundary. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec/tests/suite/sandbox.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7586e694f9890216ff3c58f39b09f3a0a4a57d4205edcb02070df8b10c9819"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp) resolve duplicate startup warnings \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec/src/lib.rs"},"region":{"startLine":1759}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba614a1599167d3391e12f8619d0b44fba41820d708913d1e3dfa46dd1816d96"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Remove this temporary filter once executor plugin hooks can be trusted. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/executor_hooks.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bffe170613d5b295caa57d9ca1841e4527c7e7400113a3e6e4c840ebd67483a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(remote plugins): download or update missing local bundles during remote \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/loader.rs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"f438a68327209e1c038aa9fa9f8617718331cf418949c09a6db6deb39aef1e20"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this legacy remote-sync path once remote plugins have \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/manager.rs"},"region":{"startLine":2515}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4a2b83e9a2a8abeb2d60bf3d793da82a6ac67c6c03851381ace9354fcb59a9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: accept an owner-provided cache when these standalone loaders join a repeated workflow. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/manifest.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"4906ace0158dda5bca9e54d43c877245ef3a1db0b82fb1d9aa5c73d13434a89c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: share an owner-provided cache if inline fallback manifests are parsed repeatedly. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/manifest.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"169b768d7c1373c919ae1cfbd3543194ba7343be0e3b2e2a8d7b79709b79bc83"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Surface or enforce product gating at the Codex/plugin consumer boundary instead of \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/marketplace.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b2d72bdc53771b1971b73a9e9ae00473a3a7f1f3b2f3d1ec96d7eabc9d789e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: thread an owner-provided manifest cache through standalone install/read workflows. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/marketplace.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b897b7420212ba0716440da978f4b54f75ebf4f05ed462162ed258a8798896"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: allow standalone callers to share a cache across marketplace loads. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/marketplace.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d7d39ff1909eb7d34d175d3f062b0402b33ed35cd84af91a067ba879826ee5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: pass an owner-provided cache from remaining callers; the manager already does. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/marketplace.rs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"938804bae2d17b928f1d6e8d0e0f751568d4377c041f47cc02c87968d687bcb8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Rationalize these write-confinement tests so sandboxed project-instruction \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/apply_patch_cli.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d5d7280af95302cb254178f16e4e442e815aa25368176c0592a1745b4e2a75e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after apply_patch path handling supports target-native Windows paths. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/apply_patch_cli.rs"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"3537a48989b703bfd784ba0dadc9677da8668db9def803b1eb37ceb398134181"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after apply-patch fixtures use target-native paths. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/apply_patch_cli.rs"},"region":{"startLine":1427}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19f943d2af1e2ebd94be52b474339e02d9f1ed34c37a1091e8c53515799890e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after apply_patch shell fixtures use target-native commands. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/apply_patch_cli.rs"},"region":{"startLine":1493}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9a4abd6069401ebdea40e97d3578daeca09cf2435b8af103cc9d4d888f0e7b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after apply_patch shell fixtures use target-native commands. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/apply_patch_cli.rs"},"region":{"startLine":1777}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec16d7d37f337d985c57cfa87fb61fb19ddcff444b55b0ae84b4eae39754ae2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after apply_patch shell fixtures use target-native commands. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/apply_patch_cli.rs"},"region":{"startLine":2028}}}],"partialFingerprints":{"codehealthFindingId/v1":"8311e37b2feda10054744df54a1acadfabb05e62b2bf72f195955f583b37e5ab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after apply_patch shell fixtures use target-native commands. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/apply_patch_cli.rs"},"region":{"startLine":2087}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8b97955d2d9c70da89069ed42c3a4ce793f88119b6542b8ab8ddb9d307a9bd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after apply_patch diff fixtures use target-native paths. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/apply_patch_cli.rs"},"region":{"startLine":1841}}}],"partialFingerprints":{"codehealthFindingId/v1":"7feb968fb0d7c2b7b4743c08adb33e17fb81cb3dc0691eafcd29b66906ab521f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after shared-cwd helpers use target-native paths. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/apply_patch_cli.rs"},"region":{"startLine":2265}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba1de70fbc5bfceaa00acdf1597f6d6ae2a0903dad5b33e10e925b6ca7e78e8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after apply-patch assertions use target-native paths. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/apply_patch_serialization.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a39100e6c9d885ee6309309ce23f5176d3768d94ac1e779557a5ad8e7b543d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo(dylan) add ScenarioSpec support for rules \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/approvals.rs"},"region":{"startLine":4815}}}],"partialFingerprints":{"codehealthFindingId/v1":"5981cc3d8877d58df22d2428d74dbade94ffc7e5538df02693784116fe554ec0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after Wine exec returns complete nested-tool output to code mode. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/code_mode.rs"},"region":{"startLine":4388}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76754ca47f15fdf48417bdae71d7c86a40fdf1c37951bcaf37babe76661704d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after Wine exec returns complete nested-tool output to code mode. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/code_mode.rs"},"region":{"startLine":4425}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b45eb195c2fe232329e3b958e1b2f2346915d5be20df50f49c12ae88ead7eed"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after Wine exec returns complete nested-tool output to code mode. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/code_mode.rs"},"region":{"startLine":4472}}}],"partialFingerprints":{"codehealthFindingId/v1":"86986ca4ab16da270a23c19573d5e1baf662dcfefc632a344268a6c619743ada"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after Wine exec returns complete nested-tool output to code mode. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/code_mode.rs"},"region":{"startLine":4519}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5838b16997016358919f1212f752ab44097db7bca6ea98b818bc25700f1907"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after Wine exec returns complete nested-tool output to code mode. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/code_mode.rs"},"region":{"startLine":4556}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d96af3c6b4979b20880025b2a4cb1ea3b2f762c07b03d73b7a24718b4d6f516"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ccunningham): Re-enable after the follow-up compaction behavior PR lands. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/compact.rs"},"region":{"startLine":4736}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8fe2746019c2a1a8838bf6068ae0a2c80be136dcefd482a6323b239f4fbc99"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ccunningham): Update once pre-turn compaction includes incoming user input. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/compact.rs"},"region":{"startLine":5956}}}],"partialFingerprints":{"codehealthFindingId/v1":"213c531b8264f1ad24b8e0cbf7a130337992d188e801084717d09c8419e40683"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ccunningham): Update once pre-turn compaction context-overflow handling includes incoming \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/compact.rs"},"region":{"startLine":6071}}}],"partialFingerprints":{"codehealthFindingId/v1":"8101e547c6762717b80f80eb84d57b07f5265a7ebe5bf4d1c9994028884e1cff"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Assert Wine-exec exposes a \u0060C:\\\\...\u0060 cwd after model-visible paths preserve \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/remote_env.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"041d01fea9d56c134a63371e9b2a93b678d02b8425984eaad086242a86aceebe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after remote path fixtures use target-native paths. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/remote_env.rs"},"region":{"startLine":3840}}}],"partialFingerprints":{"codehealthFindingId/v1":"939defede507d58b873ccddc6fccc9f3b7d0e700807c1bf2885983028fe1c696"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after remote path fixtures use target-native paths. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/remote_env.rs"},"region":{"startLine":4084}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf81c6c4af6badd5a1e457ca3170662811747cd604f214ae5f0c3324d5af428"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after remote path fixtures use target-native paths. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/remote_env.rs"},"region":{"startLine":4301}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3cc84ae58d336929aa915bd8e69d86ed975b3c8f3f89e088e5063b86eda63ac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after remote path fixtures use target-native paths. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/remote_env.rs"},"region":{"startLine":4395}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e6a69605d813212f502d5c71c22be2ea92cd95128569f1deee64a2dde81bc1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after remote path fixtures use target-native paths. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/remote_env.rs"},"region":{"startLine":4593}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fac3c174d693b452f8c214bcf6032e5e564ad589e0f06f94ec5d10539a3ea9d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after remote sandbox fixtures use target-native paths. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/remote_env.rs"},"region":{"startLine":4695}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f11773a72512cca72a2e409881c0b02e2b43eaf5974c46cfe1580eb290d1974"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after packaging a Windows stdio test server for Wine exec. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/rmcp_client.rs"},"region":{"startLine":1302}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c7cba172abd1937155a689460ee507167ae2cb28272a39339cf319cf837aea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after packaging a Windows stdio test server for Wine exec. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/rmcp_client.rs"},"region":{"startLine":2250}}}],"partialFingerprints":{"codehealthFindingId/v1":"7961d08f92aa898fd11769f31e8ebc5b2a4ab27c2846ad3d648c56af6fcf9c7f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after packaging a Windows stdio test server for Wine exec. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/rmcp_client.rs"},"region":{"startLine":2565}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bfb0af0991b11db08af4112081a8f56fff1c58cfd61b8361987588df2c88de2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after packaging a Windows stdio test server for Wine exec. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/rmcp_client.rs"},"region":{"startLine":2881}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea99a4717064b3a596e73ae854d289c000f1f649acef07d389df75e7ec553c15"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after packaging a Windows stdio test server for Wine exec. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/rmcp_client.rs"},"region":{"startLine":3001}}}],"partialFingerprints":{"codehealthFindingId/v1":"6682554ba93d4ee54d014ba2103a0abde3090dbee157568269cb9d9a0ff26450"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after packaging a Windows stdio test server for Wine exec. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/rmcp_client.rs"},"region":{"startLine":3103}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57e728647674f5198389972f452e96b245886a69bc93d12094f394e71908ac6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after packaging a Windows stdio test server for Wine exec. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/rmcp_client.rs"},"region":{"startLine":3287}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c544d1c57a977572f2f1a57a119a0b976abb07d6db334dcb73db0fcb67ef198"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after packaging a Windows stdio test server for Wine exec. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/rmcp_client.rs"},"region":{"startLine":3446}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8bb54621a00efbe2d4687a48ee42649308a959dc2f622a921c713b835c58906"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after packaging a Windows stdio test server for Wine exec. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/rmcp_client.rs"},"region":{"startLine":3548}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de88a0783517d46fcc8024bb26ebe0455062ddbe8f8a1777d71aef354bc81a5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after packaging a Windows stdio test server for Wine exec. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/rmcp_client.rs"},"region":{"startLine":3639}}}],"partialFingerprints":{"codehealthFindingId/v1":"25562b09314204ada627a6deb925b36b4fbeebeada0d34339c2fc56482fa51b9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after packaging a Windows stdio test server for Wine exec. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/rmcp_client.rs"},"region":{"startLine":3809}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d544b70e32fb885d16c27e947e3f062131b81d2087520ba481eeba490815a51"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after packaging a Windows stdio test server for Wine exec. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/rmcp_client.rs"},"region":{"startLine":3931}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3cf0ab5cfa386de563a20247485ff2778b9470123fa49558dce9fb1f4489d17"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after packaging a Windows stdio test server for Wine exec. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/rmcp_client.rs"},"region":{"startLine":4027}}}],"partialFingerprints":{"codehealthFindingId/v1":"070c9d29451817f4b83bb0b5ea0e282fa8e4ca0efdde651faefcf12fbee9e054"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after unified-exec fixtures use target-native commands. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/unified_exec.rs"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef97b96a7fd9c669e54ff5131233ed1d2339382705afab7078538b5a577a0315"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after unified-exec fixtures use target-native commands. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/unified_exec.rs"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"5daaa52cb8e6bba4134ca6c0615fe0d7c9ad0de202a73bf559cf00f33ac522e2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after unified-exec fixtures use target-native commands. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/unified_exec.rs"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"609522c1a65656269995272875750ad014fbfcf3c8b6d46cbfe0c3cd711a0107"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after unified-exec fixtures use target-native commands. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/unified_exec.rs"},"region":{"startLine":1191}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd96dd23b0af67e7c74f66a2103ba9002bac734a5888479c0529121c703ae3b8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after unified-exec fixtures use target-native commands. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/unified_exec.rs"},"region":{"startLine":1823}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ccd877c18224c665cb83737bb1110ef96d91e48243c42a1f8318915e6d3838c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after unified-exec fixtures use target-native commands. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/unified_exec.rs"},"region":{"startLine":1942}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce365fe417650dc36632e72ed4343d51f6dc70fed1b9967387a1275439a21d4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after unified-exec fixtures use target-native commands. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/unified_exec.rs"},"region":{"startLine":2031}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f20b9b94a20cd08b808db040d0e5157b89c1eae14b2b5d7ba85b14f6773ac1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after unified-exec fixtures use target-native commands. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/unified_exec.rs"},"region":{"startLine":2303}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb7335adb6a7b0c13c883289a4ccd9e41663c616322fb8a21bd00c44d8a351a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after unified-exec fixtures use target-native commands. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/unified_exec.rs"},"region":{"startLine":3306}}}],"partialFingerprints":{"codehealthFindingId/v1":"4846f91993b125c6e4911775bd7bb84abd78a2d2de3bc7bae8e05ed7df1d32df"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after workdir helpers use target-native paths. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/unified_exec.rs"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07d419b73ef07ce51598778792f6af29ddb493b59336b120058103c3dcfd955"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after workdir helpers use target-native paths and commands. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/unified_exec.rs"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"538266a6128a42201e532469ac75fdda990f84ddfe86dba67f94aae165f4b386"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after network-denial fixtures use target-native commands. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/unified_exec.rs"},"region":{"startLine":1280}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6829ac3eb79c315f7e5e75e5e8952343d9023cb7efca61887919d6453f16ddb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after network-denial fixtures use target-native commands. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/unified_exec.rs"},"region":{"startLine":1324}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4cc850a43353cb687d4a922710e358d35128ec53620238df810ce2c2d14f69"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after unified-exec interactive fixtures support Windows/ConPTY. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/unified_exec.rs"},"region":{"startLine":1516}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ce7f0322701b7252500f0b594805e6b5547e64b852471d44bc17d12e6c4aff"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after unified-exec interactive fixtures support Windows/ConPTY. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/unified_exec.rs"},"region":{"startLine":2090}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c05260df869547c59d691172c96a377a07906aff2d2397822facb1a9014b3ee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after unified-exec interactive fixtures support Windows/ConPTY. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/unified_exec.rs"},"region":{"startLine":2176}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6cd5f8760053edcb5ac0ae71416a8841f55068ac0c686c75c0cf9edbbb31ee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after unified-exec interactive fixtures support Windows/ConPTY. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/unified_exec.rs"},"region":{"startLine":2241}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd357043f557f95e508893130eee1ec9501aa7ae03fa458e7e3b4621c5f5cf39"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after unified-exec interactive fixtures support Windows/ConPTY. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/unified_exec.rs"},"region":{"startLine":2382}}}],"partialFingerprints":{"codehealthFindingId/v1":"0296e4d11c4d828dd5f3e6cd736750024aa5847a4528a2d5de29e850e3df3ef9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after unified-exec interactive fixtures support Windows/ConPTY. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/unified_exec.rs"},"region":{"startLine":2824}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5925b962b1488c13987fbb27675123ff54a710f6e50c167c6893752f79dbe0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after unified-exec interactive fixtures support Windows/ConPTY. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/unified_exec.rs"},"region":{"startLine":3101}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89a6f39ef931f5958362ef4a04978b7494f2f52a97a0464ebcec4cc14091b3b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after interactive fixtures use target-native commands. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/unified_exec.rs"},"region":{"startLine":1649}}}],"partialFingerprints":{"codehealthFindingId/v1":"43bc2a9da569f52e12b6c5e28c4c29bf7455408bbb30fe4f0fdcc0bc24833ddf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Add a target-Windows test for explicit interrupt handling. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/unified_exec.rs"},"region":{"startLine":2557}}}],"partialFingerprints":{"codehealthFindingId/v1":"d528c4724e6147e38a90f1a10d04669f151e93aa751aaf93e7a7c7d7201fc5dc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Add a target-Windows test for Ctrl\u002BC termination and exit reporting. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/unified_exec.rs"},"region":{"startLine":2570}}}],"partialFingerprints":{"codehealthFindingId/v1":"6609bb3505fc7eef900c4d58dbbcac5a19ac606b1442d2056098c683807605a3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after output fixtures use target-native commands. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/unified_exec.rs"},"region":{"startLine":3195}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2a0ad7536b83b712cef83f95ae0bfa1586169c07cf8a5f338c7f48b0f749cc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after output fixtures use target-native commands. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/unified_exec.rs"},"region":{"startLine":3517}}}],"partialFingerprints":{"codehealthFindingId/v1":"a107b1283ccc8f67cd55c7804b65ccc13277e8c84295407b02d65b37e376ba1a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after PowerShell execution passes through Wine exec. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/unified_exec.rs"},"region":{"startLine":3961}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4106e59a1790dbcd520fc15e8fb2ceb7bd8f8f834c5da59f34520dd67cb12b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Weaker match because windows produces control characters \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/unified_exec.rs"},"region":{"startLine":4017}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1dfc3d545ef4a5ef55ac4f412b64a4b44a82db91ece3d41f5ec8d79cce4825"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: unignore on windows \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/suite/user_shell_cmd.rs"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"df80e849bc7f1eea562cc6697ebc95d4ed82a05d1b33518080c9714abc39b5ad"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Convert \u0060Config::cwd\u0060 to \u0060LegacyAppPathString\u0060 and remove this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/tests/common/test_codex.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfce497e946380c39804519724dae0e3b84095ce66945fb989c3f3f4b376dcae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Carry PathUri through patch protocol events once app-server and rollout \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/apply_patch.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7109b8da1c73f87ad3298857f1f4793c8ec9e232e90a01eb0671924b07ebdde"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Wire callers that already own an EnvironmentManager into \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/connectors.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"d664e95981c542ea18a47cd9aab38d7a72cd6ad3538562c7463a787f56eb63f3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Migrate local-environment consumers to PathUri so this compatibility \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/environment_selection.rs"},"region":{"startLine":1503}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a11d5cffe30c6d231bdad473e3298b4a5c1d870a7ab7a3bdb4251563c65917"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Reconcile these launch settings with TurnEnvironment::sandbox_context \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/exec.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"770195c3d83c0944ee64da4578a2f1c45e89ce208609b6b57b719c4d4d120b9a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Should arg0 be set on the ExecRequest that is returned? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/exec.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"808733f09c02ee92a73b788d9cf396a2fb214e2135c2d3ddc5fcb9a2fa01f81b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Keep PathUri through the local process launch boundary. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/exec.rs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc09a93b6eb434cfa2d379e366707092125a619721b6976975adca9881ba481b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Keep PathUri through the Windows sandbox launch boundary. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/exec.rs"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4c2e519dbce9441933270b2af30b1742b451387fd70dfe4ab6653e879c3027"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Reconcile this decision input with TurnEnvironment::sandbox_context \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/exec_policy.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea9c16ed7191944ea0a2e43c05dab2988e223cf92fcb3f11209a26f554673c0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Reconcile this approval snapshot with TurnEnvironment::sandbox_context \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/exec_policy.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"8511932407e594cb1e7db67a1a47d0225c99d0b4722c3d6cc0bd0a25e5ae7e48"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Build this metadata from the server\u0027s captured \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/mcp_tool_call.rs"},"region":{"startLine":1020}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d171e1925ccc4dea43981e4130615637ca943df031312e56dfe84e12a377a9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(aibrahim): Remove this temporary fallback once realtime auth no longer \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/realtime_conversation.rs"},"region":{"startLine":2143}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a47991a3abf45b28fa0a13af0a89f80a6ba9e21e8ee51ad4f8317c2352cb3b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ragona): I\u0027m not sure this is actually correct? I believe in this case \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/safety.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d5488d25db8a47a45ab7ff4692eaad526862dcda60ddeb94af4dc59e72b730f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jif) unify with structured schema \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session_prefix.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8875297ee6e03cf827e60aee417a804c947737472861d342cc2bbf0d0a9a42f2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Migrate shell snapshot creation to accept PathUri and defer native \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/shell_snapshot.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"7999f56a31fe28746677af399c48dad13d058f8f1848b70f5c94f5d9bb78039f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ccunningham): Add an explicit non-interrupting live-turn snapshot once \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/thread_manager.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"12749d2a6363d06a83ad35072acb79d6d100f72b6dce7638c005b9f28b8ef72e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jif) merge with fork_agent \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/thread_manager.rs"},"region":{"startLine":1498}}}],"partialFingerprints":{"codehealthFindingId/v1":"6710695f95891fe5d100b92c2e8d7c610c2025eb371d291ee25e6472e408e8b3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Derive this cached tag from TurnEnvironment::sandbox_context \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/turn_metadata.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67ab017fca73e7c76515c5a6a843f23f7c665be880d62b7e6a977e891e1e7fb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Keep PathUri through the local PTY/process launch boundary. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/unified_exec/process_manager.rs"},"region":{"startLine":1401}}}],"partialFingerprints":{"codehealthFindingId/v1":"5034d9794aad0290f09c81f3af755f487a0d1510ac8de98e6659c98b96649b38"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(sayan): Remove this compatibility field once handlers use \u0060step_context.turn\u0060. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/context.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12d7eeb56c0d860265573b1cb5caf08f172fc1ad9a77b483bec43fd0194c92e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We should add a new ToolError variant for user-declined approvals. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/events.rs"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"f636e248644af8cd782ede7148d87768c1d733e2919fe5bb8486c1f6ea5709f3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Reconcile these tags with TurnEnvironment::sandbox_context \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/registry.rs"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef558e93f5617bf2c2bbf8a0db84b751920f97a73a4fb7142bd611f822abd5de"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Reconcile these attempt settings with TurnEnvironment::sandbox_context \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/sandboxing.rs"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec47884da47d1c9764d9da715c3fb77fe71ebf9d4f685be4c252dcd0abeca9bd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(iceweasel): Report executor filesystem sandbox backends like process/start so \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/runtimes/apply_patch.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"13244581c1b15aeb9b0effcbcbcc261f639bd029cd599c7253831c96e3de547c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Make shell snapshot lookup accept PathUri. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/runtimes/unified_exec.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"4800390e9354ba948722f9db33501148dfdb21eab419b4c452bb7d3030b38e94"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Keep apply_patch handler test cwd values as PathUri. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/handlers/apply_patch_tests.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5816936b8a6a4cc75910d6ff8525c43a1775e10223deb859cf6ac7562903366"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Restore this test on Linux once sandbox helpers work inside test microVMs. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/handlers/multi_agents_tests.rs"},"region":{"startLine":2264}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78310a63eb4b9196a1fc456333c0316d1ae5e4fd53f00ff2eea0fddb80cd9b7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Configure this fixture with the elevated Windows backend so it can \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/handlers/multi_agents_tests.rs"},"region":{"startLine":2297}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b2fb729b680ab3e2e773772515aefa038c019a36942f71e85b0071a7c32270"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Resolve requested shells in remote environments instead of restricting \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/handlers/unified_exec/preparation.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1feaefc1e2f1625f0e02b0e366901980fea99c5e631b0506118b8d594b76658"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jif): drop this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tasks/mod.rs"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"db09978ef40e78cd8158a0dc20133eda36b2838cb97f072d4189daf152a49228"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ccunningham): After TurnStarted, emit model-visible turn context diffs for \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tasks/user_shell.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20c6cf2dc43785939e45770ab339be30e0a1ad6cbfb45330071070e7a034c54"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Migrate user-shell events and execution plumbing to PathUri so this local-only \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tasks/user_shell.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"65778fa649802de7b8d54e5a2cec937afefa0c186cf0d1bb269815304b27ee94"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (aibrahim): Consolidate config.model and config.model_reasoning_effort into config.collaboration_mode \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"663980dfab34b4f0348d2d74ae30c9f85425414788b24ebe0a9eb6410a683ce7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ccunningham): Review turns currently rely on \u0060spawn_task\u0060 for TurnComplete but do not \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/review.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5a4d0c026fae8637161e4fb3d9ff609f42fa57386fb0b75ad67337c23591c1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ccunningham): if we drop support for None replacement_history compaction items, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/rollout_reconstruction.rs"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"5792f9c17b21e4a654d7407ff23552a6c2a7a58c920c204a95d6af8443c6f9c8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Reconcile these legacy thread defaults with TurnEnvironment::sandbox_context; \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/session.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef42488d09a282d09f6dfdfda36c90d529e82bc2e263fca7099b69b8f215d9e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //\u00A0TODO(pakrym): Remove config from here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/session.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea0630a31378c5a1aba69591e5ebd30ce8407448347be913d51b46c55510dea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(CDXENT-454): Build the compaction request and metadata from the captured execution."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/session.rs"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"208768533ee9e4aaa9422d2433cbae18916851dcb5dd98293865e49c0e5390f1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Present AGENTS.md discovery errors more clearly to the user. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/session.rs"},"region":{"startLine":1571}}}],"partialFingerprints":{"codehealthFindingId/v1":"f232665794ab9e5cccb396ccf864b05f0d5db4ae3cc172d0abb14be505c7888f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jif): extract session to share between sub-agents \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/session.rs"},"region":{"startLine":1938}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2d033854202454508be019ed78740c2b5d11c6b61aa8c6aedc0762d04056c8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Revisit the split with StepSettings::validate, which does not \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/step_settings.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"976f4accc6999ba520fc162944fde9946ab8608ee1fdbc8c26d5a5b4aa32bd43"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(aibrahim): Remove once v2 clients no longer send the legacy \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/step_settings.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b6576a6585f83a147a7bd4a23b3516d9afcec1585da9cf90aef2dfa8cc77cb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: use online model info \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/tests.rs"},"region":{"startLine":6711}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2f4c7a2d88c9f5c1dd836fafda68408daf8959d881ded5e8ec69a8cfe7f23b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ccunningham): Pre-turn compaction runs before context updates and the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/turn.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b11cf954dd740bc68490e218076db7232aa1028984e7f43011936e8e8ed435b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Reconcile any response item already being presented to the client. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/turn.rs"},"region":{"startLine":3111}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd476a6985bf8727a4961bdeac13fd96570f12b2e3b4e3cffdcf4a5c6fba6747"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(sayan): Migrate remaining step consumers to their StepContext\u0027s environments. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/turn_context.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a100324c4d45af0c2f86851f9a8a82cc721240e58d226e28ff7889bd67e225"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Reconcile this parallel turn snapshot with TurnEnvironment::sandbox_context \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/turn_context.rs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b074400269989b4e65b6f8fddd4a6b72aae893634fd3057fda63d761555edd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo(aibrahim): store this state somewhere else so we don\u0027t need to mut config \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/turn_context.rs"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"5847ec98b7310eee258c37cbb1507cd01ac1c4fcc155d18ab50e0d45136c09cc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Reconcile these backend copies with TurnEnvironment::sandbox_context \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/sandboxing/mod.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"044f87e1f27f844d1e4e45689c171d106df511a4e7ce3d4a6930a0c07f82dcd2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Migrate guardian review thread settings to a PathUri fallback cwd so foreign \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/guardian/review_session.rs"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"5723004df59c27158bdc2acc43196ea5cc3aa67b09de875d2925084f519428c2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp) track better message fragment provenance in rollouts. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/agent/history.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75df8c5e0e591b9ba6a3081a0d5e6d09a06abbe7e6fb84ec7fda9685be5d2e1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jif) add helper for drain \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/agent/control/spawn.rs"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be29bd17042360d02dd2c0e6d7d2d2f1e83142916ccca8197d9ab88e48655c5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO(gt): Add a macos_ prefix to this field and remove the target_os check. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/state.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"426e9f34bd49d7704729c2fa50918a2395739febe9ae018a49d249806a55f119"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(starr): Unify local stdio MCP launch with \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-mcp/src/rmcp_client.rs"},"region":{"startLine":1522}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d78a3cd245f8e16b9755f8d7ed003f0b94eeef826e2d513f0043c080afde9a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Reconcile this runtime-wide copy with TurnEnvironment::sandbox_context \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-mcp/src/mcp/mod.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dfabdf03b81c47ef6a1d485adae78f5002b3596af30c6aa208c36afacf4aec1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(aibrahim): Align the SIWC route with the API multipart shape and remove this branch. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-api/src/endpoint/realtime_call.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa64aa5303345a178f2327e68a813794b7ed11992cfbdb55816c40463b5ef835"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (pakrym): is this the right place for timeout? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-api/src/endpoint/responses_websocket.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7e0928d57ab74adb9bb69b3d5e07ea99ec5a45876d872a39eddb0f4933f5751"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(cconger): Remove this guard once our resolved serde_json dependency \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/code-mode-runtime/src/runtime/value.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a1d4e5d4830dcb8ab3e0d107bd4b975427407f2f4bb0510e80433185b1003b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp) make this timeout configurable if 60 seconds is insufficient. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/code-mode/src/remote_session/connection.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"06cde15ee2c0bffbf86a853468a03b0c28fd8b427098ba7e8ae85f6cac56f56f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make private once we remove tests in lib.rs \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/apply-patch/src/invocation.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0a34bb400e8b436003195aad6961812e2a88f5407bbca986921aaf895780eb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Discover the standalone executable cwd as PathUri directly. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/apply-patch/src/standalone_executable.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70abb342c292431da00a902c0d3b283f8b76c50a085f5a700c0719b0bccd3e5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ruslan): delete this fallback once all clients are updated to send stream_id. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-transport/src/transport/remote_control/client_tracker.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac17e8f7ea29373ec4f2c2761673410f71957ba1d0b5529c30b5d2a9e33ce1b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Avoid hardcoding individual experimental fields here. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/v2/item.rs"},"region":{"startLine":1757}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6f3a4e2685c450d35add206fa691a56c0d118f9da420beb1bb280aa18c2468"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: When core can correlate an elicitation with an MCP tool call, expose the associated \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/v2/mcp.rs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"9089d05c09af0193ac0183a6bdb9b805019182ec79d9405bcf71784cc548cb63"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(victor): Deprecate once migrated to \u0060openai/elicitation/create\u0060. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/v2/mcp.rs"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ea0f85bf131af9d2635bdbbe610494697a3f0d5990a28ee408ea264a9351d4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove this conversion once core permission paths use PathUri. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/v2/permissions.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"afcb241bb65ed13ab4a35c49ff7c28941ebcdbd6f6c9bc96157da259f09fc1fc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove this conversion once core permission paths use PathUri. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/v2/permissions.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f49d453d89de7cdb8e47d0f14cab536b984f547bb5c294c0e7c680ae306a5aa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove this conversion once core permission paths use PathUri. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/v2/permissions.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c9f63b917334114eb6d6ffa1f0007f7ef4f7fd57d35c2f26f7aa645a8cb50e1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove this conversion once core permission paths use PathUri. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/v2/permissions.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4c18e1ea7b74474acc1628ec7be4af4fd57d33ea319948c27a01a160dea089"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove this conversion once core permission paths use PathUri. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/v2/permissions.rs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2859b29f01b4e546fc29f99ae96284b36c683b568a4f61536c11c8a0266357b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove this conversion once core permission paths use PathUri. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/v2/permissions.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c630692baa4761f5a6c4f2bffa1191c7145a34493361e0e973bcf637a0fff7f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove this conversion once core permission paths use PathUri. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/v2/permissions.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7a972a7d1d2aabfe33e39bd775964604ad2dade875ab241ea42689ddab992e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Rename this type to distinguish it from the protocol FileSystemPath. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/v2/permissions.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea197aae1cade6544925e391fa7840ee5ec73a9ac5d71364323ae98e88ce21a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this experiment-only delivery path after response-item testing is complete. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/v2/realtime.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"0751b124f4d29d6ca8a22f990e3e3ebb116176fc4dcc614b12bd1dd105b2edac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this experiment-only prefix with \u0060codex_responses_as_items\u0060. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/v2/realtime.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d200167d519fa0fe1ff482cd282dad8316592e5e589bf7e1a38d87d46c94e6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this compatibility decoder after app-server versions that omitted \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/v2/thread_data.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f65c54c0e1c92d674623eeab650f5e18c2f9f53392a29a4d964890ea151b3e8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Make both metadata fields required after the experimental/alpha rollout \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/v2/user_verification.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"871deb5dc21c846b2f7285817a5eec4f916078d9a515587438b07a5511c36163"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Teach command-hook fixtures to run in selected remote environments. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/tests/suite/v2/hooks_list.rs"},"region":{"startLine":1448}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ce79c44d5088e5699410dc9867087168796f72dd3952d333caf98a4b5297a4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Teach command-hook fixtures to run in selected remote environments. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/tests/suite/v2/hooks_list.rs"},"region":{"startLine":1655}}}],"partialFingerprints":{"codehealthFindingId/v1":"79445d6d2dea659dbb947c00ef3d7748145dd71dbb63561fc6bd52fe0a821460"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after delegated shell commands resolve target-native cwd in remote environments. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/tests/suite/v2/realtime_conversation.rs"},"region":{"startLine":4022}}}],"partialFingerprints":{"codehealthFindingId/v1":"49419f43b2070d34ead3bcecc3723998b8ea844e8789eb3de9d99413aea28dc7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Return the selected environment\u0027s native cwd from thread/start. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/tests/suite/v2/selected_environment.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"efbd5a7b3907bcd14aa95e20e450f63b86e94541d4ec6d6292d4fa2fa973277b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Report the implicit built-in permission profile instead of None. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/tests/suite/v2/selected_environment.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e772b35720dadf72d0206e1a4048f4f2eb21895fdce7b1a8075336a376a932"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after skill watching can bridge host-local storage into remote exec. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/tests/suite/v2/skills_list.rs"},"region":{"startLine":1340}}}],"partialFingerprints":{"codehealthFindingId/v1":"26cf23fcb06b15c6c96494ae260503d1b4af4b2ede9ade27bb97cd39d05ac43f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Move the cached instruction-source fixture into the auto environment cwd. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/tests/suite/v2/thread_resume.rs"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"064ee551e9fe8d6ed22754d5ab80c86886d949b8aac77602dd16deae2ea25c38"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after shell approval replay can route target-native cwd across host OSes. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/tests/suite/v2/thread_resume.rs"},"region":{"startLine":5927}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13cfcf67d381ef5ddc008fd1c20545ed86c1b327afc79712b397f7542960339"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after apply-patch approval fixtures use a target-native workspace. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/tests/suite/v2/thread_resume.rs"},"region":{"startLine":6064}}}],"partialFingerprints":{"codehealthFindingId/v1":"15644e8ff493b0712cadf07389b9b9bf6f33c46ce342a0dc8569ff785c0f500d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Move the instruction-source fixture into the auto environment cwd. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/tests/suite/v2/thread_start.rs"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"9934fc525584a56a2e88f63ccfb52fbfa7f280723e83fb5f8d9ab4f236ba66c6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Move the instruction-source fixture into the auto environment cwd. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/tests/suite/v2/thread_start.rs"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97d683afef400805cf8d8890a977484bbda6aa08a77a9f5c36f35bfabd4ab04"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after the long-running command fixture can run in the selected remote environment. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/tests/suite/v2/turn_interrupt.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"259c0e2884ad71a1fb1bdca2b07203d385e662fd064aa974523834249ab05240"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after the approval command fixture can run in the selected remote environment. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/tests/suite/v2/turn_interrupt.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"875e8c3d00f036575151487ec47151b486ba2df9d97bb74daf40b73cfd06d5f8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(aibrahim): Replace empty string instruction overrides with explicit tri-state \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/tests/suite/v2/turn_start.rs"},"region":{"startLine":1438}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc82fb927eb533633f493c7903c9570de1a587aae6cb652a9ee90747efab073"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after shell-command approval routing supports target-native Windows cwd. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/tests/suite/v2/turn_start.rs"},"region":{"startLine":3051}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a87c00ba321498748c2bb9833449008572c8f0c912809863f4c2b4b826e02b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after command approval routing accepts target-native Windows cwd. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/tests/suite/v2/turn_start.rs"},"region":{"startLine":3294}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc7d7d00e43d7d224f611331a7ee4122e2caf778cbe45c12f5d4395ff8f14f2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Materialize cwd and shell-display fixtures in the selected remote environment. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/tests/suite/v2/turn_start.rs"},"region":{"startLine":3456}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc99bb926cb603d35a8679bab38b721cee618481699617ae9a794924c43a846"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Materialize apply-patch workspaces in the selected remote environment. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/tests/suite/v2/turn_start.rs"},"region":{"startLine":3933}}}],"partialFingerprints":{"codehealthFindingId/v1":"4beab6669f66dd6657180c763c07354e463c96a4d4f27736db2aa22322219cba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Materialize apply-patch workspaces in the selected remote environment. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/tests/suite/v2/turn_start.rs"},"region":{"startLine":4110}}}],"partialFingerprints":{"codehealthFindingId/v1":"69472bc82e6fe4b7582a36aa55a82e542d137e063e32addab60483b68e1681bd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Materialize apply-patch workspaces in the selected remote environment. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/tests/suite/v2/turn_start.rs"},"region":{"startLine":4207}}}],"partialFingerprints":{"codehealthFindingId/v1":"188478ef74b40ec4be5356ee475937da16c963d63f317a5a0cb8faafabb943e2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Materialize apply-patch workspaces in the selected remote environment. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/tests/suite/v2/turn_start.rs"},"region":{"startLine":5180}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc64079919db53759f28a34e26bd9cf1a8bd5e9b0510d68fbd83d352066f3a6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Materialize apply-patch workspaces in the selected remote environment. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/tests/suite/v2/turn_start.rs"},"region":{"startLine":5419}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbbbd9cbaf80c1cf6fabba24d558b40650f23093242338e6beb35411d45b30af"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Add target-Windows process-id expectations for remote executors. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/tests/suite/v2/turn_start.rs"},"region":{"startLine":5569}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc587fd908da7021680b0a62a8b09907572128d2d349a04734880b7d2ef3429"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after the active-turn fixture can run in the selected remote environment. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/tests/suite/v2/turn_steer.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9cfb6c191b20f0501f390ec677298af49c8a3f263de57dac250bc8b5ff442d5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after the active-turn fixture can run in the selected remote environment. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/tests/suite/v2/turn_steer.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f9a1ab837d6483dcbec8a9ee39c5d72766480f73b311fd26574200744c2aba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Remove after the active-turn fixture can run in the selected remote environment. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/tests/suite/v2/turn_steer.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0dafd7f67a20a7c824b5a6a6ff6de4b4a8625e0b7a4c1c148c1936996295cf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(anp): Keep PathUri through the local command launch boundary. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/command_exec.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0c4df490dd6313d5cbe72e2526763a06332fd9fb0ee26cb5400179c1d678c8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jif) handle lag. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/lib.rs"},"region":{"startLine":1374}}}],"partialFingerprints":{"codehealthFindingId/v1":"3022f56f70273146256eb66932f7b8ce5c00ce4e209656d8771869f741c2069d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ruslan): Handle oversized results that core has already collapsed into a \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/notification_media.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a6e8b7e84d4567d96a60429abeaa96c6e0fab5fd543ecdae767ee898eae74a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: retain credential references and revoke server registrations when \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/user_verification.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"a642e2a600af45bee5ddfa9bd8fe2ee92074f9605a5c2351cf738aed10a70d97"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(maxj): Revisit capability scoping for \u0060experimental_api_enabled\u0060. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/initialize_processor.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce985ae0995572f7b94d4935c275871ddc0561ff8c0f6d7d2993cf7d14d6f85"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(owen): Once we remove support for CODEX_INTERNAL_ORIGINATOR_OVERRIDE, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/initialize_processor.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"1144e4ef4d14f4f0b5a4378b311a69a79bc6d070a3edcfd22a3ab23f75676364"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(remote plugins): Remove this once remote plugins are ready and vertical plugins are \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/plugins.rs"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a48b93704247fac69b41f4ae7347801f416956bf73de3828ab2724ef55d503"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Validate the selected credentials against Bedrock ListModels once supported. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/account_processor/bedrock_setup.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"43173101a79fc36d6131951f19a63e42b81f01ffa090dad974e61055ef9fcee7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: add a metric for this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/analytics/src/client.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb594550a11c456649a8f002e59d0ffa4ea02c79e5b18a165ac8709025aadbe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(rhan-oai): plumb nested Guardian review session tool-call counts. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/analytics/src/events.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa00eef045580a261872bb7c2aa5773c2bd2ee191c64981fc2207b2c3e1dd18"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(rhan-oai): Populate once queued/default submission type is plumbed from \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/analytics/src/events.rs"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d48463b0174553ee254e05fae8fb6f3e5af9b7125372f12aa248876f34438b"}},{"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 \u0060codex-rs/windows-sandbox-service/Cargo.toml\u0060 makes this repository a deployable product (line 12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-service/Cargo.toml"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5afd12ca65f75138c0614d614b98a64c6ed38e47a24d7a120df94bcdf8a615a1"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 11 of 175 project(s) overshoot their size bounds, lowering Project Cohesion to 8.7/10. The most over is \u0060codex-rs/tui\u0060 (311041 LoC, 529 module-visible types across 55 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"142fd086251fffd2ec39808a1b5200726727bb86a2c05cfcb94e162d17b6edfc"},"taxa":[{"id":"CWE-732","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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"76f5e2f4f16fecf1abd83656595718c78c1704d56733ff40b89d3ee92c0c421a"},"taxa":[{"id":"CWE-732","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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"53fba76a15570b0669ef435411a3655befff57eb03f910cea671dcd73f65fd27"},"taxa":[{"id":"CWE-250","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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c5a4b41399c28f3733d61ff8ad35a84009e0d6896bca4ca13f41dd18fda495ba"},"taxa":[{"id":"CWE-250","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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"faa6cf05fe0f8d7f19fc5cbc7b9ff92abc32ac76d8159aa7582c8edb7f2ff3e8"},"taxa":[{"id":"CWE-250","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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"033d9a5c96dd2caaaef6f7f298aec08b4672f66a192a2d9fa3d1708e5f90ea26"},"taxa":[{"id":"CWE-250","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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3b85be20058b3f954459927fd50f0958b74ba7890d1489be3f00c27e3efaadfc"},"taxa":[{"id":"CWE-250","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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5010efdc10d2237f782902d4dbe8ee98526e479c102e5b9fd599db225a2aaaf8"},"taxa":[{"id":"CWE-250","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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"07e018f710eedae9c545ec683cf6aeb1466577aa169d023b680f95f2d7d31d8b"},"taxa":[{"id":"CWE-250","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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"95ab9d2cf8f54d31c445a0e218cef94b53aa0293ee1f2739da6bc3dca4fa6397"},"taxa":[{"id":"CWE-250","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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7572cfcf72cacde9b2582e1cb454a6049d1d7781ead6c83f75b098c413e6dd05"},"taxa":[{"id":"CWE-250","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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2879bcf0e77a4814682f3c89edfa394f243f23106c9c5b94126a05b174d901b0"},"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":"b9dd19aa34f68a5c3b2d06dde2c5778a0b6d7469cd6e38cc538acd46df0983e0"},"taxa":[{"id":"CWE-250","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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a9aed82387cc2e86184089e06787443dcb772555f46fabbdc8cf3fdd325c86cc"},"taxa":[{"id":"CWE-250","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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"76caec2119cf4387d0dce752d8e8683ddbdb95fdd54521e6c39d4c62d263bfed"},"taxa":[{"id":"CWE-250","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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"83506bf4590b6354b72fe367a7ce3351057d4d6f5c33ce050019825ea2c56b7b"},"taxa":[{"id":"CWE-250","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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b7785d704e677f3819b72e627743119841089c90ec9a3219076f3c2744487044"},"taxa":[{"id":"CWE-250","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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aee6d39d3aafa8b41d99c60931fc7c019e540080beb6f6b0dd94fca069a471d4"},"taxa":[{"id":"CWE-250","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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a29b6533ee1efd24daeeafd6e8122348a47f8bb031a0b542c81220c60d8156f2"},"taxa":[{"id":"CWE-250","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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"12de71ce5ccede0ce43ca6eaf2e704c5d7fe8523484d3122ce1f3a6728e9d484"},"taxa":[{"id":"CWE-250","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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f745839cbbfc557fe98cf72e5961dba82344f54cc648c73f0c6f67b08105153a"},"taxa":[{"id":"CWE-250","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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c6d1de19436b299a4ca0ec917fa788a17ee496d0d1a13ec9d10b90c69bc3505b"},"taxa":[{"id":"CWE-732","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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a995c213836b0b17d2541d0eefcb0faf830e2ac658c799bdbc1cd8f430825267"},"taxa":[{"id":"CWE-732","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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8af93b54d7b6d09176d9c9016e65470b9e3497c2e30cd6af0b8b0a89230292a4"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c1d9ab90115bf7e993191fb31370ae83c71718f581bd9a1bf3c2572670d70ee3"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-88","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7d7355f25239d405d8ac3f809ce6c68376a626224a676914f519125b14cdf127"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-88","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"12133b809ae6ea4dc54c0a8573fbc9f61f814196c582fc2fe1e94c6560916ce7"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-88","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"be82f0aa4910778711cc885e2172c47e7ce853e0ed717b9b9e909f2e7e7b42d1"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e0e1ae6d842566fad3c95058b15694f1b77c5eed6b922a1c099ffb0fbeb47703"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5cc4567dd284295ddd117d97f9d89df5d7c1b1733d21aed8666b2a9dfd089a62"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"748c91f88ad2a7baec9131e1528a5be3d991673ee3f0e45a67c69a830d00b632"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d417b0c3dabdda51ac9033ca37a4507f9bcce44a1a738c7efb56ff6977aded9e"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"c5172bd6159983de9fdc1edf7475ae65a5c6c8d1960fda77c6f0f1d477da5d52"},"taxa":[{"id":"CWE-155","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-20","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"004415266b74eb83ed1fb8ae7e292130d96b6420b185c9e9a675c647e64c4b91"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","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":"47fc8e658029b647305705b6ca6d9045ecc0176431b972cd8f7762b246064089"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"9c51f81a42f7a13c7913c4e6e27f4eac158b8ae1995758e335ebfd7c6c67423c"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"4465b9e4c917d255e43eab2c19104dc96c70a5efbaffc8feeac96422933a4723"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"e9d2ff247d70cc603a1a8e334a06d122e540fe27b837f3999c6046ba73eeaa57"},"properties":{"dependency":{"package":"zip","version":"9.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"c121aed0fdd9c8edaea4f7b45c2a2b359d48bddf2d4dcca7a065482037b182b5"},"properties":{"dependency":{"package":"handlebars","version":"4.7.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"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":"e5533c2d149eea07ed065c5fde61196816d01a4a3eb50ba7bc43ead963babea5"},"properties":{"dependency":{"package":"proxy-addr","version":"2.0.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d60168f24140c184b508823be406b44b54f24bd0982f4bd3e2c042fc97d87780"},"properties":{"dependency":{"package":"aws-smithy-json","version":"0.61.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"19b4378a13391afbbda5ea57317437762d82d6459b6f758737aec3b36832d833"},"properties":{"dependency":{"package":"gix","version":"0.89.0","advisory":"[GHSA redacted]","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":"72af7084de4a48ef77b031f3949d6d9aadda8ce16365b65e341276a5fed92d62"},"properties":{"dependency":{"package":"black","version":"26.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"422722aaa103cb3522b5e30246aa009ac86e475e07b01adc3896be640b689e5d"},"properties":{"dependency":{"package":"datamodel-code-generator","version":"0.64.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-4205"],"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":"2eae5ae78d85cd537b0fb3020ddcfb60e7b62739c2b4fe6fee05aac434877c13"},"properties":{"dependency":{"package":"body-parser","version":"2.2.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1a09d405713ae140671a509e40e5fce6b47dcd5786f158904ae325685900071c"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.12","advisory":"[GHSA redacted]","aliases":["[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]"],"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":"cf3e6d1b24e1adb6d5a39c5e996532fa42e3324851600aca1fe94edd399df0cf"},"properties":{"dependency":{"package":"brace-expansion","version":"5.0.5","advisory":"[GHSA redacted]","aliases":["[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]"],"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":"ce9bbfea95fe015374ae86e03b9373fd15c82feee84c4ee070b765207d8d9476"},"properties":{"dependency":{"package":"browserslist","version":"4.26.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"06593c39ce911a216ed914a471d9cdd931bac450d9675076e44dd756bcb35a60"},"properties":{"dependency":{"package":"fast-uri","version":"3.1.1","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]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"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":"6d66865a895be83070d47ca5389552eea8c6cee10a32818c70a3443fc659d917"},"properties":{"dependency":{"package":"ip-address","version":"10.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"685cba4514570b53bf9bc85812fa54c07fec7b3f62fc67d4712c038e9ec2e605"},"properties":{"dependency":{"package":"js-yaml","version":"3.14.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"24ca2b657a002371f47253ffc3d1042d7a3752a5b2076cdfa1568b90732fc738"},"properties":{"dependency":{"package":"js-yaml","version":"4.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2ea65af982fbfa7ee58dbe3fa40bd975ecb648d209c563eae9269b519d2be2a6"},"properties":{"dependency":{"package":"nanoid","version":"3.3.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"94c6ff14ea54b382a61d2f966f77a9032450e908372d7ab5d8acd1b161983573"},"properties":{"dependency":{"package":"postcss","version":"8.5.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0bf997523edcbfd004b0e48079d2d03fc36b5b8058c165442d7b3299bf52fe16"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7531eb5fa8b12bbac40121f69038f913c6ef844555a157b58db0a6ce500ba8f1"},"properties":{"dependency":{"package":"undici","version":"7.28.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]","[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]"],"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":"9ebef2b165f22eaf35d99f757d2c09492d940967fea1af61fe4f535358dd0edf"},"properties":{"dependency":{"package":"zod","version":"3.25.76","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"test-or-tooling","file":"sdk/typescript/package.json"}}}},{"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":"c8ea93a4620bb90c94a8e4fd1a259f4f37c4e519faac93f37dceedc933cf8ac4"},"properties":{"dependency":{"package":"zod","version":"4.4.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"test-or-tooling","file":"sdk/typescript/package.json"}}}},{"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":"b23104db9be387ef4fb1709e554cfd8fa089bc62940d8ee2f5a0173f7f8dce5d"},"properties":{"dependency":{"package":"block-buffer","version":"0.12.0","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"389f94ba8d4f2e88777819321fced5f6cd3e669a937b4e61a1edfd7f9667520d"},"properties":{"dependency":{"package":"cmov","version":"0.5.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9417ada39f7762adeb9be4eb6ac549080642d382d6a22eba6d8146789975a2db"},"properties":{"dependency":{"package":"event-listener","version":"5.4.1","advisory":"RUSTSEC-2026-0221","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":"3f81f53e9836d904691b29ae7926d2be50556818f7387b2825643a1d1674893d"},"properties":{"dependency":{"package":"hickory-resolver","version":"0.25.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","RUSTSEC-2026-0514"],"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":"726d51e61cc074ae0495f330d182d693fc50aa52542ed5c057cabc80e2740f78"},"properties":{"dependency":{"package":"jsonwebtoken","version":"9.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1a56c9bb9343b5656120da202341a0b963270402bb0051b91c985037c1e5e372"},"properties":{"dependency":{"package":"opentelemetry_sdk","version":"0.31.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"251810c60a99f6a460c1bff33c2eaf4e44165da9a6589bb2734911793409a8e6"},"properties":{"dependency":{"package":"rmcp","version":"3.5.1","advisory":"RUSTSEC-2026-0457","aliases":["[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0461","RUSTSEC-2026-0462"],"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":"8451ff0394cafd382f42ae7ff7d8b64d28ce348e50a0ebd737b9196bdd63b9d1"},"properties":{"dependency":{"package":"rustix","version":"1.1.4","advisory":"RUSTSEC-2026-0486","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b213f7cdd7a80fa1c77824f3dcbd45bd8a148604c0965d6e15a8956bd43519b9"},"properties":{"dependency":{"package":"scc","version":"2.4.0","advisory":"RUSTSEC-2026-0205","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":"ff9a8448931968fd99ba58127717fa7c6070ddeffc117e1627562c1acd2999bb"},"properties":{"dependency":{"package":"serde_with","version":"3.17.0","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c750643e974594d33ff948a7c1015896dbd76cb29fadcd53562bf79dab3f09f9"},"properties":{"dependency":{"package":"tar","version":"0.4.45","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"385597b7e8d6de7c2a29ef04e13a440472c781ba70ecde0157b5240b06d88ca4"},"properties":{"dependency":{"package":"tokio","version":"1.52.3","advisory":"RUSTSEC-2026-0386","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":"7dbd4c5d37ea6ed95796ed16d9f269dc5ac9633c79882f7dc28bb5e5385f9585"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0395","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":"479a2a7638a4e882dc34f5c301be2ccdeabe703f14758b5034e13c59e69d7961"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0396","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":"2a9bb25afd9aeda0d4a32181f30335c90f61d1a8a6eaafacc362af5cd7710644"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0397","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":"1302afee58b1596cafc18213c30b2d3a79efe018ce76236fcce06c91e37d084f"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0399","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":"4eb4c6afcbebf30ec455c7df479ecedb5ceacaa8f40236e516a1c04ac19460a5"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0400","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":"4687fbab03d6ce152eb97a3e28a28c35e18d476845cce7b86fc912969098e9ff"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0401","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":"21e4492cbf62696c08352c82b57be6d50d0b06ff4f9773ee4edbb8f1a7343eb9"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0402","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":"9920706389f8803b00836bec19666e166d43e555fd2490006bee606eb362caaf"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0404","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":"6756413440e090df26fd2b3032630a669a4a71cb6d112fa5fdbea13ea1d466ba"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0405","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":"78414667765487af42151f6cad0ca66ebe229759577aecb1cef7783518d53658"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0406","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":"e261df1cbf6ef438096ddfd959ed9a423b915933b3dc2c84c0fcb79430e6e062"},"properties":{"dependency":{"package":"anyhow","version":"1.0.102","advisory":"RUSTSEC-2026-0190","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":"11244f67c3aefd1b5b242b3d21927f3065b07c4dcfd7fe0dda8aa0139adab29c"},"properties":{"dependency":{"package":"libz-sys","version":"1.1.25","advisory":"RUSTSEC-2026-0418","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7e52c8101211f325a7c747a1398cc0e79a6456970586e19f5cc0f62cd2f98e35"},"properties":{"dependency":{"package":"paste","version":"1.0.15","advisory":"RUSTSEC-2024-0436","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":"cd0e6dc0428dcbd817b95f0b87330e0a37f30269ee8c4e4c8354ca087fbf286c"},"properties":{"dependency":{"package":"rustix","version":"1.1.4","advisory":"RUSTSEC-2026-0486","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e117118e412ed200a9729ad74339aa4ad57d62f793c90c3a9da5f08b6c8cbf0"},"properties":{"dependency":{"package":"tar","version":"0.4.44","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0067","RUSTSEC-2026-0068"],"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":"41da8266ad99aba42e1a15b49148dc4815b8218f5e7ee64f913ffed9f8b104f2"},"properties":{"dependency":{"package":"@hono/node-server","version":"1.19.13","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"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":"b717e9dd303f73b8b7ce5922ca68dede6a38dec9452f848a70f0889e9aafb7d7"},"properties":{"dependency":{"package":"@humanfs/node","version":"0.16.7","advisory":"[GHSA redacted]","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":"b7bda289298f8c7b577c3df21f51a6fc17f92b7e23b2a76b5f7c4731a8327d8c"},"properties":{"dependency":{"package":"ajv","version":"6.12.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"16bc49aac72eafef4ac9a880a9755121d0367a6bdf3e48689c49c4d9d8c09a58"},"properties":{"dependency":{"package":"baseline-browser-mapping","version":"2.8.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"ea7e5354ab7cfc90dd177dde60810f39ea3e10b3fe5c807ca0b2b906b7004ac5"},"properties":{"dependency":{"package":"glob","version":"10.5.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fba88c88c0f4da8eaa88b0cae886b4acc3bb4f750dd875a1809e63c9a06776ad"},"properties":{"dependency":{"package":"hono","version":"4.12.25","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]","[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]"],"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":"c3bac0b956cc7625db5ffaa04443fc36030c2af44043a6f2dfd365abaf694f40"},"properties":{"dependency":{"package":"minimatch","version":"9.0.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9fa903053a3f312606416859cb67a9d184205be1a801337492ae8f642ebf9203"},"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]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f392b1419f96aa208ac2115d3c34c2f00540ad0c5381e81423f8727e54319f35"},"properties":{"dependency":{"package":"@babel/core","version":"7.28.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a861b1ab2fd6ac5a0cbbd2d1eaeca38914dcada77f7a5d62bbdd015efb9e974e"},"properties":{"dependency":{"package":"deepmerge","version":"4.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d8884977fb5db81074778c0c1d8e66cf2219fb89e44e4956024b365306db135d"},"properties":{"dependency":{"package":"diff","version":"4.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"06c29cdc31d61953f00005fa46978f63091feca536354d36e80b9929c2647a92"},"properties":{"dependency":{"package":"atomic-polyfill","version":"1.0.3","advisory":"RUSTSEC-2023-0089","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb26bcadb7ad3eb997238d2bef6388875175222dafcbe0da7009f9e9c3007d83"},"properties":{"dependency":{"package":"basic-toml","version":"0.1.10","advisory":"RUSTSEC-2026-0374","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"826ec984d67f6299f68ae82c4ad366ae83c957c78d7cf782f64cf07f99c8069c"},"properties":{"dependency":{"package":"bincode","version":"1.3.3","advisory":"RUSTSEC-2025-0141","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9973027ceb47e23c472ae811770107072736aff59008e98d272b9783853d448c"},"properties":{"dependency":{"package":"crypto-bigint","version":"0.5.5","advisory":"RUSTSEC-2026-0387","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"756b4e5dd88e262d5b12fd3a623860961c6a0959cde32fa71d56c82e68eb595a"},"properties":{"dependency":{"package":"derivative","version":"2.2.0","advisory":"RUSTSEC-2024-0388","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5465af03619743ddd585315cb97dd3f64ff7d9f5b1c417379bb3607a7bb7aa2a"},"properties":{"dependency":{"package":"fxhash","version":"0.2.1","advisory":"RUSTSEC-2025-0057","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d566a7248ac763cd676da7d0db91b72e7526a02789ceffa6f223e9419048cd24"},"properties":{"dependency":{"package":"hickory-proto","version":"0.25.2","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]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0118","RUSTSEC-2026-0119","RUSTSEC-2026-0120","RUSTSEC-2026-0487","RUSTSEC-2026-0489","RUSTSEC-2026-0490","RUSTSEC-2026-0491","RUSTSEC-2026-0504","RUSTSEC-2026-0505","RUSTSEC-2026-0506","RUSTSEC-2026-0509","RUSTSEC-2026-0511","RUSTSEC-2026-0512","RUSTSEC-2026-0519","RUSTSEC-2026-0520","RUSTSEC-2026-0530","RUSTSEC-2026-0531","RUSTSEC-2026-0532","RUSTSEC-2026-0539","RUSTSEC-2026-0540","RUSTSEC-2026-0541"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e710b5aaf623f8ee6b6ab385c65627ad72f7e36fe807b93d68b7e212fa7446db"},"properties":{"dependency":{"package":"libz-sys","version":"1.1.29","advisory":"RUSTSEC-2026-0418","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f5501293a8e9bd2367db79ec829093de9b70b49bac8f3fd0d2abf812652548c5"},"properties":{"dependency":{"package":"paste","version":"1.0.15","advisory":"RUSTSEC-2024-0436","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"243035953fd291918220aef7238b9628f5abc5c6ff167b95e0f66e8526dc9554"},"properties":{"dependency":{"package":"pin-utils","version":"0.1.0","advisory":"RUSTSEC-2026-0441","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6b926eab04fcfc5fe98de06c3f22ab9cb211bd2e8891b3ae58d23530479a7b29"},"properties":{"dependency":{"package":"quick-xml","version":"0.39.4","advisory":"RUSTSEC-2026-0194","aliases":["RUSTSEC-2026-0195"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"376e7a12839dc39eb4b964a1564a1c6148a7a1f26e2d2e293ccae139b4cc3341"},"properties":{"dependency":{"package":"unsafe-libyaml","version":"0.2.11","advisory":"RUSTSEC-2024-0449","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"14734004e44972e50e1622240e720b21360ccdaf2d163b3b57c7897761afdc31"},"properties":{"dependency":{"package":"zbus_names","version":"3.0.0","advisory":"RUSTSEC-2026-0371","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a32c8db1ca38cdc7488b756b9f8b3cceed96ae5cc450307c28996f213614b895"},"properties":{"dependency":{"package":"zstd","version":"0.13.3","advisory":"RUSTSEC-2026-0391","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9a081535575d77713e0f63d78bab0b7e41718ea5f9a37fb06709e828b3db918e"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0398","aliases":["RUSTSEC-2026-0403"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"125b8ca12e3f9131fe05331f581d72ef7ad7d4925325a42f0e9150ea124595b2"},"properties":{"dependency":{"package":"zstd-sys","version":"2.0.16\u002Bzstd.1.5.7","advisory":"RUSTSEC-2026-0410","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe58c437bcd034a312cdd646ae08bad52abca73760eee6892225414389717b9e"},"properties":{"dependency":{"package":"zvariant","version":"4.2.0","advisory":"RUSTSEC-2026-0370","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fd4a973daf4ea31c4c3018e5974daa2dc14ddf599f59b833077aa81f6790f8d6"},"properties":{"dependency":{"package":"zvariant_derive","version":"4.2.0","advisory":"RUSTSEC-2026-0372","reachability":{"kind":"unknown"}}}},{"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":"798275b23cbf0aeffbe913d2ea00fe801ac1b1331158871c523e8dbd1e189f09"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08: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":"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":"cd991f01a973f25f28e8f1f2cb06b15f70f40b31a38e0d9adca591fa47b44976"},"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":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cloud-tasks/src/ui.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96638dd63f60d37473128763de8fc6c5e672d4ad210076c13dcc1d19ba47c5f"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 12 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: codex-rs/utils/stream-parser/src/tagged_line_parser.rs, codex-rs/cloud-tasks/src/scrollable_diff.rs, codex-rs/ollama/src/pull.rs, codex-rs/utils/sleep-inhibitor/src/windows_inhibitor.rs, codex-rs/codex-api/src/endpoint/realtime_websocket/protocol_frameless_bidi.rs, codex-rs/utils/sleep-inhibitor/src/lib.rs, codex-rs/core-plugins/src/artifact_operation.rs, codex-rs/utils/sleep-inhibitor/src/macos.rs (and 4 more) (13 orphaned of 2766 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 2766 of the 3625 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/utils/stream-parser/src/tagged_line_parser.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f40e211700af1251eb32e900f33c20f130f7e83bb7fb6b4e7f7bbc83f42044"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cloud-tasks/src/scrollable_diff.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af40d9cd5be44f07622bc673f60674eae2a67bf43064d3124b5a4553a6442174"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ollama/src/pull.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8db041534322029dbdcf418bcf92cd0513ef82c3e0fec57bbb593d5363787d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cloud-tasks-client/src/api.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c992104a4fd6a4e15c75373d650daa1f6cb0781dbf316bcae47488f37f083873"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/utils/sleep-inhibitor/src/windows_inhibitor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b32020d7c4d3dabc5534512c3d36ddb4568f9fc481b295dabe308563ae496d1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-api/src/endpoint/realtime_websocket/protocol_frameless_bidi.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23be85bd3104275408c151ac6a7d0c6687e264fe51e1b601795e487611e8e8d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/utils/sleep-inhibitor/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd81bf955ab8e6f9d9d593b8764bb50731157c595b9c3b4477d694ac2ca291d0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/artifact_operation.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7860d00bc906c9eda48e9aa0dcf6ca049a0c85848f02d8dcca1d5fd5be7f2647"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/utils/sleep-inhibitor/src/macos.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61fdf29ff04a1aa029e02244c39d991d1d805b753ab0adcf99eb116064019919"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/execpolicy/src/execpolicycheck.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"622198052b9c1a7dc98949a66e4b4210e7ff6bb15e0e53a74e1f819c630f115a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ollama/src/parser.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55dff65c9e05e635dbf9c891a5531ac597c18a42f24a6e3b7aff1c59cacc0617"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/test-binary-support/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b436c0bfd21668c43d6aaf9b3ed0a56137352f33a951275a760672491cafbf4"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: realtime.rs \u2194 realtime_conversation.rs: \u0060codex-rs/app-server-protocol/src/protocol/v2/realtime.rs\u0060 and \u0060codex-rs/core/src/realtime_conversation.rs\u0060 change together 100% of the time (16 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 16 shared commits counted here, the most recent 3 are \u00606786dccb\u0060 Forward client voice session IDs in realtime requests (#53784); \u006090e65301\u0060 Add opt-in reasoning status for realtime V3 delegations (#47377); \u0060536f86e5\u0060 Support attaching to existing realtime calls (#39876) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/v2/realtime.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb23f5f22189e0ccb0c93e07e9e6b340edbec077beb61c1708f9c132ef8f38a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: lib.rs \u2192 doctor.rs, api_bridge.rs, responses.rs, metrics.rs, execution.rs: \u0060codex-rs/response-debug-context/src/lib.rs\u0060 changes together with 5 other files \u2014 \u0060codex-rs/cli/src/doctor.rs\u0060, \u0060codex-rs/codex-api/src/api_bridge.rs\u0060, \u0060codex-rs/codex-api/src/sse/responses.rs\u0060, \u0060codex-rs/ext/guardian-v2/src/async_scorer/metrics.rs\u0060, \u0060codex-rs/ext/guardian-v2/src/async_scorer/sampler/execution.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 5 separate couplings, not 5 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 5."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/response-debug-context/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b929132c2edc2ab1fb5157a7b0cfd390748d177049e62ff12d8edf849b24e0"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: windows_sandbox.rs \u2192 config_persistence.rs, event_dispatch.rs, permission_popups.rs, windows_sandbox_prompts.rs: \u0060codex-rs/tui/src/windows_sandbox.rs\u0060 changes together with 4 other files \u2014 \u0060codex-rs/tui/src/app/config_persistence.rs\u0060, \u0060codex-rs/tui/src/app/event_dispatch.rs\u0060, \u0060codex-rs/tui/src/chatwidget/permission_popups.rs\u0060, \u0060codex-rs/tui/src/chatwidget/windows_sandbox_prompts.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/windows_sandbox.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c406cb25eb0584efc0acc0c8f66054884f7a871dea08321e139b7eb4dcfdb971"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: plugins.rs \u2194 tests.rs: \u0060codex-rs/app-server/src/request_processors/plugins.rs\u0060 and \u0060codex-rs/core-plugins/src/remote/share/tests.rs\u0060 change together 88% of the time (22 of the 25 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 22 shared commits counted here, the most recent 3 are \u00603fd5160c\u0060 Honor the configured product SKU in remote plugin requests (#47116); \u006028f3f1f9\u0060 Expose plugin installation timestamps in app-server summaries (#35859); \u006012b961d4\u0060 Expose plugin eligibility metadata in app-server summaries (#35837) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/plugins.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f9502c50b2c1d027ff26290ef60a04184bbb6d6dfa4e5e34db30190ec61b1b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: extension.rs \u2194 world_state.rs: \u0060codex-rs/ext/skills/src/extension.rs\u0060 and \u0060codex-rs/ext/skills/src/world_state.rs\u0060 change together 87% of the time (13 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 13 shared commits counted here, the most recent 3 are \u0060e72da2b5\u0060 Stabilize skill catalogs across executor availability changes (#48353); \u0060a1890b69\u0060 Project orchestrator skills through world state (#37149); \u00605e8b2248\u0060 Use the host skill provider catalog in world state (#36309) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/skills/src/extension.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b362e2a9b2286b3f92dfffce165e831b3ae5203224a7c5fff277d21de932d0dc"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: profile_toml.rs \u2194 mod.rs: \u0060codex-rs/config/src/profile_toml.rs\u0060 and \u0060codex-rs/core/src/config/mod.rs\u0060 change together 83% of the time (15 of the 18 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 15 shared commits counted here, the most recent 3 are \u00608c818cbe\u0060 Make environment context date and timezone configurable (#52164); \u0060c7bcb90f\u0060 package: include zsh fork in Codex package (#23756); \u00607dbe1c94\u0060 [codex] Remove experimental instructions file config (#22724) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/profile_toml.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5642c603f2bf1fb6d59ec6bc2526a4b8b0deb1fbeb2d2c09970e22558a3b8a73"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: http_proxy.rs \u2194 socks5.rs: \u0060codex-rs/network-proxy/src/http_proxy.rs\u0060 and \u0060codex-rs/network-proxy/src/socks5.rs\u0060 change together 82% of the time (14 of the 17 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 14 shared commits counted here, the most recent 3 are \u0060b514f638\u0060 Add policy-checked TCP upstream tunneling for SOCKS (#60523); \u0060634ebc18\u0060 Support credential brokering in plaintext HTTP tunnels (#44089); \u006056d3e819\u0060 Refactor credential-broker tunnel protocol detection (#44077) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5101519276ad0cb734d998f824b30dfdca890c1f54a1c03973a0c49da8b7cf96"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: bindings.rs \u2194 actions.rs: \u0060codex-rs/tui/src/keymap/bindings.rs\u0060 and \u0060codex-rs/tui/src/keymap_setup/actions.rs\u0060 change together 82% of the time (18 of the 22 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 18 shared commits counted here, the most recent 3 are \u00608044c686\u0060 Add keyboard and mouse navigation for sidebar tabs (#60181); \u0060ed8eac40\u0060 Add keyboard controls for TUI pane resizing and zoom (#59595); \u0060db3c4441\u0060 Add directional conversation focus shortcuts in workspace mode (#59287) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/keymap/bindings.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb8b8218fc337031116ddc4b1331a096020368d7a103555322768154a1ca9e5"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: sandboxed_file_system.rs \u2194 file_system_handler.rs: \u0060codex-rs/exec-server/src/sandboxed_file_system.rs\u0060 and \u0060codex-rs/exec-server/src/server/file_system_handler.rs\u0060 change together 80% of the time (12 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 12 shared commits counted here, the most recent 3 are \u0060c39bfa4c\u0060 Enable writable file streaming in exec-server (#50177); \u0060d25c114d\u0060 Bound in-flight file opens in exec-server (#50162); \u0060a4ee536f\u0060 Route filesystem reads and writes by their own sandbox permissions (#\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/sandboxed_file_system.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d798fb3b7b532462b139b9f4be5a82008aec06c72a8c7942057ab886d1afcf29"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: thread_config.rs \u2194 auth_env_telemetry.rs: \u0060codex-rs/config/src/thread_config.rs\u0060 and \u0060codex-rs/login/src/auth_env_telemetry.rs\u0060 change together 80% of the time (8 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 \u0060be7cd6fd\u0060 Add a credential file override for GCP provider authentication (#57188); \u0060970111f6\u0060 Allow configuring GCP project and location in provider settings (#56560); \u0060c6049ebd\u0060 Add capability overrides for custom model providers (#50459) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/thread_config.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3248b1cfa9c10fa002add4312486551d2640163f418c25b219eab5497b754986"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: section.rs \u2192 prompt.rs, extension.rs, transcript.rs: \u0060codex-rs/guardian-context/src/section.rs\u0060 changes together with 3 other files \u2014 \u0060codex-rs/core/src/guardian/prompt.rs\u0060, \u0060codex-rs/ext/guardian-v2/src/async_scorer/extension.rs\u0060, \u0060codex-rs/ext/guardian-v2/src/async_scorer/transcript.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/guardian-context/src/section.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba68f9da2f42220b14f2cedafadf0edc52c1e484ce97964c974a7183a2b8b63"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: markdown_render.rs \u2194 markdown_stream.rs: \u0060codex-rs/tui/src/markdown_render.rs\u0060 and \u0060codex-rs/tui/src/markdown_stream.rs\u0060 change together 80% of the time (8 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u006086ee40c3\u0060 Keep TUI Markdown colors readable against their backgrounds (#54315); \u0060e89b7c44\u0060 Apply syntax theme colors to Markdown prose in the TUI (#54217); \u0060abc8f0c9\u0060 Use the terminal palette for ordered Markdown list markers (#48800) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/markdown_render.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee08331656f52e79c3136883c8a75c56150cac70b4d1fc0a933abbd7f4d5a381"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: markdown_stream.rs \u2194 controller.rs: \u0060codex-rs/tui/src/markdown_stream.rs\u0060 and \u0060codex-rs/tui/src/streaming/controller.rs\u0060 change together 80% of the time (8 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 \u006086ee40c3\u0060 Keep TUI Markdown colors readable against their backgrounds (#54315); \u00605a11c456\u0060 Render TUI Markdown lists with Unicode bullets and checkboxes (#47322); \u0060b966240b\u0060 Preview streaming prose before a newline arrives in the TUI (#45135) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/markdown_stream.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b1b94e2eedcea0466f9e7d2e2873332f23811b1eba1772eb381ecc10235008"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: status_line_setup.rs \u2194 title_setup.rs: \u0060codex-rs/tui/src/bottom_pane/status_line_setup.rs\u0060 and \u0060codex-rs/tui/src/bottom_pane/title_setup.rs\u0060 change together 75% of the time (9 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u0060c93a54e1\u0060 Show effective processing tiers in TUI status surfaces (#57265); \u00608ea2428c\u0060 Add Daybreak state to the status line and terminal title (#49861); \u00601e71e35d\u0060 Add thread usage to TUI status surfaces (#38282) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/status_line_setup.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0f032fbed18f62e08c28c0f82efd40423ec50738b32872b2d60c3e997f0cd8"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: connection_manager.rs \u2192 installed.rs, codex_apps.rs, tool_catalog_cache.rs: \u0060codex-rs/codex-mcp/src/connection_manager.rs\u0060 changes together with 3 other files \u2014 \u0060codex-rs/app-server/src/request_processors/apps_processor/installed.rs\u0060, \u0060codex-rs/codex-mcp/src/codex_apps.rs\u0060, \u0060codex-rs/codex-mcp/src/tool_catalog_cache.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-mcp/src/connection_manager.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92cc7d2fa462aab5afbd5e49095be4eb0fcce1936dc8d5b57a0dbacd7a65ed92"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: turn.rs \u2192 auto_compact_window.rs, protocol_event.rs, policy.rs: \u0060codex-rs/core/src/session/turn.rs\u0060 changes together with 3 other files \u2014 \u0060codex-rs/core/src/state/auto_compact_window.rs\u0060, \u0060codex-rs/rollout-trace/src/protocol_event.rs\u0060, \u0060codex-rs/rollout/src/policy.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/turn.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda3618f9d5027eec0a4fc4d2d6537d050fe56a4ab1d0a52f6e47cb5f39a34ee"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: provider.rs \u2192 thread_config.rs, auth_env_telemetry.rs, catalog.rs: \u0060codex-rs/model-provider/src/provider.rs\u0060 changes together with 3 other files \u2014 \u0060codex-rs/config/src/thread_config.rs\u0060, \u0060codex-rs/login/src/auth_env_telemetry.rs\u0060, \u0060codex-rs/model-provider/src/amazon_bedrock/catalog.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/model-provider/src/provider.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9495233b5ea020c385fe5cac51382ea35e65ecbf2d3cdfff65f88b9e44a3c6aa"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: mcp.rs \u2194 plugin.rs: \u0060codex-rs/core/src/mcp.rs\u0060 and \u0060codex-rs/ext/mcp/src/plugin.rs\u0060 change together 69% of the time (9 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 9 shared commits counted here, the most recent 3 are \u006076dcb819\u0060 Honor permission grant scopes in executor capability discovery (#60461); \u0060c7e80f87\u0060 Preserve executor MCP credential boundaries across reconnects (#48143); \u0060e8098eb4\u0060 Separate selected plugin identities from MCP contributions (#47939) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/mcp.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df72a032abfa9c91afa4ab750d77d2e44ef33eea04d53f8e7ec04a69e4bc0e92"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: app_server_event_targets.rs \u2194 protocol.rs: \u0060codex-rs/tui/src/app/app_server_event_targets.rs\u0060 and \u0060codex-rs/tui/src/chatwidget/protocol.rs\u0060 change together 68% of the time (15 of the 22 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 15 shared commits counted here, the most recent 3 are \u00601f0290c6\u0060 Broadcast thread section changes to connected clients (#58380); \u006082883da2\u0060 Notify subscribers when thread read state changes (#52384); \u006090abcfac\u0060 Add experimental thread prediction protocol types (#49480) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/app_server_event_targets.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"044771aed13ab26a481cd4fc57e43170645073bbcd057b200a5a7262445b8a83"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: chatwidget.rs \u2192 pending_interactive_replay.rs, thread_session_state.rs, pending_input_preview.rs, slash_commands.rs: \u0060codex-rs/tui/src/chatwidget.rs\u0060 changes together with 4 other files \u2014 \u0060codex-rs/tui/src/app/pending_interactive_replay.rs\u0060, \u0060codex-rs/tui/src/app/thread_session_state.rs\u0060, \u0060codex-rs/tui/src/bottom_pane/pending_input_preview.rs\u0060, \u0060codex-rs/tui/src/bottom_pane/slash_commands.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeba1a4fefb6a5fe5120c3235ca50a3d3d32c2e2ba9091235128b3706feaae88"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: execute_handler.rs \u2194 wait_handler.rs: \u0060codex-rs/core/src/tools/code_mode/execute_handler.rs\u0060 and \u0060codex-rs/core/src/tools/code_mode/wait_handler.rs\u0060 change together 67% of the time (10 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u006009db085f\u0060 Support negotiated server-side truncation in Code Mode clients (#58125); \u0060a79a18cd\u0060 Expose tool dispatch and timing observations to extensions (#47662); \u00600fd1cd8d\u0060 Add opt-in overhead timing to code-mode responses (#46288) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/code_mode/execute_handler.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4b1f20de8ee262625c469796bc05dc725ae31727ca467e339e0ada1e99479a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: agents_overview_threads.rs \u2194 agents_overview_view.rs: \u0060codex-rs/tui/src/app/agents_overview_threads.rs\u0060 and \u0060codex-rs/tui/src/app/agents_overview_view.rs\u0060 change together 67% of the time (10 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u00604e4767ff\u0060 Search task history from the command center (#60286); \u0060025f6d71\u0060 Show unread results in the TUI command center (#58263); \u00607298a6e0\u0060 Add shared task pinning to the agent command center (#51500) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/agents_overview_threads.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee092ca08f700bfad5812db049a16c029cdf344618e15281061ff5154a7d9eb"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: remote_file_system.rs \u2192 local_file_system.rs, sandboxed_file_system.rs, file_system_handler.rs: \u0060codex-rs/exec-server/src/remote_file_system.rs\u0060 changes together with 3 other files \u2014 \u0060codex-rs/exec-server/src/local_file_system.rs\u0060, \u0060codex-rs/exec-server/src/sandboxed_file_system.rs\u0060, \u0060codex-rs/exec-server/src/server/file_system_handler.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/remote_file_system.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2297cf181fe2fc9cc877a0795d6fed00c2cf7fc6693c7c4ee6cfa28a2f5bab16"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: protocol_event.rs \u2194 policy.rs: \u0060codex-rs/rollout-trace/src/protocol_event.rs\u0060 and \u0060codex-rs/rollout/src/policy.rs\u0060 change together 64% of the time (16 of the 25 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 16 shared commits counted here, the most recent 3 are \u00604969675f\u0060 Resolve network approval prompts when their requests end (#58350); \u006007316174\u0060 Forward Guardian reviewer events to parent raw-event subscribers (#56\u2026; \u0060a6baf886\u0060 Signal abandonment of unanswered MCP elicitations (#51611) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/rollout-trace/src/protocol_event.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef593b50dfdfba50aef70fbac4fd8ea6d38d716fde7aebddff168e9b49572cf8"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: mcp_refresh.rs \u2194 message_processor.rs: \u0060codex-rs/app-server/src/mcp_refresh.rs\u0060 and \u0060codex-rs/app-server/src/message_processor.rs\u0060 change together 64% of the time (21 of the 33 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 21 shared commits counted here, the most recent 3 are \u0060007f668c\u0060 Respect turn filesystem permissions during executor skill discovery (\u2026; \u0060ac9372e5\u0060 Add a thread-store builder with host cleanup support (#58954); \u0060e776b27e\u0060 Add frozen cloud skill snapshots to the app server (#55631) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/mcp_refresh.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"408a9a8490a8b511e42c28eaabe74cd98fc6b63e63b9bd624fe791c5fe35f242"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: exec_command.rs \u2194 write_stdin.rs: \u0060codex-rs/core/src/tools/handlers/unified_exec/exec_command.rs\u0060 and \u0060codex-rs/core/src/tools/handlers/unified_exec/write_stdin.rs\u0060 change together 64% of the time (7 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00600c5720ea\u0060 Keep environment tools stable across readiness changes (#54098); \u0060335c7f8e\u0060 Gate stable environment tool exposure behind a feature flag (#50962); \u0060550eb505\u0060 Keep environment-backed tools exposed across readiness changes (#50741) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/handlers/unified_exec/exec_command.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"884454f85846e8f8013df852acae1eb53916d97eaae1436dea814b9216b90873"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: environment_context.rs \u2194 mod.rs: \u0060codex-rs/core/src/context/environment_context.rs\u0060 and \u0060codex-rs/core/src/session/mod.rs\u0060 change together 63% of the time (12 of the 19 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 12 shared commits counted here, the most recent 3 are \u00604bc2c723\u0060 Select the elevated Windows sandbox for network proxies (#33445); \u0060abbb8c56\u0060 Require the elevated Windows sandbox for network proxies (#32857); \u00603b32d861\u0060 [codex] migrate environment context to model world state (#29249) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/context/environment_context.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23e1471fc48d57476079f2b00cfc2c255be174241da1f39e89085b4cdc30c25"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: tests.rs \u2192 environment_context.rs, prompt_debug.rs, review.rs, auto_compact_window.rs, thread_metadata_sync.rs: \u0060codex-rs/core/src/session/tests.rs\u0060 changes together with 5 other files \u2014 \u0060codex-rs/core/src/context/environment_context.rs\u0060, \u0060codex-rs/core/src/prompt_debug.rs\u0060, \u0060codex-rs/core/src/session/review.rs\u0060, \u0060codex-rs/core/src/state/auto_compact_window.rs\u0060, \u0060codex-rs/thread-store/src/thread_metadata_sync.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 5 separate couplings, not 5 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 5."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/tests.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d274d00be884ad7b98690d6b41a40228bd3c99c6b2ee21f83b787a20c8f47ce4"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: permissions_instructions.rs \u2194 openai_models.rs: \u0060codex-rs/prompts/src/permissions_instructions.rs\u0060 and \u0060codex-rs/protocol/src/openai_models.rs\u0060 change together 62% of the time (8 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 \u0060e8e6a922\u0060 Support catalog headings for saved command-prefix notices (#57599); \u0060133c11db\u0060 Allow model catalogs to customize approval instruction headings (#57581); \u0060698599a4\u0060 Support model-catalog wording for permission path warnings (#57263) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/prompts/src/permissions_instructions.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e37d1dcf07b255019650c7aef4c2b0822bd6079ca4df9eda383fe848d0a993c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: tests.rs \u2192 environment.rs, local_process.rs, processor.rs: \u0060codex-rs/exec-server/src/server/handler/tests.rs\u0060 changes together with 3 other files \u2014 \u0060codex-rs/exec-server/src/environment.rs\u0060, \u0060codex-rs/exec-server/src/local_process.rs\u0060, \u0060codex-rs/exec-server/src/server/processor.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/server/handler/tests.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8241fa7225247a688386f096a10f950985d6104f6e26efc73f0aaf00d52f56b1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: app_event.rs \u2194 slash_commands.rs: \u0060codex-rs/tui/src/app_event.rs\u0060 and \u0060codex-rs/tui/src/bottom_pane/slash_commands.rs\u0060 change together 61% of the time (11 of the 18 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 11 shared commits counted here, the most recent 3 are \u006012e82f44\u0060 Remove personality selection from the TUI (#44935); \u0060f6976ab0\u0060 Add managed worktree creation to TUI session commands (#43120); \u00604617d4d2\u0060 Add an agents overview dashboard to the TUI (#39094) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app_event.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8102d262061ed22a994c492a515307fb537de90d9c4a525abc12b3137752eb2f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: app_event.rs \u2194 slash_command.rs: \u0060codex-rs/tui/src/app_event.rs\u0060 and \u0060codex-rs/tui/src/slash_command.rs\u0060 change together 61% of the time (42 of the 69 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 42 shared commits counted here, the most recent 3 are \u006036e074a2\u0060 Add local diagnostic ZIP saves to the TUI (#60542); \u0060b095b2ef\u0060 Support inline permission profile selection with \u0060/permissions\u0060 (#54383); \u0060dcd9e954\u0060 Add \u0060/presets\u0060 for reusable prompts and slash commands (#54380) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app_event.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec46b5a9cad5147d3f5589044184cbe4249d69874e23d2f53e11c9ba78924e67"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: user_authorization.rs \u2194 guardian_review_evidence.rs: \u0060codex-rs/core/src/agent/control/user_authorization.rs\u0060 and \u0060codex-rs/core/src/context/guardian_review_evidence.rs\u0060 change together 60% of the time (9 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 9 shared commits counted here, the most recent 3 are \u0060e6de6a24\u0060 Move Guardian review evidence into the reviewer extension (#57702); \u00601d516d8b\u0060 Remove legacy Guardian authorization evidence paths (#47688); \u0060c51cb968\u0060 Preserve Guardian evidence during checkpoint migration (#45789) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/agent/control/user_authorization.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2acbe43f2062106f878db510a010444bef42f4b0ef36d5d24702544616079364"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: mod.rs \u2192 exec.rs, manager.rs, spawn_prep.rs: \u0060codex-rs/windows-sandbox-rs/src/unified_exec/mod.rs\u0060 changes together with 3 other files \u2014 \u0060codex-rs/core/src/exec.rs\u0060, \u0060codex-rs/sandboxing/src/manager.rs\u0060, \u0060codex-rs/windows-sandbox-rs/src/spawn_prep.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-rs/src/unified_exec/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53155d29545c81c9c0b2cb4a7e6f13fd6c9677a21991cd4d853dd644827853d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: plugin_mentions.rs \u2192 tests.rs, plugins.rs, remote.rs, tests.rs: \u0060codex-rs/tui/src/app/plugin_mentions.rs\u0060 changes together with 4 other files \u2014 \u0060codex-rs/app-server-protocol/src/protocol/v2/tests.rs\u0060, \u0060codex-rs/app-server/src/request_processors/plugins.rs\u0060, \u0060codex-rs/core-plugins/src/remote.rs\u0060, \u0060codex-rs/core-plugins/src/remote/share/tests.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/plugin_mentions.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7780b462efc1e0e712036089d4c9bc6691be8c5ee3104555b0413ed0a19a811"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: send_input.rs \u2194 message_tool.rs: \u0060codex-rs/core/src/tools/handlers/multi_agents/send_input.rs\u0060 and \u0060codex-rs/core/src/tools/handlers/multi_agents_v2/message_tool.rs\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 6 shared commits counted here, the most recent 3 are \u0060b13164d8\u0060 Centralize child agent configuration in the agent module (#45669); \u0060e004dc6a\u0060 Preserve turn triggers across delegated agent work (#44659); \u0060d21794d6\u0060 Reload Multi-Agent V2 children through their parent (#40477) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/handlers/multi_agents/send_input.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94966bcd5a315663b80df7097ecc65592899bc1a33422e3359538fb300a9dd2f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: elevated_impl.rs \u2192 win.rs, mod.rs, process.rs, spawn_prep.rs: \u0060codex-rs/windows-sandbox-rs/src/elevated_impl.rs\u0060 changes together with 4 other files \u2014 \u0060codex-rs/windows-sandbox-rs/src/bin/command_runner/win.rs\u0060, \u0060codex-rs/windows-sandbox-rs/src/conpty/mod.rs\u0060, \u0060codex-rs/windows-sandbox-rs/src/process.rs\u0060, \u0060codex-rs/windows-sandbox-rs/src/spawn_prep.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-rs/src/elevated_impl.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a67153871b21131ba79f43b9b54177eab5d7b0b934c37231f54b800539dd49"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: vim_commands.rs \u2192 tui_keymap.rs, keymap.rs, bindings.rs, actions.rs: \u0060codex-rs/tui/src/bottom_pane/textarea/vim_commands.rs\u0060 changes together with 4 other files \u2014 \u0060codex-rs/config/src/tui_keymap.rs\u0060, \u0060codex-rs/tui/src/keymap.rs\u0060, \u0060codex-rs/tui/src/keymap/bindings.rs\u0060, \u0060codex-rs/tui/src/keymap_setup/actions.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/textarea/vim_commands.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"550882db53fd41b23f747e95307027db497b0745838c2c6f56a2a26964491f89"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: apply_patch.rs \u2194 request_permissions.rs: \u0060codex-rs/core/src/tools/handlers/apply_patch.rs\u0060 and \u0060codex-rs/core/src/tools/handlers/request_permissions.rs\u0060 change together 58% of the time (7 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00600c5720ea\u0060 Keep environment tools stable across readiness changes (#54098); \u0060335c7f8e\u0060 Gate stable environment tool exposure behind a feature flag (#50962); \u0060550eb505\u0060 Keep environment-backed tools exposed across readiness changes (#50741) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/handlers/apply_patch.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a38e3ec93221bd8ea01bfeef49454578b688687e7f21d08e868370aa1fcd53"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: plugin.rs \u2194 share.rs: \u0060codex-rs/app-server-protocol/src/protocol/v2/plugin.rs\u0060 and \u0060codex-rs/core-plugins/src/remote/share.rs\u0060 change together 58% of the time (7 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 7 shared commits counted here, the most recent 3 are \u006032329b28\u0060 Expose workspace plugin publish capability (#35254); \u00603a067484\u0060 Allow publishing plugins through share updates (#33908); \u00602a67c46d\u0060 feat: Add plugin share checkout (#22435) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/v2/plugin.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6cbebb3f01671f57e4f6e3d8fba3bb11fe9321681199ddcaf70e1fc9904e93"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: mcp_tool_exposure.rs \u2194 spec_plan.rs: \u0060codex-rs/core/src/mcp_tool_exposure.rs\u0060 and \u0060codex-rs/core/src/tools/spec_plan.rs\u0060 change together 58% of the time (11 of the 19 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 11 shared commits counted here, the most recent 3 are \u0060e839b828\u0060 Resolve model-selected search providers with policy-aware fallback (#\u2026; \u00602744e868\u0060 Share prepared MCP tool definitions across sessions (#55724); \u0060e1831db7\u0060 Reuse MCP handlers across sampling steps (#37273) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/mcp_tool_exposure.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19e8bae901df15d570a90f4a23ba5d3f5617e2ffb2a8fba0af65f7731a0a86b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: schema.rs \u2194 tests.rs: \u0060codex-rs/config/src/schema.rs\u0060 and \u0060codex-rs/features/src/tests.rs\u0060 change together 58% of the time (11 of the 19 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 11 shared commits counted here, the most recent 3 are \u0060f71c6afc\u0060 Add Guardian V3 feature configuration (#56459); \u0060cb00a675\u0060 Add runtime assertion authentication modes and an auth provider (#55636); \u0060e4ce8341\u0060 Move Guardian thread context into \u0060guardianv2\u0060 configuration (#43104) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/schema.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d07cdcf4bf34490445366568e76e01c9b276044f75fe7f22add198683dcc72d3"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: installed.rs \u2194 connectors.rs: \u0060codex-rs/app-server/src/request_processors/apps_processor/installed.rs\u0060 and \u0060codex-rs/core/src/connectors.rs\u0060 change together 57% of the time (8 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 \u0060c899e21c\u0060 Accept explicit contribution context for MCP runtime configuration (#\u2026; \u0060c45ea25f\u0060 Allow subagents to request MCP elicitation input (#46877); \u006040584fad\u0060 Keep MCP user interaction on the root thread (#46066) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/apps_processor/installed.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b583e4d8e545c4afb494f6f71949b2efaf6450fdb2196a117fa112f83d7d5654"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: tests.rs \u2194 tests.rs: \u0060codex-rs/app-server-protocol/src/protocol/v2/tests.rs\u0060 and \u0060codex-rs/core-plugins/src/remote/share/tests.rs\u0060 change together 56% of the time (14 of the 25 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 14 shared commits counted here, the most recent 3 are \u006028f3f1f9\u0060 Expose plugin installation timestamps in app-server summaries (#35859); \u006012b961d4\u0060 Expose plugin eligibility metadata in app-server summaries (#35837); \u006032329b28\u0060 Expose workspace plugin publish capability (#35254) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server-protocol/src/protocol/v2/tests.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27242bd1b6baa1e9cab966f3a20e199cd140d3a4b70cd0051b35fe23041a9dfa"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: codex_delegate.rs \u2194 thread_manager.rs: \u0060codex-rs/core/src/codex_delegate.rs\u0060 and \u0060codex-rs/core/src/thread_manager.rs\u0060 change together 55% of the time (48 of the 87 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 48 shared commits counted here, the most recent 3 are \u006066d0de99\u0060 Add lifecycle hooks for inter-agent messages (#55657); \u0060ab6095dd\u0060 Allow callers to control prompt cache keys independently of session I\u2026; \u0060b7ba02f8\u0060 Support store-owned preparation when resuming threads (#54059) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/codex_delegate.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c95622e64b167302bc03759dbca9ef7e9a28db546c90a0fbc89a986dea7ee90f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: api_bridge.rs \u2194 execution.rs: \u0060codex-rs/codex-api/src/api_bridge.rs\u0060 and \u0060codex-rs/ext/guardian-v2/src/async_scorer/sampler/execution.rs\u0060 change together 55% of the time (11 of the 20 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 11 shared commits counted here, the most recent 3 are \u0060bc3ccba6\u0060 Fall back to HTTP immediately for oversized WebSocket requests (#60840); \u006065f27090\u0060 Treat content policy violations as terminal errors (#60479); \u00605b98eaaf\u0060 Treat access program denials as terminal errors (#60476) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-api/src/api_bridge.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f20677516577b1ec7e83a6ee1178c2afbfa37e3ce570847df6490f0597958b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: config_processor.rs \u2194 stack.rs: \u0060codex-rs/app-server/src/request_processors/config_processor.rs\u0060 and \u0060codex-rs/config/src/requirements_layers/stack.rs\u0060 change together 55% of the time (11 of the 20 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 11 shared commits counted here, the most recent 3 are \u0060dfcb5b59\u0060 Support managed network requirements under \u0060permissions.network\u0060 (#58\u2026; \u0060727283ce\u0060 Support managed OpenTelemetry configuration requirements (#57649); \u0060b27a6321\u0060 Expose managed application network requirements (#42417) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/request_processors/config_processor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4673ae8cfc835c17bdea170cd34f920cb70b90b409eec338b80c1e05e8d35e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: mcp_cmd.rs \u2194 perform_oauth_login.rs: \u0060codex-rs/cli/src/mcp_cmd.rs\u0060 and \u0060codex-rs/rmcp-client/src/perform_oauth_login.rs\u0060 change together 55% of the time (12 of the 22 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 12 shared commits counted here, the most recent 3 are \u0060f8ab5735\u0060 Add manual callback input to MCP OAuth login (#44629); \u006088912c04\u0060 Enable coordinated MCP OAuth refresh (#42413); \u00609be8d6e1\u0060 Harden MCP OAuth callback handling (#40691) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/mcp_cmd.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"515705d7122aa34ffbe6f677b1b558e037550651b444ca94ab9ef2bee8fc84d1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: state.rs \u2194 runtime_refresh.rs: \u0060codex-rs/config/src/state.rs\u0060 and \u0060codex-rs/core/src/config/runtime_refresh.rs\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 6 shared commits counted here, the most recent 3 are \u006036ed546b\u0060 Apply session app overrides during MCP config refresh (#60730); \u00602e764743\u0060 Apply session plugin overrides during MCP config refresh (#57974); \u0060342ed69a\u0060 Require managed configuration from the configured server (#56055) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/state.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b39124f8732c3863118752fbf8636e02c6da10d28f6ec5968b6d3c1391ca1a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: streaming.rs \u2194 transcript.rs: \u0060codex-rs/tui/src/chatwidget/streaming.rs\u0060 and \u0060codex-rs/tui/src/chatwidget/transcript.rs\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00606107b988\u0060 Avoid duplicate assistant messages when resuming Cloud threads (#60335); \u0060054128c9\u0060 Fix TUI assistant messages interrupted by tool execution (#59700); \u0060c313eb75\u0060 Prevent duplicate assistant messages around interleaved commands (#54\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/streaming.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"773075968c295af188a14b2afe0e763efb37a51f2b0c45129035feff503e398e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: side_focus.rs \u2194 chords.rs: \u0060codex-rs/tui/src/app/side_focus.rs\u0060 and \u0060codex-rs/tui/src/keymap/chords.rs\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 6 shared commits counted here, the most recent 3 are \u00608044c686\u0060 Add keyboard and mouse navigation for sidebar tabs (#60181); \u0060814347ec\u0060 Improve sidebar chat selection and tab hover highlighting (#59928); \u00605fab2893\u0060 Enable resizing the sidebar chooser (#59824) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/side_focus.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c378e8bd2019da9af723de9f212311b632939ad9324ab6c362b5bfde5b54c3"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: control.rs \u2194 interrupt_agent.rs: \u0060codex-rs/core/src/agent/control.rs\u0060 and \u0060codex-rs/core/src/tools/handlers/multi_agents_v2/interrupt_agent.rs\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 6 shared commits counted here, the most recent 3 are \u00607d99ee82\u0060 Add agent inspection without restoring unloaded runtimes (#47010); \u006040f01fbe\u0060 Move spawned-agent interruption rules into \u0060AgentControl\u0060 (#45676); \u00608d415050\u0060 Rename multi-agent v2 close_agent to interrupt_agent (#26994) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/agent/control.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d5213817812ff5fdbf7cbcc22a14f77b803974e4580c602577bc242550841c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: codex_apps.rs \u2194 mod.rs: \u0060codex-rs/codex-mcp/src/codex_apps.rs\u0060 and \u0060codex-rs/codex-mcp/src/mcp/mod.rs\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 6 shared commits counted here, the most recent 3 are \u0060703793c2\u0060 feat(core, mcp): cache codex_apps tools in memory (#29003); \u00608a827d64\u0060 Expose MCP server info as part of server status (#24698); \u0060ff7513cd\u0060 Move MCP tool naming mode into manager (#21576) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-mcp/src/codex_apps.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7e7c26e1bff7c6095d77d839b761e14bd164ca4dd216486d5a9863bdc13f05"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: thread_settings.rs \u2194 session_flow.rs: \u0060codex-rs/tui/src/app/thread_settings.rs\u0060 and \u0060codex-rs/tui/src/chatwidget/session_flow.rs\u0060 change together 54% of the time (7 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 7 shared commits counted here, the most recent 3 are \u006038cdc4d6\u0060 Show the primary executor\u0027s workspace in TUI status surfaces (#61405); \u006068847438\u0060 Add a structured status-line snapshot for the displayed thread (#61403); \u00600884c804\u0060 Support inline model, reasoning, and speed selection in \u0060/model\u0060 (#54\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/thread_settings.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6be9b71ab835ea9542deeb92734a56c2a9c69487b41f3581b899a2fc7cb7f3"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: guardian_review_evidence.rs \u2194 extension.rs: \u0060codex-rs/core/src/context/guardian_review_evidence.rs\u0060 and \u0060codex-rs/ext/guardian-v2/src/async_scorer/extension.rs\u0060 change together 53% of the time (8 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 \u00600b9b5ecf\u0060 Centralize bounded Guardian review evidence in guardian-context (#43595); \u00608260619c\u0060 Centralize Guardian context mode and checkpoint policy (#43458); \u0060ad8ee16a\u0060 Require Guardian review for incompatible compaction checkpoints (#42588) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/context/guardian_review_evidence.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ee5034b45e23812fee155241b933246f93e72dc1a22726e3625f22bde0f88a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: chat_composer.rs \u2194 skills.rs: \u0060codex-rs/tui/src/bottom_pane/chat_composer.rs\u0060 and \u0060codex-rs/tui/src/chatwidget/skills.rs\u0060 change together 52% of the time (11 of the 21 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 11 shared commits counted here, the most recent 3 are \u00605918c743\u0060 Deduplicate plugin skills in unified mentions (#40501); \u0060b6de5b52\u0060 Use app-server skill metadata directly in the TUI (#34368); \u00601bd6b4c4\u0060 Promote TUI unified mentions in composer to default mentions feature \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4d5bc56eb8194da00af96af0645b40759aca535549bd9e35d6ea3d24db9275"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: skills.rs \u2194 tests.rs: \u0060codex-rs/tui/src/chatwidget/skills.rs\u0060 and \u0060codex-rs/tui/src/chatwidget/tests.rs\u0060 change together 52% of the time (11 of the 21 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u006060e4d10a\u0060 Clarify skill toggle summaries in the TUI (#57197); \u0060b6de5b52\u0060 Use app-server skill metadata directly in the TUI (#34368); \u006087fc21ff\u0060 TUI: remove simple legacy_core re-exports (#18605) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/skills.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed48fd44e71b036c6f8c09f85f0df6e19573715af96eccdde0f2a45a6c722ac7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: bespoke_event_handling.rs \u2194 protocol_event.rs: \u0060codex-rs/app-server/src/bespoke_event_handling.rs\u0060 and \u0060codex-rs/rollout-trace/src/protocol_event.rs\u0060 change together 52% of the time (13 of the 25 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 13 shared commits counted here, the most recent 3 are \u00604969675f\u0060 Resolve network approval prompts when their requests end (#58350); \u006007316174\u0060 Forward Guardian reviewer events to parent raw-event subscribers (#56\u2026; \u00609fc4e5a7\u0060 Preserve plugin attribution across command approvals (#35029) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/app-server/src/bespoke_event_handling.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5fdff70f2d90e946da3a1442414d8deef09474728695559dd1d06be0c2f7a7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: mcp_cmd.rs \u2194 mcp_skill_dependencies.rs: \u0060codex-rs/cli/src/mcp_cmd.rs\u0060 and \u0060codex-rs/core/src/mcp_skill_dependencies.rs\u0060 change together 50% of the time (19 of the 38 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 19 shared commits counted here, the most recent 3 are \u0060654b0a77\u0060 Add trusted enterprise MCP auth configuration (#44832); \u00609be8d6e1\u0060 Harden MCP OAuth callback handling (#40691); \u00601da59ad2\u0060 Support per-server MCP OAuth callback ports (#38448) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/mcp_cmd.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb51f7e169269233dfa78ad8f08fb34a03efe25aae2d18bdb047615f62c8c11"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: environment.rs \u2194 processor.rs: \u0060codex-rs/exec-server/src/environment.rs\u0060 and \u0060codex-rs/exec-server/src/server/processor.rs\u0060 change together 50% of the time (11 of the 22 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 11 shared commits counted here, the most recent 3 are \u0060703d253e\u0060 Wire V2 capability discovery through exec-server RPC (#53723); \u0060d0cc662b\u0060 Cache shell snapshots in the exec server (#39756); \u00601ee8f491\u0060 Route exec-server HTTP through configured proxy policy (#35023) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/environment.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7ca5d1966a34f4fc9897a0a445aad72a25c49daf81ac3b77c36ad80383a795"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: doctor.rs \u2194 execution.rs: \u0060codex-rs/cli/src/doctor.rs\u0060 and \u0060codex-rs/ext/guardian-v2/src/async_scorer/sampler/execution.rs\u0060 change together 50% of the time (10 of the 20 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 10 shared commits counted here, the most recent 3 are \u0060bc3ccba6\u0060 Fall back to HTTP immediately for oversized WebSocket requests (#60840); \u006065f27090\u0060 Treat content policy violations as terminal errors (#60479); \u00605b98eaaf\u0060 Treat access program denials as terminal errors (#60476) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/doctor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7e29d71918a81a60311ae5fcb1288ef16d677b452df9423920c6db1e1a8641"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: turn_timing.rs \u2194 session_telemetry.rs: \u0060codex-rs/core/src/turn_timing.rs\u0060 and \u0060codex-rs/otel/src/events/session_telemetry.rs\u0060 change together 50% of the time (10 of the 20 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 10 shared commits counted here, the most recent 3 are \u0060fc916a22\u0060 Expose Guardian assessments in response streams (#57757); \u0060775ef7dc\u0060 [codex] Support sequential cutoff reasoning summaries (#31306); \u006033cc928d\u0060 [codex] Use input items for Responses Lite tools (#27946) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/turn_timing.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc5bfd43af26c45be35fb0a27a90d40552917f587870da2d016459b69fa9d49"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: file_system_handler.rs \u2194 registry.rs: \u0060codex-rs/exec-server/src/server/file_system_handler.rs\u0060 and \u0060codex-rs/exec-server/src/server/registry.rs\u0060 change together 50% of the time (7 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060c51f5bfb\u0060 Handle unsupported \u0060fs/writeBlock\u0060 requests in exec-server (#49811); \u0060c14623d0\u0060 Add a bounded filesystem walk RPC (#29841); \u0060a4711b88\u0060 [codex] exec-server: stream files in chunks (#28354) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/server/file_system_handler.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4869f1320a2dd673b58c60205199a6ec6387d08b725d58fcb1415156f5e4d5"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: thread_routing.rs \u2194 reconnect.rs: \u0060codex-rs/tui/src/app/thread_routing.rs\u0060 and \u0060codex-rs/tui/src/chatwidget/reconnect.rs\u0060 change together 50% of the time (7 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 7 shared commits counted here, the most recent 3 are \u0060322bbf4d\u0060 Classify voice session failures and record terminal outcomes (#52756); \u0060136391a2\u0060 Resume unsent TUI input after reconnecting (#49105); \u006091d54f16\u0060 Restore collaboration mode when resuming threads (#45519) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/thread_routing.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec0e551ff06033877bf48da8d907b5e621bd9a5d5dcac050a0c207391b6da40"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: client.rs \u2194 server.rs: \u0060codex-rs/exec-server/src/client.rs\u0060 and \u0060codex-rs/exec-server/src/server.rs\u0060 change together 50% of the time (7 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060dbe2f6d5\u0060 Expose a stable executor build identity in environment metadata (#43513); \u00608d32abcd\u0060 Report the exec-server release version in environment info (#42270); \u0060d0f9d5eb\u0060 Add cloud executor registration to exec-server (#19575) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/client.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2921a3a9a7b0908178d3d2190eceeddd8d215e754aed3c6f9006851f3845d2e4"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: mcp.rs \u2194 lib.rs: \u0060codex-rs/core/src/mcp.rs\u0060 and \u0060codex-rs/ext/mcp/src/lib.rs\u0060 change together 50% of the time (7 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 7 shared commits counted here, the most recent 3 are \u00606d75b525\u0060 Allow hosted Apps MCP contributions to override the protocol mode (#4\u2026; \u0060b58952b0\u0060 fix: forward originator to Codex Apps MCP (#31481); \u00603095ea9c\u0060 Project selected plugin runtime by environment availability (#30093) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/mcp.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1028f6699bcb1375dda945a3cca24d7144f2b4299bb39c3b2eaa342cd9290f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: lifecycle.rs \u2194 contributors.rs: \u0060codex-rs/core/src/tools/lifecycle.rs\u0060 and \u0060codex-rs/ext/extension-api/src/contributors.rs\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 6 shared commits counted here, the most recent 3 are \u0060b244e9ba\u0060 Add a command-start callback for tool lifecycle extensions (#46539); \u00605bf0ba3d\u0060 Let extensions process MCP tool results (#41202); \u006021ff2e80\u0060 Expose MCP provenance to tool lifecycle extensions (#40976) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/lifecycle.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd60c7dbeb999f6c3f68e28ce85afd849a735657dcf2e1b348ed8d2cf9b81eb3"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: mod.rs \u2194 provider.rs: \u0060codex-rs/core/src/session/mod.rs\u0060 and \u0060codex-rs/ext/skills/src/provider.rs\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 6 shared commits counted here, the most recent 3 are \u0060007f668c\u0060 Respect turn filesystem permissions during executor skill discovery (\u2026; \u0060da2e174a\u0060 Scope extension filesystem access to callback permissions (#49898); \u0060280d56b1\u0060 Attribute executor skill invocations to plugins (#39309) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8a7dbabd8929464da305b58db4a44d4e5807f781849a956011d06486e6fd01"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: delegate.rs \u2194 execute_handler.rs: \u0060codex-rs/core/src/tools/code_mode/delegate.rs\u0060 and \u0060codex-rs/core/src/tools/code_mode/execute_handler.rs\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060d7610977\u0060 Add session and originating window IDs to MCP request metadata (#45409); \u00602fc4bda3\u0060 Preserve originating context for yielded code-mode tool calls (#44866); \u00600d46c252\u0060 Encapsulate executed tool call metadata recording (#44002) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/tools/code_mode/delegate.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca232f3500d27e61490de12d52e208cb8160fe82029aeba2bdbbac49ce56c0ea"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: pending_input_preview.rs \u2194 tests.rs: \u0060codex-rs/tui/src/bottom_pane/pending_input_preview.rs\u0060 and \u0060codex-rs/tui/src/chatwidget/tests.rs\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060917a85b0\u0060 Queue slash and shell prompts in the TUI (#18542); \u00605e3793de\u0060 Use Shift\u002BLeft to edit queued messages in tmux (#15480) (at that commit the files were still \u0060codex-rs/tui_app_server/src/bottom_pane/pending_input_preview.rs\u0060 and \u0060codex-rs/tui_app_server/src/chatwidget/tests.rs\u0060); \u00604ad3b59d\u0060 tui: clarify pending steer follow-ups (#13841) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/bottom_pane/pending_input_preview.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda2d84e3c98de55d5569849197ba5ed199544af08c13ab0e333a06774bf7894"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: spawn.rs \u2194 send_input.rs: \u0060codex-rs/core/src/agent/control/spawn.rs\u0060 and \u0060codex-rs/core/src/tools/handlers/multi_agents/send_input.rs\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060d2a6dac2\u0060 Preserve agent state when unloading idle multi-agent v2 children (#52\u2026; \u0060b13164d8\u0060 Centralize child agent configuration in the agent module (#45669); \u0060e004dc6a\u0060 Preserve turn triggers across delegated agent work (#44659) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/agent/control/spawn.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a841d342ea808e473c54ac5e3a509340af598eaa3c9f0f8dbfbe91e6015e99a5"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: streaming.rs \u2194 controller.rs: \u0060codex-rs/tui/src/markdown_render/streaming.rs\u0060 and \u0060codex-rs/tui/src/streaming/controller.rs\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u00605a11c456\u0060 Render TUI Markdown lists with Unicode bullets and checkboxes (#47322); \u00604ca8e7af\u0060 Make transcript list spacing uniform after streaming (#46899); \u0060f915e0de\u0060 Render Mermaid code blocks as diagrams in the TUI (#46054) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/markdown_render/streaming.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2fc589b491d6f0d16b0e5265a4f224921542ccb8119eddc1d792187d3c789c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: rollout_reconstruction.rs \u2194 auto_compact_window.rs: \u0060codex-rs/core/src/session/rollout_reconstruction.rs\u0060 and \u0060codex-rs/core/src/state/auto_compact_window.rs\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u006019438adc\u0060 Introduce a dedicated context window ID type (#59328); \u006001f89c8c\u0060 core: persist initial context window metadata (#29519); \u0060d1209bdd\u0060 core: add context window lineage IDs (#29256) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/session/rollout_reconstruction.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd4f05bfbbb8b540f6652fe01f5b367681f9dd2c1e971a532524605528cc7de"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: streaming.rs \u2194 render.rs: \u0060codex-rs/tui/src/markdown_render/streaming.rs\u0060 and \u0060codex-rs/tui/src/streaming/render.rs\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u00604ca8e7af\u0060 Make transcript list spacing uniform after streaming (#46899); \u0060f915e0de\u0060 Render Mermaid code blocks as diagrams in the TUI (#46054); \u0060a8964cb1\u0060 Render standalone display math in the TUI (#45612) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/markdown_render/streaming.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3892e88ced846283ff49a03674dfd2bc6041e8b6f6e2504ddba21c2d9a4686ff"}},{"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":"7afe59cc2bd438b08edf91c9a84ea13b64db5e4274936916e35a04b552203909"},"taxa":[{"id":"CICD-SEC-6","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":"7974770a7f53e96affb1099f631e58d850a80bccabe87c4185452a446397f841"},"taxa":[{"id":"CICD-SEC-6","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":"506c32195a2b6656a6b49c5a1836d01ffce01396d9d71f76875ac0659094bcd1"},"taxa":[{"id":"CICD-SEC-6","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":"7e719eb07167a6aee753d1da4937685b548ba2404bd2603a73934ef62de6d9ce"},"taxa":[{"id":"CICD-SEC-6","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":"89a606ab18b7ab2bc381eff7a3291b67f7e6d58f439b5f968b26c2f84ef8e766"},"taxa":[{"id":"CICD-SEC-6","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":"9cc4956e43c64e03bf160acc0c31282014acb8b3c23ef55bfd886ab94554dad6"},"taxa":[{"id":"CICD-SEC-6","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":"89da2fccb2a509cb13089fff6e62af1145508ff68d61df25e800f18217812821"},"taxa":[{"id":"CICD-SEC-4","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":"01495986f07945ff3fb0d177a425367025d7d5b591ddfcaa736fc8659b2818de"},"taxa":[{"id":"CICD-SEC-5","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":"794089ff22f67c39b24e465b4398a7a5cc2767949cb8f056393b0e00730ea2e3"},"taxa":[{"id":"CICD-SEC-5","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":"fe274ba5adebde25ca0b3db842e44cbb1aaeb7cfecfbb7215cd452596ba1f4c2"},"taxa":[{"id":"CICD-SEC-6","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":"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":"codex-rs/login/src/assets/error.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf7e4089b1550575a3e50c89d85fac83ed07b7f1e5f48e5438662c07d15ae43"}},{"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":"codex-rs/login/src/assets/success_legacy.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd012d47111c68b5faccd1a97d80aa276375b24243469780902e62a5b2396aef"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (1.0:1): \u0060.card\u0060 sets color: var(\n    --color-text-primary,\n    light-dark(rgb(26 28 31), rgb(255 255 255))\n  ) on background-color: color-mix(in oklab, var(\n    --color-text-primary,\n    light-dark(rgb(26 28 31), rgb(255 255 255))\n  ) 5%, var(\n    --color-background-primary,\n    light-dark(rgb(255 255 255), rgb(24 24 24))\n  )) \u2014 1.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/assets/inline_visualization/visualize.css"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52c2b1d1df6815499fb4fc7937fc4892939be427fc12afdca7be029cf9b8412"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.9:1): \u0060.btn:not(.btn-primary, .viz-tile):is( [aria-pressed=\u0022true\u0022], [aria-selected=\u0022true\u0022], .is-selected )\u0060 sets color: var(\n    --color-text-inverse,\n    light-dark(rgb(255 255 255), rgb(13 13 13))\n  ) on background-color: light-dark(rgb(51 156 255), rgb(51 156 255)) \u2014 2.9:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/assets/inline_visualization/visualize.css"},"region":{"startLine":1307}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba597886900b0995b6cb2708a4a6f5f06168a1cba750ab6a695e41bd9333f781"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.form-switch .form-check-input::before\u0060 moves (\u0060transition: transform 200ms cubic-bezier(0, 0, 0.2, 1)\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/assets/inline_visualization/visualize.css"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2300ccbe4bd7cd1fbed51f888b5cf4647c21242f9f03bf51235b77391e99c27"}},{"ruleId":"AX4","level":"error","message":{"text":"Dependency-rule violation: codex-core (Domain) \u2192 codex-api (Web): \u0060codex-core\u0060 is a Domain project but references \u0060codex-api\u0060, a Web project. The clean-architecture rule is that dependencies point INWARD \u2014 the domain/application core must not depend on outer layers (infrastructure/web). Invert it: define the abstraction in the inner layer and implement it in the outer one."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d1844a2450a6f31c834a075a59415e8eaeb873b8375d5a1403533f76571625e0"}},{"ruleId":"AX4","level":"error","message":{"text":"Dependency-rule violation: codex-core (Domain) \u2192 codex-extension-api (Web): \u0060codex-core\u0060 is a Domain project but references \u0060codex-extension-api\u0060, a Web project. The clean-architecture rule is that dependencies point INWARD \u2014 the domain/application core must not depend on outer layers (infrastructure/web). Invert it: define the abstraction in the inner layer and implement it in the outer one."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"76c56955d64f5ad4f4b275ac59632383c3fbb44c82dea2c6509517bd6c593878"}},{"ruleId":"AX4","level":"error","message":{"text":"Dependency-rule violation: codex-model-provider (Domain) \u2192 codex-api (Web): \u0060codex-model-provider\u0060 is a Domain project but references \u0060codex-api\u0060, a Web project. The clean-architecture rule is that dependencies point INWARD \u2014 the domain/application core must not depend on outer layers (infrastructure/web). Invert it: define the abstraction in the inner layer and implement it in the outer one."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"cd926ea389c713f0a0390d7a07d062e07335f4a54fa619ba8a18757c15bf9375"}},{"ruleId":"AX8","level":"error","message":{"text":"Production project references a test project: codex-cli \u2192 codex-app-server-test-client: \u0060codex-cli\u0060 (production) references the test project \u0060codex-app-server-test-client\u0060. Production must never depend on test code \u2014 it pulls a unit-test framework and test fixtures into the shipped product and inverts the only correct direction (tests depend on production, never the reverse). Move any shared helper into a production support library, or invert the reference."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fcc783b4602b48360e67601a4e510298c07192aecb9a87974180a3fe76b180f6"}},{"ruleId":"AX9","level":"error","message":{"text":"Query writes persistent state on the read path: LocalSecretsBackend.load_or_create_passphrase: \u0060LocalSecretsBackend.load_or_create_passphrase\u0060 performs a durable write on a read path (a persist to a store/repository). The name announces the lazy initialisation, so the write is deliberate \u2014 the risk is that callers who only meant to READ still trigger it. Expose a read-only variant that returns nothing when the value is absent, and keep this one for the callers that genuinely want the create."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/secrets/src/local.rs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"f983a00dd9e98092b6e48947fc21b8bd581e2d84131775127014c8c033d06622"}},{"ruleId":"DM4","level":"error","message":{"text":"Anemic domain model: Completion: \u0060Completion\u0060 is a data-only domain entity with \u0060pub\u0060 mutable state and no invariant-enforcing behaviour of its own, while the repo holds the logic in a foreign service/manager/use-case \u2014 the anemic domain model. Move the behaviour onto the entity so it enforces its own invariants (or make it an immutable value object with private fields) rather than being driven from outside."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/unified_exec/oneshot.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1dff1e669259bb7bbf0d83c384e8c72f63c052f8448ad79ee284323091415d"}},{"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 failure does not fail the CI gate: \u0060continue-on-error: true\u0060 lets the step or job that runs \u0060pnpm -r --filter ./sdk/typescript run test\u0060 fail without failing the pipeline \u2014 the suite can go red and the change still merges. Remove it from the test step, or quarantine the specific failing tests instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/sdk.yml"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"9213eb8a0d4678d51243cbc96d64e8dad8a8a020bae2d48bbd4bdd4f028c83a7"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 74/90 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060, \u0060codex-cli\u0060, \u0060codex-rs/apply-patch\u0060, \u0060codex-rs/bwrap\u0060, \u0060codex-rs/config-schema\u0060 and 11 more."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch uv: \u0060.github/dependabot.yaml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060uv\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entry to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yaml"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2f3a18f71d697b171fdb43e30f6cff0fe17f815e3f603ce8a3d7fe284d9386"}},{"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":"codex-rs/http-client/src/client_builder.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf694789c79b6b2ce5807b64d36c7cae79423892d5c5c7eefccd1bcda80c9283"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::builder(\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":"codex-rs/http-client/src/client_builder.rs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"45fb56158b68f7b84d96061640bb79910b08da6157e5e1525fd30de1215fa4b0"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060urllib.request.urlopen(\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":"sdk/python/_runtime_setup.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6b604cc20fdb5ef67115b85393b6e72863119d59d5eff298019c12fa4f008e"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060urllib.request.urlopen(\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":"sdk/python/_runtime_setup.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea88a490ed950de74fb6bd7d30c19f4f58ddc627059bf7aa3a2259b8ed95945"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060urllib.request.urlopen(\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":"sdk/python/_runtime_setup.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"38acf4d28dfb344a8dfe917545a4969704bfe23bad3f4d1dd35cf71b95d60981"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060run_upgrade\u0060 is async and calls block_on \u2014 a blocking call inside async code stalls the executor thread, and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/marketplace_cmd.rs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"c277dbeb4a017a5e8207feaf2fa29a09dbab8f45c7df79c10cb5d0cb058e4053"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060run_ssh_proxy\u0060 is async and calls block_on \u2014 a blocking call inside async code stalls the executor thread, and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tcp-tunnel/src/ssh.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2bc3107132ee766666b0a663f62a2ead6c78db60087a53a2b9bd2e277cef6cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2 locations): codex-cli/bin/codex.js:26 \u00B7 sdk/typescript/src/exec.ts:357 \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":"codex-cli/bin/codex.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18fc726ad5ec3c29ab74e674d0869d77b83690f1019a9ba6173545f2673dce7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): codex-cli/bin/codex.js:268 \u00B7 codex-rs/responses-api-proxy/npm/bin/codex-responses-api-proxy.js:83 \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":"codex-cli/bin/codex.js"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f20c5ad1ccaf79b50765ef3c0ce5b9326f6def1280bcedf3942b6a55279bd5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 42, cognitive 50): run has cyclomatic complexity 42 and cognitive complexity 50; 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":"sdk/typescript/src/exec.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"18026aa0217014d6d441411822caba7712c532fcd1ef1d57714501bafd640984"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findCodexPath (cyclomatic 16, cognitive 12): findCodexPath has cyclomatic complexity 16 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":"sdk/typescript/src/exec.ts"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d97876121a05ff750fee236bc8765df964674e8749cda8875446e026ae6cc38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detectPackageManager (cyclomatic 13, cognitive 18): detectPackageManager has cyclomatic complexity 13 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":"codex-cli/bin/codex.js"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19b567e09fdbbe0a52b1b700496c05f60a96957b5749ecfd2acc9e47ae0a9af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toTomlValue (cyclomatic 12, cognitive 19): toTomlValue has cyclomatic complexity 12 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":"sdk/typescript/src/exec.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b3bda991c5951075f17f0c8dbcb38b31ff300d71840a87905ef26d44e313df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function flattenConfigOverrides (cyclomatic 12, cognitive 18): flattenConfigOverrides has cyclomatic complexity 12 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":"sdk/typescript/src/exec.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"96fdfa73b1eb41300fa0f0ebe49003f001feb40f5d861e409d9fe325ae343648"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function determineTargetTriple (cyclomatic 11, cognitive 13): determineTargetTriple 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":"codex-rs/responses-api-proxy/npm/bin/codex-responses-api-proxy.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16d3fbfb1c34c3c8d9c399d5a1d3311712ed48c9f99a60c6adc4956673a1aea"}},{"ruleId":"R3","level":"warning","message":{"text":"sdk/typescript/src/exec.ts: 444 lines of code: sdk/typescript/src/exec.ts has 444 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":"sdk/typescript/src/exec.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc8c6576aaa558911725dfc7c2d4caecb114329b056b0f93f6c571757848342"}},{"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":"codex-rs/responses-api-proxy/npm/bin/codex-responses-api-proxy.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed24d57276290e88d1ba711d87a8dfd3c3e6b73929cb4c754ea079058ff2682f"}},{"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":"codex-rs/code-mode-runtime/src/runtime/settled.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7180b75f53d250ad5f2b7851a4712bf9ff0ea0718912e71e08d34fb754c7967f"}},{"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":"codex-rs/code-mode-runtime/src/runtime/content.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6430a1d76ce098872322d87ccd7a002c81ccdcd771b320adf41636b0cbc19912"}},{"ruleId":"R7","level":"note","message":{"text":"Unused private field \u0027async\u0027: Nothing in its class reads or assigns this private field (for a constructor parameter property: it is stored and never read), and no string key or test reaches it by name. Remove it, or use it where it was meant to take effect."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdk/typescript/src/thread.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa19b9be6f8729d10285851c8d98b2fb3562a6e2a2111f582e969b136fef04d"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@eslint/js\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdk/typescript/eslint.config.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"789f76d438c777c69b9a34c6e0a496f295a5fc0ad006928b002cef310b0c2f50"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@jest/globals\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdk/typescript/tests/setupCodexHome.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eff9d0fdf921acc6e8be35336f513363d05c74b534026fc70b3286b61dd504a"}},{"ruleId":"S1","level":"error","message":{"text":"Cryptographic key material is a compile-time constant: \u0060CLOUD_CONFIG_BUNDLE_CACHE_WRITE_HMAC_KEY\u0060 is the secret key and is a compile-time constant, so the secret this operation depends on is published with the source. A key that ships with the source is not secret: every contributor, fork, mirror and released binary carries it, so anyone holding the repository can decrypt what any installation encrypted, and there is no way to invalidate what was already protected because every deployment built from this source shares the value. Where the constant is a password salt the consequence differs but is no smaller \u2014 one global salt means precomputation amortises across every installation, which is the property salting exists to destroy. Read the value from configuration, an environment variable or a secrets manager at startup and FAIL FAST when it is absent, so a missing key stops the process instead of silently falling back to a shared default; treat the committed value as disclosed and rotate it rather than only deleting the line. For a salt, generate a fresh random one per password and store it alongside the hash."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cloud-config/src/cache.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1374a339619b6638fbd9f0b2bbae5d544ea0abce3828b01675004bec3b6cb1"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060sha2::Sha256::digest(\u2026)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/analytics/src/accepted_lines.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef94f4c98a62541cc810e3b62d772d5047a5bc2eb816628256c4499f0dae7bac"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060sha2::Sha256::digest(\u2026)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/analytics/src/reducer.rs"},"region":{"startLine":1505}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5db53d446b068f78f7c49dfde74488ed77e96290cc6cccf852b359dc145494"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060sha2::Sha256::digest(\u2026)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/analytics/src/reducer.rs"},"region":{"startLine":4184}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e0b1b38d6d528c4eb717ab151ea6478397bc86a0668d438223cc88e795deb5"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060sha2::Sha256::digest(\u2026)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-mcp/src/tool_catalog_cache.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"96fab8bf054d7361a4354c56fd912c44a761713cdf58dece12bae9a8b60a850a"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060sha2::Sha256::digest(\u2026)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-mcp/src/tool_catalog_cache.rs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d11c0552346c56902855d3108673c290c5c2e19fc83fbe8a3dbd0fd7b2453b"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060sha2::Sha256::digest(\u2026)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/codex-mcp/src/tools.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6b2f1d12f9942ea97a0d1669db14df8e90408f1acd089799e1d2308a876728"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060sha2::Sha256::digest(\u2026)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/connectors/src/connector_runtime/persistence.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c17f62a7d1064e0b0e1db895201efaca892110467a56f4acf98f36bb08ccfda"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060sha2::Sha256::digest(\u2026)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/connectors/src/directory_cache.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"8245ab33c2a6a197af9d83462afa2b4b11081232fd0c3ef53988af5535991c65"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060sha2::Sha256::digest(\u2026)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/context/world_state/mod.rs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8dd10657cd2f21c50138b8b09591c93e8b4c8068a769edfb08ac9e9d0447e6"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060sha2::Sha256::digest(\u2026)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/context/world_state/mod.rs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70eb312c00c65220f3f3fc024b78f21035b963004da7816b960c86b9e3aa03c"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060sha2::Sha256::digest(\u2026)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/utils/cache/src/lib.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"5960975a861e831b7211864a3fa6ed47968e3af9814d063e4fa82de3d4abb04d"}},{"ruleId":"S1","level":"warning","message":{"text":"Third-party script without Subresource Integrity: \u0060https://unpkg.com/@floating-ui/core@1.7.3/dist/floating-ui.core.umd.min.js\u0060 is executed by this page with no Subresource Integrity. Whoever can answer that request \u2014 the CDN, anyone who compromises it, anyone on the network path \u2014 runs arbitrary script in this page\u0027s origin, with its session. 3 such include(s) across the repository\u0027s markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/assets/inline_visualization/visualize.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b09b2b468017ebd13fae7160fc934cf423f2e99de4e30c28747419ae55fb35"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is set on a response this repository\u0027s Rust server sends \u2014 defense in depth, even when a proxy could set them. (\u22122.0 on this card.) The server: \u0060axum::serve(\u0060 (codex-rs/tui/src/dynamic_tools_mcp.rs:170)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd19c680309417e132c0be93c2002123f0664b42afe6172b1319da65a6a57ba7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0022object\u0022 \u0026\u0026 value !== null \u0026\u0026 !Array.isArray(value)\u0060 appears character-identically in 2 files \u2014 sdk/typescript/src/exec.ts, sdk/typescript/src/outputSchemaFile.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":"sdk/typescript/src/exec.ts"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85bb68d58bd286c4fa263ea96b3f9f513ecbe9b6323b650143bba129880cf92"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060args.extract_baseline is not None and args.baseline_report is None\u0060 appears character-identically in 2 files \u2014 scripts/mcp_conformance/review_regressions.py, scripts/mcp_conformance/run_codex_compliance.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":"scripts/mcp_conformance/review_regressions.py"},"region":{"startLine":1206}}}],"partialFingerprints":{"codehealthFindingId/v1":"f993ce0e936da2927fbff01ea3b26d316d86a2f8d801a91f8c69aca6ee0b2e3a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060args.extract_baseline is not None and args.write_baseline is not None\u0060 appears character-identically in 2 files \u2014 scripts/mcp_conformance/review_regressions.py, scripts/mcp_conformance/run_codex_compliance.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":"scripts/mcp_conformance/review_regressions.py"},"region":{"startLine":1209}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a8925963f0bb0b75ebf9dd1de2b1988ca0e771a26975e20335cf638db5d008"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(entry, dict) and entry.get(\u0022name\u0022) == TEST_SERVER_NAME\u0060 appears character-identically in 2 files \u2014 scripts/mcp_conformance/codex_conformance_adapter.py, scripts/mcp_conformance/review_regressions.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":"scripts/mcp_conformance/codex_conformance_adapter.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad5af8df6f752c2d9ae5b74281b1b9ae10e5da61e8ff0aafec43f2f7987440e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(gate, dict) and gate.get(\u0022success\u0022) is True\u0060 appears character-identically in 2 files \u2014 scripts/mcp_conformance/review_regressions.py, scripts/mcp_conformance/run_codex_compliance.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":"scripts/mcp_conformance/review_regressions.py"},"region":{"startLine":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"a658e59829870856f7d610f4b384388826c54fba50da95f989f84bb9723b0295"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not codex_binary.is_file() or not os.access(codex_binary, os.X_OK)\u0060 appears character-identically in 2 files \u2014 scripts/mcp_conformance/review_regressions.py, scripts/mcp_conformance/run_codex_compliance.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":"scripts/mcp_conformance/review_regressions.py"},"region":{"startLine":1197}}}],"partialFingerprints":{"codehealthFindingId/v1":"247862988dec98d635942bee9995b251feb64fe76275a03f6784b9f61f0140c1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not errors and not new_failures and not missing_checks\u0060 appears character-identically in 2 files \u2014 scripts/mcp_conformance/review_regressions.py, scripts/mcp_conformance/run_codex_compliance.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":"scripts/mcp_conformance/review_regressions.py"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf0bcbacf2eaec9f03944190b1a91e654505b12968ab1daa118114324d534461"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(mode, str) or not isinstance(transport, str)\u0060 appears character-identically in 2 files \u2014 scripts/mcp_conformance/review_regressions.py, scripts/mcp_conformance/run_codex_compliance.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":"scripts/mcp_conformance/review_regressions.py"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2da5ecdc6640c07196ff7a520ac2bb996f25d0c5a212706a4a80cda0e6b76ca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(tag, str) or not tag.startswith(\u0022rust-v\u0022)\u0060 appears character-identically in 2 files \u2014 .github/scripts/publish_r2_release.py, .github/scripts/resolve_python_cli_release.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":".github/scripts/publish_r2_release.py"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6512f5c23e3033c1c01cf34631ca934dcddfe675588cb2e7a86dd23130e9a8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!activity.is_empty() \u0026\u0026 !auxiliary.is_empty()\u0060 appears character-identically in 2 files \u2014 codex-rs/tui/src/chatwidget/activity_presentation.rs, codex-rs/tui/src/transcript_view.rs. 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":"codex-rs/tui/src/chatwidget/activity_presentation.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"424a858aff314ac710b6f5843708134214bd24edf2ec2b8827044fcb24c89650"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!h.is_empty() \u0026\u0026 !p.is_empty() \u0026\u0026 !s.is_empty()\u0060 appears character-identically in 2 files \u2014 codex-rs/agent-identity/src/lib.rs, codex-rs/login/src/token_data.rs. 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":"codex-rs/agent-identity/src/lib.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"122aa9177e6985798f576ac4f63099c830a33ad59e24c887c98a600dc9478c60"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!had_active_modal \u0026\u0026 self.chat_widget.has_active_modal() \u0026\u0026 self.startup_protected_input_boundary\u0060 appears character-identically in 2 files \u2014 codex-rs/tui/src/app.rs, codex-rs/tui/src/app/thread_routing.rs. 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":"codex-rs/tui/src/app.rs"},"region":{"startLine":1336}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c62eb46147a0a55426fca941dea57d7972bdeb1afa3423b4b3e1a2516257a23"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!handle.is_null() \u0026\u0026 handle != INVALID_HANDLE_VALUE\u0060 appears character-identically in 2 files \u2014 codex-rs/windows-sandbox-rs/src/no_reparse_dir.rs, codex-rs/windows-sandbox-rs/src/unified_exec/tests.rs. 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":"codex-rs/windows-sandbox-rs/src/no_reparse_dir.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"b499ff840b1c70db223e4499211101fa1df508f3fa83b9c73e5ab1b8ace46f7d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!modifiers.contains(KeyModifiers::CONTROL) \u0026\u0026 !modifiers.contains(KeyModifiers::ALT)\u0060 appears character-identically in 3 files \u2014 codex-rs/tui/src/bottom_pane/multi_select_picker.rs, codex-rs/tui/src/bottom_pane/skills_toggle_view.rs, codex-rs/tui/src/resume_picker.rs. 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":"codex-rs/tui/src/bottom_pane/multi_select_picker.rs"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"5960cc5f4f7a6ff2e9056090d4434918321b7aa704cefcd5370753d49d40e9f7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!tui.is_owned_screen() || self.overlay.is_some()\u0060 appears character-identically in 2 files \u2014 codex-rs/tui/src/app/owned_transcript.rs, codex-rs/tui/src/app_backtrack/legacy_input.rs. 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":"codex-rs/tui/src/app/owned_transcript.rs"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d47e9722c3ab7d05f6bfd2d09d90892d9adf73b2c3381d8e6f9030b6554570d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!url.username().is_empty() || url.password().is_some()\u0060 appears character-identically in 2 files \u2014 codex-rs/app-server/src/code_mode_host.rs, codex-rs/utils/path-uri/src/lib.rs. 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":"codex-rs/app-server/src/code_mode_host.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ccb33f3d19e38e6123ce0b128669114869e9c4820eea7824639c3c3d64a1d6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!uses_remote_workspace_or_environment || cwd_override.is_some()\u0060 appears character-identically in 2 files \u2014 codex-rs/tui/src/app/resume_config.rs, codex-rs/tui/src/lib.rs. 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":"codex-rs/tui/src/app/resume_config.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3eef5562f58a32c84d7bdd3267f06395b6f3160d97d4e717696ca40101563a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(base_url.starts_with(\u0022https://chatgpt.com\u0022) || base_url.starts_with(\u0022https://chat.openai.com\u0022)) \u0026\u0026 !base_url.contains(\u0022/backend-api\u0022)\u0060 appears character-identically in 3 files \u2014 codex-rs/backend-client/src/client.rs, codex-rs/cloud-tasks/src/util.rs, codex-rs/codex-mcp/src/mcp/mod.rs. 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":"codex-rs/backend-client/src/client.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f5ee9f4a93332e220f12170ae76dd7fe3fd5d8bcc9e0dcc2b033e14769865a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060activity.is_empty() \u0026\u0026 auxiliary.is_empty()\u0060 appears character-identically in 2 files \u2014 codex-rs/tui/src/chatwidget/activity_presentation.rs, codex-rs/tui/src/transcript_view.rs. 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":"codex-rs/tui/src/chatwidget/activity_presentation.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec6299ca09279f6793127ff3b37d3b405a9a0c28dc3a944738b35d1faee4f46"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060answer.answer_committed \u0026\u0026 answer.draft != draft\u0060 appears character-identically in 2 files \u2014 codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs, codex-rs/tui/src/bottom_pane/request_user_input/mod.rs. 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":"codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8db6cdb141f652e404b1fc2d9622f7bcd9c4c706fc0001e697546b6dc76a6d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060answer.eq_ignore_ascii_case(\u0022y\u0022) || answer.eq_ignore_ascii_case(\u0022yes\u0022)\u0060 appears character-identically in 2 files \u2014 codex-rs/cli/src/main.rs, codex-rs/tui/src/session_archive_commands.rs. 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":"codex-rs/cli/src/main.rs"},"region":{"startLine":2718}}}],"partialFingerprints":{"codehealthFindingId/v1":"559f71b7a200dcd97426b7fc70af7761f5fd4763d5cfde065155df3d745b9321"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060app.refresh_inflight || app.details_inflight || app.env_loading || app.apply_preflight_inflight || app.apply_inflight\u0060 appears character-identically in 2 files \u2014 codex-rs/cloud-tasks/src/lib.rs, codex-rs/cloud-tasks/src/ui.rs. 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":"codex-rs/cloud-tasks/src/lib.rs"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3190a86c03a81fb5498dae64477e39938c38901ee8b1a3a841ea9c23ccf3599"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060app.zoomed_thread.is_some() \u0026\u0026 app.zoomed_thread == app.current_displayed_thread_id()\u0060 appears character-identically in 2 files \u2014 codex-rs/tui/src/app/side_pane.rs, codex-rs/tui/src/app/sidebar.rs. 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":"codex-rs/tui/src/app/side_pane.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a51a1d5a88f4489aa52c55a9d192e3651f99037ac607cd9427c32b80f4bcf9a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060auth.is_chatgpt_auth() || auth.is_api_key_auth()\u0060 appears character-identically in 2 files \u2014 codex-rs/core/src/realtime_conversation.rs, codex-rs/exec-server-cli/src/config.rs. 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":"codex-rs/core/src/realtime_conversation.rs"},"region":{"startLine":1498}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f273b770d7af0d71fa95ad3e3187b63c745b487469227150dfc95a0f6e5b686"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060auth.is_some_and(CodexAuth::uses_codex_backend) \u0026\u0026 provider.is_openai() \u0026\u0026 provider.requires_openai_auth \u0026\u0026 provider.env_key.is_none() \u0026\u0026 pr\u2026\u0060 appears character-identically in 2 files \u2014 codex-rs/core/src/client.rs, codex-rs/ext/guardian-v2/src/async_scorer/sampler/connection_pool.rs. 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":"codex-rs/core/src/client.rs"},"region":{"startLine":1387}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffbfa3edf8411f8980f516aac277ab20a28a830d9da1f6d4f6edd9616bab2780"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060byte.is_ascii_alphanumeric() || byte == b\u0027_\u0027\u0060 appears character-identically in 2 files \u2014 codex-rs/core-plugins/src/command_migration/render.rs, codex-rs/external-agent-migration/src/rewrite.rs. 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":"codex-rs/core-plugins/src/command_migration/render.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b943405db00d10a242556257738f7b4e6496574b1ca08b34cbe41bd1cab8649"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060catalog.is_partial || !catalog.warnings.is_empty()\u0060 appears character-identically in 2 files \u2014 codex-rs/ext/mcp/src/cloud_plugin.rs, codex-rs/ext/skills/src/state.rs. 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":"codex-rs/ext/mcp/src/cloud_plugin.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72d331218fe9c36920b18a810a83aa5a503bc9eaf869e145ed154a37e786258"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060character.is_ascii_lowercase() || character.is_ascii_digit() || character == \u0027_\u0027\u0060 appears character-identically in 2 files \u2014 codex-rs/analytics/src/reducer.rs, codex-rs/core-plugins/src/plugin_metrics.rs. 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":"codex-rs/analytics/src/reducer.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7e17c9a3db69a5c19a5c2afb2a0610f7004beb77e875421b3573485eab06c7d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cli.fork_picker || cli.fork_last || cli.fork_session_id.is_some()\u0060 appears character-identically in 2 files \u2014 codex-rs/tui/src/lib.rs, codex-rs/tui/src/startup_orchestration.rs. 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":"codex-rs/tui/src/lib.rs"},"region":{"startLine":1649}}}],"partialFingerprints":{"codehealthFindingId/v1":"af160dc52d3196eb835c158562535a1f6993036109365a5a817e62b32267cb68"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cli.no_daemon \u0026\u0026 explicit_remote_endpoint.is_some()\u0060 appears character-identically in 2 files \u2014 codex-rs/tui/src/session_archive_commands.rs, codex-rs/tui/src/startup_orchestration.rs. 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":"codex-rs/tui/src/session_archive_commands.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"e82b253f1f05e4f8fbdc44016f09f7cceca317572ee1c36eb1d73143d73f9520"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cli.resume_picker || cli.fork_picker || cli.agents_overview\u0060 appears character-identically in 2 files \u2014 codex-rs/tui/src/lib.rs, codex-rs/tui/src/startup_orchestration.rs. 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":"codex-rs/tui/src/lib.rs"},"region":{"startLine":1610}}}],"partialFingerprints":{"codehealthFindingId/v1":"71319657fc549f58a8810935aa2b5b2f8a70d827a69d7e15cb6ee6a85eaa996d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060code == ERROR_BROKEN_PIPE as i32 || code == ERROR_NO_DATA as i32 || code == ERROR_PIPE_NOT_CONNECTED as i32\u0060 appears character-identically in 2 files \u2014 codex-rs/windows-sandbox-rs/src/provisioning_client.rs, codex-rs/windows-sandbox-rs/src/provisioning_client/refresh_retry.rs. 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":"codex-rs/windows-sandbox-rs/src/provisioning_client.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f45bbe6f7aead3b59e507109ef608a1e3160f59feb4e9ac5b0910f78dcb8c1b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config.daybreak_enabled \u0026\u0026 !config.ephemeral\u0060 appears character-identically in 2 files \u2014 codex-rs/exec/src/lib.rs, codex-rs/tui/src/app_server_session.rs. 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":"codex-rs/exec/src/lib.rs"},"region":{"startLine":1541}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a583c2228148eba48a61a64c63b694dab65e156ac3ab9e20ef1833eb3be9135"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config.features.enabled(Feature::MemoryTool) \u0026\u0026 config.memories.use_memories\u0060 appears character-identically in 2 files \u2014 codex-rs/app-server/src/request_processors/thread_memory.rs, codex-rs/ext/memories/src/extension.rs. 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":"codex-rs/app-server/src/request_processors/thread_memory.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72c086e1259fba918865d2a6f3c271996de8960f05ee2c82e9d5a02f1a10056"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060connection.is_local_daemon \u0026\u0026 managed_daemon\u0060 appears character-identically in 2 files \u2014 codex-rs/tui/src/app/reconnect.rs, codex-rs/tui/src/app/startup.rs. 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":"codex-rs/tui/src/app/reconnect.rs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c0ce2136588eea3125ae87e640ea3883f59cb2709d443c5e28fe93c835e056"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060content_area.width == 0 || content_area.height == 0\u0060 appears character-identically in 3 files \u2014 codex-rs/tui/src/bottom_pane/async_questions/render.rs, codex-rs/tui/src/bottom_pane/mcp_server_elicitation.rs, codex-rs/tui/src/bottom_pane/request_user_input/render.rs. 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":"codex-rs/tui/src/bottom_pane/async_questions/render.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a901bf5e062b81bd1b646dd22ad6f789ebe1d61507e7c5aee586cc4b8321a5f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060drive.is_ascii_alphabetic() \u0026\u0026 is_windows_separator_byte(*separator)\u0060 appears character-identically in 2 files \u2014 codex-rs/utils/path-uri/src/api_path_string.rs, codex-rs/utils/path-uri/src/lib.rs. 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":"codex-rs/utils/path-uri/src/api_path_string.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c06e217e5129faa62233c1a96c634fd2973dc1409561502265e8be61ec4d378"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060end == bytes.len() || !is_word_byte(bytes[end])\u0060 appears character-identically in 2 files \u2014 codex-rs/core-plugins/src/command_migration/render.rs, codex-rs/external-agent-migration/src/rewrite.rs. 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":"codex-rs/core-plugins/src/command_migration/render.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73d9aeaad218dab4e7a3de496012d9a027fa03cba17d5f6a2d251c5263aeb99"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing_metadata.is_none() || matches!(metadata.history_mode, ThreadHistoryMode::Legacy)\u0060 appears character-identically in 2 files \u2014 codex-rs/rollout/src/metadata.rs, codex-rs/rollout/src/state_db.rs. 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":"codex-rs/rollout/src/metadata.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a8ad3901ca8778527b16539dd0b48e5d77e00953dd022556eb51a89e4dbfe6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060feature.contains_key(\u0022credential_broker\u0022) || feature.contains_key(\u0022credentials\u0022)\u0060 appears character-identically in 2 files \u2014 codex-rs/app-server/src/config_manager_service.rs, codex-rs/core/src/config/edit.rs. 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":"codex-rs/app-server/src/config_manager_service.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec9488b76af12fa360bf6b095211fae5dcd54240298b35165b43020208e1b87"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060feature.name == Feature::ApiKeyCyberAccessPrograms.key() \u0026\u0026 feature.enabled\u0060 appears character-identically in 2 files \u2014 codex-rs/tui/src/app_server_session/daybreak_api_key_compat.rs, codex-rs/tui/src/dynamic_tools.rs. 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":"codex-rs/tui/src/app_server_session/daybreak_api_key_compat.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d1c277d4228cf73c23ee2abc24bf5ab69fac110e214acbce96f2d0abd15f0e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060first == \u0027_\u0027 || first.is_ascii_alphabetic()\u0060 appears character-identically in 3 files \u2014 codex-rs/external-agent-migration/src/mcp.rs, codex-rs/shell-command/src/shell_snapshot_restore.rs, tools/argument-comment-lint/src/comment_parser.rs. 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":"codex-rs/external-agent-migration/src/mcp.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b414a81e07699ab22895009e8dedd2852622e9aa340842588b6cf2757da904"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060force \u0026\u0026 error.kind() == io::ErrorKind::NotFound\u0060 appears character-identically in 2 files \u2014 codex-rs/exec-server/src/no_follow/unix.rs, codex-rs/exec-server/src/no_follow/windows.rs. 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":"codex-rs/exec-server/src/no_follow/unix.rs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4a4ac6e77406d4b54425aee5af3d45b7b8e169b705c62cad1e63dfd414926a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060h.is_null() || h == INVALID_HANDLE_VALUE\u0060 appears character-identically in 2 files \u2014 codex-rs/windows-sandbox-rs/src/acl.rs, codex-rs/windows-sandbox-rs/src/process.rs. 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":"codex-rs/windows-sandbox-rs/src/acl.rs"},"region":{"startLine":1118}}}],"partialFingerprints":{"codehealthFindingId/v1":"181f5af7242fa67216544ed374743b4f71057c1bed74d3f6ca7c753e3553da74"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060handle == INVALID_HANDLE_VALUE || handle.is_null()\u0060 appears character-identically in 3 files \u2014 codex-rs/tui/src/tui.rs, codex-rs/tui/src/tui/input_boundary.rs, codex-rs/tui/src/tui/windows_console.rs. 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":"codex-rs/tui/src/tui.rs"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9eea4a102e5d1d54bdb074fe9c0638c813715c15beb8db1f3af8c27e99fcd36"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060handle.is_null() || handle == INVALID_HANDLE_VALUE\u0060 appears character-identically in 5 files \u2014 codex-rs/app-server-daemon/src/backend/windows.rs, codex-rs/cli/src/doctor.rs, codex-rs/exec-server/src/no_follow/windows.rs, codex-rs/tui/src/terminal_probe/windows.rs. 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":"codex-rs/app-server-daemon/src/backend/windows.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65f1fe93d966eec39d2fb4210c6f1941574a1189915d9f0e2e40332678182f8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060has_wt_session \u0026\u0026 !has_force_color_override\u0060 appears character-identically in 2 files \u2014 codex-rs/tui/src/diff_render.rs, codex-rs/tui/src/terminal_palette.rs. 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":"codex-rs/tui/src/diff_render.rs"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc34b8657665e21e776a1dbb75455d7056d379115b3cb70cd70a5f22d7e3dbf0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060headers_helper.is_some() || factory.network_policy().is_managed()\u0060 appears character-identically in 2 files \u2014 codex-rs/otel/src/metrics/client.rs, codex-rs/otel/src/provider.rs. 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":"codex-rs/otel/src/metrics/client.rs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85cbd21c69bb9c6ceda7f329909d7c3357c6195c40d40e513581ee22ba07fed"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060host == \u0022chatgpt-staging.com\u0022 || host.ends_with(\u0022.chatgpt-staging.com\u0022)\u0060 appears character-identically in 2 files \u2014 codex-rs/agent-identity/src/lib.rs, codex-rs/codex-mcp/src/mcp/mod.rs. 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":"codex-rs/agent-identity/src/lib.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e29c49dbd95d2b94e4f420f1f945e888008a247e869471c3cd74d89a8470bbf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060host == \u0022chatgpt.com\u0022 || host == \u0022chatgpt-staging.com\u0022 || host.ends_with(\u0022.chatgpt.com\u0022) || host.ends_with(\u0022.chatgpt-staging.com\u0022)\u0060 appears character-identically in 2 files \u2014 codex-rs/app-server-transport/src/transport/remote_control/protocol.rs, codex-rs/tui/src/bottom_pane/app_link_view.rs. 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":"codex-rs/app-server-transport/src/transport/remote_control/protocol.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12f6b7b763e7c06522de9bc0672f573d0900d7a0d5ecf3b82ed18cf5be3693d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060host == \u0022localhost\u0022 || host.ends_with(\u0022.localhost\u0022)\u0060 appears character-identically in 2 files \u2014 codex-rs/network-proxy/src/policy.rs, codex-rs/rmcp-client/src/ema_resource.rs. 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":"codex-rs/network-proxy/src/policy.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d94122970cebd015725ad66a32777dd18a07bf32bf06e7dbfcaae7afaa813d3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060host.contains(\u0027:\u0027) \u0026\u0026 !host.starts_with(\u0027[\u0027)\u0060 appears character-identically in 2 files \u2014 codex-rs/http-client/src/outbound_proxy/macos.rs, codex-rs/websocket-client/src/dialer.rs. 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":"codex-rs/http-client/src/outbound_proxy/macos.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"28db24b70df36b1799c84ef96f1d23e13ed62c45258c3b6311d695085a50e478"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060host.eq_ignore_ascii_case(\u0022localhost\u0022) || host == \u0022127.0.0.1\u0022 || host == \u0022::1\u0022\u0060 appears character-identically in 2 files \u2014 codex-rs/linux-sandbox/src/proxy_routing.rs, codex-rs/sandboxing/src/seatbelt.rs. 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":"codex-rs/linux-sandbox/src/proxy_routing.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"9328f2675ec1dedcccb8186580f7a0b394f83c06d7a6002e2f9555dc80935785"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060input_area.width == 0 || input_area.height == 0\u0060 appears character-identically in 2 files \u2014 codex-rs/tui/src/bottom_pane/async_questions/render.rs, codex-rs/tui/src/bottom_pane/request_user_input/render.rs. 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":"codex-rs/tui/src/bottom_pane/async_questions/render.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f45aba9e2f5c640481cf7b3ace1b7fa2ce6a6a9743f781d259f95e4f6617085"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_assistant || extracted.only_tool_result\u0060 appears character-identically in 2 files \u2014 codex-rs/external-agent-migration/src/sessions/records_cla.rs, codex-rs/external-agent-migration/src/sessions/records_cur.rs. 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":"codex-rs/external-agent-migration/src/sessions/records_cla.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee966f1d8881c89dcb2296bde61adb72f324d44e5d3a4894f965446a4703c817"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_windows_separator_byte(*first) \u0026\u0026 is_windows_separator_byte(*second)\u0060 appears character-identically in 2 files \u2014 codex-rs/utils/path-uri/src/api_path_string.rs, codex-rs/utils/path-uri/src/lib.rs. 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":"codex-rs/utils/path-uri/src/api_path_string.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b770da2a409f52df36cf88642863c3f734de9c569fd5c20a1cc551fcb812ac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060key == \u0022sandbox_workspace_write.writable_roots\u0022 || (key == \u0022sandbox_workspace_write\u0022 \u0026\u0026 value.get(\u0022writable_roots\u0022).is_some())\u0060 appears character-identically in 2 files \u2014 codex-rs/cli/src/main.rs, codex-rs/tui/src/startup_orchestration.rs. 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":"codex-rs/cli/src/main.rs"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df46a25cc9e51edb6e6022f99429542654f85c972ed634ab079eb8226b2b019"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060key_event.kind == KeyEventKind::Press \u0026\u0026 keys::CONFIRM.is_pressed(*key_event)\u0060 appears character-identically in 2 files \u2014 codex-rs/tui/src/onboarding/auth.rs, codex-rs/tui/src/onboarding/bedrock.rs. 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":"codex-rs/tui/src/onboarding/auth.rs"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"50542d1193adb8a4dd36cd671fcefb5481780021c5e3291f8c4b4361bd41a83b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060left == right || cfg!(windows) \u0026\u0026 left.eq_ignore_ascii_case(right)\u0060 appears character-identically in 2 files \u2014 codex-rs/app-server/src/config_manager_service_credential_edits.rs, codex-rs/config/src/loader/mod.rs. 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":"codex-rs/app-server/src/config_manager_service_credential_edits.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e87f7723d291823e87773fea3d48c23c73a668b0dd71d6fa391cd7248d7a05e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060local_settings.tui.animations \u0026\u0026 local_settings.tui.effects.welcome\u0060 appears character-identically in 2 files \u2014 codex-rs/tui/src/onboarding/onboarding_screen.rs, codex-rs/tui/src/startup_draft.rs. 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":"codex-rs/tui/src/onboarding/onboarding_screen.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f08f19cfbeb0dac1d96319c1f88031eb1a3dfe4937b8c5aecc504150c5d706b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060map.contains_key(\u0022items\u0022) || map.contains_key(\u0022prefixItems\u0022)\u0060 appears character-identically in 2 files \u2014 codex-rs/code-mode-protocol/src/json_schema_types.rs, codex-rs/tools/src/json_schema.rs. 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":"codex-rs/code-mode-protocol/src/json_schema_types.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ffe1de38d153694ad4b612655ff27c4bdebf7f1d9fcff2126decefaa96e4188"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060map.get_mut(\u0022additionalProperties\u0022) \u0026\u0026 !matches!(additional_properties, JsonValue::Bool(_))\u0060 appears character-identically in 2 files \u2014 codex-rs/tools/src/json_schema.rs, codex-rs/tools/src/json_schema/traversal.rs. 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":"codex-rs/tools/src/json_schema.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cfb6e81352f8239c8dc4696fc393a14d3191cd95e1389460d802560e550e31d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060matches!(server.auth, McpServerAuth::EmaAuth) || server.ema_registration().is_some()\u0060 appears character-identically in 2 files \u2014 codex-rs/core/src/config/runtime_refresh.rs, codex-rs/core/src/session/config_refresh.rs. 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":"codex-rs/core/src/config/runtime_refresh.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca933a2ec97c71d359a78d28a98d8deafe6be7194b2e64498e50ff8e8c7a7872"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.complete \u0026\u0026 message.text.is_empty()\u0060 appears character-identically in 2 files \u2014 codex-rs/guardian-context/src/retained_instructions.rs, codex-rs/history/src/retained_assistant_messages.rs. 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":"codex-rs/guardian-context/src/retained_instructions.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe1c59db9459bc5e83f37d9b748bef691d2a9eb85529d1eb1d4c41461d7067a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.message_id.is_some() \u0026\u0026 entry.value.message_id == message.message_id\u0060 appears character-identically in 2 files \u2014 codex-rs/history/src/retained_assistant_messages.rs, codex-rs/history/src/retained_context.rs. 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":"codex-rs/history/src/retained_assistant_messages.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef11789782f567240277f1d683eb1042a8cf0d81fcbf18929b4736990d4b848"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060metadata.file_type().is_symlink() \u0026\u0026 ancestor.parent().and_then(Path::parent).is_some()\u0060 appears character-identically in 2 files \u2014 codex-rs/sandboxing/src/seatbelt.rs, codex-rs/utils/absolute-path/src/lib.rs. 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":"codex-rs/sandboxing/src/seatbelt.rs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd66ff35b8747ca5afe0091b7933c2e9c1d7b6d37f8087092c56052da702604f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mode == NetworkMode::Limited \u0026\u0026 !brokered_http\u0060 appears character-identically in 2 files \u2014 codex-rs/network-proxy/src/http_proxy.rs, codex-rs/network-proxy/src/socks5.rs. 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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"894fe41de5df87eb8084c503f43e71485e2244ccc597df27782c69d608e81437"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mode == StreamableHttpRedirectMode::AgentPluginV1 \u0026\u0026 (has_configured_headers || headers.contains_key(AUTHORIZATION))\u0060 appears character-identically in 2 files \u2014 codex-rs/rmcp-client/src/http_client_adapter.rs, codex-rs/rmcp-client/src/oauth_http_client.rs. 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":"codex-rs/rmcp-client/src/http_client_adapter.rs"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc89bd2a89af0536835d0fc38f9936232dc1922e77440da0e6247a0e23bf9743"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060owner.is_some_and(is_github_shorthand_segment) \u0026\u0026 repo.is_some_and(is_github_shorthand_segment) \u0026\u0026 extra.is_none()\u0060 appears character-identically in 2 files \u2014 codex-rs/core-plugins/src/marketplace.rs, codex-rs/core-plugins/src/marketplace_add/source.rs. 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":"codex-rs/core-plugins/src/marketplace.rs"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"170cd8ba6e29b30a5e952bab5756a05364016048e7403004e3e193e3f22610b8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060params.delta_base64.is_none() \u0026\u0026 !params.close_stdin\u0060 appears character-identically in 2 files \u2014 codex-rs/app-server/src/command_exec.rs, codex-rs/app-server/src/request_processors/process_exec_processor.rs. 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":"codex-rs/app-server/src/command_exec.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a6878268528c005fd03cd57e69e305068457e7d964388117baddcd348b5bc1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060params.section.is_none() \u0026\u0026 params.before_thread_id.is_some()\u0060 appears character-identically in 2 files \u2014 codex-rs/thread-store/src/in_memory.rs, codex-rs/thread-store/src/local/move_thread_to_section.rs. 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":"codex-rs/thread-store/src/in_memory.rs"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"e518045f1a9c815686214bc9b81e950f4279d91ccc190fe068285a9478d2e2d8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060previous.user_sid == record.user_sid \u0026\u0026 previous.codex_home == record.codex_home\u0060 appears character-identically in 2 files \u2014 codex-rs/windows-sandbox-service/src/package_lifecycle.rs, codex-rs/windows-sandbox-service/src/service/runtime_lifecycle.rs. 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":"codex-rs/windows-sandbox-service/src/package_lifecycle.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"78872caeed18b212db41a0aa2a8c920edb5ef9a7e567223bfe0d13dceb5d2c8d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060query_bytes_truncated || query_terms_truncated\u0060 appears character-identically in 3 files \u2014 codex-rs/ext/skills/src/dynamic_skill_selector/fielded_bm25.rs, codex-rs/ext/skills/src/dynamic_skill_selector/routing_card_lexical.rs, codex-rs/ext/skills/src/dynamic_skill_selector/weighted_lexical.rs. 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":"codex-rs/ext/skills/src/dynamic_skill_selector/fielded_bm25.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"744a47f48c8625316fcee6ec1be64f9753d72f559bccb4aff0abbc403de535c0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060question_drafts \u0026\u0026 !self.has_misalignment_policy_violation()\u0060 appears character-identically in 2 files \u2014 codex-rs/tui/src/chatwidget/protocol.rs, codex-rs/tui/src/chatwidget/turn_runtime.rs. 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":"codex-rs/tui/src/chatwidget/protocol.rs"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb502b2481db39d9d2341baddb826d69033d6a247f26f4b234843e9c4f4b9309"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060record.complete \u0026\u0026 record.before_turn_id.is_none()\u0060 appears character-identically in 2 files \u2014 codex-rs/tui/src/app/realtime_delivery.rs, codex-rs/tui/src/chatwidget/realtime/transcript_replay.rs. 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":"codex-rs/tui/src/app/realtime_delivery.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a50afacf4272a913b0b5d67274b3b357fac33067c698354dbe7ffd026c46b48"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060record.get(\u0022isMeta\u0022).and_then(JsonValue::as_bool) == Some(true) || record.get(\u0022isSidechain\u0022).and_then(JsonValue::as_bool) == Some(true)\u0060 appears character-identically in 2 files \u2014 codex-rs/external-agent-migration/src/sessions/records_cla.rs, codex-rs/external-agent-migration/src/sessions/records_cur.rs. 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":"codex-rs/external-agent-migration/src/sessions/records_cla.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4f9402e4eb02c8fe7e724b4e1c7e8067afb350559b92cdf4d3a5f19e458bb6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rest.is_empty() || text_elements.is_empty()\u0060 appears character-identically in 2 files \u2014 codex-rs/tui/src/bottom_pane/chat_composer/slash_input.rs, codex-rs/tui/src/chatwidget/slash_dispatch.rs. 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":"codex-rs/tui/src/bottom_pane/chat_composer/slash_input.rs"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"065a5d670334299570c2a146b6924213672355c0f30d70dd8dc11aa99ca6156f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060review_mode || hidden_nested_review_turn\u0060 appears character-identically in 2 files \u2014 codex-rs/tui/src/app/history_pagination.rs, codex-rs/tui/src/app/transcript_export.rs. 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":"codex-rs/tui/src/app/history_pagination.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b06710eb46a83e19e34036c185b4ddea278b544607f1313a714d39c8bdf5bd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060role == \u0022developer\u0022 \u0026\u0026 Self::matches_text(text)\u0060 appears character-identically in 3 files \u2014 codex-rs/core/src/context/world_state/command_sessions.rs, codex-rs/core/src/context/world_state/model_catalog.rs, codex-rs/core/src/context/world_state/persistent_mode.rs. 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":"codex-rs/core/src/context/world_state/command_sessions.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"83481546460457fadfc6e6850bd3fe196d09b6eda5c6321c1e7fc9881d703aa8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060role == \u0022developer\u0022 \u0026\u0026 text.trim_start().starts_with(SKILLS_INSTRUCTIONS_OPEN_TAG) \u0026\u0026 text.trim_end().ends_with(SKILLS_INSTRUCTIONS_CLOSE_TA\u2026\u0060 appears character-identically in 2 files \u2014 codex-rs/ext/skills/src/catalog_delta.rs, codex-rs/ext/skills/src/world_state.rs. 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":"codex-rs/ext/skills/src/catalog_delta.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9575d55830df48cb3921037fbb2cb8e9c2a61fcefe1612fbff5bf5905f4e15"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060scheme.eq_ignore_ascii_case(\u0022http\u0022) || scheme.eq_ignore_ascii_case(\u0022https\u0022)\u0060 appears character-identically in 3 files \u2014 codex-rs/app-server/src/image_url.rs, codex-rs/code-mode-runtime/src/runtime/value.rs, codex-rs/core/src/image_preparation.rs. 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":"codex-rs/app-server/src/image_url.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"22103b2a14723e67470ed7b06e4f250b37828bbe46241bc0d26d9a9fb431286a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060scope == RuntimePolicyOverrideScope::All || profile.turn_override == RuntimePermissionProfileTurnOverride::LegacySandbox\u0060 appears character-identically in 2 files \u2014 codex-rs/tui/src/app/config_persistence.rs, codex-rs/tui/src/app/working_directory.rs. 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":"codex-rs/tui/src/app/config_persistence.rs"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f3602f45ce69986cbefa2a4a488f88c6ea8693b0681e3d4b73cecab7f3f395"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.chat_widget.current_model() != model || self.chat_widget.current_collaboration_mode().model() != model\u0060 appears character-identically in 2 files \u2014 codex-rs/tui/src/app/event_dispatch.rs, codex-rs/tui/src/app/model_defaults.rs. 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":"codex-rs/tui/src/app/event_dispatch.rs"},"region":{"startLine":2420}}}],"partialFingerprints":{"codehealthFindingId/v1":"d45342fd461914d69ae66aac0a62ca8fefd8419f5cb160a8a1eb08f911f875b6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.collaboration_modes_enabled() \u0026\u0026 self.active_mode_kind() == ModeKind::Plan\u0060 appears character-identically in 2 files \u2014 codex-rs/tui/src/chatwidget/model_popups.rs, codex-rs/tui/src/chatwidget/reasoning_shortcuts.rs. 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":"codex-rs/tui/src/chatwidget/model_popups.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9c87bf56cf0f57c025d8c491fc805941564b7f3dfd382f0b172a666882e377"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.composer.cancel_vim_search() || self.composer.cancel_history_search()\u0060 appears character-identically in 2 files \u2014 codex-rs/tui/src/bottom_pane/async_questions/input.rs, codex-rs/tui/src/bottom_pane/mod.rs. 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":"codex-rs/tui/src/bottom_pane/async_questions/input.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb12c2eb64858eec73effc52e73adb3b4c43caa146942fe92d45e7b7da936dd6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.conversation_frame.side_pane() \u0026\u0026 panes.passive.contains((mouse.column, mouse.row).into())\u0060 appears character-identically in 2 files \u2014 codex-rs/tui/src/app/link_hover.rs, codex-rs/tui/src/app/owned_transcript.rs. 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":"codex-rs/tui/src/app/link_hover.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"3339c62d2f58452d727bbcc2133d8d47a3f1dc64047f2d443dc571ccf4b702e8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.daybreak_enabled \u0026\u0026 !self.side_conversation_active()\u0060 appears character-identically in 2 files \u2014 codex-rs/tui/src/chatwidget/status_surfaces.rs, codex-rs/tui/src/chatwidget/statusline_state.rs. 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":"codex-rs/tui/src/chatwidget/status_surfaces.rs"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c53da324911259077402b8eb9d78efd43a848888516c39c1dfaf72e335c7c9e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.detailed || self.mode != HistoryRenderMode::Rich\u0060 appears character-identically in 2 files \u2014 codex-rs/tui/src/transcript_view/disclosure.rs, codex-rs/tui/src/transcript_view/turn_details.rs. 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":"codex-rs/tui/src/transcript_view/disclosure.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda233b879fc8b6e6976e07d3289133b0c3e0dc03c7bac2566eb9ea1bdb3a9d8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.history_search.is_some() || self.draft.textarea.vim_query().is_some()\u0060 appears character-identically in 3 files \u2014 codex-rs/tui/src/bottom_pane/chat_composer.rs, codex-rs/tui/src/bottom_pane/chat_composer/footer_state.rs, codex-rs/tui/src/bottom_pane/chat_composer/inline_input.rs. 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":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":2108}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e7ed323c0d75a7018f80d700610232459e874c2709a7537d40a0840be0e39e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.input_queue.has_queued_follow_up_messages() || !self.input_queue.pending_steers.is_empty()\u0060 appears character-identically in 2 files \u2014 codex-rs/tui/src/chatwidget/input_restore.rs, codex-rs/tui/src/chatwidget/permission_discovery.rs. 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":"codex-rs/tui/src/chatwidget/input_restore.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2d33dacd23817774f95b4f3f2de8714af9ec6a9527483bc04c8c1ebbfbce2f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.local_settings.tui.animations \u0026\u0026 self.local_settings.tui.effects.progress\u0060 appears character-identically in 4 files \u2014 codex-rs/tui/src/chatwidget.rs, codex-rs/tui/src/chatwidget/command_lifecycle.rs, codex-rs/tui/src/chatwidget/recap.rs, codex-rs/tui/src/chatwidget/tool_lifecycle.rs. 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":"codex-rs/tui/src/chatwidget.rs"},"region":{"startLine":1657}}}],"partialFingerprints":{"codehealthFindingId/v1":"43939e825ef8010b88475befba006e8bb20db6578097461c703316df7f107488"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.local_settings.tui.animations \u0026\u0026 self.local_settings.tui.effects.shimmer\u0060 appears character-identically in 3 files \u2014 codex-rs/tui/src/app/owned_transcript.rs, codex-rs/tui/src/app_backtrack.rs, codex-rs/tui/src/chatwidget/plugin_catalog.rs. 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":"codex-rs/tui/src/app/owned_transcript.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"78baca102a0f6872278b839e77cb4bd836f0b8ae36cbe9f6e14cc58c64f9f7ba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.network.is_none() \u0026\u0026 self.file_system.is_none()\u0060 appears character-identically in 2 files \u2014 codex-rs/protocol/src/models.rs, codex-rs/protocol/src/request_permissions.rs. 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":"codex-rs/protocol/src/models.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"82923c26f2767861a73b7767e83fad0335480c34b2e54940a5b096f868bf9713"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.primary_thread_id \u0026\u0026 !self .agent_navigation .queue_picker_refresh(primary_thread_id)\u0060 appears character-identically in 2 files \u2014 codex-rs/tui/src/app/agent_picker.rs, codex-rs/tui/src/app/app_server_events.rs. 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":"codex-rs/tui/src/app/agent_picker.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7fe6f378b682513215dfbac08963719a67de5a97df3b23c933fa4fec8ffb62"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.section == Section::Chats \u0026\u0026 !self.business()\u0060 appears character-identically in 2 files \u2014 codex-rs/tui/src/analytics.rs, codex-rs/tui/src/analytics/controls.rs. 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":"codex-rs/tui/src/analytics.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad4e2434da41b33610dd21ea37c975975fa4706895b16d78e7b0eecf6f51837"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.section == Section::Chats \u0026\u0026 index == self.sections[Section::Chats].cursor\u0060 appears character-identically in 2 files \u2014 codex-rs/tui/src/analytics/chat_panel.rs, codex-rs/tui/src/analytics/task_panel.rs. 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":"codex-rs/tui/src/analytics/chat_panel.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a67e664bda77c15a4473dc3a4f5f0a303533428c85d409f1149b968630a4885"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.startup_protected_input_boundary \u0026\u0026 !self.chat_widget.has_active_modal()\u0060 appears character-identically in 2 files \u2014 codex-rs/tui/src/app/file_change_approvals.rs, codex-rs/tui/src/app/thread_routing.rs. 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":"codex-rs/tui/src/app/file_change_approvals.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"63727bdf6a3a74994d87959baa400c8732a0d9a18125a69c0f6968bf281f50bd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.windows_sandbox_host == crate::app::WindowsSandboxHost::Local \u0026\u0026 self.elevated_windows_sandbox_setup_required()\u0060 appears character-identically in 2 files \u2014 codex-rs/tui/src/chatwidget/input_restore.rs, codex-rs/tui/src/chatwidget/startup_submission.rs. 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":"codex-rs/tui/src/chatwidget/input_restore.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfbcb1129453b1f58d1d4b7cdd765d217ca90cd47a954d0c88cff74325065759"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060separator == \u0027/\u0027 || is_windows \u0026\u0026 separator == \u0027\\\\\u0027\u0060 appears character-identically in 3 files \u2014 codex-rs/protocol/src/permissions.rs, codex-rs/sandboxing/src/policy_transforms.rs, codex-rs/utils/path-uri/src/api_path_string.rs. 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":"codex-rs/protocol/src/permissions.rs"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df65aed8cd5aacb2175e8412820861a0f41c2db59faeb48e981918cc20535cb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060server_value.as_table() \u0026\u0026 server_table.contains_key(\u0022bearer_token\u0022)\u0060 appears character-identically in 2 files \u2014 codex-rs/config/src/mcp_edit.rs, codex-rs/core/src/config/mod.rs. 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":"codex-rs/config/src/mcp_edit.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f93204fcba27567d0f25baa0b642bb9bf30550b8d115ad74e47e261233865c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sha.is_none() \u0026\u0026 branch.is_none() \u0026\u0026 origin_url.is_none()\u0060 appears character-identically in 3 files \u2014 codex-rs/app-server/src/request_processors/thread_processor.rs, codex-rs/thread-store/src/in_memory.rs, codex-rs/thread-store/src/local/helpers.rs. 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":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":2097}}}],"partialFingerprints":{"codehealthFindingId/v1":"284f9409f34f6abe1433acd91cd0e36494ea206dc5cfdaba41d65a8bf816b433"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060start == 0 || !is_word_byte(bytes[start - 1])\u0060 appears character-identically in 2 files \u2014 codex-rs/core-plugins/src/command_migration/render.rs, codex-rs/external-agent-migration/src/rewrite.rs. 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":"codex-rs/core-plugins/src/command_migration/render.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8571f49d60cf8d6791c3f44fb364e8c8d6b4ceddd812cb59f34edbd5e0c7c8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status == StatusCode::TOO_MANY_REQUESTS || status.is_server_error()\u0060 appears character-identically in 2 files \u2014 codex-rs/agent-identity/src/lib.rs, codex-rs/app-server-transport/src/transport/remote_control/server_api.rs. 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":"codex-rs/agent-identity/src/lib.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"034004c27a89f41790e1752d22e203ce994c60423a496943bbe03a85123c75dc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060std::io::stdin().is_terminal() \u0026\u0026 std::io::stderr().is_terminal()\u0060 appears character-identically in 4 files \u2014 codex-rs/cli/src/daemon_install.rs, codex-rs/cli/src/main.rs, codex-rs/cli/src/state_db_recovery.rs, codex-rs/tui/src/session_archive_commands.rs. 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":"codex-rs/cli/src/daemon_install.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f903d226602d27ed099280b592601fb3b930d84f7d388b04eaa4b9a18ecb7007"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stdout_level == StdoutColorLevel::Ansi16 \u0026\u0026 terminal_name == TerminalName::WindowsTerminal \u0026\u0026 !has_force_color_override\u0060 appears character-identically in 2 files \u2014 codex-rs/tui/src/diff_render.rs, codex-rs/tui/src/terminal_palette.rs. 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":"codex-rs/tui/src/diff_render.rs"},"region":{"startLine":1166}}}],"partialFingerprints":{"codehealthFindingId/v1":"927ac0cb5efc9edca94a223e4b7a48a47f46ee5f75e04fd013435eaa903a1ec4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060text_bytes.get(name_end) \u0026\u0026 is_mention_name_char(*next_byte)\u0060 appears character-identically in 3 files \u2014 codex-rs/skills/src/mentions.rs, codex-rs/tui/src/chatwidget/skills.rs, codex-rs/tui/src/mention_codec.rs. 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":"codex-rs/skills/src/mentions.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63a5da8aed06ccd4166b6151dd3be997e33e493336c8b283646d22e4191a6eb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060text_bytes.get(path_start) \u0026\u0026 next_byte.is_ascii_whitespace()\u0060 appears character-identically in 2 files \u2014 codex-rs/skills/src/mentions.rs, codex-rs/tui/src/mention_codec.rs. 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":"codex-rs/skills/src/mentions.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"726f28f869b5276f98b410d61210c2d8b6677c03242de891299bb5c9b655d68c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tui.is_owned_screen() \u0026\u0026 self.overlay.is_none()\u0060 appears character-identically in 2 files \u2014 codex-rs/tui/src/app/clipboard.rs, codex-rs/tui/src/app_backtrack.rs. 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":"codex-rs/tui/src/app/clipboard.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04b5a95fb0f4be5b469c5b5b746d0e896f98a0e2ad3ceb73e0fe0d0a20fd5c2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060turn_context.config.features.enabled(Feature::TokenBudget) \u0026\u0026 step_context .settings .model_info .resolved_context_window() .is_some()\u0060 appears character-identically in 2 files \u2014 codex-rs/core/src/session/mod.rs, codex-rs/core/src/session/world_state.rs. 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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":5206}}}],"partialFingerprints":{"codehealthFindingId/v1":"1041ea6ea6a6b51f902797a0ac089eb75f3b935ff0639a67fc6108ddb4330f68"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.starts_with(\u0022https://github.com/\u0022) \u0026\u0026 !url.ends_with(\u0022.git\u0022)\u0060 appears character-identically in 2 files \u2014 codex-rs/core-plugins/src/marketplace.rs, codex-rs/core-plugins/src/marketplace_add/source.rs. 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":"codex-rs/core-plugins/src/marketplace.rs"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"89bcbd64cffccffdd40e9bc8585ee67e62673901f65d8b2c4f9fcd53635f2aa3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060user_message.text.is_empty() \u0026\u0026 user_message.local_images.is_empty() \u0026\u0026 user_message.remote_image_urls.is_empty()\u0060 appears character-identically in 2 files \u2014 codex-rs/tui/src/chatwidget/input_flow.rs, codex-rs/tui/src/chatwidget/input_submission.rs. 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":"codex-rs/tui/src/chatwidget/input_flow.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68756fdf5a5aed6ec933161c2ed44da179ebbbe596dc1bd1c8b1260eb220670"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060width != catalog::SPRITESHEET_WIDTH || height != catalog::SPRITESHEET_HEIGHT\u0060 appears character-identically in 2 files \u2014 codex-rs/tui/src/pets/asset_pack.rs, codex-rs/tui/src/pets/model.rs. 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":"codex-rs/tui/src/pets/asset_pack.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"badb6d6953143522afa7062977aa0ca3d2e224bb0ab87ee7f6c8387a93052425"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 69 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":"codex-rs/tui/src/app_event_sender.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4056453029d805d5e3a349005c248dd5c3a7e59b0fbbceb4b9c804c193ed30"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1635 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":"codex-rs/tui/src/app_server_session.rs"},"region":{"startLine":1635}}}],"partialFingerprints":{"codehealthFindingId/v1":"243be75a26e4d0ca87a5ed382ec272b4a172e22bf81f154edb2c87d51a9e1eab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1646 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":"codex-rs/tui/src/app_server_session.rs"},"region":{"startLine":1646}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea99690d1002d12db9d1f5de53d925bdcf2500969553aa9961a674fa0bf8cf22"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1911 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":"codex-rs/tui/src/chatwidget.rs"},"region":{"startLine":1911}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c77578eb4556ab14c29de5ad5e370a2e4f3682a36589fdf31f00bbdb1e0aee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 305 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: \u0060debug!(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":"codex-rs/tui/src/clipboard_copy.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"731ca0b7cef998061852948e48efde0bf4ff2b6cb6f06029a27ab963c04fae0c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 310 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: \u0060debug!(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":"codex-rs/tui/src/clipboard_copy.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d27af9611852a5356b4b7764afa6e1358a18c26b2772b4a3257726a3ba1e6c4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 88 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: \u0060debug!(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":"codex-rs/tui/src/clipboard_paste.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8900fbbfb7b661fca07da2d28ec052288f16a920af2c27cc78296cd48eaf2a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 111 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: \u0060debug!(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":"codex-rs/tui/src/clipboard_paste.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"d820c4de6686be75fd0c85907c30c92c6ee521cffa564a306de5ca9f6036429a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 180 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: \u0060debug!(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":"codex-rs/tui/src/clipboard_paste.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c95763c9101b5ad04d4e10aba278456542cc75d04ecb08b7b06deb47d15d37f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 222 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: \u0060debug!(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":"codex-rs/tui/src/clipboard_paste.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7cc8d34a7b7aafec1f7c5f25214cbb257d001658481267536152112afeb350e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\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: \u0060debug!(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":"codex-rs/tui/src/clipboard_paste.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3c7fda806e72547f4eac2b5ee5b02e8b7e7ef9c58f3df90ea5bd956a2cb28d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 230 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: \u0060debug!(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":"codex-rs/tui/src/clipboard_paste.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b38a30ef34cb15d507e0479f3d0416cd9f86be6d19219b9cf1077d5accdd95e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 196 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":"codex-rs/tui/src/custom_terminal.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6af602e56877925498684a5cb4d370c43224b2cf0ae60017b75d9fa01bc4590"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 95 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":"codex-rs/tui/src/file_search.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7d3fbc6d4fb2dd32907bda490bbd7c5f5defe8342a3d068c4a2ff1cdf51e68"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1288 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":"codex-rs/tui/src/lib.rs"},"region":{"startLine":1288}}}],"partialFingerprints":{"codehealthFindingId/v1":"f419d01e577cf5e97a6d28c516feb2ebb84e86c98fce4ad2ba602fe7dee4fd9d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1622 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":"codex-rs/tui/src/lib.rs"},"region":{"startLine":1622}}}],"partialFingerprints":{"codehealthFindingId/v1":"16073f2279c70258ebdd60fd1576bae164ce81b363cede5b98afbfe785d98d44"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/tui/src/session_log.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fbe6f4a21f68573c7f17d3b0cf231bcbb4fbe575550bb4a62b0b79f804f22f3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 63 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":"codex-rs/tui/src/session_log.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"209979f62bf057dc84014f9244ca079e8f3a357525872354bc621741b80a1b74"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 67 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":"codex-rs/tui/src/session_log.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"83200db5dbe8ce2f16075d9704fb7ad06ffb125b55821ab612ba9330aeb77bdc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 70 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":"codex-rs/tui/src/session_log.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05b93f475442ed53d344798cb29fdc57e0a8713fcbc84c06f51a5f64dfc8254"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\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: \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":"codex-rs/tui/src/session_log.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8db0cb2b567fbd4ce6876a3d4e0f408d455427c94cadde953da86a686654a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/tui/src/session_start.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"0559187af030b1370362096d7e63daca1d9bb87d1d635e4b63b8690400ea8731"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/tui/src/startup_hooks_review.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e419b563237b3a202e7a889b17ee5cc99dedf563d4bcc9403025cf12fc6fae5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1000 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":"codex-rs/tui/src/startup_orchestration.rs"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe4ef07f4994cb224d72e7098db5e01d8d237458d6ad41e9ea4900bd26a9d52"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 472 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":"codex-rs/tui/src/tui.rs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"b48c294b7e296b60e6d414c64ae5595eec4914e178278c66e5b91ebcd766dd52"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 489 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":"codex-rs/tui/src/tui.rs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe4d7dca666ea7ace1de12850ad4403f890d73d2ae27c88d97143817597f133"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 496 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":"codex-rs/tui/src/tui.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"d970edae4cdd5ad9309148ab1f56a0afcd2baa86ad4464507386e3a4ecb7c503"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 542 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":"codex-rs/tui/src/tui.rs"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3e60cb7e19b676105a38257875a331602d5d46e629161eedb0d4755c8e6f1f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/tui/src/tui.rs"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"452c28adcf4401adea6d6a6dc9139ed24ccf53101be1bbe7d0b45d3e3c431b0d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 641 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":"codex-rs/tui/src/tui.rs"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2191a40077b2147269d70b4ed790da286d7f202c95c4a856bef0afcede7b68f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1055 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":"codex-rs/tui/src/tui.rs"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d512109733410db31c4d19f6546b10acd10d8677d1895b1f7ce51e18fd59c5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1058 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":"codex-rs/tui/src/tui.rs"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2f6d125f943ffa8fde9d2985c526f91c3b7b19a9d5666300222e23aefd2fe2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1073 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":"codex-rs/tui/src/tui.rs"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c496b6ca96ac5661cca5fdeba9fb92e2f2b1ffdfe99eae79b07183b6230584"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1076 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":"codex-rs/tui/src/tui.rs"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"94886c8f334e2f4fce265794b3279df30043fe96af61cc69400913d531c1a925"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 123 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":"codex-rs/tui/src/unarchive_prompt.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"07dc72be2eff2fc963ee885c0ded12f35856d0fa1347450dc93193b9133914ba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 97 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":"codex-rs/tui/src/update_prompt.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"68bbb6698e67305e7d8a94f4c6819bc16b48258dc3c3223d4b91b60c642e9b53"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 47 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":"codex-rs/tui/src/updates.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec3a51862323260b096c1acd1582159c9616224d25d0c1509d7d4d05d662db3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 238 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: \u0060debug!(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":"codex-rs/tui/src/render/highlight.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"7777ed67d80ee90d69a9004a851f1afe654ad59a62f754371bf9124a37989816"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1327 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":"codex-rs/tui/src/onboarding/auth.rs"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03e5abcbf489c0b54956f0251903029ca3212988875153de35a732372944c85"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 980 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":"codex-rs/tui/src/onboarding/onboarding_screen.rs"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b90f5665e10478c33a882c03286246cda6433f3167f63d0fa2580c6004d65a3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 169 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":"codex-rs/tui/src/history_cell/mcp_result.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30340d417e14afab4a54c10a55e79abaf74d8ca123e947b62b868cd0dbddccc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 176 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":"codex-rs/tui/src/history_cell/mcp_result.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bba873aea382b3f18566bf707b7a79582abc6d2d1b5fca720735763f03cc95c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 184 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":"codex-rs/tui/src/history_cell/mcp_result.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b625ce09e5ad20215e8fe11fa51482392739fdbac090291b5339eedeeb9850"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 98 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":"codex-rs/tui/src/external_agent_config_migration/mod.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be3b47c3bd5435627a8f547a1652a176f7a8920782cfc8ae0b2752e3253c55d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 57 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":"codex-rs/tui/src/external_agent_config_migration/source.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e326da035b00c200fb9803cfb16c638630bf7ab09d162493a0099ee20362440"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 74 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: \u0060debug!(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":"codex-rs/tui/src/chatwidget/clipboard.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"0813566579d1941b8816c0436fe4de5372cdc57826ecb69ecce5685080ee4816"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 55 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":"codex-rs/tui/src/chatwidget/connector_mentions.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9339e2274835467ee97bd24c74220ef669547d25f2f42c1114f45822b56f894d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 460 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":"codex-rs/tui/src/chatwidget/connectors.rs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"30342b393b1f790ea22b9d4c36668cbab3d844c8f5e70e121ed7e8394981a373"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 462 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":"codex-rs/tui/src/chatwidget/connectors.rs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ddc1389efad48a38cd191b546ac1fa3bc0032f3d0294df053769563267dd73f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 385 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":"codex-rs/tui/src/chatwidget/interaction.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"d200645e00f32b83a5743385c91298540855fdf87e30a710736b1c26fc5a618e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 168 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: \u0060debug!(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":"codex-rs/tui/src/chatwidget/protocol_requests.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"127503a2a716519c27159653b8dd948e3a0cc0b4b0a31aa6c5f3710da719ab8e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\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: \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":"codex-rs/tui/src/chatwidget/status_controls.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"759950af9bfd21a5f9087fbda5f611928ae1cdf84a4a9bd7bfaddf5c112b9ec2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 172 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":"codex-rs/tui/src/chatwidget/status_controls.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d128a92c520b8dfd3804bc4b33292b397f17f84841a34017514fabca5d65839"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1299 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":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":1299}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae6c388b5d75b65d3204e4e4db613930f0cfdf76db637203202dc9824d35655"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1300 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: \u0060debug!(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":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":1300}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2b855411aac0113ab3ec74fc6715412bc2ca2dcc5b8ba45ea4d944e0cb89cb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1302 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: \u0060debug!(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":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":1302}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6aca262f41df4dbe96b5b37c257353f5f94d12b07b5d0cb090ae8feb851c01"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 1307 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: \u0060trace!(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":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":1307}}}],"partialFingerprints":{"codehealthFindingId/v1":"8659b876de51660912ce5038d2d314a58cbbf099a13e9a5d095308eb25ea36f7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 2598 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: \u0060debug!(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":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":2598}}}],"partialFingerprints":{"codehealthFindingId/v1":"626d3562b775520a0225907ef46378a27ba0392539aea76648b25ccf69e94c05"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 2606 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: \u0060trace!(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":"codex-rs/tui/src/bottom_pane/chat_composer.rs"},"region":{"startLine":2606}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9fc51c601a2f5d037236e9e56722436a079854f246c6977ab26f2c9c2e0a465"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 49 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: \u0060debug!(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":"codex-rs/tui/src/app/agent_message_consolidation.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"be38b8b0a2c1edb126cadcc3f2eac852e1b4017323066b4018d7d2e4b4986b51"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 66 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: \u0060debug!(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":"codex-rs/tui/src/app/agent_message_consolidation.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"f657b5dc9f9a2b1b5b0eed8bf8489730af6c0c4c9c56fe8e62def44ea656d6b9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 95 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: \u0060debug!(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":"codex-rs/tui/src/app/agent_message_consolidation.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"3575636c7a5fadef22849261eb4e74ece7ffdc6b4ca059163f7db6edb86ab214"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 63 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":"codex-rs/tui/src/app/app_server_events.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b750e10b10aeffced053ecdec1f6797bd05690c4556e35bc7a47f69e0e1cbd2a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 182 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":"codex-rs/tui/src/app/app_server_events.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"21cb2d93b3547a8cfdcb6a35455a01806b770ea79e68ddc7337434560f3cbd67"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 559 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":"codex-rs/tui/src/app/app_server_events.rs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"471405e3078330ec0cac95dde165278633ca54899f5ab2b8c70d5a4f8565eed3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 899 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":"codex-rs/tui/src/app/app_server_events.rs"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1194037c3351a7fef042b033e35cfef82d246cf9336df2dbaa250f47472a192"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 396 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":"codex-rs/tui/src/app/backend_selection.rs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"26eaeba811040cab7db3cca870eb397280b24d4250bf9fd9c8516ac76c10f50d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 733 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":"codex-rs/tui/src/app/background_requests.rs"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda51ceede5d3cc05a99ab4756ade49e1ec54e7d1d739a5a858ea17ab6ef97d6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 738 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":"codex-rs/tui/src/app/background_requests.rs"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f38b02afe37a3a53544e13b49ccd5c2c7edd7f5e45616d4f15ff7f660f0a938"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 49 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":"codex-rs/tui/src/app/clipboard.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c26df28b87a5df34c1789406c081d4e4a9af50cea138a7eb2912acb4e59f14"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 678 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":"codex-rs/tui/src/app/config_persistence.rs"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"32afbc2859011f047e04511c18f831ece6dc4d6d85583b8af842fa91021054bc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 697 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":"codex-rs/tui/src/app/config_persistence.rs"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5d9a7e6844cd556a458be64b67b10d56166c61c398afb115dd9717ccde39f6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 715 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":"codex-rs/tui/src/app/config_persistence.rs"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"9554f9b6a19bc15a890c8697bec4d77be9bbb80e2a28574a6605dcad0cb69b5b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1293 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":"codex-rs/tui/src/app/event_dispatch.rs"},"region":{"startLine":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"0143e0e9fb265b2e8c7ebfd47481fe81ad6afecc278042ba774d3fe8508b0baf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1526 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":"codex-rs/tui/src/app/event_dispatch.rs"},"region":{"startLine":1526}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca77c50695b6de6211c9c7e399bc59fa4a7d4d7d124e3452b54e4d293b9aaaa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2221 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":"codex-rs/tui/src/app/event_dispatch.rs"},"region":{"startLine":2221}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d163e87488a09d8e2edcec6b4e99ac4f199de5f92069570e79d760584871d40"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2338 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":"codex-rs/tui/src/app/event_dispatch.rs"},"region":{"startLine":2338}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a2f00d557100406bafb02c02e5e83b9e884a233d649659c4159ae6f146a73a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 67 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":"codex-rs/tui/src/app/feedback_upload.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"520f9b93a980bbcc19919738c60135e0f43301a5a7c331a710d6a8cecef481b4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 94 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":"codex-rs/tui/src/app/feedback_upload.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a4b42ce2b64326e523158435c506f4c088b0a1ec0d96c03ec22a04c1d69ad2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 72 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":"codex-rs/tui/src/app/model_defaults.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"335e841e179e1638015873d7916850f57806e4c1f6fbff72af98894b739a293e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1094 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":"codex-rs/tui/src/app/session_lifecycle.rs"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e78586f48ce02b6234e85e3f1697a13176947316957ad7372a40ed0ddfa23e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 515 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":"codex-rs/tui/src/app/side.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"c290c9cc1233f0aee069d7ab00ba85d1a59e87241d40cab80bf1f9e690242081"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 522 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":"codex-rs/tui/src/app/side.rs"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2007998349a83cb2fee4f793d28d7043a46f1345f29aa1528b968af8e0fad4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 641 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":"codex-rs/tui/src/app/side.rs"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac59698a69bf5b6f3918e66859f5fc73cfdb41c8e683557bb6b7648c324c71e4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1009 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":"codex-rs/tui/src/app/side.rs"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"e154a5ba15493eb7ddb55c41b74d62508cd6c53b09a053f771394f57b2914988"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 285 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":"codex-rs/tui/src/app/startup.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3799405321fb95dfda238e6103a6a9fbd4d0e97d0a7ad267e1951040c165c0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 71 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":"codex-rs/tui/src/app/thread_goal_actions.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec30aa31b0ce7ea0fd4ed8997bd43454be0c5e9bf59207c38b460612b85a893"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 348 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":"codex-rs/tui/src/app/thread_goal_actions.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b36aa199499c032dd46268a1f76e395c07bb68e46395b6af754d6885cb49f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1040 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":"codex-rs/tui/src/app/thread_routing.rs"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f2e7b4ed55218a6786b64668c8285d171effb122e21e6de4983dd4ad8efed4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1360 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":"codex-rs/tui/src/app/thread_routing.rs"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"66cf90c7b2182e83d83e532780180244b1d2ae64b2e43df4eea9dbac32fd827c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1365 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":"codex-rs/tui/src/app/thread_routing.rs"},"region":{"startLine":1365}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a57d95ae4dffded731cda56f39a8d10b8ac631cb4750590bdd9ba36a62df9c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1499 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":"codex-rs/tui/src/app/thread_routing.rs"},"region":{"startLine":1499}}}],"partialFingerprints":{"codehealthFindingId/v1":"c565db42248ae3619e3bd1d1ffb517b50ae20b28b3c8e935fb912d2e219c2abc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1504 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":"codex-rs/tui/src/app/thread_routing.rs"},"region":{"startLine":1504}}}],"partialFingerprints":{"codehealthFindingId/v1":"33aa8074b5ff56c364f3c4130dc8dcc3e44621f14a0d2ca5bba2cca77420aeb3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1547 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":"codex-rs/tui/src/app/thread_routing.rs"},"region":{"startLine":1547}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ad822c801286edef3cece85fa052e9393750bf92b862b649fb56c7db158398"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1552 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":"codex-rs/tui/src/app/thread_routing.rs"},"region":{"startLine":1552}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c77e1cb2580a044d38ba0d5fb3a7b669db2dc2e46e3d0d411a9a6580d5a245b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 267 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":"codex-rs/tui/src/app/thread_settings.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8a28bbaa6006df237ae567d382ff9ed00c1253a16395743aa448525983d7ff"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 151 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":"codex-rs/tui/src/app/voice_owner.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e78ff01bd19b2955b8a3a9692048fb04f0c504494f6b69017354b6455e649e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 548 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":"codex-rs/tui/src/app/working_directory.rs"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac29e3d845821c5d2ce9966429c079d15464e7a39da70328e7098c7b79decb78"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 128 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":"codex-rs/thread-store/src/live_thread.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"4691c4d8d19a50f1b6a4903bd10e61b5464a1eeed95ddfd77edd6397ae4ab7e7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 671 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":"codex-rs/thread-store/src/store.rs"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"332e1b4a720e0e13ed15da67046cd28fc9afce3b752860d1fcf4ac774458841f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 712 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":"codex-rs/thread-store/src/store.rs"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"db19908520abc86640ca0fee041cb766a50ba0f11bb9609b127241e84ebb77e4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/thread-store/src/local/archive_thread.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d32c0ed22a1906c6a8bfaa23bdd9b6a65b3df7f422f43ae5c76d66a79f16204"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 202 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":"codex-rs/thread-store/src/local/helpers.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ae39c02fa4f99a5d7c6079904ea70a3cf3d5ab1da6e3762692bb7d16e2c0fc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 235 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":"codex-rs/thread-store/src/local/live_writer.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a75b3a100019e0128904a882efb3158aa471b5b6d0524c24e33bd6ba9d67295"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/thread-store/src/local/live_writer.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"7394a19ac21346f06bcfd5701f33cf0ea4b15d63732e4f61a328f6a3876cfd47"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 372 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":"codex-rs/thread-store/src/local/live_writer.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"118b4f156a623e8f76fcbd45c1742dc793e6af67dcd6e74113090ca7c3faca69"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 466 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":"codex-rs/thread-store/src/local/live_writer.rs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc847a448ff9839c835d6db30222e994bd371b7529c5d1229ef0f1383376306"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 49 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":"codex-rs/thread-store/src/local/unarchive_thread.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee375392c05ddbbf601f47efccfce0b7e8a865048182a9114dc67af18f2f383"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 80 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":"codex-rs/thread-store/src/local/unarchive_thread.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c017e72b2923c77cad932acfda16d59b82ebfdef15a85f8e6f363ac187c0f6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 171 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":"codex-rs/thread-store/src/local/update_thread_metadata.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"490ba827714355770308405d4bf17ad4de7810a6b3cb166439174e8a2d72b176"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 648 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":"codex-rs/thread-store/src/local/update_thread_metadata.rs"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb9bb0546f860a339ad6124423cd4b434633e0cacb4c508e440ccaee9b337e2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 101 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":"codex-rs/thread-manager-sample/src/main.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a987310702ad9ccc995bbb6db8a5db3ddb1138f4002a6872414c31a86c77a1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 243 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":"codex-rs/terminal-detection/src/lib.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf057976503d05bd169ee49d56cc2c61d4eccf34c060c7cd825fd3acd20239c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 159 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":"codex-rs/state/src/runtime.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"91df57b55db16e1e8b63939ae6187e677cd3cb2ff3d3b28149775d6fc97947cd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 187 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":"codex-rs/state/src/runtime.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"465914fa41469058e4154a77effc84ae9d12c9f3ba586d85c503560eab2e95dc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 198 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":"codex-rs/state/src/runtime.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cab80617ef600074473a6cc18f48591ce8979085921f72a6dfbdc0967679990"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 217 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":"codex-rs/state/src/runtime.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6599ef31c1d851e1fb116844b938dac4b60fa199f060355d21254b93a417f2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 39 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":"codex-rs/state/src/runtime/logs_maintenance.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c2b52b039bb994d06ab9ee9b9a89fd3b4e761ffa492cc093b1bece550ef359"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 51 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":"codex-rs/state/src/runtime/logs_maintenance.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e3a8411f34134d7ec083f943415d84410fe0febf2633bbeea317c60766bc3f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/state/src/runtime/logs_maintenance.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b48d6c59656ae83e5f233e47eaef7076909d3d9fab2300c0ca256231616e5d92"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 90 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":"codex-rs/skills/src/interface.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b31a96b63e2495a2cf09bc941c74e237d8fc0e05fc25f8d67c4b9feb56a77fb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 106 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":"codex-rs/skills/src/interface.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"29edef5bf89f95326857fea55715e9ce7cfabb90c493b27934ad79846ab6cbd0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 116 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":"codex-rs/skills/src/interface.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ea8a99087b85169ac0a239e3dcb3a2a3ff6b186c3e7f0c60f93df54e4f0ffc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 131 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":"codex-rs/skills/src/interface.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b15cdde2a1341e5c381dc0e0f42658df65d3c25c2ed28518a86df1c47e0e97"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 138 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":"codex-rs/skills/src/interface.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"e096e17ca519fb480247ab961a34c889f27d80497b972adb2c7e20868ca22fcb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 144 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":"codex-rs/skills/src/interface.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bfe50375751662c95130dee41531fc7b84181eb64264f8b73ce36f260124795"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 170 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":"codex-rs/skills/src/interface.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"66cb5c6dcedd44009eab3d4093016a231a34924d34f82717e5e89f745e74350c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 174 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":"codex-rs/skills/src/interface.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"92647c915c04321eaa727df10f97a1a6d0a15f2935d2ed8204bcda471b81b952"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 184 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":"codex-rs/skills/src/interface.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"131f1a1ad73c545ce365874c162c46862084aadcf6c83e03ffc0ae23f708c829"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 194 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":"codex-rs/skills/src/interface.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59cf48e785b209986fcae29f506cf6f91d4b80eed1f847f6d87525c822647a9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 144 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":"codex-rs/skills/src/metadata.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d66ed6957cd34b052d630279f1ddf5589ac991c084ea6568d587dd7edb5baca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 148 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":"codex-rs/skills/src/metadata.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79ad7676e397d6f1eb4a70abe228f228d0ab7437ebfe2ed5e26c3f89e7d7bce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 160 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":"codex-rs/skills/src/metadata.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa64c1169995d52c3d86ac5d5e2c8975353a6bcd84507da69c95c21076a26d1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 193 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":"codex-rs/secrets/src/local.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"acbb93eb58c9ce1581b502c83514bbb2b3b466b2095d3f6c3da6f27111be5c4b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 139 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":"codex-rs/sandboxing/src/seatbelt.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed0ab13763fc1f2cbaccb2d283509fe021be480dc592c71c2593c913c5a5ba0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 210 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":"codex-rs/sandboxing/src/violation.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc4e0cd822ff5cc26155cb9de80e37a8a0455825fc881446b6f55c105cc5540"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 218 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":"codex-rs/sandboxing/src/violation.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1bbc02a4e01b1015f07ec90601c5a764606c32485a2fd2fb29febc9e5d4c83a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/rollout-trace/src/code_cell.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec7ea93e815f4dee1f47e20d139b8fe09b81090099e6d7df0d153b162b4d475"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/rollout-trace/src/code_cell.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"539a7e5381bfc9311921337e51531aa8226a97caef47493db1daea28ac8e9c38"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 571 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: \u0060debug!(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":"codex-rs/rollout-trace/src/thread.rs"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6762a2d0240237dc11c71e8a49ffb5844e3e298168cf25d80b27d830c3a55bf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 581 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":"codex-rs/rollout-trace/src/thread.rs"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"852f155b1b33fca1d84d534c5a59cbc083f28eca8738477f92f140a1d9eb9871"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 595 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":"codex-rs/rollout-trace/src/thread.rs"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f221d7d4ced54ac024aafb867e7a8cee5368b576c5c1dace91b41a5c28f637"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\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: \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":"codex-rs/rollout-trace/src/writer.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a44ee6089589d787760a8ee669a19d3580567e90db844e30747606e430af4c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/rollout/src/compression.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86c11a4253dc6f5c1a9a230c593feb57415fcbff653980387dc7563d2c443c7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 458 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":"codex-rs/rollout/src/compression.rs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4bc923a6adb94aad88f71a78c41e97a82bebf4ad9450a34b5aa13c57f5693e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 475 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: \u0060debug!(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":"codex-rs/rollout/src/compression.rs"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89f4f42fccdd0aab88bed068f47e62006d1b2bfb0069306e7d6178846762c17"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 485 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: \u0060debug!(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":"codex-rs/rollout/src/compression.rs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f758e6f41be186331a8d1d7edea83ccccfc8819a685766edc34018f9e08b0b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 535 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":"codex-rs/rollout/src/compression.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"8efb1ae6c105ac3cf935b2c0863d104fd3b8fbb31e9408f36b530d0f7148745c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 620 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":"codex-rs/rollout/src/compression.rs"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"49369a81ca6b39fb11ab1abb0f7748c74ee169a8903001b78b07cd5d4b441057"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 646 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":"codex-rs/rollout/src/compression.rs"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c985759b2bf53d6825f83021e24d97c0944a0b38dcb292ebb5d8b594b5d3941"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 843 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":"codex-rs/rollout/src/compression.rs"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"acdf5c5eedacbe72bab00ddf1486b04afb641e6d8a9ac6fbc3d29d6e8a103052"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 847 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":"codex-rs/rollout/src/compression.rs"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"25de26958111479a11c6ec80883086f37047ec997aa26b837a256abedb9892c3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1087 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":"codex-rs/rollout/src/compression.rs"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"656c21e591c104531f01459719f1546c6d424496a79cbed01b7051740e21437b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1101 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":"codex-rs/rollout/src/compression.rs"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d1111165e06f9483e2120a711c92466b166ee597e16d55f55965e656a2333e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1138 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":"codex-rs/rollout/src/compression.rs"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4b873cbd7ee00444cebcab4d58cfe8ce71b0702a7f9a8806b9e1082623c5b7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1310 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":"codex-rs/rollout/src/list.rs"},"region":{"startLine":1310}}}],"partialFingerprints":{"codehealthFindingId/v1":"926040be4a5aa5cb9e6efa5591e950151413286c19ac71ff116e418d7ac41b26"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1325 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: \u0060debug!(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":"codex-rs/rollout/src/list.rs"},"region":{"startLine":1325}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f71451855d79aa27af06be056d9e6fd92832b86240ee7f74e0c311cf1ca3e3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1333 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":"codex-rs/rollout/src/list.rs"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10af78802ee47dbd3724959ea6a8e03538a3cb8bc847e2ec15f65eb3a96288c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1349 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":"codex-rs/rollout/src/list.rs"},"region":{"startLine":1349}}}],"partialFingerprints":{"codehealthFindingId/v1":"1696ee52d5389a7c7ca09d882b42b3321f6a31ea39fd50aa0e657ab16ad561cc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1370 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":"codex-rs/rollout/src/list.rs"},"region":{"startLine":1370}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c220939bcf896ad952d1cb5dde0de41c2b0e56a193da6dd8f90b965f216cbc4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1414 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: \u0060debug!(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":"codex-rs/rollout/src/list.rs"},"region":{"startLine":1414}}}],"partialFingerprints":{"codehealthFindingId/v1":"bacd52a1b75404f323504e2107822cd4bdc7a01e769dda409917f543bce97c3b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 220 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":"codex-rs/rollout/src/metadata.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"58089f85fb89fa438c7dca8bd752a144879ab0739c8c5e9ea91f025e152dff3c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 233 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":"codex-rs/rollout/src/metadata.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"d427d6789a0c57f447ab4c70d16d2a1a30c5c68528954fd95fab7dfb9b15065d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 241 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":"codex-rs/rollout/src/metadata.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9f9941db004319adb9a2f05eace9f3c5045ba8ba91ee749a31d994cc64625c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 250 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":"codex-rs/rollout/src/metadata.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ece47ccfddce6e34de8703ed66210d34c556cddb993195334742564fe9f1d3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 262 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":"codex-rs/rollout/src/metadata.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8175e7465c54783d960a86d0010551f8d673c9dcea7f997205d6b686e07fdd3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 287 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":"codex-rs/rollout/src/metadata.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee22e63f2ee48787ac27a43eda92538ca6cec152f5725fe3a3f17184d61caaa0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 339 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":"codex-rs/rollout/src/metadata.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"7475d4e996856a81b068c547f3c878d5a32c8a387847791665ccac859c2f8e37"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 347 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":"codex-rs/rollout/src/metadata.rs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"238a35f9b2880f913e4c9f826f4f0f546944a030f797b02fb4306f52770f0b26"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 358 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":"codex-rs/rollout/src/metadata.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9632d977468a1477b334daa743abf7b40d49835e3912b85e6320469749eb820"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 371 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":"codex-rs/rollout/src/metadata.rs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65000763909fc0128976b9f3cf1b1a132b4b99812ff60e953305c8030f85bf5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/rollout/src/metadata.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40dd577a0d7271d2abe76fadc43d29dd816fa0d1d793b9ca523906999af3fe3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 390 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":"codex-rs/rollout/src/metadata.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f5218c1436d993d8c7e9889caab9f5c672bd207823b7cc7fe45e94de636149"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 456 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":"codex-rs/rollout/src/metadata.rs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa99d32ed58a59e46aa2de1f8516c6f4bdc377737f16632298a1631264fc8e7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 464 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":"codex-rs/rollout/src/metadata.rs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"db736222670a5371b6165c825bb2d6108d13a49638f39a1f39bb01327887ed9d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 478 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":"codex-rs/rollout/src/metadata.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99b3fe182a12aae443cfbeaeb599d5b249550e1d24d54816491182a5e56976d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1069 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":"codex-rs/rollout/src/recorder.rs"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"d050b10b6ddccdb23f485f196c4fcad036ae04ebb36fb0cf0e73553548d75941"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 1163 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: \u0060trace!(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":"codex-rs/rollout/src/recorder.rs"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48e02656d5b657a2433fda59d47c526f432873f8adcff8e23f653d648b9e826"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1178 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":"codex-rs/rollout/src/recorder.rs"},"region":{"startLine":1178}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c2849f656f6bcf7f9319aea0440a829a0aeec0e28839e5cd26638f79aeb36a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 1197 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: \u0060trace!(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":"codex-rs/rollout/src/recorder.rs"},"region":{"startLine":1197}}}],"partialFingerprints":{"codehealthFindingId/v1":"c317f59a2691cb4223a5e044ec53779390c63f4261b44d4535ec31221c086143"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1217 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: \u0060debug!(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":"codex-rs/rollout/src/recorder.rs"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd68dc19293f8e66f05b40201b0e0f27b65668cd57dc434f8aa27acecd223f2d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1237 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":"codex-rs/rollout/src/recorder.rs"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6ace1fed2e514e3f258723eabed613f78ef91de1557ff7356d5bcd7fd2cd71"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1259 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":"codex-rs/rollout/src/recorder.rs"},"region":{"startLine":1259}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6fac038bd08af0c06deb37f3f641217a28510bf5f541545dbf18098f9b20c62"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1264 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":"codex-rs/rollout/src/recorder.rs"},"region":{"startLine":1264}}}],"partialFingerprints":{"codehealthFindingId/v1":"3869a76a618e0f4636027f2fd629250fcbcfb4175bd6e6e832e5bba241e8437b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1418 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":"codex-rs/rollout/src/recorder.rs"},"region":{"startLine":1418}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4888cc0e2625220b1014e6c4a947e04fe35abd11070b9f854c2ffad93de0552"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1851 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":"codex-rs/rollout/src/recorder.rs"},"region":{"startLine":1851}}}],"partialFingerprints":{"codehealthFindingId/v1":"540a38b996aee611723dbff96e0a1868e6ff5ee8b895a5a36dcf4b7a03d4783c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1859 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":"codex-rs/rollout/src/recorder.rs"},"region":{"startLine":1859}}}],"partialFingerprints":{"codehealthFindingId/v1":"9319d4ef683482363aa72b4379ab0da7291782a9400ee4fbc79ee86a19c05e6e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1877 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":"codex-rs/rollout/src/recorder.rs"},"region":{"startLine":1877}}}],"partialFingerprints":{"codehealthFindingId/v1":"015eba852938dbe415107fe48e49bf5a6b78ed4bc47616f7e0252623c60ba37f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 185 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":"codex-rs/rollout/src/state_db.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eee5b249d95c51ab1ffdb027d4279ec22e90c259b8c68398fbb1e8fbfae5e56"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/rollout/src/state_db.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d54dc43ece61bb029289639ddd9fc226aed6990112926db70bb947efbad9d8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 252 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":"codex-rs/rollout/src/state_db.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"178ff0d7b7e89beab24fc9a680095cfea1b0fe16d55ee2992573775f66eba31d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 265 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":"codex-rs/rollout/src/state_db.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"502854286b3c696f72db7b297aa73ea362111fc70910428eb0e353a778e42b49"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 309 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":"codex-rs/rollout/src/state_db.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"2892c29926cd41f915bf633fdf6d74027b6b253cc5597eb0861f87d15b41fc4e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 344 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":"codex-rs/rollout/src/state_db.rs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"76635d352fb236b5b78eecfffaaa0ecce9cf7a8be6f4902608628ef88bfef1e3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 371 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":"codex-rs/rollout/src/state_db.rs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3d81fdff71efd24ff69b992ec1100f69bf3f3436a29a7f46b3125e2ac3aa81"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 429 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":"codex-rs/rollout/src/state_db.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5c90a84f5d1a6b9179ca43388606619ca76a91b899a24a4c725bc5db519c8c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 448 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":"codex-rs/rollout/src/state_db.rs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b05d05d6077161e7259f7f8c26193efd6d80485756c03807439549a3c9edb88"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 481 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":"codex-rs/rollout/src/state_db.rs"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5977fb16ff4c681aad253f37bceed99e4dd95a7b38b4e0d311da25f6f810130"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 499 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":"codex-rs/rollout/src/state_db.rs"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e78e7f42aa39d8a774d0f1ca0026f215a49b19309cd915cdcfb1ebc359c537"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 551 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":"codex-rs/rollout/src/state_db.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"949f030b716fa603bbc9739057edac03b8d8517bbe797162664f93069caf9662"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 597 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":"codex-rs/rollout/src/state_db.rs"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"27208d0c0d5537bd9737fc74e28db4726aa6743e71b45279801ba5aeb1685797"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 608 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":"codex-rs/rollout/src/state_db.rs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"57005b91d4b6bcac103d35a079cb246a02e4308f794cadb70813d747f8088d42"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 656 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":"codex-rs/rollout/src/state_db.rs"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"3731547f5895a32b02d919fb9f8481dbc84ce6dbea1f736598f4898c830406f3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 707 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":"codex-rs/rollout/src/state_db.rs"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"574d54bee8cc7636d6a8b1f6a52df4b315d36195e94339a8197a840e8fba6d2d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 711 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":"codex-rs/rollout/src/state_db.rs"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe1d861247ed8134cb2b423dec8e6bb38e343004675cfbbf2d5a4945e78bff9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 722 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":"codex-rs/rollout/src/state_db.rs"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"01836aae1e3ba52ab4b0f526107bbec7cb9e8d564e8b78273f296a9ac472683b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 744 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":"codex-rs/rollout/src/state_db.rs"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb670f3173dd2f66f6315650fd0c8716773bb02d4527b41357e6a253bde8b1c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 57 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":"codex-rs/rollout/src/writer_lock.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4379dbe19ff68299c9c79f01ed72d717d9c2a8856401d1753485f30808329f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 176 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":"codex-rs/rollout/src/writer_lock.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80134fdd8c63ad2249b3036295b93a0e45b59c12eab6467c65522ab99273246"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 189 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":"codex-rs/rollout/src/writer_lock.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf6a03db4a56029de4c6e5ba9e56b8f13547ad80c999ecbacde18e1d0028eec"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 197 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":"codex-rs/rollout/src/writer_lock.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e35d5a9a3a532f0f1f55d8b2575b346c4717015e1bc47374f5bedca0b6559d0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 213 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":"codex-rs/rollout/src/writer_lock.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"898ecd2aeb49270ac3d0b9ec97f2e7ba6ba1eea2230c49bb3e75a14cba412292"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 223 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":"codex-rs/rollout/src/writer_lock.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d20a7e863a366fd4a5cbfdd5c52fdb08dedba49ab1e8946fa3d062605fa00e8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 233 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":"codex-rs/rollout/src/writer_lock.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"a37b9ad53e7cb3e1a6e2e5936b24d3f1490ff87a430d1152e5875edc6e30b255"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 190 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: \u0060debug!(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":"codex-rs/rmcp-client/src/auth_status.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c33a9e23c9672ac4a7adc931c6def94a579c4d215ac4f7e1a950849564342f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 63 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":"codex-rs/rmcp-client/src/bounded_stdio_transport.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"084fef5b42f709616a7afd551badaeb03ff6463973e2970989cab3901ad17ee9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/rmcp-client/src/bounded_stdio_transport.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eaf6540edcc49c6e2637f1a122f7476f784b9e82f63d40bcb3782fcb53165d7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 107 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: \u0060debug!(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":"codex-rs/rmcp-client/src/bounded_stdio_transport.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"5149455649e616146ba81aff5394c7a603bf19b5a4f0a6c78ae4b5ce13ca3b74"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 308 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":"codex-rs/rmcp-client/src/executor_process_transport.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a89fb8af83348ab5d84a005d827ab69d1f5da627d76b5ef85043e24540d40ab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 315 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":"codex-rs/rmcp-client/src/executor_process_transport.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c479ec2041c07e2beeaae9083b9772f70ae116579fbe0fd9c6e77cdd6b76d6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 320 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":"codex-rs/rmcp-client/src/executor_process_transport.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a36086343077d635fc14c99c7ffc470b2586ef08de86ff88db09abca595a2e4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 377 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":"codex-rs/rmcp-client/src/executor_process_transport.rs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c6ddba6fba9e31efd5dd2992758e6f9238ce8b1b057c2d51f959622425731be"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 431 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":"codex-rs/rmcp-client/src/executor_process_transport.rs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"9911fd5828445f503968b643184707689d4754b15f633df1fb35ce099d0d7e80"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 456 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: \u0060debug!(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":"codex-rs/rmcp-client/src/executor_process_transport.rs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc947984397608b0e835d8125cdf0c803150b478dc5ec7af17dbb275194f4b81"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 471 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":"codex-rs/rmcp-client/src/executor_process_transport.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"e438f35454a870fbd6e44b512589d4a9f250b2d8a28b43719f9906a04799d09f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 484 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":"codex-rs/rmcp-client/src/executor_process_transport.rs"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a18e27ed65254f95679a9f02a91db03fa96162e6b8b5f4aa4f3668b7901613"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 512 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":"codex-rs/rmcp-client/src/executor_process_transport.rs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"1429c66bd7f9c1feb8769c87dc2f8fe7ef061cb29ac8c6db7105dba56f564d25"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 521 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":"codex-rs/rmcp-client/src/executor_process_transport.rs"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"59dc2567e37d30d8c7b6459586b5922e5fb0a099bbb5be623cf2503bb745420b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 57 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":"codex-rs/rmcp-client/src/logging_client_handler.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b6ebc5305cdbfa6ba7d06b0d15ea96ca6fc8b31b8b49e3df5391a44bd60dae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\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: \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":"codex-rs/rmcp-client/src/logging_client_handler.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f088e1e9323dff93aa411962783e15cb8c7449dff8ccdedd2dbd287035c877"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 79 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":"codex-rs/rmcp-client/src/logging_client_handler.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bbb08dbe65bfac3e5fdff6735622a62f868ae04dbf210366324bbf428fffe3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 116 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":"codex-rs/rmcp-client/src/logging_client_handler.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7de347931d87f1f789ccb2f0e117197e5f42f314316385a7d1dbbaae8995655"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 122 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":"codex-rs/rmcp-client/src/logging_client_handler.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8b41034eb4bc734224e696de6173859f6a964de4785d6734f96829617c70a9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 128 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":"codex-rs/rmcp-client/src/logging_client_handler.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97bf42eb5f887000dddd2e4e141aba4ec747bf7f9e7a638176b707708a0e7d2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 134 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: \u0060debug!(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":"codex-rs/rmcp-client/src/logging_client_handler.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"f067ce55a0100499ddc9dfc80f141715c4e3c42a1c5a9f2abee09ab4874e3adf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 56 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: \u0060debug!(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":"codex-rs/rmcp-client/src/program_resolver.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"675859e3d7a3bbe143f7d8bc82d3ef3a28f09f0d16f4979c1bfbf360e52bf5b2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\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: \u0060debug!(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":"codex-rs/rmcp-client/src/program_resolver.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52f910a38f1dc7d5028ec6bc18f308d23cfd3ab09d4e5b8733237e6e9bf63e2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 731 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":"codex-rs/rmcp-client/src/rmcp_client.rs"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85f8e90b12f403366b9d403b14c33d4547693ab615d4dfa349ae666c9563827"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1344 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":"codex-rs/rmcp-client/src/rmcp_client.rs"},"region":{"startLine":1344}}}],"partialFingerprints":{"codehealthFindingId/v1":"493bdbdd7f665917b6d9ad4b190559a0255c41fa4795c35801e84042b9296101"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1379 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":"codex-rs/rmcp-client/src/rmcp_client.rs"},"region":{"startLine":1379}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3824b64abe27e93fb732123f89bac20386df4c396ea2d187a8a84d8d8f32cc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1485 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":"codex-rs/rmcp-client/src/rmcp_client.rs"},"region":{"startLine":1485}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0dfaee087f8c9f6e93f973ee8a95ed68349595350d935669c3b1c81f31d4e7b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1533 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":"codex-rs/rmcp-client/src/rmcp_client.rs"},"region":{"startLine":1533}}}],"partialFingerprints":{"codehealthFindingId/v1":"007e77a823738da338e602799f0231586af24fdef3e7f2df8fd9ec295a72790a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1727 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":"codex-rs/rmcp-client/src/rmcp_client.rs"},"region":{"startLine":1727}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7659ea6d2a28b351c5131028fca26f836338e12e7cbe654e8d9d09eac492d1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1994 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":"codex-rs/rmcp-client/src/rmcp_client.rs"},"region":{"startLine":1994}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c77ef1b6a56866e470318d0bfb4f8f4d5596165358695c000138d792882d86"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2070 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":"codex-rs/rmcp-client/src/rmcp_client.rs"},"region":{"startLine":2070}}}],"partialFingerprints":{"codehealthFindingId/v1":"264bf7a9f9a9b27e9daf319738f14830407750afdec8956d1feacb31ef4bf677"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 411 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":"codex-rs/rmcp-client/src/stdio_server_launcher.rs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe8af161d67d43ad109dd2396f31a180e0980a5ef418241c9d13f7e86888d34"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 494 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":"codex-rs/rmcp-client/src/stdio_server_launcher.rs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc9c69a98dac047c84992691535bd503bbc731ef987bf82df7b77db838e3128"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 519 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":"codex-rs/rmcp-client/src/stdio_server_launcher.rs"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62fefbc4988726e5aa446275b4d557763c130ed7e06a4a6c4673e1ec609df45"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 554 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":"codex-rs/rmcp-client/src/stdio_server_launcher.rs"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"9179e51388f5d44b066ee91ee0df6664237d34c5b91f2a191b33da7c5244e82c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 600 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":"codex-rs/rmcp-client/src/stdio_server_launcher.rs"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"5096300d64b8e79d9d5d19b29ae012f31a005d416dccd2940b035d975cf13bbe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 604 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":"codex-rs/rmcp-client/src/stdio_server_launcher.rs"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"62049ebae7d72e2a9969031b6d9d052e8708fc5bb3b2c98cc52cc8c662b30a83"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 689 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":"codex-rs/rmcp-client/src/stdio_server_launcher.rs"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b11d2032056e1f59efbf1786ae84d0851cc0bfd36176976b508514d47635b49"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 739 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":"codex-rs/rmcp-client/src/stdio_server_launcher.rs"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"2110ab7af08fe64aa9fc19bdf296dfa13c5695b586aa8c7c63a6bfb127e15618"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 836 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":"codex-rs/rmcp-client/src/stdio_server_launcher.rs"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40abbfbb71f67b3f483c334ab53c3686fd7f84c7d4200d2228d69d1da397854"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 845 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":"codex-rs/rmcp-client/src/stdio_server_launcher.rs"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9b6ed6902283d52a78ef2cbe4d41e64dd74d57b87bd89288ed714439359e94"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 115 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":"codex-rs/rmcp-client/src/utils.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e58f16037d0f8438149228e5960afbd23fc68b6bd4235f69828bbb5677ac1a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 122 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":"codex-rs/rmcp-client/src/utils.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c86f8adf8a8933db3c5fa3fca4c4112ee6f090a53289ec4641fe1b80d538921"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 140 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":"codex-rs/rmcp-client/src/utils.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d61f54ed4a961c88ca278f9ecb78219f6251912ce9f2d6478fea9e80c40298"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 148 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":"codex-rs/rmcp-client/src/utils.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8b4c14c07f3ddedf2113999495485401f920f7396410dce8d8670ad9187443"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 127 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":"codex-rs/rmcp-client/src/local_stdio_io/windows.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f023fec1dbc510c48847ffbd0413ca80dc7773a337da7cc6a6d91fef8903aca1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2612 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":"codex-rs/protocol/src/permissions.rs"},"region":{"startLine":2612}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce6776570b446f7ffeba3c897949437f52609754f9bc4161e31893dffb2262a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2624 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":"codex-rs/protocol/src/permissions.rs"},"region":{"startLine":2624}}}],"partialFingerprints":{"codehealthFindingId/v1":"97888c79f6535643a54f88a9b50974731f11630713e7c7251470fd9b67f5fda0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2631 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":"codex-rs/protocol/src/permissions.rs"},"region":{"startLine":2631}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d615af9983e458e1db706a354bef8070257df51567f636cf831787a2c16eb22"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2640 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":"codex-rs/protocol/src/permissions.rs"},"region":{"startLine":2640}}}],"partialFingerprints":{"codehealthFindingId/v1":"473d9a72a848a11814fd67d8a9a51729d265f81e9b68d51d4f3c662cf1e37977"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2649 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":"codex-rs/protocol/src/permissions.rs"},"region":{"startLine":2649}}}],"partialFingerprints":{"codehealthFindingId/v1":"032ac3735cd052070fe368452007bc16a10edebb1623575c42b9f7d468d50435"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2658 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":"codex-rs/protocol/src/permissions.rs"},"region":{"startLine":2658}}}],"partialFingerprints":{"codehealthFindingId/v1":"9036bcc93f3e597fb119087e87b03f7baee11f103e8b763aae90287b345d9891"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1468 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":"codex-rs/protocol/src/protocol.rs"},"region":{"startLine":1468}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78ff9b98973b4372fd9ee84bea3f63c722a7f3cb581d149a43298acd29ba080"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1484 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":"codex-rs/protocol/src/protocol.rs"},"region":{"startLine":1484}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3617fea597652cefffb935ee8145f01b195a664cdd3ed2607e06e4a77e77ad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1506 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":"codex-rs/protocol/src/protocol.rs"},"region":{"startLine":1506}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb1a620b7ca2b6979c69d67d538c30288a435df70193ebd1d72ce322d84f4cc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 88 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":"codex-rs/otel-trace-websocket/src/lib.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b57491044dba6fdb2c5208dc84a6d55d973f0005fa4f06b07f58eb019771298"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 89 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":"codex-rs/otel-trace-websocket/src/lib.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd02abb11d8d858b52e0afdf9fe65b8da6a31e40bd27e20f525f61d9dae7064"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 511 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: \u0060debug!(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":"codex-rs/otel/src/provider.rs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64eda01c97a547d0dff38cb5daf3add9071ec0d559e2d06d5896e350acf1298"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 542 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: \u0060debug!(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":"codex-rs/otel/src/provider.rs"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d452b6e683531dddb4646318ff9868f1824181c9287855106f424e6c9a618ca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 597 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: \u0060debug!(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":"codex-rs/otel/src/provider.rs"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"aafd81a51f5ff8f117ca6e623ab7052ff655be2634c6869b3a637e92eb8e4193"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 623 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: \u0060debug!(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":"codex-rs/otel/src/provider.rs"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ea1ac2c95633ba90e047a0fd8f5d0582d7952ec61531806e01a727c1b41cec"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 180 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":"codex-rs/otel/src/trace_context.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"858003925fa1b76e6ef4de042cc1eeeb105d03bee580bae3fcbf2613912862a1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 193 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":"codex-rs/otel/src/trace_context.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"e274431f34d53669bdad38b1cf7767c71033f39b9205c46529411acb3c3ef6c7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 678 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: \u0060debug!(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":"codex-rs/otel/src/metrics/client.rs"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"81169c6d20d53aea12be0e52ddf101d34fbe9ae053b842e82d9054a783208133"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 709 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: \u0060debug!(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":"codex-rs/otel/src/metrics/client.rs"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"890f43af4afd95698200ba1546672c9f97beb2998cdc5610b3dc2ec9ba3e3965"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 16 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":"codex-rs/otel/src/metrics/timer.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6808c50a2509b8136093563753179e73e6bd24fec742024e12069e38af3d824"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 229 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":"codex-rs/otel/src/events/session_telemetry.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"6626797b1fc87b1da33dfa9d190307287eba6b019483ae9744de5edd1b68ff6f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 244 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":"codex-rs/otel/src/events/session_telemetry.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf41840893f4a862f9dd056f552afa4a4e2da375f7bfe3b9a158fd636cbee33"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 267 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":"codex-rs/otel/src/events/session_telemetry.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0810a92e45464bac43edd6ca89d2a7275fdb10e4907eb455d7edf5e0cfda053"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 282 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":"codex-rs/otel/src/events/session_telemetry.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1dc4fbb8eb3c0559b59d8165069ab62200462304c5b08c3c0982d54bf88d8c1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 364 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":"codex-rs/otel/src/events/session_telemetry.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"029fe985fe834de8d75c69913645e68ce5a293215b3b1d4ac94f9b0715bdeb00"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 554 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: \u0060debug!(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":"codex-rs/otel/src/events/session_telemetry.rs"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"008de8730e26ccb1c56b64b00b1d3b87bd32a2a3acdfd245225154b6f9931496"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 122 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":"codex-rs/ollama/src/client.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"add92c08547c788459efe64cf6341bdc32e68bbc582a9887559dcb20c24af8fb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/ollama/src/client.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"e874fcc44c0db4dbbaef70d36ec7410a8acf2721613bf8625a4b77c95b5f5a45"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 39 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":"codex-rs/ollama/src/lib.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"17db426693734021a5ca59452785db53e62f172191479b9d60bce5fdbdde5089"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 197 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":"codex-rs/network-proxy/src/brokered_tunnel.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"6172161b4282a9323adf7170a4342b275365cfa0cdc4d34e2c9ea21c8d13daac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/network-proxy/src/certs.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69cbef3dd3c4c3c3cd80f698232d96d3d9f22b8d4b6a568dea2cadce6ae927d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 735 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":"codex-rs/network-proxy/src/certs.rs"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd34e17842f5836e8acb02381f262c6fa26af20b5fe5aee5fe46b79f6a8d844"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 770 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":"codex-rs/network-proxy/src/certs.rs"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"0991c3ba9e18529ce1f93035a252b79fb0044dc56b2dd63539c8d60af2e1c86f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 782 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":"codex-rs/network-proxy/src/certs.rs"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfcf98cfb0140518f0d903baea6e92bf5ab17141ee35040fa0d9bd894174a064"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 794 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":"codex-rs/network-proxy/src/certs.rs"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"abad94aa041cc91836d5ac5f26239d75d5110405ef5146f7c3a81fd756c96482"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 459 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":"codex-rs/network-proxy/src/config.rs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"03df0df34f8640b98bcc80c942f6fc29352d5c83fa6f9787b168b89d8feb5000"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/network-proxy/src/config.rs"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"7796082662467613769f4d5f35c99f430f11ac908b58f88cb86fa84e577e4a5e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 142 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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5326571a86f71d5668ff2d9a64fb85d139bc3ccbae612c99bc2efdf741bb5a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 210 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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26a75ab0c559907ab30dae0c0678c5086d615d521b22422bad4d9c2a7b24c3c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 227 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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"4923c7927cc5b721f63657b7b4b17e35085019ae0433e46d4c987e5bd9de80d2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 292 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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"253beac101a718e36451862cdeb049243194496f794c104f3aeec803db65456c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 297 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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03322ba9f6a20c5187a1cf6c1a86afe1a2c23d00e068f4b816477c5ee435c9f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 300 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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6c1bc9fe758fce313682376a2fc530358906d7dd75106c0f92ae2a045406a8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 313 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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f7ea9acfd6442b0f4ce7fbb22222f8de7afe5a7460d3ea1e3d265db6c6e94b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 320 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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"739c1aec6d262183686e2ec1b9d71be0de9dddc81fbaf9d0e29703d6879a6b53"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 374 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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"955299616e540804c2b9b42c992f30b59e4bfe1264c36cc547f491f9434ac018"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 440 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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"3acbe4209a6643106349054d33799bbd74fc22ec6d0f6d726d8aac7a0eafe4ab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 467 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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"912cc50b856426bb752147a9de8b533a1508b17134bc0b461b83bc58f15f2038"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 490 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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60240c3159e7121358331e0afcaa3317e6b1b24d14ac9e50d1a75d7f65ff6fd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 500 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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b51fc7dcddae1c42a5a4b55632bb816125378296fd6512595a5b9ce704fbbd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 504 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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"960b50b74c92bc6c69210769c642979da0d117c376c8018fd03e40714f2b98c2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 524 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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5b7d3dc1808f8bc74bec5d12047f0a6976594c98c509e84be6609a8cbdee91"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 528 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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eeb510ca68012049daefe2408b8e104e54e46ad371418be9f4eb81e9a9da52f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 535 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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb18a048ae8388c0c83b05917768ea4452eb9ab0b218bca1d72c74bdfd63a19"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 548 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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"904e03a9a078b29f2bbf33463a9d5d07aff9360d2bebe71a3be09c61535445f8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 554 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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"facca30f6f6225e684d8f2523fc7bb5fb3de1900530136dca1f10b21b003558c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 560 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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ffd9088835a4deb69daf223b82ff13078a67854d938aca6032c7c1b572d618"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 623 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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c0f40314139f17a0b4b6776cd69a99cb62c9ec766a6b2e6f76bb001fd4730b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 650 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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"4849179f4829f6be5497a8834f8e1894aab8be53e0750f4611a3984f504b1483"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 673 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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"8115d7ef5c5183db8c92426115f5fde4d14d6bb2d33ac86995043af1d8cf3105"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 695 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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"c785e5c415e20d18b318a10027734ac65fd65b79b70b295b5fedadff0076ce85"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 699 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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"132bf83a43bd0a3b3caa6f861610fcb88bdfc3ae7bd70a0fb1b3d2dfcd95a62e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 721 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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"501f38c30a582641a1a32d4e0acd96dd31cdd42b980f0ed5908aee91767fc9f3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 729 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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0026b1394a544465768b6a681eb960188b5f22de99e559e141b8c6cfd8a6e7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 738 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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e310e6c823af09133592178a40f566df19d46b35d16b22735dd29eb1a6c6005"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 752 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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3f8b2cd7c3cc21ba6b8326d6ce1d216cca291f8083853d698788a23c3d2c9d2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 768 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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1bf90caa06d8dcd3b2aa073e51aea63b49e3a218a424e5090cbe9f807134c1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 833 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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af00c2746f9fe897324341c7273b3e1a78c419c1b2b778c1867285d078377d0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 838 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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"9088fbfe464e661764630c68d498f971eeb8efe15b0e9b4d392eb964a497b351"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 884 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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"40adc8d1f4efde4a9c1380f6a4e453b0babd9e9666b16a3e430d02558a16a503"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 927 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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"700fd0b31b51b1286509b66e2d1f37cceed07e88954196b13d5af0ef4dd33bc3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 997 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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"705c45086bff4b379a5e3002034cb66b81abf3f4299f9f682e73eac1264e4bc8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1013 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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d84aff3232e330f918d4d11927749ccfee0f31bf2e85df1fc796e1d65278ce1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1049 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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"7efa960fc4faf59963fc264fb16f3427c87cb333bf699bc85b20813645f41fae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1268 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":"codex-rs/network-proxy/src/http_proxy.rs"},"region":{"startLine":1268}}}],"partialFingerprints":{"codehealthFindingId/v1":"84587d450d30d704c4b244c2da25e3feb543295193a578529bf98ce380f9ea46"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/network-proxy/src/mitm.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"580be479486a5c714455468c18bc2995db1c9326ca9243e4a79ad7665382f6d8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 304 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":"codex-rs/network-proxy/src/mitm.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"6080eb16c7daf35bf793f0db508520956ad45c6777f967d0292794d47dfc69ea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 474 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":"codex-rs/network-proxy/src/mitm.rs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d56d1615592b16b69fa6d0eb50e34ef0e2173ab0f9690e98b1c043d6f323f76"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 514 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":"codex-rs/network-proxy/src/mitm.rs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"84450a5428a65b88547d6ab0799b2caac1c517dc2b98c653a921d050a55c0b78"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 563 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":"codex-rs/network-proxy/src/mitm.rs"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"0096f6b9e7606a7001456ccf56f892e1453e589e53604a5aff917e9dad3cdb0b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 683 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":"codex-rs/network-proxy/src/mitm.rs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc0b714a17cc6ec751f34beff85676d5657d44fd851f8dac7bd54746cf97434"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 695 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":"codex-rs/network-proxy/src/mitm.rs"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da184554f18652549ceb350937d6dcc4796deb6c3f113972e843316e4ee643c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 401 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":"codex-rs/network-proxy/src/proxy.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"6834f86041f5da760f2fa58b496313fec8d5269844afdce0e1869c9cf7ab2c74"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 420 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":"codex-rs/network-proxy/src/proxy.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72ad5e214699f7907e1af4cd8b1c9c3556f9f1f4d22323683cdc67a9ec1e861"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 430 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":"codex-rs/network-proxy/src/proxy.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dff5a569700dfbca6ade417c8a313794cb32ed01c0525f92f37ec0e35715991"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1143 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":"codex-rs/network-proxy/src/proxy.rs"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ff57609418d060d073efd7ae59c7a78e3d0209bf48a466d4300b3e32f82c28"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1182 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":"codex-rs/network-proxy/src/proxy.rs"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"778240bd1b0bfb35a9dd287e42c5d4531fdf275eac4f156d0cfd010a1d703baf"}},{"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":"codex-rs/network-proxy/src/responses.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b967182a06b7cb73dbd387d2dd0f6214efc7602044747fd8aff64dc8e88b9a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 47 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":"codex-rs/network-proxy/src/responses.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"591b8a36a43d410142570bb7f28c34b1d4b989669754d9b3c78ad6cc6c09255f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 169 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: \u0060debug!(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":"codex-rs/network-proxy/src/runtime.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"06344f1f5ec853971b99575783bbad49388c3a1cd5bc978b7e24f316d9201c66"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 809 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":"codex-rs/network-proxy/src/runtime.rs"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc80d0ec016b421e8af96355401aacaaeaed4584aa69997aaadcab289fb20e8c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 814 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":"codex-rs/network-proxy/src/runtime.rs"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"010d6244cb6395f580b2eb82f15b63b6d2f184197e6114aee355b6142461eec6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 964 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: \u0060debug!(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":"codex-rs/network-proxy/src/runtime.rs"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e30d7ab3a79de0732c8e5eaa13b81249bda3012f5c4c7635433bbe50ec35ef"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 970 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: \u0060debug!(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":"codex-rs/network-proxy/src/runtime.rs"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e9cf25015dd6f88967bd01ae993220c7f0f5243c6ba0095cb88d196b2fbc48"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1029 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":"codex-rs/network-proxy/src/runtime.rs"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c88f4c7bee63c9799c36cb186169b98a314329dad83392c18bd723734d43adc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1123 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":"codex-rs/network-proxy/src/runtime.rs"},"region":{"startLine":1123}}}],"partialFingerprints":{"codehealthFindingId/v1":"65205e470f982b572f5e73afdb282383ae6061533992e4779edd39f018733fb8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1260 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":"codex-rs/network-proxy/src/runtime.rs"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"246e5db1ec578b89ff15ff7d8f4b270ea0bd19b90729a6696b6651f6da457a30"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1279 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":"codex-rs/network-proxy/src/runtime.rs"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"45396590ad9ebed59aef39b99428b4fde968325abf7cff4f2c992ea6bfce697e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1352 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: \u0060debug!(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":"codex-rs/network-proxy/src/runtime.rs"},"region":{"startLine":1352}}}],"partialFingerprints":{"codehealthFindingId/v1":"db10baca78b22b9ccb1d3e6fc2b65ad40e16f64e5ff749d966e1eebce6bfb37e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1358 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: \u0060debug!(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":"codex-rs/network-proxy/src/runtime.rs"},"region":{"startLine":1358}}}],"partialFingerprints":{"codehealthFindingId/v1":"09759e28700a5d996f06a4c9184df7a8b4bb671b18b6e35d4baca4fb986957ca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1410 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":"codex-rs/network-proxy/src/runtime.rs"},"region":{"startLine":1410}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3f2141002055768f24e1d8a37c9ec78712ed52219467223e83a9187ab72214"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1418 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":"codex-rs/network-proxy/src/runtime.rs"},"region":{"startLine":1418}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb3ad2fcc92ce5348fceb529ad88b71d389506ba656886071af04767c373168"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 129 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":"codex-rs/network-proxy/src/socks5.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"2079288183095f66c74b9fdbb1efd170be817f0e8489bbf3f925ab5e4ab80eb6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 139 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":"codex-rs/network-proxy/src/socks5.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebfd1775259642d2b48d5f2a14e4430f123fa395cff2fdfd115b3fd736938d3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 258 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":"codex-rs/network-proxy/src/socks5.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01d4377c5969fd489f1892372f93dc987f52ed30561b589ff6520281a70b8da"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 262 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":"codex-rs/network-proxy/src/socks5.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5479cb364dc934f3cb3a58e110d60bb3bee2378fb6f679d654d37dc7fc8375"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 270 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":"codex-rs/network-proxy/src/socks5.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcaf87081bc3514ae9fa7d9ab50d64389a4fd8e6585506a3be14092102aeb337"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 277 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":"codex-rs/network-proxy/src/socks5.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a8cefe0aa9c5bb4bbcd33870493b37f5f74223590322532b22ae96e2861219"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 316 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":"codex-rs/network-proxy/src/socks5.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f1f365154bdbd8047ba6dee20cfaad6a4cfc6e6b3d6e12e60a005a30bee64f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 368 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":"codex-rs/network-proxy/src/socks5.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1f5f6266fbfa7fa5f16c655ae04e1a5740a4016837037c2c860bdab3e0b5f3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 373 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":"codex-rs/network-proxy/src/socks5.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d009cf4207831972b2ccdf9425ca85bc118ecdb639bfd73f257436e05d3b03"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 376 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":"codex-rs/network-proxy/src/socks5.rs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7d9aef780220621451059b64567793557f7092f4e0b771effd4cdc0d67b83b"}},{"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":"codex-rs/network-proxy/src/socks5.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61733546fe7f6a5641e3f56f515428b6a3fbb4d0c010fb13f00e7c72dec0a6c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 433 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":"codex-rs/network-proxy/src/socks5.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ed6e1560ee24f1e20329ab871893326cd6f85f7df9c6d7a261f7001f194a5f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\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: \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":"codex-rs/network-proxy/src/socks5.rs"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf3e9a1d7c7a9ab8fe33c5f854d5a43881a3a0c2fe958d29e603b8da48392fe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\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: \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":"codex-rs/network-proxy/src/socks5.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"e98fd7864c32ecee579d77681eae35e35d09890af04b7bb5cb3ca78912475159"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 474 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":"codex-rs/network-proxy/src/socks5.rs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c0d63c754f796bbaf76155af4be01e79d78fa3141d45c911f3a7a111a4ca5a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 478 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":"codex-rs/network-proxy/src/socks5.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0f7b4b1c3d7b9d893463edeeca955abb0d088abb628adb5c62aa51a8f1c037"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 687 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":"codex-rs/network-proxy/src/socks5.rs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb6b27408893d18bff42cbcfd2e32bbe06a29499676ab61b421001a2f037964"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 694 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":"codex-rs/network-proxy/src/socks5.rs"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"c258b0c70690199b485690404c6a1ff3d1de69cf3e7dddba2280b130d6b042c0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 768 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":"codex-rs/network-proxy/src/socks5.rs"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"a235f53c74538777db820eb7f8f11ca7ce39fd3eb074fd9dfa413fe70b220f0a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 772 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":"codex-rs/network-proxy/src/socks5.rs"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"d12b37026dafd37167f7ec7ab8cef382c70a7bb47c15beccf08a3c29d06d7145"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 813 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":"codex-rs/network-proxy/src/socks5.rs"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73df3b50221b99820e77e139da71b1fdd56f2464bd741239c82a7e860360b80"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 857 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":"codex-rs/network-proxy/src/socks5.rs"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"34fd720588166f19ddbc63a0c35ddad0794504bb0c942e3fe3a2f3ae5bad833e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 865 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":"codex-rs/network-proxy/src/socks5.rs"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b0a436fc6c95da4ce6f987f9787b01440e3c1c82f80319ab819a2cbbe37ac7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 100 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":"codex-rs/network-proxy/src/upstream.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f7883194ee8a47ec99d30d9f3bba72b029f090ebf8a05d25c2717e57abf32c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 103 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":"codex-rs/network-proxy/src/upstream.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"22938c3f04eccf92ff62b4d28c378047f7febdcb0a41711cd3e0b8908391ca6f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 207 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":"codex-rs/network-proxy/src/upstream.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a56afff0abd697b9ed29ac7a4c8022e1f1d04ccfa54a24b715d03a7ab8cbd1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 211 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":"codex-rs/network-proxy/src/upstream.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"929acb64fc693a274c44da14ec33f1e782a0b8d321108e424e9be965b5c42ead"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 223 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":"codex-rs/network-proxy/src/upstream.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c861c9ed536fb73291dc6187ec7d7da6d3a11aa286e78de11b21a6bd851e7c9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 230 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":"codex-rs/network-proxy/src/upstream.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4199552e76719aa265aa2bc333b8abbe74bab523cfb1e4d27b050213c2009eb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 244 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":"codex-rs/network-proxy/src/upstream.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c624ce33c9834173f932f5019679c210fc376bba301111c39039a26c0acb36d"}},{"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":"codex-rs/network-proxy/src/upstream.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7e9f3ac9e12a3ec983f1d9b739cfcd36142ed2e72a25665c348dac15b95737"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 332 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":"codex-rs/network-proxy/src/windows_proxy_ingress.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f67870122b89c3c542dbb730c7844b0f6bd57363d2f6abe866d4466b209915"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 532 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":"codex-rs/models-manager/src/manager.rs"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f594559547db93cab503668382ca6ad8708bae4a423d91049fc26f94aa100b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 583 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":"codex-rs/models-manager/src/manager.rs"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54b7d6e73baa7abec7a2f5eb7ae92014efa53fc4243001f436d88e77a24f3b9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 754 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":"codex-rs/models-manager/src/manager.rs"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6a45232ad3f25511f3a95818d2aab2f07fd751d69760fed01ba102d007a426"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 763 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":"codex-rs/models-manager/src/manager.rs"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a1aac37f63d3c38268ece6b7668c175a3f71fd88088dcb80c9234bc1867ef3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 898 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":"codex-rs/models-manager/src/manager.rs"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ab6e2367841696e08227be2e578489f1ff3f7f6916e31596ce2500cbe7f45c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 925 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":"codex-rs/models-manager/src/manager.rs"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a3a9a71aec8fb00f115fb323a1f92b302f91f451d80bef4b4acdd7e2f6086f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1034 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":"codex-rs/models-manager/src/manager.rs"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"3358574b42b1e7f6a24a4a0acec81d481d754167ab9c9ed4daa15f35896c0611"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/models-manager/src/model_info.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13266a3d74de98d837f00ddc477acc470503866106cf472c2d1171178eda882"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\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: \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":"codex-rs/memories/write/src/phase1.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"635b4aa487ac7744becd8f7899c15e18ab994e3d1b061f1745e4ffbb43f86f9d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\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: \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":"codex-rs/memories/write/src/phase1.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22627dc0b4275a29a15d11eeba65c5bba336eaf9f7c4044ed3c8ee8b7713ddb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/memories/write/src/phase1.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"af58854ed50f659e05f2df756c22e44ba05bb62bf48079a089500ea4db9725ad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 149 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":"codex-rs/memories/write/src/phase1.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"415f165b1dcdfe57c741a20267ec27c456792373c137371f8000c470666985f2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 331 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":"codex-rs/memories/write/src/phase1.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b4a719d04821145ccf79e39db811be8e031157a5a1d68af27d0978ff8a52c6"}},{"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":"codex-rs/memories/write/src/phase2.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c0723a1926e41751ee3d0b097e5dded9fdff2399791f38293c7699ae5a5500"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 92 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":"codex-rs/memories/write/src/phase2.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"038b781421760f0d2fc3a18c3927dd858466a540a725495796284e44d3cb9e96"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 116 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":"codex-rs/memories/write/src/phase2.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63da6cb58a5d3a30a46313cea490a26232c3e6bbeb021e12051ebf89f6e06d5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 126 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":"codex-rs/memories/write/src/phase2.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a7a93a14b7ce8f9a97bf216482cdf5ae4fa1340a0041a6c3ac3549a29a23ba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 141 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":"codex-rs/memories/write/src/phase2.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"afce7a8b99b0aa566d1c5c282445ddcc79467b5dee852a818e4c6a1fef4d54a6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 171 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":"codex-rs/memories/write/src/phase2.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b7d792179c09fe716703609ee08df5917aa754e81716276bf64211de99de25"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 184 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":"codex-rs/memories/write/src/phase2.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3818e69f09eb7bf402f32b84956d2192940b845fb3831e4702cad75887e3a70"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 238 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":"codex-rs/memories/write/src/phase2.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b226d03e04e679ec096e7071e8d9a7fe8c557868ce0fdc613a2fe822b645527"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 423 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":"codex-rs/memories/write/src/phase2.rs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12bec381972a5219207848e628435f369f16335020a31043da856f953ac8cbe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 433 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":"codex-rs/memories/write/src/phase2.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"62bade4a4dc7d200da56c6015bec85d830826b0a3a8245298f0aaf0bcbf51b68"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 452 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":"codex-rs/memories/write/src/phase2.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a4931a462a9bb2bf39977e5dc5958bb420969fbf3c8499333e434ddf8cb2c2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 471 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":"codex-rs/memories/write/src/phase2.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab15fa5d2826d01666fb0940add4ed89e3f5b05a3360e806922b41e6934c6a5b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 493 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":"codex-rs/memories/write/src/phase2.rs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"432cece17142dd88217c330102da07a0ca06418d404115afda68ee24b82f359d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 526 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":"codex-rs/memories/write/src/phase2.rs"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"18079ad529448e55862ab2c408831a642bd4bcd4684d86904f10ad0128c07887"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 545 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":"codex-rs/memories/write/src/phase2.rs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd3348aac45b03c54837ef73b99fe8baea4cb7d79aabddb9d8f778a7f0e5638"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 553 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":"codex-rs/memories/write/src/phase2.rs"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5325651055e4a9ea7f75e7d3db84db6b352d84008679b5a2b057060b8bb7bf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/memories/write/src/prompts.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"7418536300a7a580a5d7ce2855a07b0ce08a6c3fec899f621957864e69e68750"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 116 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":"codex-rs/memories/write/src/prompts.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1fd260574da2fcf5c96c572b8565c02d0e3bb3eb59a4c87178ba2115f4c873"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 225 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":"codex-rs/memories/write/src/runtime.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ec316f4b02e53b54e6f2a823075d6356a76c7625b60aee0a57dae2cea2651e"}},{"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":"codex-rs/memories/write/src/runtime.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc2c77ee28a998557e7c0ef7c71f085317130d8079b81b2d24c785907c6473e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/memories/write/src/runtime.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"eecff3b89c93e0de4f8d2bc56e9fd3bc22d0e30e78df518f67a2eea55dd485b7"}},{"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":"codex-rs/memories/write/src/start.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c1df0c271758d2a546b756a7b00cfbc06054297a1a5066037f3c7665025942"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 80 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":"codex-rs/memories/write/src/start.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"30dc7a8b47a8321daf49dd3193ca83d9e0252da1af3f3a75c045e4d51e5458cc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 100 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":"codex-rs/memories/write/src/storage.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc97033a61167400cdad6861e728a043657c763b27ed9e8019a3f25a73e42a8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/memories/write/src/workspace.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"89db541b12ec2d9195dc616dc29d89d3af612ee1c2b10c2622fa98540f7042da"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 20 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":"codex-rs/memories/write/src/extensions/prune.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2f4e1a9e89b42e7445c77f280412bdf7291389123787fb076ddb3d4cbfc83e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 46 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":"codex-rs/memories/write/src/extensions/prune.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1187b39422de920573630224fc1e82b6e64a7789f28fdd856525412042400000"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/memories/write/src/extensions/prune.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ad5cd8618b90aee9befcdfd914e3d67d5eed1cb66f33a8cd30730dbdb1120e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 298 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":"codex-rs/login/src/server.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0740e58449a93b98cd2bb5c68e042c6e444cd98b23e31b346fed3c0970f988c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 301 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":"codex-rs/login/src/server.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"28aa3337f8d935c2bf2eb976ef46ce52fa73bbbb4b9bd0696fa1147fca0cbfa3"}},{"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":"codex-rs/login/src/auth/default_client.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"302e75e333885936e4c183543fb3b1ef03e13abee781be61a4037be3e2b8662a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 136 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":"codex-rs/login/src/auth/default_client.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6fa09091e24998c4c871455137b084d626873d866f81662dbaee91f4aa83d65"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1107 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":"codex-rs/login/src/auth/manager.rs"},"region":{"startLine":1107}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9575e434d77df2e8286cb1a553c0fea1904ddecb441f2efcc121b9456289bb7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1112 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":"codex-rs/login/src/auth/manager.rs"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d0c75c9ad7c88c0f7d53f7270e71f67c872751d657039d704106e16364c078"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2713 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":"codex-rs/login/src/auth/manager.rs"},"region":{"startLine":2713}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2bde783b91191d8fd00c961d79b0a89be2d9d928f31ffe60f68e69882fe2a6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 3000 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":"codex-rs/login/src/auth/manager.rs"},"region":{"startLine":3000}}}],"partialFingerprints":{"codehealthFindingId/v1":"90fc65b4748edc7fbd628ef0a6a938c872414706eea2485cf8eefd989e0e25a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 3006 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":"codex-rs/login/src/auth/manager.rs"},"region":{"startLine":3006}}}],"partialFingerprints":{"codehealthFindingId/v1":"632e4a880dbf9fd9728072ed1cb8810513202408834dd0a857941d8b3387ede8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 3092 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":"codex-rs/login/src/auth/manager.rs"},"region":{"startLine":3092}}}],"partialFingerprints":{"codehealthFindingId/v1":"900e87222e8612e8a0213565c5e6996cadd4b19cb45b997523360158df7218de"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 3220 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":"codex-rs/login/src/auth/manager.rs"},"region":{"startLine":3220}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9eb7bd3680e15c4e036b6249021b97b81f342e0481ccee4b146bfefac5a8f41"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3621 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":"codex-rs/login/src/auth/manager.rs"},"region":{"startLine":3621}}}],"partialFingerprints":{"codehealthFindingId/v1":"961400296ee0fd828d9cbc3d790b98cf87ac06f736f97fb1f180776d857f79c8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 366 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":"codex-rs/login/src/auth/storage.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca33c6e04303ccbf07327faf9840bd68911adfb36da050a03dd92b2e618797f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 396 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":"codex-rs/login/src/auth/storage.rs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb7923f52c69a7ccae9a08161f276e2bbbfe8adeeaad92107b15e9d3904211a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 490 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":"codex-rs/login/src/auth/storage.rs"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e14ddffcd9642a0ab61fbda154cd40cc42983baab140daccf6ac4ff93e9f32d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 502 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":"codex-rs/login/src/auth/storage.rs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38049c188c17fd41fbeb4d0c5c720eea2bb3446496084f649239a3f86cc3a05"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 612 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":"codex-rs/login/src/auth/storage.rs"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"4360dc8b198dc6244e08ae9d425cb60144f698e6362ecca930ddbbc25ee7eae3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 635 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":"codex-rs/login/src/auth/storage.rs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ebe98585abf5e32fff89d7e01941d24ce7578db80f3e718a6f2e8073382563"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 4 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: \u0060debug!(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":"codex-rs/login/src/auth/util.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"247b75745fa9ddfb48282b362f328bb5eede3df3f760a93a877bd8156e750cb8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 89 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":"codex-rs/lmstudio/src/client.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"6603a79cb7146e015f3bef62a34a18949629e5fd4d7ecb1ceaf3ed0fac35be1c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 193 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":"codex-rs/lmstudio/src/client.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9bc91ea270f6a6c5de790210cf2cc9278dbe9d93ed9b048fe602b00e6305a2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/lmstudio/src/lib.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"205f075ec2711feb695c9039bb0dc6242d552ea3bc62801eec7fdd04373ddb80"}},{"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":"codex-rs/lmstudio/src/lib.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c34ba99c88ed0b38afd62ea92dd9c167f38640d412aba695d10edf40d2907a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 153 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: \u0060trace!(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":"codex-rs/http-client/src/transport.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11555cfba26f5415c5dad9c630acb9e3ccfe556db5b382c6ed97a312f038142"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 79 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":"codex-rs/hooks/src/output_spill.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6aa3ed994976999dadb4431d4044c0214c56f54a89f714e5b73c6d5b3136ed4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 87 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":"codex-rs/hooks/src/output_spill.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e97762b0d46fb7311794d1299ea5d8c04fdce55faa9cf8d39632b39228920c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 624 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":"codex-rs/file-watcher/src/lib.rs"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"e095641609a872133488b86a0e820804312d2e933ad0d4912e08897c44a1413d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 637 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":"codex-rs/file-watcher/src/lib.rs"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"151cb382d6758b6f5b02169d13013db9058fc76ec512992d2bf3ef7fb7f7a924"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 696 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":"codex-rs/file-watcher/src/lib.rs"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"76fae792264498d9656fa795a27fea07dac6f3c72ca7ee8ebc1b712428c8a01d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 837 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":"codex-rs/features/src/lib.rs"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d9f91d22f9e11e1405e812aef4d91b90f55abfb9d21e50893271418eb3a7a8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/external-agent-migration/src/detect/mod.rs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b33d28d473b1b04ad93d6a2b02f79c2ef97a4d8acd570c3e2fdaca15a5e389"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 279 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":"codex-rs/ext/skills/src/host_roots.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa9104fc7df90e903e3f7222d920873dd3fc9bf710e19ee7c6a3802c9d6af64"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 348 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":"codex-rs/ext/skills/src/host_roots.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4a48249e6a20e9d8491f60e7e3ad446e9a2eb3e002575a8dc7aae151b43d47"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 401 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":"codex-rs/ext/skills/src/host_roots.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3383321efeb06c54cc05d3446948fbf587455a64f689b100127e561bd5b3814"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 485 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":"codex-rs/ext/skills/src/host_service.rs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"290f3ac77b973ad8db2bf4fbcb3d7917b6db7d25e0e7d1a6d58c126fd3e1080b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 504 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":"codex-rs/ext/skills/src/host_service.rs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"021fdf160ca953dcfb2ffc09cf5a6caf6ce5cf5ce9c3820b18d6b419c5d45584"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 272 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":"codex-rs/ext/skills/src/loader/environment.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"46017515e60951ff87803010453bb9b946b108201394c31592f0ee279c3b0fed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 342 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":"codex-rs/ext/skills/src/loader/environment.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"8123096f45f55c8821dda8e214d9fff9deeef255733c7b5f0f55e803d43efee8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 359 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":"codex-rs/ext/skills/src/loader/environment.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"7417f3da8d203a623b8404a00794ea303921a4953339b36e6641064bef0bb5e0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 366 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":"codex-rs/ext/skills/src/loader/environment.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3c752307a459a4b30e3112a5995de265746bf944b37a76e2baebe977397272"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 182 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":"codex-rs/ext/skills/src/loader/host.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b26456b62ba33c851137f0f3b3509d8a3b866badfc16c0d4bc405f9e14f2be8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 205 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":"codex-rs/ext/skills/src/loader/host.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0ff4b85d504078342d002e040e66bb229a1b3687a8357077f411f816c0f354"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 216 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":"codex-rs/ext/skills/src/loader/host.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac819018efb04b2ff00c8df6dfc14c4ced5b6c780dc7a7b08706b38c6570d2a"}},{"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":"codex-rs/ext/skills/src/loader/host.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"9609572cc79d22f650195760331fdae26da3148eb2311258f26a18c7ecc33282"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 239 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":"codex-rs/ext/skills/src/loader/host.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"39602014103edc4a7ccccb94857fb95bf56e64484e3968e89e6a5cc35e9092f0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 246 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":"codex-rs/ext/skills/src/loader/host.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"663866f7a7196178c2b038798d6a4487737f3a29c3d2c439ee52d0e7b9b715ec"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 51 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":"codex-rs/ext/skills/src/loader/metadata.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"4113c818496c508396d09c368d311e1ff1e23bdeb4e082c90f9483d7ca8ae0b7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/ext/skills/src/loader/metadata.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d70c9fe3bc1881258751bef2cd179bedc13a68b790dfd90ceb4e87b23d76c90"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 79 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":"codex-rs/ext/skills/src/loader/metadata.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f819b7f6c72ed92d579f8f64a5ceed489c2747241e36e68e6cfcfd9affe5a79"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 302 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":"codex-rs/ext/image-generation/src/tool.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5740e4d43d679d11fff392b49eeba81be7cf8753993665e33f33681d04a9c56"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 482 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":"codex-rs/ext/image-generation/src/tool.rs"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef63fdd511d1d531852615ace8bb499f021fcadfabcc5267cc0729bf4c0e0be3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/ext/guardian-v2/src/sync_reviewer/mod.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"1274d849e0afae80c322cdfca810706e6e88b5a3ca6d913aeb1a1c723295e4f1"}},{"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":"codex-rs/ext/guardian-v2/src/sync_reviewer/reviewer_config.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b52aac7dea338da441d0560914eef99d80edde29bd032eb4b088c4a26137a2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/ext/goal/src/api.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35d29cf4e50f6b36e9ff6044fcf5ae36100c591bb52d1f5fc2048d3acf7f57d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/ext/goal/src/api.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46f91367a2202716cd659586cf3a6fdecf48cea57919774b3e71490bedef775"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 318 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":"codex-rs/ext/goal/src/api.rs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"836d75a3944c307a6c4e7dd095dd28b5c70043ca876cd7432862ddd02a6761f7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 341 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":"codex-rs/ext/goal/src/api.rs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"730c4569dbd8358830f3efe4b26f6faae4d83aa99037754bfc302bbecbb45aec"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 172 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":"codex-rs/ext/goal/src/extension.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"567b90a5747f781a12e7ee8f14a56b879fc9b0d88fe47ba36b47c2c0524cdf1a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 192 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":"codex-rs/ext/goal/src/extension.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb72d4c6ddecf2c7ebb7b0cfbb05968235102f45af1fb8ad04454ce417acb426"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 197 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":"codex-rs/ext/goal/src/extension.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf5bfdd241a31ad841faccabc8ca0675b1df5def78a9096983e42c196c81cc5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 262 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":"codex-rs/ext/goal/src/extension.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b13563aff427b594aac2727de440bc134a17713e2c656d42a78dfac3b479e9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 334 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":"codex-rs/ext/goal/src/extension.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b880878d448feb633363925b43a7e9927d2b240abf72100486ed85ed6793d40"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 344 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":"codex-rs/ext/goal/src/extension.rs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff177af59f84e3ab0a1b91e3722122066d8273b1b43a8bb29f2eb69eac1696d7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/ext/goal/src/extension.rs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21f2c7bc80650f3eff0e36fb9d1d0f05797240d9cbc3ee432f1928b8e806de8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 404 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":"codex-rs/ext/goal/src/extension.rs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a07f997f1c23e04955114e46efc7721c5361dd859e63f8803b1e31fc18a59f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 441 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":"codex-rs/ext/goal/src/extension.rs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e2ab94775ba1c9c39ffa01c008d65379339f69f1b97740e257000ac0446b12"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 533 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":"codex-rs/ext/goal/src/extension.rs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89ca2ea1bad05c0d0fa0ecb7beadbad3c869d7d72aeacbe1eb128e2c88beacb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 504 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":"codex-rs/ext/goal/src/tool.rs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"00990c2d2bd0cfceabce267e86755c4d2ebd1f8583d4d67454a41b781a49d195"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1996 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: \u0060debug!(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":"codex-rs/exec-server/src/client.rs"},"region":{"startLine":1996}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c565f3555766a0eedf1bc9ed062431be424302cc810d52308bab0f0da6ec9a8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 864 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: \u0060debug!(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":"codex-rs/exec-server/src/client_transport.rs"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ef2997db096453fbccd92f647b89824dde012ad12c464eaef4547682542ca5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 867 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":"codex-rs/exec-server/src/client_transport.rs"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b993458ba419328ae573f143ee4936ab2d57f6b68866cbdf4fb18ca1d0176d9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 207 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":"codex-rs/exec-server/src/connection.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bcc1675d85e30a1bc69cab70f56d7404e8dc551de648b5f192e12f87f7ffa41"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/exec-server/src/connection.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aafe999cc33d78b30f9141a683b75e830e65f978d769fc81598dc51654bb448"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\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: \u0060debug!(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":"codex-rs/exec-server/src/connection.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7d26ed1998b98de7eea421dd5caf64213f4ca153ded90a7743c76324b28e59"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 264 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":"codex-rs/exec-server/src/connection.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"c045ac121a0b4626611321ae6ac6d07e4b1d406c9c72f9d9db212ec7d991f532"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 272 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: \u0060debug!(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":"codex-rs/exec-server/src/connection.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2bac95951eafa83ba1ca6680206ceb2412beb33cb8124851bed3f118922f1d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1232 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":"codex-rs/exec-server/src/local_process.rs"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc5218a0df9e2add59032c5c4e5ea5806b7ccf7cbba50da5c32841772068f73"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 326 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":"codex-rs/exec-server/src/relay.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dca1bc6f6f17df0c58ab5d40c645b5f1d69e62c24cf190badaab3f90e1b6a4a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 596 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":"codex-rs/exec-server/src/relay.rs"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"287e053fe573f02aa6bd98122b244482799706d961799f90dcbd3ba322d0ceea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 681 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":"codex-rs/exec-server/src/relay.rs"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"382478f6f21926491db4e69bf421bca6d6dc951e8aa153e24f112de9dc135a42"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 729 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":"codex-rs/exec-server/src/relay.rs"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"25570fe89b2fcbc0c5835f3faba41c8bd1eea5764fbff1932e2868cee7b9bf0a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 745 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":"codex-rs/exec-server/src/relay.rs"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a36c2315f40e3c2ebf2f8633a63330f3ba3e57c1c6117258649c4cd5c967ef7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 763 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: \u0060debug!(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":"codex-rs/exec-server/src/relay.rs"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb0b950163083f261601970d7b968d4940a238e3a186e32268005257afd23ac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 773 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":"codex-rs/exec-server/src/relay.rs"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"b687d4d47bb9ac2d916bd7b5497b23bd255856edb4e98c5bed6d370707e1b8f6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 823 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":"codex-rs/exec-server/src/relay.rs"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a080cf717e26e39192c667683f8b81f70d64c80574f21b9c4b464c71712f4c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 833 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":"codex-rs/exec-server/src/relay.rs"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e790fb1aa2a522d0b466ced29f8b6499cf55b811591451ccc08bd075eafa3d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 925 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":"codex-rs/exec-server/src/relay.rs"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"160a2e63723a488d23187591264181542c60262117a596ac6277a091b7010796"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 932 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":"codex-rs/exec-server/src/relay.rs"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef8306e1b065bab31a666eb813a1b9ea3214f4385aedc6ee7caec9e9ee9f0c8f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 72 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":"codex-rs/exec-server/src/relay_writer.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e9a46cce2650c75a85a04b96d43e9e4e1f461fb3e8363a744ff8a5905c19bb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 241 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":"codex-rs/exec-server/src/shell_snapshot.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"3486a7ae4fedff3bb10fc6ec081b7056229dee3fa82b8e989555d49fe93e468b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 47 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":"codex-rs/exec-server/src/shell_snapshot_credentials.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"16058c608b3a0d651169f8aca998d5ed2875352f9be0843e9210a18160965f27"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/exec-server/src/server/processor.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f2fdaaa308e6155c022f67af7d8fc5a933a7a085f9c1c8e1a278c13c223c148"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 223 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: \u0060debug!(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":"codex-rs/exec-server/src/server/processor.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e343f2db9fe19a665ec0b3c9cb43c05dc1246023b787a3656fd555c21b134c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 269 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":"codex-rs/exec-server/src/server/processor.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5fd272eb9da8f90fde6cb23334c01535f5fdc4b168c11974c1b97ac03e51735"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 89 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":"codex-rs/exec-server/src/server/request_dispatcher.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"843983707171290578d59469e648398613b9236c208af704b379b48098cb9dce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 97 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":"codex-rs/exec-server/src/server/request_dispatcher.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24555466c4bb6b611fb71124721d6157dc2e7c1f2ba7f30167e832bb90a81e5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 119 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":"codex-rs/exec-server/src/server/request_dispatcher.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2308e6571d203e2d58f6c1b5b67a27d0d8964dc39987bc29d9ff00020efa77a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/exec-server/src/server/request_dispatcher.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"1440bea703f6f8e57a31ef7c30aab07ee0c9ed6c1e05bb4031bd157411227ad8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 148 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":"codex-rs/exec-server/src/server/request_dispatcher.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d88ce7e00d948466996f574a1f606968e76ec28df7030fb6db64b40c1846c69"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 163 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":"codex-rs/exec-server/src/server/request_dispatcher.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d84bbf8d47aa6994bcd4016354513507a792404d83d438b0f8f7769afc5dc01"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 194 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":"codex-rs/exec-server/src/server/transport.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b8bc0fd600bed1bbe0ea243f2bbc860ab732b6c1f07529dd1c9b169a4a79a9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 111 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":"codex-rs/exec-server/src/noise_relay/executor_stream.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c9aed4d1d55166a7e140231d22fe8897edb4aa22b57ea7d828835a5e4996f4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 121 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":"codex-rs/exec-server/src/noise_relay/executor_stream.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa029feb031ca9d2b05e9fc1637928490d3fd51eba7c9356a48f7214e63e3b0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 134 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":"codex-rs/exec-server/src/noise_relay/executor_stream.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"30713f5095ef6ea8164a4d4b61cc55fb158d2174e5dd2d5e6951b89f3b8c5dfe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 381 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":"codex-rs/exec-server/src/noise_relay/harness.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"244e3540a6390f0b65fbcf159a1f813cdf9aa439fcc95d15a8c187119c6f6889"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 457 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":"codex-rs/exec-server/src/noise_relay/harness.rs"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"f525fe6028d50234e8f9bc2d6cb30ac904df38da4fb692a99e25604c88cf78c7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 473 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":"codex-rs/exec-server/src/noise_relay/harness.rs"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d11c5fcc9d91c5e6a6b9520b53923471fead05377967bae2195d81fdd8ed3b1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 485 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":"codex-rs/exec-server/src/noise_relay/harness.rs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd3f806c0f2d34a009954cf762e4b959404362dde5d1608023eda9fde736e84"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 511 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":"codex-rs/exec-server/src/noise_relay/harness.rs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8dacd52cb7a2739f7d26645c3813550361fc84bedcb4cca1324ba469c437fa2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 549 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":"codex-rs/exec-server/src/noise_relay/harness.rs"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae95946df4f55db4fcf65fbee3a463d12c34265751e52109843c94b3fb1000b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 652 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: \u0060debug!(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":"codex-rs/exec-server/src/noise_relay/harness.rs"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"6485700507410db3475d500b939ad2c40f4e936ccbe7f8f643e7d50c61cfc137"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\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: \u0060debug!(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":"codex-rs/exec-server/src/client/http_response_body_stream.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc506e780c886007f27457869451523f38ce3da9720fb29bd889b09ec6b8de3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 359 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: \u0060debug!(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":"codex-rs/exec-server/src/client/http_response_body_stream.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f76b0441b462920e5b9a8ac4c01aa3e83f7284810135ee41b1ba5dde1cb0f0a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1264 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":"codex-rs/exec/src/lib.rs"},"region":{"startLine":1264}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e2a8cb02ecb0bd012a0f4369a0cb05ebce27cfb32830efc30123b858894b2e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1348 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":"codex-rs/exec/src/lib.rs"},"region":{"startLine":1348}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad53ce91fc5c5b7adce7da643fabc09990a54d352ee2c87b5bdf15579fa9d5c0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1373 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":"codex-rs/exec/src/lib.rs"},"region":{"startLine":1373}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c2842c12c593c98463c2065187a053c2ac98599917d0c166b45ae621d5cfbe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1405 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":"codex-rs/exec/src/lib.rs"},"region":{"startLine":1405}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6037d2f8a97cd27ff9684f96fe12a71cb94313c79385ed113cfb0be185e91cd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1465 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":"codex-rs/exec/src/lib.rs"},"region":{"startLine":1465}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c144bfafec25fc7d4f7d1b3cf7be449bcd2c5c0610f7a20000084e31d28955c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1474 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":"codex-rs/exec/src/lib.rs"},"region":{"startLine":1474}}}],"partialFingerprints":{"codehealthFindingId/v1":"f420b7b2eba76797d592efaf0f6ba50aaaf044119dbb766e4e43238906af0acf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1481 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":"codex-rs/exec/src/lib.rs"},"region":{"startLine":1481}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf52b301311f1844f8da2d65adf8882599ff389e859361a5d74449c12214c899"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1855 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":"codex-rs/exec/src/lib.rs"},"region":{"startLine":1855}}}],"partialFingerprints":{"codehealthFindingId/v1":"87635401136135ebc93a23ff7f86e938c43d8fa38b6ef2698f6b69455c20b370"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1863 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":"codex-rs/exec/src/lib.rs"},"region":{"startLine":1863}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6df3bdb0a9fc14ac2947f38e0ebc8c537713d7ad942442d8078065cc66b3f0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1911 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":"codex-rs/exec/src/lib.rs"},"region":{"startLine":1911}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0486194a0d05ada95568ff687a355b3a658a1d55f7c0c011f2e5602cbe63a77"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2360 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":"codex-rs/exec/src/lib.rs"},"region":{"startLine":2360}}}],"partialFingerprints":{"codehealthFindingId/v1":"a75d2d1917146e79195a4a9f64312f214efb742ff4cae35e054000ca1c841887"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/core-plugins/src/agent_plugin_mcp_overlay.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dba44cd3e4093ee9c5dfbfabeb079604a94e4ae336e34a99c0a0ea9d5ab293a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 140 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":"codex-rs/core-plugins/src/discoverable.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"223586bac86397ebbc595943a91d6bb0e6c6d2654e0bd0545df2599c2781be4b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 129 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":"codex-rs/core-plugins/src/loader.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b2b1cfde71c70b9866626a152d3053c37bef566e14291eb3cf0934c239e672"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 731 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":"codex-rs/core-plugins/src/loader.rs"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"1830bb9a8d98fae2973654b8a9fe5b743dd6202f5c706a819a38e11d978f0634"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 747 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":"codex-rs/core-plugins/src/loader.rs"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"0871ace5a8558af1789793dafaa314df226e28b55e7b144659547c7bc9276bb9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 759 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":"codex-rs/core-plugins/src/loader.rs"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7079fa44cbe2da86ba636f474a0bd3123cc110685c949879f16dc878051bba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 780 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":"codex-rs/core-plugins/src/loader.rs"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a2bea3fda59176512031564454cf6fcca5954db0e98ffb2793e9b7e569456f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1300 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":"codex-rs/core-plugins/src/loader.rs"},"region":{"startLine":1300}}}],"partialFingerprints":{"codehealthFindingId/v1":"64bebfb5a1566feb6ef85b3dbd80afd3ac315f634b4713e5807e441472622e7e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1599 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":"codex-rs/core-plugins/src/loader.rs"},"region":{"startLine":1599}}}],"partialFingerprints":{"codehealthFindingId/v1":"411c818f78ce31fe63f0e9b31fdd3944f7a377b1049130a337c24b47e13c9daa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1609 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":"codex-rs/core-plugins/src/loader.rs"},"region":{"startLine":1609}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2f98ba7c6a729e54b08b7d4fcda819d838abfa7b5ba59c4bc392b9144f35e1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1619 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":"codex-rs/core-plugins/src/loader.rs"},"region":{"startLine":1619}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec12004cb1ed01e5f572aff7c9a8f2cebcca058a527e07fdf15f98cb368317b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1650 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":"codex-rs/core-plugins/src/loader.rs"},"region":{"startLine":1650}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffccac7ee5a5f836ead411c659fef6d5f5c2e5f91f4f3dd4e81dc106a5754797"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1665 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":"codex-rs/core-plugins/src/loader.rs"},"region":{"startLine":1665}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d12376dca12301e3934f3d6e03a49d0083d6060abfe53e03363251781e85a3b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1695 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":"codex-rs/core-plugins/src/loader.rs"},"region":{"startLine":1695}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52921970f56b0f8a99fbd3d13c79de964acb115bc852ef21f38727e6fa3c69d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3058 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":"codex-rs/core-plugins/src/manager.rs"},"region":{"startLine":3058}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35053e7652cc6d7ed1c3899bc5974dbdfb33470b0f75ff7475bded9ac7fd91a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3076 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":"codex-rs/core-plugins/src/manager.rs"},"region":{"startLine":3076}}}],"partialFingerprints":{"codehealthFindingId/v1":"f749f796cdf4177fede7447af28732e5728156b6b3c0c0de8237f6a2b8d55990"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3209 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":"codex-rs/core-plugins/src/manager.rs"},"region":{"startLine":3209}}}],"partialFingerprints":{"codehealthFindingId/v1":"509c646706d2a142bbcf350aa66d5c92f94fbdbaa1b86bafee33642e88c07fe0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3431 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":"codex-rs/core-plugins/src/manager.rs"},"region":{"startLine":3431}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6856c3a72d82a6a93a5c0a9b786dabfc3724884bcec80127a87e3705a782e9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3468 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":"codex-rs/core-plugins/src/manager.rs"},"region":{"startLine":3468}}}],"partialFingerprints":{"codehealthFindingId/v1":"04cdc937f8f63475900549fcd9a5b67f316b44798c3783f0ed8f989bd864ccec"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3474 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":"codex-rs/core-plugins/src/manager.rs"},"region":{"startLine":3474}}}],"partialFingerprints":{"codehealthFindingId/v1":"df633fc10ef2beb0daf0782102bc6bb1f99a52eaaa61c36554dae4cb5a228e2e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3480 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":"codex-rs/core-plugins/src/manager.rs"},"region":{"startLine":3480}}}],"partialFingerprints":{"codehealthFindingId/v1":"03cdd0e49e20571f3dbdc0cb58ece641110cba5723e994ce8274eda0f609d7af"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3645 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":"codex-rs/core-plugins/src/manager.rs"},"region":{"startLine":3645}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e52f36e0e94a7cfd23d32362dcbdba1430bd166b0ae1827b73b5438f7492114"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 431 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":"codex-rs/core-plugins/src/manifest.rs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d63ddef96d9c9c1c7a2ea608fedd92b3bbd7c66af90695f49dc6d0c27f513e4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 454 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":"codex-rs/core-plugins/src/manifest.rs"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"b10b2428b4ddfad71acf9d0793bc7a2cf46fa7efeb77a1b4d3cceb50f95b2087"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 459 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":"codex-rs/core-plugins/src/manifest.rs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"61534be595edb13d6118c1843f2d4588c2a9fd68e2f02ab1d4bb8e9c2db87eb5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 551 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":"codex-rs/core-plugins/src/manifest.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad1c67afb8c1050353bfdf6600ade95575d7fa25bd703280948eb7a56e321be"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 597 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":"codex-rs/core-plugins/src/manifest.rs"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"47bdb632c11e5c3bc96b9a8a0de2ad1e4a1ee744e00fd65f8b164a59c07dc84e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 617 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":"codex-rs/core-plugins/src/manifest.rs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e0e2a8ea1fd060c4452caad72d6bff124a1decf047f321e32927128f08c55f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 621 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":"codex-rs/core-plugins/src/manifest.rs"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc781ec6cf159c9644058d4adb86a40b3f57ffc4eef6f0e91cf8b39f7d66a042"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 635 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":"codex-rs/core-plugins/src/manifest.rs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c2127ecae9cfb609a221361ac7845db76de644bec7dd36822f2f5d85a87aee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/core-plugins/src/manifest.rs"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2bde796839696930f371e648a81d5feba33706f9e1ea5edb5ea02b745816b8f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 650 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":"codex-rs/core-plugins/src/manifest.rs"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca75f9e9b8fc3e802b2f7beec49d5f21f89896d0b1cb9eac5589d83b4942e44d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 655 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":"codex-rs/core-plugins/src/manifest.rs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbcc947ba960dc96bea62252f4f8867c74901961fa861a66239313488786fcba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 312 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":"codex-rs/core-plugins/src/marketplace_policy.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"5925f9da8379cbc8caf8e0f52189c446704578744fe641e669a7908f7db79481"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 74 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":"codex-rs/core-plugins/src/marketplace_staging.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc1c4383ca009cb642efa29c2b854460e49b7aca07c421f7466459e8c0a2f216"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 121 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":"codex-rs/core-plugins/src/marketplace_staging.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c610ec6d5cce4db5afde5975bb30596376cb4c8cbcc4e76b5c3924d70ac558e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 135 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":"codex-rs/core-plugins/src/marketplace_staging.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0fa3d47ba717e4aef7858b3f48937d9604bb46eda8799dde9251eacc429b893"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 123 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":"codex-rs/core-plugins/src/remote/catalog_cache.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a028294c5c7d1e8ad1b7cab24cfc49b4f558e1ffd3198f6f978a4dcba72fe0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/core-plugins/src/remote/catalog_cache.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"98098f89ea396f92c3d8bdb23a961fdd13047650ac954b19d936613a7a80f3e8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 302 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":"codex-rs/core-plugins/src/remote/catalog_cache.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f86a38d85789ee56e62846960f0c31e3773cd74dc8b09f57c4d3717c68e94e8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 199 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":"codex-rs/core-plugins/src/remote/share.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ad6d212ba5da570aab4ca06bd14a9e0185f6ce2229fbf7f8258f802cbf0df5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 292 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":"codex-rs/core-plugins/src/remote/share.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"9090e610a642ac57cdf5eef65f53e509ff937588f931923110ee578443e15f36"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 90 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":"codex-rs/core-plugins/src/manifest/manifest_cache.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b044e0e5abc8999c478b95a8128f6b6c1d2d7a9681a8f660e824d314ec134d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\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: \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":"codex-rs/core/src/agents_md.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"269a0348388dae74b7a062e0c74c98b5cc844be438ab528984fbde6bb6142394"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 218 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":"codex-rs/core/src/agents_md.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0a52cea723afa01d42bfbe1f9e3e6eee82586a55486f63aa2d681b14d61f6d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1266 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":"codex-rs/core/src/client.rs"},"region":{"startLine":1266}}}],"partialFingerprints":{"codehealthFindingId/v1":"d212d386958fa6809a669fdd343ecf66a7e311cbb8cba7bd3687b617bba31614"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 276 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: \u0060debug!(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":"codex-rs/core/src/code_mode_host.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf62154cb9a8f9653e253cbc55e79874196440b81a1ea81108ba112d4356e54"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 353 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":"codex-rs/core/src/compact.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d47d840d9c558b039d46beb424f1f55ee7a7420085e850d6e6b5af26a884875"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 280 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":"codex-rs/core/src/connectors.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1976a54e0bd63747c05ba93547b1691a54db249caf02f7e9a6c9337383e74e8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 743 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":"codex-rs/core/src/environment_selection.rs"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f9f2b26741de1587cccf2598a95ae5bdbbee848956fc24b3431b283691f012e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1018 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":"codex-rs/core/src/environment_selection.rs"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"117bafc3fb68c9e9b4f3c6ffecec6c449aff975c0caeb740c0e5277b14b81417"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1045 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":"codex-rs/core/src/environment_selection.rs"},"region":{"startLine":1045}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62a83e54ef594da2ec0ac87705ce4068c10d8ecdbc14b00cc531554f9a0018f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1060 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":"codex-rs/core/src/environment_selection.rs"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d8a132371dc5e38cde66bbe992bf28223e011bdf4254432760d2ce2a6ec6dd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1237 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: \u0060debug!(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":"codex-rs/core/src/environment_selection.rs"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7a6ab321ec37aee6fe2f583f93b4e6a9729adad0d62b6c19051a1663f01108"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 144 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":"codex-rs/core/src/event_mapping.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca78726f57e4932d9e3b42f64e247fbba972fa285b6d5356aaed9c3b9f5deee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 164 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":"codex-rs/core/src/event_mapping.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"48266e96dd9e28639fad217abd44c9a1e7dd58dc2a6bf4e98dd94ceb3e5f2890"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 374 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: \u0060debug!(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":"codex-rs/core/src/exec.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"378c697870061e148fa02346045d94ae69b6c9dc1439c549ff67567212bd4c27"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 845 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":"codex-rs/core/src/exec.rs"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9dfcdd45de7a002459927f29e42d756cb3f7d248ec2fffa2bf2c17577c001f9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 327 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":"codex-rs/core/src/exec_policy.rs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d3e8c7da5eb8393d4c6cdecc49924e7e4b42b9867dd5335f073d8083dd8a07"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 801 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: \u0060debug!(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":"codex-rs/core/src/exec_policy.rs"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"7984f6e035954db06822439748acbfd9356a9959861572328e362b88b4e7e8f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1282 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: \u0060debug!(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":"codex-rs/core/src/exec_policy.rs"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"85afc1f3629d74f1e86a83f00264ec12346343de86fb7b26f9fc8247619f6476"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 491 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":"codex-rs/core/src/hook_runtime.rs"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"0466051363be8f24e10da488dfb76a0eb7943a9d72d77c83ca5bb989b902317e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 539 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":"codex-rs/core/src/hook_runtime.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5bbc04b8d0ec061c741960abbbb14c28a2f945480ffb36a4436b6ecf0c2809"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 683 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":"codex-rs/core/src/hook_runtime.rs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bbd7dcad27f7a4f37cac9f8c42ad74cdda464a506725dd8fd3f4e0db0da13ba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 100 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":"codex-rs/core/src/mcp_skill_dependencies.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6cffadb302f87d828ca85e83c3c2eca5c130323401e2b7ab7f0b3ab61b279e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 130 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":"codex-rs/core/src/mcp_skill_dependencies.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"de87acf10f9cd4fd8d058eb1395b61183de8dc280ae8714cdde8bc830c9c0a6e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 153 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":"codex-rs/core/src/mcp_skill_dependencies.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd33b203f0daaa6d1ae209cef566ea0e4e278a8f69e2b0c091a47bacf9a3ffff"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 162 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":"codex-rs/core/src/mcp_skill_dependencies.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"40cad1fe29c6a1b131edfc7406e1b822c4d8a901697c5a02291bcdb81c1c190c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 182 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":"codex-rs/core/src/mcp_skill_dependencies.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe517a871986df01d14bcca8c5427350d0d9384e59fee0382f03a4b7c7847814"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 233 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":"codex-rs/core/src/mcp_skill_dependencies.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"1900739fc6623b92e2f309fa10adab4c330ad7540bcb4c4d3eb8b2cc46cc4bc4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 236 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":"codex-rs/core/src/mcp_skill_dependencies.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c484a460cfb8d1dab05a8d0ee3fb6eabd912e9693abadfb687877ffa19842fa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 494 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":"codex-rs/core/src/mcp_skill_dependencies.rs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"29256b28d57c6b9541e3b2e712feb93b39b8192762be2c2fdf16b9745bee9b99"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 511 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":"codex-rs/core/src/mcp_skill_dependencies.rs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4598bba9f03b63b102041c8fac4eb48430e14ba6f3dbc7d4d3aca6221891b84"}},{"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":"codex-rs/core/src/mcp_tool_call.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ce8c31c4e244d7288f8734b1de051bd51fb4ead3af43235575cf34c51a42ef"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 751 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":"codex-rs/core/src/mcp_tool_call.rs"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"05199aa52986580e811d2b2abc7ecde88985377189940a48ce72849adebc0386"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 992 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":"codex-rs/core/src/mcp_tool_call.rs"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"87081e9882995f393da40f29e216f18bac54726269d903557470bc3699eb2221"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 204 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":"codex-rs/core/src/mcp_tool_exposure.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac52bd450d31e1deb52655c004fca426dce42458afd906229054a702ede3fa8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 126 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":"codex-rs/core/src/realtime_context.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"057a300ee84176f81585874e55428a537f752fd81eded9c46c8b7f01af5bfa36"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 154 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":"codex-rs/core/src/realtime_context.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3a2b4894d467d96e35fa0cb05d65525898f0cf52016eef95b1add2fd946352"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 484 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":"codex-rs/core/src/realtime_conversation.rs"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"23672061a419e01287e65f603c0e7a21cdf9a09b1ca191333454e5d55e837533"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1414 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":"codex-rs/core/src/realtime_conversation.rs"},"region":{"startLine":1414}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f16e3163a6a272e02258d4f86adcbcef050cb20aa7d4cb904cb5284b98330e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1428 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":"codex-rs/core/src/realtime_conversation.rs"},"region":{"startLine":1428}}}],"partialFingerprints":{"codehealthFindingId/v1":"34222a2e47ad50380a335d8150b2be3f21b962ba735f12869b3aae11c677a82c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1984 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":"codex-rs/core/src/realtime_conversation.rs"},"region":{"startLine":1984}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0dfc7293e883fb1d1d25008af009c4ef310f9000ec5e607ee322034099b3fa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2028 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":"codex-rs/core/src/realtime_conversation.rs"},"region":{"startLine":2028}}}],"partialFingerprints":{"codehealthFindingId/v1":"290a636c6a7a83edebc922bb0bd5b6655a6dc41aca424138a05d53e06c8c1655"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2076 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":"codex-rs/core/src/realtime_conversation.rs"},"region":{"startLine":2076}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f15cb8e31b3ba0a946eed23ec44a7f28360826823240f34ad828032aae1a6a3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2209 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":"codex-rs/core/src/realtime_conversation.rs"},"region":{"startLine":2209}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a4428456f620ad21ac490f0bf4e26f7b9ad10763a158931a702ef890003df0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2226 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":"codex-rs/core/src/realtime_conversation.rs"},"region":{"startLine":2226}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd540306ce1673e631e5e264d21a1d93261a41fe6c3086427a63bad3fd0a0ac9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2517 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":"codex-rs/core/src/realtime_conversation.rs"},"region":{"startLine":2517}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fad35a06d5dd09c771ba2b48336255a8b67820f193192f97adf1b602a0660f2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2550 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":"codex-rs/core/src/realtime_conversation.rs"},"region":{"startLine":2550}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c739d550971386c618e059c53aa9dd837b0619802981e2aba7b348938b51d1e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2858 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":"codex-rs/core/src/realtime_conversation.rs"},"region":{"startLine":2858}}}],"partialFingerprints":{"codehealthFindingId/v1":"a230e68c9b3ccda7b9c176b59c4306b7fc9262018990474dc266d488963eb148"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2961 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":"codex-rs/core/src/realtime_conversation.rs"},"region":{"startLine":2961}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13327767ea71b5e43251459c9a37b41a92316bedd38ab8388d0da296779047a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2987 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":"codex-rs/core/src/realtime_conversation.rs"},"region":{"startLine":2987}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5254d67645e25a58205f2e71ca7d9201938177ec2e9edf6346c14aba259ca5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 193 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":"codex-rs/core/src/responses_retry.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"2acdad8a07ce17cde79a038745f29009bdc90f00b396ed48005a88c8a9e5b163"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 284 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":"codex-rs/core/src/shell_snapshot.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a2de34e912436abeb0e7500681643daf2dde4b6ed9ad5eee2f4ecc596298a3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 299 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":"codex-rs/core/src/shell_snapshot.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b16636957990a92e0afc8303a0ff9496fb78db5526ef49b9c16d8fba2ca9ca8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 305 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":"codex-rs/core/src/shell_snapshot.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b58044122c7f9ad4b58ae55db1f4f7ee090d9fa942bb8a502a62d5b89c2830"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 319 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":"codex-rs/core/src/shell_snapshot.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"de64a10a8106227f515d7d1e5c1d84555a2a7d071a924fe7ce20bdea610d8a87"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 325 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":"codex-rs/core/src/shell_snapshot.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d793ed031e89a9e8c284a548b34ebfd9f5a99d65ca2fc67b1cb86d89577c8d1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 534 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":"codex-rs/core/src/shell_snapshot.rs"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"b10c1ca56f10dabd9e0b618d62ca24e0d9e1b570c4ba0abcc2398a39f6467bdc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1181 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":"codex-rs/core/src/shell_snapshot.rs"},"region":{"startLine":1181}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd12a2feb4c2570139517f46a0525f8003a0dc1c97b1b192fb58270b4fec29dd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1203 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":"codex-rs/core/src/shell_snapshot.rs"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"478fe570f779d765c507ca22f2475514d115562882ff3c5ba45c53f69bbdfe12"}},{"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":"codex-rs/core/src/stream_events_utils.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"0063f4c584dfc3b4e2e9ce33ff250f6f1fcd9cb0e204e547e9e2e07b5adc60b4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 377 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":"codex-rs/core/src/stream_events_utils.rs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"2496c1e12ab32d48e3c1e17d11874cb6e4e1dbc2a1a1c65f498155b5b95a9fe4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1034 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":"codex-rs/core/src/thread_manager.rs"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2f5a1b191f5b07657046889e8b8a084ab4922de1fb440772c3b6b4158214fc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3091 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":"codex-rs/core/src/thread_manager.rs"},"region":{"startLine":3091}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab0eb6e1d8cdb6e7a80386edd71e6037d2f991d939674327aed1bbad84eefe5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 86 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":"codex-rs/core/src/thread_store_builder.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a365ebac036825e2b9a2c3eebb767aa3e0e3207aa29094294932f169381c104"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 85 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":"codex-rs/core/src/util.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d818b8f22092e3236d4a63db934dfb349da3cac302741fdef98fec751dff03"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 162 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: \u0060debug!(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":"codex-rs/core/src/unified_exec/shell_snapshot.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3fff3209fb7b79731db7bcedb31dd8e5faf52bdaf275c7c45a335e7f83860ad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 767 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":"codex-rs/core/src/tools/approvals.rs"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35b4512b4a684e20d392c48b87ab643c67a1a9f987528daee8b9e417bc1483b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 41 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":"codex-rs/core/src/tools/metadata_metrics.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"55382db21fc1ae8a631f554f5387cde3e70f4dc00ab5ba7e357d18caf40603c9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1064 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":"codex-rs/core/src/tools/network_approval.rs"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ede988b41a6d5fe9051b5b5d93ac8ec19cb1b0490b08e9e71e25b97af549503"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1113 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":"codex-rs/core/src/tools/network_approval.rs"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9fa9dbeb32483f83e6b810698f1ae2da4994b24dea73748c9e0a9d7bf9a4e7c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 492 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":"codex-rs/core/src/tools/runtimes/unified_exec.rs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"caccc91dbb2e6dd1c6b362b7fb33c7a51a545cd1bb5d9cec612713a4fd97ed4b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 471 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: \u0060trace!(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":"codex-rs/core/src/tools/handlers/apply_patch.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"a49874ba61476c40988ae7bd3b9059b74052e7dc9d302678b25dd9412504519a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 510 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: \u0060trace!(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":"codex-rs/core/src/tools/handlers/apply_patch.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9633a4adc5411a52110409d618ecbc15695c93de4b0a9a3f635c4a149205cf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 219 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":"codex-rs/core/src/tools/handlers/dynamic.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a58561b175e8ced0e54bcef581fd002c689590d3b4998d7cdbd6239c29e6fdf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 491 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":"codex-rs/core/src/tools/handlers/request_plugin_install.rs"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8fcb5bee58ce17a251bd731bce27d845028aaee9a940bc9c68fcd34509b71d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 533 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":"codex-rs/core/src/tools/handlers/request_plugin_install.rs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ab5b6e82c0ab6636ed59ad0e20dab76249c34ab680b6d816ee88dd52893d11"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 464 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":"codex-rs/core/src/tasks/mod.rs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dbe537f128febab93f60b7a6d78b6f1c24ce1598d52163541607f6f52af0717"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 836 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":"codex-rs/core/src/tasks/mod.rs"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ac8c72f3dc35b972b5994bb4076025000457493996a0daa7c7c051fa65eb77"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1007 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":"codex-rs/core/src/tasks/mod.rs"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5fd28acc80a91f895f804d84640fe274c485fd24d8a8744d4af911f8f7f7f2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1088 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":"codex-rs/core/src/tasks/mod.rs"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a9b8cd06cb0a86a81f04bdc563fbdb2c3b2d5ef3b039e8a23d14c463860cea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1137 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":"codex-rs/core/src/tasks/mod.rs"},"region":{"startLine":1137}}}],"partialFingerprints":{"codehealthFindingId/v1":"a042a9d7b30af5eed94bfed0762cc9d499aa456c9171c976711e24aceaf395c9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1181 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":"codex-rs/core/src/tasks/mod.rs"},"region":{"startLine":1181}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ef47ae3ef29520199dde550613fad3c8c1f7f862c72f0d2473688e6390e27c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 321 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":"codex-rs/core/src/tasks/user_shell.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"2196eefa786edf3429a63fbac6b990b82587043dd27144981858b9d516d08cc8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 111 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":"codex-rs/core/src/session/config_refresh.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"7604cfcc5dee4888f859ae880fb2c0f878a24f4918334671e13905f12f6a88b0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 123 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":"codex-rs/core/src/session/config_refresh.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"243d382b3e843b88c3e1e44408a191398d285c40ea0af40896aa5df2eec41e85"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 217 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":"codex-rs/core/src/session/handlers.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81ace79e7c1438df37cc080ae463e438e64419440fdbdfc7952751a51b91146"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 301 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":"codex-rs/core/src/session/handlers.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2aeb2df723f90bbf6fa22d5bf5f2c54a3d28201052d012da93130039d382eb0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 401 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":"codex-rs/core/src/session/handlers.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80051df3fe6884266ed83da52110f31e74a7f505e7307e563d28e57c84e105e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 455 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":"codex-rs/core/src/session/handlers.rs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"104d33176aca9a0f192172e3544570889003881ba73892bc432968abea4089e2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 929 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":"codex-rs/core/src/session/handlers.rs"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"613d9ff10ae4123713d5704a0160228ac7c5747673b0af9a015d827e6e46d7ac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 824 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":"codex-rs/core/src/session/mcp.rs"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0057742b36fe1f9712fe35baf0058d9202418eed0bcc62640cda34f4510837"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 910 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":"codex-rs/core/src/session/mcp.rs"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ee2633357136fa63fd91e10a4b2cd1aa576bacc9f6f7fff1dabbf97ef68cfc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1124 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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"24cdaa02fea2c4607cf88f0bb85f789f07d6ef3d362d50f24fe72fb632a39083"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1456 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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":1456}}}],"partialFingerprints":{"codehealthFindingId/v1":"813801ab61302ba8330a5db3b86fb0a0874a22b7ec6c3e7d51cfc5a2925a12e0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1512 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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":1512}}}],"partialFingerprints":{"codehealthFindingId/v1":"34525a4632c89e2034897c72c444cf3bfd04a7932903c93b281b4889d7d34cda"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1520 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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":1520}}}],"partialFingerprints":{"codehealthFindingId/v1":"b472a32e88c096fbb225cc315c2b6c1643869d23b88e27c8594f218abae3040b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1545 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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":1545}}}],"partialFingerprints":{"codehealthFindingId/v1":"d940e7fc3e7fc99185c537accdfd7cb619797fa01017879d5c75c824dce0316e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1592 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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":1592}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6aaca7ffd316f188601a3bad94f00ca413411e5864fa816fdc631b73abe5f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1667 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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":1667}}}],"partialFingerprints":{"codehealthFindingId/v1":"db08634f9dfb4bb3f13a5c0612ba3dc5d9f913785c42aac8a2828655ba9fda00"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1822 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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":1822}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7eb2c4d31a3e672686effc30182b01075cf5911dd17d2094d1a0f598cd32d12"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2191 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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":2191}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1299aa897930d3817a8beea03ffe1fb14c4c65fb3cc13d5c46d29e6cd7efc8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2299 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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":2299}}}],"partialFingerprints":{"codehealthFindingId/v1":"931f789740efa3fa65994d21c7914d3f14ffd081be9c963df606cc5f3d46eb3e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2620 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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":2620}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4ad78167392a3c7d25e01d321a20f7f32e38a17afa7dc0646f328bad1fa348"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2628 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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":2628}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f946c524c72b0a6abb77961e229107a83ce27f45ed4b2a0e7a00c980c302518"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2642 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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":2642}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa32d70e96553ef64ee2a70a9c9d969f381e850c942f4ef828de20be37bf60a6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2657 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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":2657}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66b479eca4786c5b13f17aaab2f85f2fbe21307de16145404df5456da7d34cd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 2926 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: \u0060debug!(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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":2926}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f618720febcc726738733dbf85fc7171ae9eaf6ffe68a1d6b51d43125f244da"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 2949 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: \u0060debug!(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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":2949}}}],"partialFingerprints":{"codehealthFindingId/v1":"820b04cafbc7f27465e90ad1e6906458368132144836e4855371caffecfd22e8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 2958 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: \u0060debug!(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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":2958}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b8399167bd6ab7635f4a1685458e8251bf0746c16ddef53ce0f47b00dfdcac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2974 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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":2974}}}],"partialFingerprints":{"codehealthFindingId/v1":"df582099a5e300e19d0db53d6c92f2efc2a88886e9bfcd4494284d71ea7c84c9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3009 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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":3009}}}],"partialFingerprints":{"codehealthFindingId/v1":"b144dc72f7e5d63123f983ec52d8c4f660478b3794db50a35b89ba51d5882915"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3022 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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":3022}}}],"partialFingerprints":{"codehealthFindingId/v1":"3114ebf168430124b3fdbb328a23765fe92e94f246fa6b9444acd02e0f34c6f5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3027 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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":3027}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e27c088900c80844f3db91bb489f8e953db7da331b32aa2c7318be431fa99b4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 3062 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: \u0060debug!(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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":3062}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d43b1761737afe7173f7a2db912c4ab8c224699bccdbbd0768684512969271c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3398 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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":3398}}}],"partialFingerprints":{"codehealthFindingId/v1":"4764bc13199580e9d0bc676e895070ad3b69dc3c4c41995d8a864483e6cc1440"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3489 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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":3489}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc6ce81ff261b3f8950746ca3c51ea074824f2a93c2d8788e77c403e0b5c872"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3647 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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":3647}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce210cac3b3777e94aae0711f90602dc1e7759d2f3ff2a1b9c2e1590ed2a45ce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3702 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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":3702}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb63d058e3b2de4865d097eef76ba5bc3157f100808b1062fb2aaa5edd868fa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3752 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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":3752}}}],"partialFingerprints":{"codehealthFindingId/v1":"90655028db63145cf9299afc4d07096ccbbf235e1f5a137f981495016d63d72a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3794 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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":3794}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc98365a19904d0d9f038204c324ec84b7a6cbf27b287dd3ef19773abbe6c9cd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3894 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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":3894}}}],"partialFingerprints":{"codehealthFindingId/v1":"126091db8f32abed4f6dafa6d4abf8a6491b296e75d80dceabd52b4d4dd960bc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3928 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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":3928}}}],"partialFingerprints":{"codehealthFindingId/v1":"800af7403489308be00c652d6da80caf44240fc2d447c6dc98344a54f1aa92a3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 4788 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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":4788}}}],"partialFingerprints":{"codehealthFindingId/v1":"947177d112666ee1c5cee20b7578cd78c12264df843dd9b240b06b28aaac040a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4792 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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":4792}}}],"partialFingerprints":{"codehealthFindingId/v1":"094ed058ccdc4ad9ac0e99ad65bc306ff324f5a5fcae2c6ab2644eda5004f8b4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 5399 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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":5399}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24da3aa377d31d85d86561fb77d4e606d5a3e65f869468e0dd506006b409854"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 6064 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":"codex-rs/core/src/session/mod.rs"},"region":{"startLine":6064}}}],"partialFingerprints":{"codehealthFindingId/v1":"aace696cf24ece49a672208d229a3ad1dbe6139d47648fd4d1ee1a980f012ebe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 833 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: \u0060debug!(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":"codex-rs/core/src/session/session.rs"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a7efc80f73e9f30c15a51acf364f1fd7c7efff9d75a382eb4a4495ec949874e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1283 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":"codex-rs/core/src/session/session.rs"},"region":{"startLine":1283}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5ef7d3cc6b505a57363bfc484c419b91c7ce03427bf019938e870a751bd3be"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1580 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":"codex-rs/core/src/session/session.rs"},"region":{"startLine":1580}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f61376d422c57966c02d66acdf85164399e19ccaf68b52128d7dcff27257af"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2156 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":"codex-rs/core/src/session/session.rs"},"region":{"startLine":2156}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b093c98f011cadedb3985976f993512f60d3a74f63dc6aaf65979b67d2c545"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/core/src/session/startup.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"16992eeeeb408f3b2318dd3374752ca128402311665d33b12280772c722bf4da"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 103 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":"codex-rs/core/src/session/startup.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f5b3bed08204462868f769e7d1d11e8968a4e2e2fa59a6d4c344387ea8f58c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 189 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":"codex-rs/core/src/session/startup_prewarm.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"125ea318e5ab1bc5493c49b6684605e1e5b47bac3e91cea3d90af13f7200fecd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 196 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":"codex-rs/core/src/session/startup_prewarm.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41138d7f1dfb14dd0a39c5af98b8626a991e0f386144705b13911be60392f1a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/core/src/session/startup_prewarm.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f54c95eb52f1cf8174dfc00b62163b492a36d0aecb4c4d1d4da44965197d23"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 981 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":"codex-rs/core/src/session/turn.rs"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"069014970c2834f5eb241e6c6daaa30da308ca393816497b4b4f3f07a7b7f803"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2181 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":"codex-rs/core/src/session/turn.rs"},"region":{"startLine":2181}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2e5be657ae1aba2ecf99eb537408c9cf08cef0505a48c99c36be2409d3b745"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 180 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":"codex-rs/core/src/session/turn_context.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88bb6f748d8d61df0e44e8cc2961813b76ffd42b2607c1951908c3ac6e6ecca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/core/src/realtime_conversation/sideband.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f776d071f48fca72effd12f33de80593faa5bffd44e11a3a9769ae674aaf42"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 170 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":"codex-rs/core/src/realtime_conversation/sideband.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"64115499cabfb3d4ed7ab00c8361daab834206766e98e2febb34f62be035174d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 879 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":"codex-rs/core/src/guardian/review_session.rs"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d93e357610a78270dcf0a02a80ef2364fdd4101f605f06821d3fe52d2628bff"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 1524 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: \u0060trace!(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":"codex-rs/core/src/context_manager/history.rs"},"region":{"startLine":1524}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed4fcf98a57074079845865f034a9fffc959e4b02567114c074978731e2cc66"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 1534 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: \u0060trace!(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":"codex-rs/core/src/context_manager/history.rs"},"region":{"startLine":1534}}}],"partialFingerprints":{"codehealthFindingId/v1":"8520bf527bc3ffe581b6b055ebb3de0c33e6969ec17ec238a9b6cf0207839300"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\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: \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":"codex-rs/core/src/context_manager/normalize.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"1407526ce203536bb5596f378b35e32978d0abffc2f2b9105bfccf7d4f8f39b9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 86 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":"codex-rs/core/src/context_manager/normalize.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc5b1b6a5f0b21f61f7438338ef9050e0425d45f7a17744b7a9c60c641fcd1c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 340 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":"codex-rs/core/src/config/managed_features.rs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"3822f86a0ee061353108129ab59e1724f8aaee6a1795a840c0772f45cc132d94"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2324 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":"codex-rs/core/src/config/mod.rs"},"region":{"startLine":2324}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f2a6265f2f6509c5acae754521fc717caf29a585f1fda706294a6750ce482d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2466 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":"codex-rs/core/src/config/mod.rs"},"region":{"startLine":2466}}}],"partialFingerprints":{"codehealthFindingId/v1":"f332f8c14ba04a84a6effc1968eb5b0a7cbfa85a3c676244543d9c802a646170"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4938 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":"codex-rs/core/src/config/mod.rs"},"region":{"startLine":4938}}}],"partialFingerprints":{"codehealthFindingId/v1":"842a439f244ba373c48aac8f03197a8eba7ca71d04937e53317ade48dc06ab08"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 122 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":"codex-rs/core/src/config/otel.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"db01734f61cda6ef4e27361e6f94bb994a39e873296cf69e9aaf23ac647db224"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 851 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":"codex-rs/core/src/config/permissions.rs"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d65628c7f6ca733d04fa7d51a1cd6d33729a7be5aedcdf47bd68c4672557bb1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 69 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":"codex-rs/core/src/config/requirements.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b690fe8e7f39dd129e2273efffe8fe0286f12b4e5a9c8354f0d5e5e11b88c7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/core/src/config/requirements.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc5157d463bc5fe447459d1e315156bcd8d276e375b5ec3d320c55d916157ef"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 176 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":"codex-rs/core/src/config/requirements.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2117b478e8923b9e0285b94364d02d6e1bb47e2b46c755aa424828e9edaafc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 687 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":"codex-rs/core/src/agent/control.rs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad83fc70e171cec3c792e8ffe84da22b1ad9e6e47d2c2206e6a64e56ad6a840"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 61 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":"codex-rs/core/src/agent/role.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"491b4484e89f19409c167eb66e817b4d88387ef42adf31727729ac00388ad0fc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 63 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: \u0060debug!(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":"codex-rs/core/src/agent/control/completion.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a356ff817ee200ad4347fb69ae4b7ec9ae59f019068b46521433abc7105ed6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 87 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: \u0060debug!(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":"codex-rs/core/src/agent/control/completion.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"959490f4a15c272f9f823515594ae7e31af5d1b313fba327ea95a01754d2789b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 138 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: \u0060debug!(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":"codex-rs/core/src/agent/control/completion.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"669d066db0f2a8889d77399d4c06937ae03e362a40d2064e87a028c4d8ca6bea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/core/src/agent/control/legacy.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"145b0b65cd6cc04c0ce3cf1f00e648be77a6916c2c9da37008783039d376da5a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 285 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":"codex-rs/core/src/agent/control/residency.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"488dee94d4b6e080d11b2a2af8f1edc9b203b8c7f301ef449cfe030bb506e974"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/core/src/agent/control/spawn.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"31959220e99bb950b994567a74a8d89e29fe4dcd0f9bcbafd85d5a2ef89f2227"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 201 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":"codex-rs/core/src/agent/control/spawn.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff77572a0fbcb48bfa6098ab5e325025ea0f16ca8421f4417f77d3a1a116aef7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1103 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":"codex-rs/core/src/agent/control/spawn.rs"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5624b23ab121d20a927cbd03ee59e60becc0dbd81ec2479c8a52c77cbc7a3b9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1132 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":"codex-rs/core/src/agent/control/spawn.rs"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cee3614253f099ffa2d5a91809c27ed7419f3e542a53dffa206f6aaaedfa035"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 86 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":"codex-rs/core/src/agent/control/spawn_guard.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3ed41aecfa8825af089e7093748770d611850faccca56afaaeaed8a3a78363"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/core/src/agent/control/spawn_guard.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d69441660fa1be0c9a9a224799a5e0be64f5bc6c2293b61dfb4dc33d79271c1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/core/src/agent/control/spawn_guard.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4479c81164eeae17774239ad82f6502bdbcf276c33808a784bc16a99284885"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 55 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":"codex-rs/connectors/src/directory_cache.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e65825621c61341e63ddc1f06f9bd9ff7c8addca288b00546bb6c663757f78c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/connectors/src/directory_cache.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4fddef7df46d99a1cfa515386b8608c7260137115f2756fc35b38dd989257e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/connectors/src/connector_runtime/persistence.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f5df507cb6c00ac2b0bda676ccae6dc2efeeb782bb7a191a39eeb2325444a4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 129 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":"codex-rs/connectors/src/connector_runtime/persistence.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"753769bf0f75d59fa8cc83061be2c7d21ddacf3e7579c1dcd008340625200e89"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 206 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: \u0060debug!(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":"codex-rs/config/src/diagnostics.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"75915a6e0dfd5a4e33e5a200f262289b612157c5afb53a158823c18430bd355d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 232 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: \u0060debug!(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":"codex-rs/config/src/diagnostics.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff30d3774f3bd1fbd81c9cabc2c25ee07ac9e5c619300c557dd79a4132893f8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 238 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: \u0060debug!(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":"codex-rs/config/src/diagnostics.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"a292166bf4cdd278e79569547c4206a942b1a2b6cebeb13907549408415fe5ad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/config/src/skills_config.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"27df6d7d74382f68ec4b2cb78364eb3cf865a68443edfca2edea0b7b6f3f0a5e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 175 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":"codex-rs/config/src/skills_config.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"381a8fe1ca676a59062138fffb87af2f09febc4011252ec98e258b35d94d3e3c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 168 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":"codex-rs/config/src/loader/layer_io.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"767aad940450fb9b7fc24bed9057962c4e5310c84636463e7f115e680f054044"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 179 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":"codex-rs/config/src/loader/layer_io.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad496ee5c4020a171336c2c2c0ccc190403be27ec9edf458fe6234a7260b654f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 181 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: \u0060debug!(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":"codex-rs/config/src/loader/layer_io.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"42940edfe32296edf639f476007441627780a875bae142883f9b346ab21ff23c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 186 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":"codex-rs/config/src/loader/layer_io.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"9222836629ecfada02c22acbc1b819a3d881307a546492ebe81b64df6b33dc31"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 78 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":"codex-rs/config/src/loader/macos.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"d04745aa8c4a0d863f611a9d3fd872a3f9eec86470cf2eba3e1422d3a3fac1e0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 121 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":"codex-rs/config/src/loader/macos.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"542315a08c998bb80e1206a9c755fdf9499725993c6d84c3d9580db1d5f07419"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 187 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: \u0060debug!(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":"codex-rs/config/src/loader/macos.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"d578e31473cec78c961cc4278895dad2783bcef0486902713120a3858ca002f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 194 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: \u0060debug!(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":"codex-rs/config/src/loader/macos.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"60579fbf6a93c2349184845874f8e97ba719a6ee98f6f8258918de01e52ff83e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\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: \u0060debug!(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":"codex-rs/config/src/loader/macos.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"769ed4142c3e83e57dc7afdabaee10b4a9bc9e903bce72301c31942f39227b1d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 229 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":"codex-rs/config/src/loader/macos.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c1e82d6633027c4390fce93ab23e829b94ed5f2a25c67ba02f1809e84bf5e8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 255 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":"codex-rs/config/src/loader/macos.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e082c9c7947c33cd4ea525e41fb26f944d72049df6f3e04cde1e5b45b34488"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 296 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":"codex-rs/config/src/loader/macos.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"4777e962510e1a81d349192d33983379e0405d90aea6aeaa85742a1c2dfd4276"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 300 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":"codex-rs/config/src/loader/macos.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce26722f30e87b0b03bdee00b354a9c9db45b6ce2a00f34bb9898042dfc05e2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/codex-mcp/src/binding_clients.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7b5b3f617db44076f540b3d18fe226e73e05cc5493bff464c7b5723781c6e7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 181 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":"codex-rs/codex-mcp/src/binding_clients.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cbae698366459902989e8574040a8367c5ca1b74c2a31d9bd247d06f75d25fa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1120 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":"codex-rs/codex-mcp/src/connection_manager.rs"},"region":{"startLine":1120}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ac1e4277411dc65a9b82e06c3bc2b0f5e6169a410dbc49b744750e7c0495de"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1401 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":"codex-rs/codex-mcp/src/connection_manager.rs"},"region":{"startLine":1401}}}],"partialFingerprints":{"codehealthFindingId/v1":"518c75f894279ca835601d8264ff5bfc49b7aabf46a26962585952465386f4ca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 435 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":"codex-rs/codex-mcp/src/rmcp_client.rs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"9627288473d99b88d90093049bd9cb1a1881ce9310199d651f6a21186003a4bd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 687 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":"codex-rs/codex-mcp/src/rmcp_client.rs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"381b1ac6db23f8fbe15ff8167513b14e1b076a50ea52d9abf4be9aa2d2acc516"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 728 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":"codex-rs/codex-mcp/src/rmcp_client.rs"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"541f9ba0d20e23c9a12efb08bb154dce4df5b28e039be460d20500d84e88adc3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 815 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":"codex-rs/codex-mcp/src/rmcp_client.rs"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7524fb138c604f51e5465264dc1b60834be98ae86f6c546b2cfb2d3809f9ab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1118 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":"codex-rs/codex-mcp/src/runtime.rs"},"region":{"startLine":1118}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7085d0e894aa5698999d16a68f28e03ec762b2152453ba6a670158d14357e8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 162 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":"codex-rs/codex-mcp/src/tools.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb8db54a2375d67c9c0127f77cf7bb6ad09544831bef4a78d57a3c2974a62bb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 242 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":"codex-rs/codex-mcp/src/mcp/auth.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85a13c658ad9f2b8cda7765abf1aef6c2a6ac1e64a1f5eee7c800645d6684c6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 740 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":"codex-rs/codex-mcp/src/mcp/mod.rs"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"029727fe0b2540abbba071fbed642950db30146f929ec0b6778beb99713b47db"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 745 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":"codex-rs/codex-mcp/src/mcp/mod.rs"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3649e1dd6e08e3f991c21e4ea079de6ef47949be84ef202bd8d67b44cff2d24"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 782 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":"codex-rs/codex-mcp/src/mcp/mod.rs"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"665dc385c6c5422c5d421ecbf3f806bc06d5b265b481b5e5c811c8ca483a23a6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 789 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":"codex-rs/codex-mcp/src/mcp/mod.rs"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fc4ed472ca996a1f905dd3ff13ffb07017aea3cf9a9d278fc642a9afb1cb12"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 822 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":"codex-rs/codex-mcp/src/mcp/mod.rs"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa851aab4bd48522f700ff12c3d19c8076e9a2a74fa61e355cbb37626cd4f8d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 829 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":"codex-rs/codex-mcp/src/mcp/mod.rs"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ddafa3354ba6bd999a0e3757949a3252c573e4cb841d9347d0fca9d0a5c8da5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/codex-mcp/src/connection_manager/resources.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b82113c52b6369a4d06a23e3ac4a3024f8fa48680c16ca58ed8befc81b2214c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 85 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":"codex-rs/codex-mcp/src/connection_manager/resources.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad99e3317561ec1ac06e2a9ee74d54c265bd9866c3fb6073d0c4d6885aef7be"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 128 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":"codex-rs/codex-mcp/src/connection_manager/resources.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0285d846d14955ad314b2c615f2d0d7a6078bc07af4e1db8c67b4041739146"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/codex-mcp/src/connection_manager/resources.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"9558c87c5a48936d6dace100d2011cf3a6deb38228ac1f137d733405a1b0dc6e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 544 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: \u0060debug!(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":"codex-rs/codex-api/src/sse/responses.rs"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f9d05a033024aeb631104da17630ad3bda52593783f5ef89858096064777f3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 576 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: \u0060trace!(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":"codex-rs/codex-api/src/sse/responses.rs"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1c634867561ff99d50d1cd1f4037e2ccab532fb21cb38205cad83225f07552"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 579 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: \u0060trace!(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":"codex-rs/codex-api/src/sse/responses.rs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a2366aa11dd23cada5c1531a3de362c6419b5ac9eb51c1ae2b979c147b5521"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 582 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: \u0060debug!(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":"codex-rs/codex-api/src/sse/responses.rs"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"36667e22b0c9e8fd31fd2ef022c392476701ef50b8b40a060713b5e0678a44dd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 633 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: \u0060debug!(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":"codex-rs/codex-api/src/sse/responses.rs"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4470b4efd17a332f074e8d59568f89528953d805869e699f4f44a6a51a79249"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 658 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: \u0060trace!(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":"codex-rs/codex-api/src/sse/responses.rs"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4015bb0c83a786ffb9a5059e447af8e0d04ba75fc24a6cbe8f6282a70eb5fe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 136 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: \u0060trace!(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":"codex-rs/codex-api/src/endpoint/realtime_call.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ceb54184dc564ccb4a2aa4502a7473c1cf37689aad00cfa784b598bcd635c24"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 270 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: \u0060trace!(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":"codex-rs/codex-api/src/endpoint/realtime_call.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1a56c9b877540d187f1f6b4011da1df1dce63466a0605807800f6bd02aea8e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 941 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: \u0060debug!(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":"codex-rs/codex-api/src/endpoint/responses_websocket.rs"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b9d03d0a3e6555360d968793439d455878130e9d1a8abd55c1b8ff2e5bcaa4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 115 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":"codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed5697781d242a1ad0a2d3a6a50d5fadf2acc09f0698194fb29cddba32876ec"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 127 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":"codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff500208781f878bcd42bd078ed41502aa6e5b1336ef6e1086dbe197b70d352"}},{"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":"codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"480e0fe962c4cad3833a34bd94f657aa3d1aa968106e12e4f7aecf9995a08450"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 163 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":"codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"9280be275ad51ffd6f5f37223797b437dba12ab3c662945256e312138e3c064c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 181 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":"codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"157add44b39c5fb22960e5db5e4b444d1f37d8d2a42f1324f9d6172631593595"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 466 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: \u0060trace!(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":"codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d5a9fcbb76ca0fdd9a337e150327982b9548c4f24a1b20498cad658893e21a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 548 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: \u0060trace!(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":"codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rs"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf32a51690b3364a50693ca411e0cc8a58c80480a2812d712b394fad3a2641b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 580 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":"codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b10b188c8c29ec343a6e174e3ec3e7cc31b1a0ceeeb0b2afa9826c984d4c504"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 598 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: \u0060trace!(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":"codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rs"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"780a104d371e7ad487f6a12f8fa070a534ffcfbc88203315b1d7e4a6dfba7e97"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 608 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":"codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bebca759aadff0eaeb1befdd69f4ad3f7f2ed6c04f4f0c3723e63b43e0b2675"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1029 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":"codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rs"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"e936ded4a2de1027026bf374599b4e804bc5f9c198ea4e311bab4c9cce92f7fa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1110 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":"codex-rs/codex-api/src/endpoint/realtime_websocket/methods.rs"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"f304c3f2f3e588ab4b7652134aefab763ab5c8e133c2917965dc3e8ac21b16a6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 11 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: \u0060debug!(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":"codex-rs/codex-api/src/endpoint/realtime_websocket/protocol_common.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"5000bbecc1e855e5fa52c97b26ab2af69a3c7dd83d78535c5f8e27189e8c5f27"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 19 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: \u0060debug!(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":"codex-rs/codex-api/src/endpoint/realtime_websocket/protocol_common.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a78fa2a37aaa9a879e68e90a00990c657035af32d71a764e1908ea919662c33"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\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: \u0060debug!(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":"codex-rs/codex-api/src/endpoint/realtime_websocket/protocol_frameless_bidi.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d590a151a80cbfde8ae35c61e598a6b25df8456069a409563e3578ccecf66aba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 87 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: \u0060debug!(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":"codex-rs/codex-api/src/endpoint/realtime_websocket/protocol_v1.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a24499d1526866d0ec9d1baa1440ae26614c438ed0469fe2f8ab92d677f6357"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 75 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: \u0060debug!(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":"codex-rs/codex-api/src/endpoint/realtime_websocket/protocol_v2.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"67de61f89b6105dbcded15b83a478945673488c0b6c7e26999c1f6f1999e7726"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/code-mode-runtime/src/cell_actor/callbacks.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c778e5089dbe730bd3624edfe26edbb820b2c3812846295c252d4e8c29f0ba3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/code-mode-runtime/src/cell_actor/callbacks.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa9aa7db79f2c5e47eb3d21f00220507f96e35ab0570664006b26e8f2b5aa3c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 32 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":"codex-rs/code-mode-host/src/grpc_transport.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"98fc34c7873e21aadd3482cfbea07bc7d0f19a5aeb01573f8ec95593ea7a96dd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 72 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":"codex-rs/code-mode-host/src/main.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b51ec7b348d69492dc9f548d83691a3e3b799d8db636e35ab541fc8cd9426a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 234 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":"codex-rs/code-mode-host/src/grpc/session.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7873d6455b56e8e07de4900d4f7a5a5fe1a3884b1c043d64be9147f56b02926"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 186 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: \u0060debug!(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":"codex-rs/code-mode/src/remote_session/connection.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0670c8ad36233dd8d58512c05ca0f78eaebf3e7990aba222a3c4cacb564d707"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 189 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":"codex-rs/code-mode/src/remote_session/connection.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"30da0677c41600b4d825f43cb040fac48008f3a127a6c64d968d28d14d3148a1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 239 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":"codex-rs/code-mode/src/grpc_session/callbacks.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa3c62feef0704e2fa9bb96a58c110ab7a79162bf657425664cfa92638f2d9c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 266 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":"codex-rs/code-mode/src/grpc_session/callbacks.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb230695fe0d57fe3b7d4a4d6a05f7f99f3f33340a1857e16227ab8c42fd3451"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\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: \u0060debug!(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":"codex-rs/code-mode/src/grpc_session/operations.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"d937dce26421d2c39b4c3e72e46bd09181057a6c9e21662d3e10e89b06b28415"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 364 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: \u0060debug!(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":"codex-rs/code-mode/src/grpc_session/operations.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"89db28f77e3168a7f4b8c4dbbea1c605dc4ccc40c7341eef7475001011b03ddb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 355 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":"codex-rs/cloud-tasks/src/env_detect.rs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"172f684fdc85cb3ff9d66be825772c692bac97c1291952ead35fb3718981cee8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 376 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":"codex-rs/cloud-tasks/src/env_detect.rs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b4852a8dfedde9d8320488c8b19d2ae40d04527ed8d3438dbe9e47c03091e0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 393 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":"codex-rs/cloud-tasks/src/env_detect.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae99a74b411f2eb975b5d76098b69a47bf16c0c34c7f6c8edffcee4d94f695ea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 413 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":"codex-rs/cloud-tasks/src/env_detect.rs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99b6d55a1cac8231011cf8474a2393535ef5dd4da98690f3d0bd47112ddc80d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/cloud-config/src/cache.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f87882ee90f26196836d2c872084bdcd70794478edadb3e9b418fa5fad1155"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 134 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":"codex-rs/cloud-config/src/cache.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d1b04bc7c9b3357dcaca1231afcfe30fa5b1ac85b16a96001e2d68d892394d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 142 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":"codex-rs/cloud-config/src/service.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd1593d60c7eaa657788ee5e25706801d7538e0772ebaf3be59fa30aa1e2a13"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 141 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":"codex-rs/cli/src/login.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64e186514a973ef0aab6a0f07954d8ae1f95b0f29dce49213db00c81002c5b7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 140 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":"codex-rs/cli/src/debug_sandbox/pid_tracker.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f358927ee5cd8218075cfb921b694eefa7c6235aff1d3c29dfde8d74f61f3c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 225 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":"codex-rs/app-server-transport/src/transport/mod.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"9285b9fbda6d1664ad191cc1e64fbe8f9687ae7012317e4c5ec5a035b30a6fab"}},{"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":"codex-rs/app-server-transport/src/transport/mod.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d99c73b1b471f743f3d26b8d4937c5eb0e4052e9e2a75b40faf3d8e00da23b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 276 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":"codex-rs/app-server-transport/src/transport/mod.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"722efd1e6ceeb99823cb494c98dffe3f6d14c3d3ad0c1a54b8d362933765ac1f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 281 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":"codex-rs/app-server-transport/src/transport/mod.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51d06a91b813fd6130e50e2d3e6dc2c004597ecbe6fb505baae3cf29a1625dd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 90 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":"codex-rs/app-server-transport/src/transport/stdio.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"26845b76b7a2a0079f6ecbe6406d7037b7076f3fc55a9963d21f21a07925f6d5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\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: \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":"codex-rs/app-server-transport/src/transport/stdio.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca427a9deaaa274ddec1d657c72d18a9affffe8cfdce5831d6233f39d77b82a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 170 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":"codex-rs/app-server-transport/src/transport/unix_socket.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1886d3299916ea57dbbd93186f415aee24cbae70ca5201a617855694b41936"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 173 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":"codex-rs/app-server-transport/src/transport/unix_socket.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"942cdb1eac15f0a3df65928216124abc57e6ab33ea09a9a3e85c74d8b6c1ba8e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 230 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":"codex-rs/app-server-transport/src/transport/unix_socket.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"070b76fb2387f5ea9b1f177f32afe184ed3f69ed00fc5be20a76fec3744f2107"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\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: \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":"codex-rs/app-server-transport/src/transport/websocket.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a3732618d11b9abbde826702aa085ec77b6073d5b75deacccdb31e91811140"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 199 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":"codex-rs/app-server-transport/src/transport/websocket.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0734d3c5be9d8e5926ecb112785aced58adfc8c598a46971d055a6fc98cb89f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 385 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":"codex-rs/app-server-transport/src/transport/websocket.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f313ed33da7c4584daa93152533958d0e778b760f3460e9d8192a898c74a2b2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 425 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":"codex-rs/app-server-transport/src/transport/websocket.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e8419146771956a14b8c9895a92ca08e1295eee47fa3a15678f8a01c76499c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 445 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":"codex-rs/app-server-transport/src/transport/websocket.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8edfc488c7c547418f146161f935a010c0ec53e88aaf8bf7bf6c05a3a6fde57"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 269 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":"codex-rs/app-server-transport/src/transport/remote_control/auth.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f4a0aa758f08fef5513bebe3cc794513afe935f3edea95e74cc846e31b612c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 276 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":"codex-rs/app-server-transport/src/transport/remote_control/auth.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f7b7a1f5b0bed5a67d235ce279e5f666d20a800fe0813ac9177ad7ee96ce7f4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 318 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":"codex-rs/app-server-transport/src/transport/remote_control/enroll.rs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be98e6b00705fe1fcddc5ee95b7152e3b154601235d85f23937ef5bc5e9e888"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 328 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":"codex-rs/app-server-transport/src/transport/remote_control/enroll.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"de16f02212fc67d51f683f9933973c9acaae1198cc151f26117819220d0ae9c2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 348 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":"codex-rs/app-server-transport/src/transport/remote_control/enroll.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"732882206dc72acde0bc5db41751b4afee767712b737a522c9f7c477e64e948c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 398 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":"codex-rs/app-server-transport/src/transport/remote_control/enroll.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d350a356d1cb3f1a8a49d9efeff1bd1a6a096cb6dfb6bbe199bd161fdad42d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 416 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":"codex-rs/app-server-transport/src/transport/remote_control/enroll.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"089aef3039f82e1275bfd0992d117a4ee5f38a76edfa18d8090fd36e571c17a7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 184 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":"codex-rs/app-server-transport/src/transport/remote_control/segment.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9d13a4dcfdc57bfd46c8ed882d3bf20a20cf05689af75c802b8f8344cc5bcd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 201 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":"codex-rs/app-server-transport/src/transport/remote_control/segment.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"537ad58774053da75e0aca17285603947c0e0164a4c9883f03763009151bda39"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 607 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":"codex-rs/app-server-transport/src/transport/remote_control/websocket.rs"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"254ac408b739b8d5e070f06d3258f262bb1169d9cc80a187ec41f87f5d4567d2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 714 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":"codex-rs/app-server-transport/src/transport/remote_control/websocket.rs"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d011571e11d528da37341909a8a2a51dbcb4ca4a24976ed7afabdee36cc9aac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 969 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":"codex-rs/app-server-transport/src/transport/remote_control/websocket.rs"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"e776f3243d98deccd43dd97cf44a6810d5c008281a0d1bd9cbe14533c6d8d90c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1001 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":"codex-rs/app-server-transport/src/transport/remote_control/websocket.rs"},"region":{"startLine":1001}}}],"partialFingerprints":{"codehealthFindingId/v1":"43096708d674bab03c2470e1e6ec3a020a4ef77a9e9f74bf02fb4ae20291a2cb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1085 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":"codex-rs/app-server-transport/src/transport/remote_control/websocket.rs"},"region":{"startLine":1085}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef1da7a8a0bb92a78ecf92b23a4c2fec59c727e767d7b656d5c2372dea70eda"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1094 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":"codex-rs/app-server-transport/src/transport/remote_control/websocket.rs"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f52ea8b111ad5337cccc66d36b1910a08981e959f08b12bf3049569a2b89b3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1169 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":"codex-rs/app-server-transport/src/transport/remote_control/websocket.rs"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3c7006f2ada7f8b496ce9f8703afe90cdbcea8bdec152703d83e6f6cb30594"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1248 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":"codex-rs/app-server-transport/src/transport/remote_control/websocket.rs"},"region":{"startLine":1248}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f74763ca497eda32c0792ae943d4b7dac6ae162a8cbe95d1c66dccc0ec8bd9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1497 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":"codex-rs/app-server-transport/src/transport/remote_control/websocket.rs"},"region":{"startLine":1497}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c57f1e78bd04d8f281e03de552a0d01ed824b0e82648426e73d2bebf6ca0386"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1663 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":"codex-rs/app-server-transport/src/transport/remote_control/websocket.rs"},"region":{"startLine":1663}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd7359ea59586867f70dafd84d4552737ee49af9e93b1f7f496d922667a562a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1679 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":"codex-rs/app-server-transport/src/transport/remote_control/websocket.rs"},"region":{"startLine":1679}}}],"partialFingerprints":{"codehealthFindingId/v1":"88fca70b1d3fddf1df210d42819cb1c1a0a2598b7933e4fcbb3c8c5f06e56c51"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1806 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":"codex-rs/app-server-transport/src/transport/remote_control/websocket.rs"},"region":{"startLine":1806}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93216b09dc5ce0d2a1f0905df8b99c548dd3614468cac8fb81bf99a7da7f766"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1844 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":"codex-rs/app-server-transport/src/transport/remote_control/websocket.rs"},"region":{"startLine":1844}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82812505b22245f431adf40a7fd28985389256ead5c1cf699a4db82d613bedf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1674 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":"codex-rs/app-server-protocol/src/protocol/thread_history.rs"},"region":{"startLine":1674}}}],"partialFingerprints":{"codehealthFindingId/v1":"384121851f8891e7c279472b072b9898658db162c01309ca0cb44fad3937ed30"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 109 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":"codex-rs/app-server-daemon/src/diagnostics.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb97d8420bc45ad7e72f28f590f8cb5ccacb1616b9a64b791464a6684d96f39"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 111 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":"codex-rs/app-server-daemon/src/diagnostics.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"4908d9f24058eda9d205d74c6a27b0e490ac0ccb4ff4c8e7f4cd6526ae4b2e27"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\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: \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":"codex-rs/app-server-daemon/src/lib.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"e317bb3fcc795a79f4341938c925fde25ee6394a22db12c7d5ddcf76b572c4d4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 476 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":"codex-rs/app-server-client/src/lib.rs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0bd5667e0b8632accb74c850121743e07265e1b34e54a14ec9ebc8da4e2dac5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 93 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":"codex-rs/app-server/src/attestation.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d3a82bc9ca063a13b46a2e78c187143d5de36155f3178f87b1f7056cebf710"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 168 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":"codex-rs/app-server/src/attestation.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"3594082326e2441292ab49dd422184df1480dda686b8c76ea8c761fa3e26e588"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 942 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":"codex-rs/app-server/src/bespoke_event_handling.rs"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e77b702d74ae8cc81385a22ce214bfc29be86a38427f9305d7e57a35fd621a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1731 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":"codex-rs/app-server/src/bespoke_event_handling.rs"},"region":{"startLine":1731}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f6be19b8f3f901eb7c12038954a2bf03b422b3b65c55601142e9a52c55b38cd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1742 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":"codex-rs/app-server/src/bespoke_event_handling.rs"},"region":{"startLine":1742}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8f22dde2d797a7edc24c640dee268ca1628fc4a5ecbc991d1fb0252508c7a4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1747 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":"codex-rs/app-server/src/bespoke_event_handling.rs"},"region":{"startLine":1747}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8dc65c9bd72c3ff7ecf4ae25d2aa523a2b5603b12e2c7e92414c92415cdebcb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1758 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":"codex-rs/app-server/src/bespoke_event_handling.rs"},"region":{"startLine":1758}}}],"partialFingerprints":{"codehealthFindingId/v1":"44798bdef34c57c7888970c1d0abd62feb2c3cee739732bdd1303dc0f976fbe4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1766 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":"codex-rs/app-server/src/bespoke_event_handling.rs"},"region":{"startLine":1766}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b0a5efd83cdf9d61ac0482db5883f070bef7715a16068e18d8ed278e48b26b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1793 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":"codex-rs/app-server/src/bespoke_event_handling.rs"},"region":{"startLine":1793}}}],"partialFingerprints":{"codehealthFindingId/v1":"4975d67a8b498cc34323acd168fe3fd648281c630477a1b88ef08be561deedb4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1849 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":"codex-rs/app-server/src/bespoke_event_handling.rs"},"region":{"startLine":1849}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d872c2f1c50d457d77a9d4f7ff2f15cebcb3264fa50e8647a525218cb1ff421"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1859 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":"codex-rs/app-server/src/bespoke_event_handling.rs"},"region":{"startLine":1859}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8eeed00cc3c433754a9bb47ab6bf58f084104662b1ac0d3c14ef46016d30dd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1874 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":"codex-rs/app-server/src/bespoke_event_handling.rs"},"region":{"startLine":1874}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a45a3626978b876490a8bc15913c18bf560803da42d2d477bce071b67fcdc78"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1882 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":"codex-rs/app-server/src/bespoke_event_handling.rs"},"region":{"startLine":1882}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca59f69e8421b441b5d2f219dfebf389630d331b08728dc8b25da89e5459406"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1930 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":"codex-rs/app-server/src/bespoke_event_handling.rs"},"region":{"startLine":1930}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb7884e4969a990e18158204d2a4201d4628eee908b8084c446e86b1abbecf3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1944 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":"codex-rs/app-server/src/bespoke_event_handling.rs"},"region":{"startLine":1944}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb1ec64729bcfc0962f4bd82ed970c4e93300ef3d2ed85f1033d10471f19b07"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1965 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":"codex-rs/app-server/src/bespoke_event_handling.rs"},"region":{"startLine":1965}}}],"partialFingerprints":{"codehealthFindingId/v1":"aebb4f24d5f99d9cd93c3b166a08e25473d2f06ce71d02d394f709941f9662b5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1973 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":"codex-rs/app-server/src/bespoke_event_handling.rs"},"region":{"startLine":1973}}}],"partialFingerprints":{"codehealthFindingId/v1":"b557cff666797156fc805117b80bcae74c9cf1b131046adc4e9b9446f67649a1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1984 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":"codex-rs/app-server/src/bespoke_event_handling.rs"},"region":{"startLine":1984}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b48bc463b10a474b8509d66878c0755624cb809ad802afe9f930a602923ac9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2040 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":"codex-rs/app-server/src/bespoke_event_handling.rs"},"region":{"startLine":2040}}}],"partialFingerprints":{"codehealthFindingId/v1":"906d76cbab5912fd89b80b4c358a69048d26714cee82a9db65cbd32f5224bac6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2046 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":"codex-rs/app-server/src/bespoke_event_handling.rs"},"region":{"startLine":2046}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5c21d520f804928779999c9adad727478e5b09f031890d47e542c6cf78b49c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2050 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":"codex-rs/app-server/src/bespoke_event_handling.rs"},"region":{"startLine":2050}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2c7a80f1366a74f4506042b47cf0549aed38a335ad5bcca44b722d59bdcf36"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2066 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":"codex-rs/app-server/src/bespoke_event_handling.rs"},"region":{"startLine":2066}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b01632acbb3198f978fb7967af23853875b3e88d0e27f21610a67a99265396"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2140 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":"codex-rs/app-server/src/bespoke_event_handling.rs"},"region":{"startLine":2140}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d5799e0c31c55d467d1280d08c699393034ef527defa6f0ef43243cc8f3bd2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2150 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":"codex-rs/app-server/src/bespoke_event_handling.rs"},"region":{"startLine":2150}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3590a5a857b6a93028faac6fb1e73d1b0581c674a95f74e4701cd0a2c632fec"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2157 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":"codex-rs/app-server/src/bespoke_event_handling.rs"},"region":{"startLine":2157}}}],"partialFingerprints":{"codehealthFindingId/v1":"2485f58a0fe70c5195d415cfc1451a29ae054568ca15fdda18f60d254a818b91"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2205 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":"codex-rs/app-server/src/bespoke_event_handling.rs"},"region":{"startLine":2205}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1f30b0cd48f2168782885bd21dc45735661c8e19844b8d8ed0bac4202dba50"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 47 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":"codex-rs/app-server/src/connection_cleanup.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"397726636d0821bb611fe15980cb14d12f0b7baf368734fda049077e58835ad1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/app-server/src/daemon_thread_recovery.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1977651592b4a756eb13731edb2acf115a497df750d0f2631ea6da440618bedd"}},{"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":"codex-rs/app-server/src/dynamic_tools.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"1737195e23b8a7444d2d0fa120499fa14cc5136055ba39c0ced90cc847349996"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 32 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":"codex-rs/app-server/src/dynamic_tools.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc1ba38ff9aa12dc115faa2e466d54ed21958064e7d89e39aa6d5e456fbb7aa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 55 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":"codex-rs/app-server/src/dynamic_tools.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7d626c4eadbb68f3b2d04337ed5c7935e8fdf0561662da816f0fb8374130a3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 95 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":"codex-rs/app-server/src/dynamic_tools.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"af69994e2329612a2714e32c061667b382ec0e7a76d3d4edabd9d855c7b3aed9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 198 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":"codex-rs/app-server/src/extensions.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b860b44b20c4d5e461a178bbe22537f3657f2a41b9c88830afededd08175fb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 237 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":"codex-rs/app-server/src/extensions.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae2496f13cc05cc47c9f6b1ddd895f82fff8b0bd718af6d2c7130f8cdd8987e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 291 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":"codex-rs/app-server/src/extensions.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84d916c5d5b370ce83cb4c14083bab32797f49061a6dc6ac061d702903ec38a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 58 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":"codex-rs/app-server/src/fs_watch.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"7990ea4129dc3889d44421963c80028785ce9f54ddc755cd29061ab5b8968575"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 75 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":"codex-rs/app-server/src/fuzzy_file_search.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3c8401a7a029fe7c1410b3da001a058902c255de582dcfe0c2590e8bbd3fc9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 79 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":"codex-rs/app-server/src/fuzzy_file_search.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d11d0ced68bd6f038f31286caf7ef34173ea0bb1fc31c8bae1bb45f27e7905"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 286 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":"codex-rs/app-server/src/lib.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ccf8d3d68aa3bdfedc76517d0b5b896fd877946ac9b5bef9c8e33dea9dc061"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 304 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":"codex-rs/app-server/src/lib.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2aee0c2d0c5b1df3cf32c279c992a752493e9db9571556c472cd7c8cd357f1b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 308 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":"codex-rs/app-server/src/lib.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb86b244627f38bc313a5bb9c7b4d33fff4d1350c9c12c9983c972dd508da33"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 316 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":"codex-rs/app-server/src/lib.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"933d9dc3550c1d90a68e3eb37dbf08e8acc33c91e9dfd2b9375dcd29fdeb1e53"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 795 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":"codex-rs/app-server/src/lib.rs"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f492aa1ad110822c348b88376c21c9d5e95b240e24bad4b2b8d86358d46903"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 796 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":"codex-rs/app-server/src/lib.rs"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"193b77d9668088ae76fdec951d514ac9a4d812fd510ca317b0e34d367ade053e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 934 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":"codex-rs/app-server/src/lib.rs"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad888828138dc95de4d88b4721bfd2e6c94e26c9e79ae32c8e535a1fd1dadfbe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1000 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":"codex-rs/app-server/src/lib.rs"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a5a95a877cf44114c3b978d2261c0d536bb70eba096177fbbe5c71c8e281f5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1085 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":"codex-rs/app-server/src/lib.rs"},"region":{"startLine":1085}}}],"partialFingerprints":{"codehealthFindingId/v1":"85301880b0d3b24c52811703236dd52c5cd8f0cce69eedc5a17b4d55974b6f77"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1101 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":"codex-rs/app-server/src/lib.rs"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff809e9a4bda558ea1c7b6ff3bfa5119ce1d550093567fcc5e64e528d28ef10d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1150 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":"codex-rs/app-server/src/lib.rs"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"500c5e168850aca4687bd1c38e164984822a18ef56ecb52a8e65582cb1bba148"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1249 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":"codex-rs/app-server/src/lib.rs"},"region":{"startLine":1249}}}],"partialFingerprints":{"codehealthFindingId/v1":"19fe1e5398612d3b231d7a26c37e53f88cde0843aa557edf10885049d440745a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1336 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":"codex-rs/app-server/src/lib.rs"},"region":{"startLine":1336}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5a3dd2549a21be045507157205c883332194fda2f74a13dd754014b54eeb4d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1552 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":"codex-rs/app-server/src/lib.rs"},"region":{"startLine":1552}}}],"partialFingerprints":{"codehealthFindingId/v1":"a99ab0dd30c17e6e0dfdd4fdaa4e3cdfc92e4c0dcf31917fc30ae7bc5db12841"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 692 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: \u0060trace!(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":"codex-rs/app-server/src/message_processor.rs"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ea0e4a6c4decfb35ee5c7009920f88f55ba04968395f9e5d14601cfac1baec"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 800 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":"codex-rs/app-server/src/message_processor.rs"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a32ef1c5fd3c630e3300e8ba22602df999575bc5d4239b723e2c8a3dfcf3a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 807 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":"codex-rs/app-server/src/message_processor.rs"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"f199d4f932b658f9866ce99919e8381af78170406aa9f8893a96c9cba5cb5bbc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 518 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":"codex-rs/app-server/src/outgoing_message.rs"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"384ed96896147ab644ec8730c2932b7d7ff43089885311e10c375d57f4403eac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 558 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":"codex-rs/app-server/src/outgoing_message.rs"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09986a13376193663966b6f24d11ba745a7561e9ebf0b802cf9f750cea80eac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 577 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":"codex-rs/app-server/src/outgoing_message.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea53c7ef77587bd2e463d07eab462d77435dcfa352e01916fa4aa8f66ad7867"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 584 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":"codex-rs/app-server/src/outgoing_message.rs"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc608174dd4d07ebc1f7f652220799955d89cacfe503f345ef4007b1c4e503cc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 588 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":"codex-rs/app-server/src/outgoing_message.rs"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4fdc6af5ce75419f745177c2cf429afcc1f9c2bb50fa4b3c0b7d98851c40716"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 604 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":"codex-rs/app-server/src/outgoing_message.rs"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d7bf9696f503e5e93b80b7c70326893f62ebed18706e64585e157af05d92bc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 608 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":"codex-rs/app-server/src/outgoing_message.rs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"e44fdc937be695827a58bc91eb353ee0980ef5a2ed87fc4b34d865c78171d7c5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 612 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":"codex-rs/app-server/src/outgoing_message.rs"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd26d2fdd4aed4d737be495cf2797edccc620e088de39cefd0c4e9f2f08ee94f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 644 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":"codex-rs/app-server/src/outgoing_message.rs"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0523a4232c921df0282145113d95ed71c4b3675920d74fb0f22f6e1448fb3ab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 734 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":"codex-rs/app-server/src/outgoing_message.rs"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2d6725c4efc7a9cfb682d5bc715a1eab9cabe47868dc11070f4b6a1528c2dd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 865 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":"codex-rs/app-server/src/outgoing_message.rs"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5848300363409b4b935468a88896fb02e88a1d779c7169706b2daa36423bacc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 874 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: \u0060trace!(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":"codex-rs/app-server/src/outgoing_message.rs"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af88a5fa1779eb97d9f6dfc974eb45e25eed8d9764bfb7371f45c1fa17fe492"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 887 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":"codex-rs/app-server/src/outgoing_message.rs"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"82cd2b019f21366d57fcaf447432992454bf89792d7581ff53bf1d9bcb4a4f2c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 902 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":"codex-rs/app-server/src/outgoing_message.rs"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"a676808ba3407a6332e86bcb7882d6eb409336cfae99c3c2700df7468e831ee7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 912 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: \u0060trace!(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":"codex-rs/app-server/src/outgoing_message.rs"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e989d0f239128a52a15fd20dae6f81127e3a6c66e240b03fbbd246efe1bca83"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 924 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":"codex-rs/app-server/src/outgoing_message.rs"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"737cbe797506280f922d6a366ad6507a6c0bc38df7a06047a1348fd5840328ae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1006 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":"codex-rs/app-server/src/outgoing_message.rs"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40d08f45d6b0886dc3cce91f5f1e28605cc607e6010a5369428bb3eef3be40d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 46 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":"codex-rs/app-server/src/skills_watcher.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dcdb328ed77495faa905c3bb8d4f4e49867c3fb3f497816765d9754d5150c04"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 102 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":"codex-rs/app-server/src/skills_watcher.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"103ce4079a90b96d8613d15963ac89b7d179212e68924bb9bac5c3691919e0c8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 301 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":"codex-rs/app-server/src/thread_state.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34921ede18f99339aa0424d8ce158c5426b3e752a897f915a7e14359ef86d50"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 148 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":"codex-rs/app-server/src/transport.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0d3f1a6e05005e31ce48b7fde4d989a25cec7ad0a75ec209b375904275a3fc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/app-server/src/transport.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0bf8900e5d29f65ef3e1c20617389089575b574efc5fe618e52f7c10c256de"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 277 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":"codex-rs/app-server/src/request_processors/account_processor.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"650c2b1e53ee8cf3995f6688c56020a9950fda819b7a1c1c9dad20e4e87cf037"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 325 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":"codex-rs/app-server/src/request_processors/account_processor.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ffe97175965c5f1ac58bc184d9e8c6e67304066d19aec065ef5b5c4c52d5a2a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/app-server/src/request_processors/account_processor.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3abfede3031046ba1c8a3d247a550bdc126e7e75993ef8a0db3a482f3601a18"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1109 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":"codex-rs/app-server/src/request_processors/account_processor.rs"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e9d44d8376ede7d95f0b822ce72136fb089c6f8f0ea601c014515dae2ab0ad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1169 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":"codex-rs/app-server/src/request_processors/account_processor.rs"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"c083191dbb04b0f01da09c901b16f6e815a3e4215bcad1e6c3ab781ef0969cd9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 173 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":"codex-rs/app-server/src/request_processors/apps_processor.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92153c2305de8d2e798f7da5b8b0bfe7fd1b1b5ad0426022670bc8129e20181"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 107 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: \u0060debug!(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":"codex-rs/app-server/src/request_processors/command_exec_processor.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5c77d85a3af9b587658aa421173495ce3c6cb5035b899d2d547d57959e4c17"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 354 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":"codex-rs/app-server/src/request_processors/config_processor.rs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"830ed5ea63bc06cc0d834f895e97ed0e0ab83d7beee3c7d29ec14a4f02d3b1f6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 424 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":"codex-rs/app-server/src/request_processors/config_processor.rs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"49938fb204fc018db4bcdf5de2e5063d8bcf896250184cba041fff019abc2bee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 172 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":"codex-rs/app-server/src/request_processors/feedback_processor.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"022be5d39d2aa3f5116cd34e12c3d5db210f402221749a38cbda9b92babff4ee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 184 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":"codex-rs/app-server/src/request_processors/feedback_processor.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"b284a80226dd4e634352369c87ca7a94df841430b1ccc25b9262d7ca2835814f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/app-server/src/request_processors/feedback_processor.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f024cc856fac9ca5f86363b3c4970afa2669fdc2e47f4487002b9e5a917f7e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 403 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":"codex-rs/app-server/src/request_processors/feedback_processor.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfb45d0a0545ba3308713a46521897ac06e86a15d5e089272433de1e9c84db2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 430 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":"codex-rs/app-server/src/request_processors/feedback_processor.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cfb3ee87b5138e807fa5b743bfde48400f4a13cd2c9e17890ac51361a1c68f9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 592 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":"codex-rs/app-server/src/request_processors/feedback_processor.rs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"524930813c050e471475a2617efa63aa7230a1e1da6dc7a2cd6ffe5d376e55a3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 608 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":"codex-rs/app-server/src/request_processors/feedback_processor.rs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"e672963f765b0a20c5db83285826b5984717b96858a1478fb937bdd20204f809"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 42 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":"codex-rs/app-server/src/request_processors/feedback_rollout_history.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97901c07ff5a92ab8287acfede8754c1dfbdd8f6226537dd2e6ed9f79a2799f"}},{"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":"codex-rs/app-server/src/request_processors/feedback_rollout_history.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"6149b9a8e3376b68b6b2a535d98b24c05c25eaff01c95a83ad5537354ac4d2f0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 117 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":"codex-rs/app-server/src/request_processors/feedback_rollout_history.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b25555779e8001e3d23f555eb0e009553330e261baa251c0a9ca7e32ae63daa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 121 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":"codex-rs/app-server/src/request_processors/feedback_rollout_history.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb0e9b650a88259fe8d8922fd050ebce643b7f926b60f0406081961ba0f1550"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1568 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":"codex-rs/app-server/src/request_processors/plugins.rs"},"region":{"startLine":1568}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc215c4cb3e978529087a823c8e4ec45dae5784714fe7ca58823afe0dd8b5c0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1583 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":"codex-rs/app-server/src/request_processors/plugins.rs"},"region":{"startLine":1583}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21849e4bcd6ba0700d5cd29dae31c74abe0528e94c5ae5f722bffb216659125"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1725 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":"codex-rs/app-server/src/request_processors/plugins.rs"},"region":{"startLine":1725}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a141d2e24eed91df3e245697677c766cfccb52c23765d77eda6b7d2a813e7f5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1886 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":"codex-rs/app-server/src/request_processors/plugins.rs"},"region":{"startLine":1886}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb3bc90c04891efc80616fb2a047e9311ea23844a25cd2cb24c407118c1b1a8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1946 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":"codex-rs/app-server/src/request_processors/plugins.rs"},"region":{"startLine":1946}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff43649844775e43d25647698b12b5d4bdc437ed3489a8007612223af6a133f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1961 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":"codex-rs/app-server/src/request_processors/plugins.rs"},"region":{"startLine":1961}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27431124f489c4c07bd606a229258b0e7cba1ad03e3e3af483c6a918808c412"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1984 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":"codex-rs/app-server/src/request_processors/plugins.rs"},"region":{"startLine":1984}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd33b0b639ec7611d518d707d6bbc0970092acd37cc15a08b537d98ac84f3279"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2091 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":"codex-rs/app-server/src/request_processors/plugins.rs"},"region":{"startLine":2091}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e09204886e398aeeaec25cbf28acedae862c7335b991ab73d6ef26d3f19219"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2231 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":"codex-rs/app-server/src/request_processors/plugins.rs"},"region":{"startLine":2231}}}],"partialFingerprints":{"codehealthFindingId/v1":"324a2966fc187039e5ce73e7f4a2e06938a7222da4ce43e9a16feab67c23f354"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2247 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":"codex-rs/app-server/src/request_processors/plugins.rs"},"region":{"startLine":2247}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6a3d777941cef4db308834e8ad64c791a74d988fe8b4922048a51247790139"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 88 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: \u0060debug!(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":"codex-rs/app-server/src/request_processors/process_exec_processor.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"41196caf0bb5ebd4bdfb523e40f43712960f0659bda74afbce1144bcad1c2706"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 18 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":"codex-rs/app-server/src/request_processors/thread_fork_goal.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"596c9ff770149ffe2098c687b48ea1963944e46051288976cb6aa2c8aa744963"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 119 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":"codex-rs/app-server/src/request_processors/thread_goal_processor.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c8976430f332b534f9ce9846e8982d770a6a37bd526981c05dde808c12effb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 239 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":"codex-rs/app-server/src/request_processors/thread_goal_processor.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f8c53c6e9083875c2885d46ee3e242b97553684b5105424ddf26ecb066ae4d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 446 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":"codex-rs/app-server/src/request_processors/thread_goal_processor.rs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"65228bd54ce9d06a8ed820e04d9a44d613f4a912d3731a4103fc9e9193cc8c63"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 465 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":"codex-rs/app-server/src/request_processors/thread_goal_processor.rs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"764abcdebd1b0719fc97810eaef62c6392de95b1e9c25f7dcaffe5d560ff30ac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 486 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":"codex-rs/app-server/src/request_processors/thread_goal_processor.rs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be89ff694254fb047d4e8f625a6f74afe5ff194ed22935125e3afa40e4e1626"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 511 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":"codex-rs/app-server/src/request_processors/thread_goal_processor.rs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc97f74201035c3ebab7204a316d388aa7838dc805e77066fcffa4062b2776ed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 300 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":"codex-rs/app-server/src/request_processors/thread_lifecycle.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5994effdd8b6ef560b12775e21c000e2f7a24a61b15eeb7bcaa441e6b1d58a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 536 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":"codex-rs/app-server/src/request_processors/thread_lifecycle.rs"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da9bf8624a8d0a1898031722f78f946e802db3c4755c5a25debbcffa234f2e1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 639 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":"codex-rs/app-server/src/request_processors/thread_lifecycle.rs"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7b6379ae0f1548d0996d8551929f43a8e34c8f1aa54e8af5efd5dbdefd6360"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 651 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":"codex-rs/app-server/src/request_processors/thread_lifecycle.rs"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"388fc2134b184000c32797889b680461a3953cbe211c53b3d1579c076116b709"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 691 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":"codex-rs/app-server/src/request_processors/thread_lifecycle.rs"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"432f69422f013f300ac89885fec93923d7c3efbdbbd33bebacbef747670ba000"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 703 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":"codex-rs/app-server/src/request_processors/thread_lifecycle.rs"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96298b3e3610a8dbe5f67efc900ac06be1e7fc9a42dfac0b772f26a7afd0075"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 866 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":"codex-rs/app-server/src/request_processors/thread_lifecycle.rs"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a2cc7b3815461bdd9d141f6a00c18afd5633471e43dff927c9a4f89265a13f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 885 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":"codex-rs/app-server/src/request_processors/thread_lifecycle.rs"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45d907a2b6ac73e2941bdf3466063333b4b6c5f352576d9e22997e7582db551"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 901 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":"codex-rs/app-server/src/request_processors/thread_lifecycle.rs"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa76c3c4a02889dc2e662e5faac50142cafef2881e2b5ede56ff7c8ca2875a4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 918 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":"codex-rs/app-server/src/request_processors/thread_lifecycle.rs"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63195309af7e495200d1b0bd55c0b02c68e9f4c59945a976f2ad7da92637f3b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1320 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":"codex-rs/app-server/src/request_processors/thread_lifecycle.rs"},"region":{"startLine":1320}}}],"partialFingerprints":{"codehealthFindingId/v1":"75190740cba10f1c73c1e53bbddb51fa01fac4cef41b9286f025f01a66a9c98b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 97 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":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e26e7e8f4f2baeb251e171370671ab8312fed25917a7375cd5331d9ab87535"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1203 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":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"458cf12257eff9d493d0c45e4217611119c0a07db1f6232b2cfb733d6379324e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1207 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":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"99335914b1a1ea509ccc0beaa13a86f3181e0bfac31d789973d8c44a62be4b66"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1212 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":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b88bf8a071dc4f6141952a28710b47d9269602efb8e8af585fe7b096ec02ee1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1424 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":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":1424}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc08a229a19f421ff3773397136a743a560be16a91f2117175ddc0fdbb5ca9da"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1427 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":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":1427}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45fb8168883c8fb7771e204f61f124d4d10cf51b54c58d8ce3431df7abdd631"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1514 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":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd092db26f87f33a8c13bcdd57903ae643dc9495626b94d9399ee21dd033313"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1888 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":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":1888}}}],"partialFingerprints":{"codehealthFindingId/v1":"fafcb8764c18f8a4385266a28b1a7f1f9ebcb7a693697d468813077c35627c1e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2233 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":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":2233}}}],"partialFingerprints":{"codehealthFindingId/v1":"f730c9d65aeeb0774d474a0f50baa3af54846d0b10bfc0cee63c28513efb9eb3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2459 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":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":2459}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddfa20bc7214051ed06a8f15b968a6dd28d31e9a3f94b5428a1b7bb7b720ffb1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4784 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":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":4784}}}],"partialFingerprints":{"codehealthFindingId/v1":"542b749d2056dea151346138328fa905fe3d83978c0ac7ee387806c5a1ff771c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4787 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":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":4787}}}],"partialFingerprints":{"codehealthFindingId/v1":"99688f8668d9d5b4183a35261e3a92e82b1c20884b6404509f6221036f06a82d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4794 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":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":4794}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea122cf177c111cd6ae307bf94c4e1a5325bc81713d3339fb6f0d2c0e3ccf8ff"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 6757 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":"codex-rs/app-server/src/request_processors/thread_processor.rs"},"region":{"startLine":6757}}}],"partialFingerprints":{"codehealthFindingId/v1":"a039ced70c8f538186dc207c9b83a09f16f6390587357445ef479014ae6a601c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 61 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":"codex-rs/app-server/src/request_processors/thread_read_state.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"410efbc11f5a0ad8b4e188f79f03c948547516954b854348119af49f6d690b9b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 87 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":"codex-rs/app-server/src/request_processors/thread_read_state.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac478b68fa215f0f56701bcd7eb750d11d1efe2d35b98b5ade2bf5adb5fae74d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 135 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":"codex-rs/app-server/src/request_processors/thread_read_state.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a0fbc0ebd00fdd8c569e56c967f236501a9d3e6cde051959c557af306975de"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 147 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":"codex-rs/app-server/src/request_processors/thread_read_state.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eda71dc50bb3e4755362f90bb13d721430c29d1045d69c8a9796e1f4e8d5b2d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 153 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":"codex-rs/app-server/src/request_processors/thread_read_state.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6481ef1d3af682f6ca30c57857c8a71c0888de3885a34d829e994f70d64a6c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 71 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":"codex-rs/app-server/src/request_processors/windows_sandbox_processor.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d945a87cbd48b2eb4dc9696aad732aefe7d9de9d09ed3bb47c595ae4b7fd42"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 186 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":"codex-rs/app-server/src/request_processors/windows_sandbox_processor.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ba2f33b6043cf05dd8c2fa27e0d00ff861ace4961d1daf27852a399ecdefc3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\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: \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":"codex-rs/app-server/src/request_processors/account_processor/rate_limit_resets.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b20878efe00d67970877a6db70e377dda1fa3abc9ae4cd815f7c6a5f76a0e3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 37 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":"codex-rs/app-server/src/request_processors/account_processor/rate_limit_resets.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b74ebbca1c4c5fdb7ef69cbaeca710223961bb06bec1cfb1a83a5018d6ae2e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 51 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":"codex-rs/ansi-escape/src/lib.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6fb86c52db149b49b9ab1da3c1146acd96bc039643ba68fefcd585693492df5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 57 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":"codex-rs/ansi-escape/src/lib.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"767b175f20fa4a6a6ea1b0749f884aa3df7cdcd5f8508a64bc67953b6e7d1f83"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 160 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":"codex-rs/analytics/src/client.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4829b7582d3ad8a070dbc8e6bc1e97406cbae592de29e89a7035a21d452994"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1180 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":"codex-rs/analytics/src/client.rs"},"region":{"startLine":1180}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9654112b89331b3afccb8643ca3ff8af137a2597e588faf9b8e33484185f14"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1214 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":"codex-rs/analytics/src/client.rs"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d98343559fcee1eeb17a30e00043095ea43069da559a2f40f049175bff4b93"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1248 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":"codex-rs/analytics/src/client.rs"},"region":{"startLine":1248}}}],"partialFingerprints":{"codehealthFindingId/v1":"809995efdbfcc4369162dfc0e5b928c7fc208be3218523a61f2ff329c7fccbb1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1251 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":"codex-rs/analytics/src/client.rs"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00a6a245e7e95d591cc2dfa9d0b9862c79dc3a5c960d7723d41fce55c68c7f7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1269 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":"codex-rs/analytics/src/client.rs"},"region":{"startLine":1269}}}],"partialFingerprints":{"codehealthFindingId/v1":"4766403aaddb68be58342e2a232eb8e2bbf3f82135b69ee9b6e00db5e9e7c7e8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2936 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":"codex-rs/analytics/src/reducer.rs"},"region":{"startLine":2936}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3447cb92bd6addf18af22eb86d594ff2702454d3d0c8bc07d9974abad74324"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 121 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":"codex-rs/agent-roles/src/loader.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2dd0269ada4adb261f0dc1912539db054e837534e3aa8b4473db7517abcd71"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_load_checks\u0060 returns \u0060[]\u0060 when \u0060(OSError, json.JSONDecodeError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. 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":"scripts/mcp_conformance/official_conformance.py"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b918c610862c28b90dde21f46acf08e06777c5f4f53fc182357298b2a3350c1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060generated_at\u0060 turns every \u0060Err\u0060 into \u0060\u0022unknown\u0022.to_string()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/doctor.rs"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"9412895c1a15418e9a0cbaf402d5083919c47e6051fb2050ecaf7bfd17fca774"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060codex_path_entries\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/doctor.rs"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef33b0d393a097125cb9def9d656e0b06c6f9e7b95f0a8d044a6bac510aced3f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060discover_desktop_logs\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/doctor/desktop.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b5d2e905524b84f8be0960960526c7ceec59031029cf4ae01e5f8b4738c49b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060source\u0060 turns every \u0060Err\u0060 into \u0060false\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/doctor/filesystem_paths.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34060608518de15aa5d794bc76a203da85a49b3dcb918e7e629fe6b6345f303"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060git_candidates\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cli/src/doctor/git.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"39676b46c440713bdd65ec40e60db05160e9143cef2e1ba15c06824e0dd34ad4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060resolve_git_ref_with_git_info\u0060 turns every \u0060Err\u0060 into \u0060\u0022main\u0022.to_string()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/cloud-tasks/src/lib.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8487d537b4465c7147123dcc44be74bfedc387cc72bcb53e055693cac8010cd"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060render_json_schema_literal\u0060 turns every \u0060Err\u0060 into \u0060\u0022unknown\u0022.to_string()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/code-mode-protocol/src/json_schema_types.rs"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7a944190ce31245a329e50cc7df7c9c48b062f2ebc7bf8ff153285d700d48c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060unknown_tui_toml_value_path\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/config/src/strict_config.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03f5f5fd6224151867a6f17dc10e905c45be99f318a455a7ddd03c54239741f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060format_legacy_environment_context_subagents\u0060 turns every \u0060Err\u0060 into \u0060String::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/agent/control/runtime_context.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"11fb876e6bb68e26bd94cee66aeb8c262eabea52795a864f3bd7e1d1964f1300"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060retained_items_for_fresh_child\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/agent/history.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd61ad78d01f314164b98f5635c21a77d97864b995dfc55d3d2bc91e9cc35283"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060cached_directory_connectors_for_tool_suggest_with_auth\u0060 turns every \u0060Err\u0060 into \u0060Arc::default()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core/src/connectors.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"f91fb541693bb02dce92e88ad2fcf99707f6f3494184a335f311b9d08fe31eb5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060get\u0060 turns every \u0060Err\u0060 into \u0060false\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/manager.rs"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"0227611b2d0861a104409eb15fb42c0958caf421fa4c8755c58e2ceaf7980e7e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060from_plugin_load_outcome\u0060 turns every \u0060Err\u0060 into \u0060Self::default()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/script_attribution.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c6d076b27e3fb1e72b771a5b03b2899cf9cab7518608623c77cbd61a94a05d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060merge_configured_plugins_with_remote_installed\u0060 turns every \u0060Err\u0060 into \u0060true\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/loader.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90f6f3de535f740723b17d2ead44f6d2bf678dbcbf653288984d684553e2c4c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060plugin_app_declarations_from_value\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/core-plugins/src/loader.rs"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"6281039ca248b9424e2fe20c151593f984560e619d2bfa630b628f9c35f18e32"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060plugin_declaration_paths\u0060 turns every \u0060Err\u0060 into \u0060PluginDeclarationPaths::default()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/exec-server/src/capability_discovery.rs"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"07329957d02ffe698fe86ab6e82fef7a316dbd8b6ebc821db966c0cc988c8d14"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060match_host_executable_rules\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/execpolicy/src/policy.rs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b614cbd4a6caf0de98126aae6fc2f3dc77fea059fa3bf0ce8b3ae2dd3acbd5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060contribute\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/ext/agent-message-board/src/mcp.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5bfd785c4e7c5830b1a9325e9177968c84791af58dae5c4cd937cc16576b82"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060session_connector_names\u0060 turns every \u0060Err\u0060 into \u0060BTreeMap::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/external-agent-migration/src/detect/sessions/connectors_cur.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97d7c78f27e0e382661adf863f74fa64f89b0f07abad9ba4bbd1b4d59ea7793"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060child_directories\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/external-agent-migration/src/detect/sessions/connectors_cur.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7830b692359701ef2ffb1d6bedd52a296eb18aee3a4b85c32b0cce52a23d35"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060mcp_server_names_from_file\u0060 turns every \u0060Err\u0060 into \u0060BTreeSet::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/external-agent-migration/src/detect/sessions/connectors_cur.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ccdfd9b7c349c4337720a499147257f8a7361e4ae19f63cbaec41a41dd4480"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060sanitize_url_for_logging\u0060 turns every \u0060Err\u0060 into \u0060\u0022\u003Cinvalid-url\u003E\u0022.to_string()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/login/src/oauth/diagnostics.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5a545346708e08b3e1062fceac48e2d89c3b715935f7ac16b96d345f65e04b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060generated_managed_ca_artifact_paths\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/certs.rs"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"23986088cf601659748c35a29f4e960052af2d5c00feb1ca9a4ed34b12e86158"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060select_credentials\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/credential_broker/registry.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3be54244e5e5218d15b2836d11c3ad5b233870a61e0115c14c9b1fdc137291"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060parse_domain_for_constraints\u0060 turns every \u0060Err\u0060 into \u0060String::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/network-proxy/src/policy.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c133e014d22645d4e8d4b41df4f1fe28e96957c275c0fa7d4b8028b34f0b63"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060get_readable_roots_with_cwd\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/permissions.rs"},"region":{"startLine":1432}}}],"partialFingerprints":{"codehealthFindingId/v1":"db39492dc5728385e586e271eeabfa68b9435b55e118c74aa0a0cd8fcb12880f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060get_writable_roots_with_cwd_impl\u0060 turns every \u0060Err\u0060 into \u0060Vec::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/protocol/src/permissions.rs"},"region":{"startLine":1569}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd225fa52e5d9cf4117ec3badade647e8f11c8ce43286189b55b2b4cbb392e45"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060find_executable_in_search_paths\u0060 turns every \u0060Err\u0060 into \u0060true\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/sandboxing/src/bwrap.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"085aded4cfe140c09a7c0d954f5cc54b583856a80b1fc46953775996b6795c4d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060shlex_join\u0060 turns every \u0060Err\u0060 into \u0060\u0022\u003Ccommand included NUL byte\u003E\u0022.to_string()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/shell-command/src/parse_command.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2885a99540fdeca369beaefcda080f93acb0149e7d7178cacbd0ce7c58d9fbd"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060enum_to_string\u0060 turns every \u0060Err\u0060 into \u0060String::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/state/src/extract.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"2325b26ccff4bed71c8d6dac9ddc8ac846bdc330be7f0806106171c49654cac7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060list_section_threads\u0060 turns every \u0060Err\u0060 into \u0060String::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/list_threads.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"5570dba4972b8ba096ba4acaad53230ebde0b5740402ea2963f9ec2b6a5e68dd"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060enum_to_string\u0060 turns every \u0060Err\u0060 into \u0060String::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/thread-store/src/local/update_thread_metadata.rs"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea73a6a890e637fc403d412cc6d705e56208a5335f6d99da5b8e74670c27cb14"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060agents_overview_details\u0060 turns every \u0060Err\u0060 into \u0060AgentsOverviewDetails::default()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/app/agents_overview_details.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed03cdbb1fd3b3dc25729aadb7b571b8b6b3bf21b35b27ee155c89a4c9df50a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060model_picker_unavailable\u0060 turns every \u0060Err\u0060 into \u0060Some(\u0022Saving the default provider. Try /model after the save finishes.\u0022.into())\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/chatwidget/model_popup_state.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6a80136b02bde00df2c6d95a64f4a2c10c806b1f685bc34bb0a1705d0d3cfe"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060options\u0060 turns every \u0060Err\u0060 into \u0060Options::default()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/tui/src/tui/tmux.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2798ee55418ecdee27c5d62770eb8e26b3587946d20e3a361286bc9a6689d7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060panic_payload_to_string\u0060 turns every \u0060Err\u0060 into \u0060\u0022unknown panic payload\u0022.to_string()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/windows-sandbox-rs/src/wfp_setup.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee74525396e39db9642cffb7a1d237065115f54616fb04d0ffb3f597b430a4f"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060stdout.contains(\u0022MULTILINE_CERT=\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060stdout.contains(\u0022MULTILINE_CERT=\u0022)\u0060 also satisfies \u0060stdout.contains(\u0022MULTILINE_CERT\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"codex-rs/shell-command/src/shell_snapshot_tests.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d977cc8e63d109c9e15c582f6796462aa4c4e0eb0a9b616d2b29d254e8e6387"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-125","guid":"98717707-96bf-ca5b-9568-8d1d257574c1","name":"CWE-125","shortDescription":{"text":"CWE-125"},"helpUri":"https://cwe.mitre.org/data/definitions/125.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-155","guid":"1bbe57fb-b7c2-765c-81eb-8c861a9d4084","name":"CWE-155","shortDescription":{"text":"CWE-155"},"helpUri":"https://cwe.mitre.org/data/definitions/155.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-20","guid":"0a612236-7785-3553-b517-eabea925caa3","name":"Improper Input Validation","shortDescription":{"text":"Improper Input Validation"},"helpUri":"https://cwe.mitre.org/data/definitions/20.html"},{"id":"CWE-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-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-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-88","guid":"32dec161-013d-ac58-8599-1309e12e67f5","name":"Improper Neutralization of Argument Delimiters in a Command (\u0027Argument Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Argument Delimiters in a Command (\u0027Argument Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/88.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-939","guid":"12397742-f2c4-8254-8012-482c3356c551","name":"CWE-939","shortDescription":{"text":"CWE-939"},"helpUri":"https://cwe.mitre.org/data/definitions/939.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":"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/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"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-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":128,"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."]}]}