{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"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":"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":"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":"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":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"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":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"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":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"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":"Payload.toRequest (cyclomatic 19): Payload.toRequest 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":"src/ValueObjects/Transporter/Payload.php"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"2189db21a95d8cbbfae1cb7a14aa6d27adc8a6e838854bfdee833c92e84fcf3a"}},{"ruleId":"D2","level":"warning","message":{"text":"Payload.toRequest (cognitive 42): Payload.toRequest has cognitive complexity 42 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 4 (10 pts), ternaries 1 (6 pts), boolean chains 5 (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":"src/ValueObjects/Transporter/Payload.php"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbaf5f29b664bd7a597dc467ef66047ca405cd40fee921b3400d3f1d54decb7a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ClientFake: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Testing/ClientFake.php"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7869f35a6fef0915930eb9c7592629765261b8541e357ccba93f5ca11a89f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 27\u002B corresponding lines): src/Actions/Conversations/ItemObjects.php:76-108 | src/Actions/Responses/ItemObjects.php:77-109 | src/Actions/Responses/OutputObjects.php:63-89 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 27 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":"src/Actions/Conversations/ItemObjects.php"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"514d95978f5d109e3268d3b5c0e3deadd14b531be212019eb5728e2af9fff7ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): src/Transporters/HttpTransporter.php:60-77 | src/Transporters/HttpTransporter.php:85-106 \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":"src/Transporters/HttpTransporter.php"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c2cdbb5346b4a0a89331f3f6d71b99b5a64b11d260fb59f1c9b2b41364eeb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): src/Responses/Responses/Input/InputMessage.php:48-63 | src/Responses/Responses/Output/OutputMessage.php:49-64 \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":"src/Responses/Responses/Input/InputMessage.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"6599b42c1e2ec30db77c19fa17bc2aa4e7ee844aba1c15ff71690b78cac1a062"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/Responses/Chat/CreateResponse.php:50-64 | src/Responses/Chat/CreateStreamedResponse.php:42-53 \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":"src/Responses/Chat/CreateResponse.php"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"804127739b0b56b65e090291ec85156dff033ff25af9535be5670544f9ae94ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): src/Responses/Containers/Files/ContainerFileListResponse.php:51-63 | src/Responses/Conversations/ConversationItemList.php:50-62 | src/Responses/Files/ListResponse.php:46-58 \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":"src/Responses/Containers/Files/ContainerFileListResponse.php"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b75fb73e0d8bb8df31cf442b04b499d74189d4e2d5c8330dfa4ab7bdbe09f4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/Responses/Audio/TranscriptionResponseSegment.php:47-61 | src/Responses/Audio/TranslationResponseSegment.php:44-56 \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":"src/Responses/Audio/TranscriptionResponseSegment.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"fffbed7b2733edf3fb5709dd6bdfe764d89c079d9c9af760acf55f73dc62d9b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/Responses/Images/Streaming/ImageGenerationCompleted.php:47-57 | src/Responses/Images/Streaming/ImageGenerationPartialImage.php:46-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":"src/Responses/Images/Streaming/ImageGenerationCompleted.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc9d878750b08373e293dfe940530611853f26b54a1c89a86455c73dd03d652"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/Transporters/HttpTransporter.php:114-124 | src/Transporters/HttpTransporter.php:132-140 \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":"src/Transporters/HttpTransporter.php"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb57eff14bd3f88862f5e60c4747b521f91e3e59918f23adc4947f0434bb7f1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): src/Responses/Audio/Streaming/TranscriptTextDelta.php:45-56 | src/Responses/Audio/Streaming/TranscriptTextDone.php:45-56 \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":"src/Responses/Audio/Streaming/TranscriptTextDelta.php"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3b9f1b9e37d8061fa19780492ceee5c40603981469074be03078b488557f46"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): src/Responses/Responses/Input/FunctionToolCallOutput.php:46-55 | src/Responses/Responses/Output/OutputCustomToolCall.php:44-53 | src/Responses/Responses/Output/OutputFunctionToolCall.php:47-58 \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":"src/Responses/Responses/Input/FunctionToolCallOutput.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"5860d5227e100a0556f838eeb8498d76d85ebb60a4b48bbc310c165717258844"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/Responses/Skills/SkillResponse.php:50-59 | src/Responses/Skills/Versions/SkillVersionResponse.php:50-59 \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":"src/Responses/Skills/SkillResponse.php"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05fddff803ba837a4313106c4a3731eee3836fd569adb950e2ece655568ab88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 10\u002B corresponding lines): src/Responses/Completions/CreateResponse.php:47-59 | src/Responses/Completions/CreateStreamedResponse.php:42-53 | src/Responses/Embeddings/CreateResponse.php:45-55 | src/Responses/Images/CreateResponse.php:44-53 | src/Responses/Images/EditResponse.php:44-53 | src/Responses/Images/VariationResponse.php:44-53 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Responses/Completions/CreateResponse.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8522a2ee6a3397b1b8d1187f5dbdeb882c5258df0ef248cfaa77ac27a09cf87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/Resources/ThreadsRuns.php:150-155 | src/Resources/ThreadsRunsSteps.php:41-46 \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":"src/Resources/ThreadsRuns.php"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3b77d10a3dc25107b01f75a99c1296cd3b9e5d51e77fcee3fd170b590a886c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/Responses/Decisions/ChoiceAnswer.php:30-39 | src/Responses/Decisions/ScoreAnswer.php:30-39 \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":"src/Responses/Decisions/ChoiceAnswer.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ee0faac3224fe46df439d2027769af55cb2bc677f977491dfd81d5f27f692e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): src/Responses/Responses/Streaming/ShellCallCommandDelta.php:44-52 | src/Responses/Responses/Streaming/ShellCallOutputContentDelta.php:47-55 | src/Responses/Responses/Streaming/ShellCallOutputContentDone.php:50-58 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Responses/Responses/Streaming/ShellCallCommandDelta.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e058f07bc093dc464e0161ae124eaed5e85ee4b68c2ee5e522263a7913db5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/Resources/Threads.php:67-73 | src/Resources/ThreadsRuns.php:48-54 \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":"src/Resources/Threads.php"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5041236208308870b5023abac258afac5ae85ffaa1c91068c18f9fb7a7eaf37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): src/Responses/FineTuning/ListJobEventsResponse.php:44-53 | src/Responses/FineTuning/ListJobsResponse.php:44-54 \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":"src/Responses/FineTuning/ListJobEventsResponse.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a86ff84b51002158ed66877958c4d58cc82570b57a6394e15a38054c061f50"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/Responses/Responses/Streaming/ReasoningSummaryPart.php:46-53 | src/Responses/Responses/Streaming/ReasoningSummaryTextDone.php:43-50 \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":"src/Responses/Responses/Streaming/ReasoningSummaryPart.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"8801b4e7f90dc8e82baf8c199121277bdf405d8c95454314a137fee7c9cbcb45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 6\u002B corresponding lines): src/Resources/Conversations.php:53-58 | src/Resources/Skills.php:82-87 | src/Resources/VectorStores.php:79-84 | src/Resources/VectorStoresFiles.php:76-81 \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":"src/Resources/Conversations.php"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f85fde7330c97739f6d3e54725e497b3baca326441103f7f95ebb878e344e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): src/Responses/Chat/CreateResponseChoice.php:21-26 | src/Responses/Chat/CreateStreamedResponseChoice.php:21-26 | src/Responses/Completions/CreateResponseChoice.php:21-28 \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":"src/Responses/Chat/CreateResponseChoice.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e464b2372dca2e3b821e4c2cd293e3f7af066ea50ffc8544dc935b46cb5e096e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): src/Responses/Responses/Streaming/ApplyPatchCallOperationDiffDelta.php:44-52 | src/Responses/Responses/Streaming/CustomToolCallInputDelta.php:43-50 | src/Responses/Responses/Streaming/ReasoningSummaryTextDelta.php:43-50 | src/Responses/Responses/Streaming/RefusalDelta.php:43-50 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Responses/Responses/Streaming/ApplyPatchCallOperationDiffDelta.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a51d02d9af863c7ade20159f0b37c8e388526a074e5d8f4aac47c381b1935dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/Resources/Audio.php:82-88 | src/Resources/Responses.php:59-65 \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":"src/Resources/Audio.php"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"af57780acb016661b8cc2198cd11f17a979e6702d3eca409d895ab1e1aa88277"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): src/Resources/Files.php:85-90 | src/Resources/Models.php:55-60 | src/Resources/Responses.php:125-130 \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":"src/Resources/Files.php"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b68f41f6eb44743aefd905d796c48ce6294afc1dcb4b58b15496c9e0c2a37f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): src/Resources/Batches.php:56-61 | src/Resources/FineTuning.php:76-81 | src/Resources/VectorStoresFileBatches.php:73-78 \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":"src/Resources/Batches.php"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"0978960f24df49c02e1c3522b138ee3e2cbe1f4aa4785294cb580e8adb6ab7ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/Resources/Conversations.php:27-32 | src/Resources/ConversationsItems.php: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":"src/Resources/Conversations.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37488c1bb61a0a421b9e0800a541dbc6c1e411832ed263f078c5af4de748704"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): src/Resources/Files.php:70-75 | src/Resources/SkillVersions.php:32-37 | src/Resources/Skills.php:33-38 \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":"src/Resources/Files.php"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa77a87e7177a9951db3b80091904467f13960eab20c9e3d6ea70deb14f135f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/Responses/Responses/Output/OutputLocalShellCall.php:43-49 | src/Responses/Responses/Output/OutputProgramOutput.php:42-48 \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":"src/Responses/Responses/Output/OutputLocalShellCall.php"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d107fd9b625c55a94eadd00bd158dcfe416784f624a080af61a27f145bdc9b30"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): src/Responses/Responses/Streaming/ApplyPatchCallOperationDiffDone.php:43-50 | src/Responses/Responses/Streaming/CompactionCompacting.php:42-48 | src/Responses/Responses/Streaming/CustomToolCallInputDone.php:43-50 \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":"src/Responses/Responses/Streaming/ApplyPatchCallOperationDiffDone.php"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"027339639bd5535c02764345ab6e106ae5eb801efe4def890bc1ea3bf5d059df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): src/Responses/Responses/Streaming/ImageGenerationPart.php:42-48 | src/Responses/Responses/Streaming/ImageGenerationPartialImage.php:44-52 | src/Responses/Responses/Streaming/McpCallArgumentsDelta.php:43-50 | src/Responses/Responses/Streaming/McpCallArgumentsDone.php:43-50 \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":"src/Responses/Responses/Streaming/ImageGenerationPart.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e435670057c6b7774a1c6e5e1800593b24332d70d6a22fdc4f4a9c2479e378"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): src/Responses/Responses/Output/ComputerAction/OutputComputerActionClick.php:41-46 | src/Responses/Responses/Output/ComputerAction/OutputComputerActionScroll.php:41-47 \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":"src/Responses/Responses/Output/ComputerAction/OutputComputerActionClick.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1b259e005ecdbe8d792833765e227191dd610c20d5aafa309a401c934f09eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2): src/Responses/Responses/CreateResponse.php:138-188 | src/Responses/Responses/RetrieveResponse.php:138-188 \u2014 before extracting anything, compare \u0060src/Responses/Responses/CreateResponse.php\u0060 and \u0060src/Responses/Responses/RetrieveResponse.php\u0060 as WHOLE FILES: 95% 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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Responses/Responses/CreateResponse.php"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63a4b9bc68b93560adce85bae33430ef24b765b5f9b209c57715ddebcc2ce40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): src/Actions/Conversations/ItemObjects.php:81-108 | src/Actions/Responses/ItemObjects.php:82-109 \u2014 \u0060src/Actions/Conversations/ItemObjects.php\u0060 and \u0060src/Actions/Responses/ItemObjects.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 36 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Actions/Conversations/ItemObjects.php: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Actions/Responses/ItemObjects.php:81\u0060 calls \u0060from\u0060 and \u0060src/Actions/Conversations/ItemObjects.php:80\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":"src/Actions/Conversations/ItemObjects.php"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f4a569184410c50f179fe7f888a0ff61a2233717d38e089329a59970f0f5c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Responses/Images/CreateStreamedResponse.php:39-53 | src/Responses/Images/EditStreamedResponse.php:39-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":"src/Responses/Images/CreateStreamedResponse.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"28509193a3bdfb6c2b7125f9caa272b6cd591bcb0b717107aed63c535442516f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Responses/Assistants/AssistantResponse.php:61-73 | src/Responses/Threads/Runs/ThreadRunResponse.php:74-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Responses/Assistants/AssistantResponse.php:61\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":"src/Responses/Assistants/AssistantResponse.php"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef64878f967adcd5d2990d7d701dcf7144b59ab65d4eb9a83c4207f3efded74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Responses/Containers/CreateContainer.php:51-60 | src/Responses/Containers/RetrieveContainer.php:51-60 \u2014 before extracting anything, compare \u0060src/Responses/Containers/CreateContainer.php\u0060 and \u0060src/Responses/Containers/RetrieveContainer.php\u0060 as WHOLE FILES: 87% 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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Responses/Containers/CreateContainer.php"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b766d40b302bfb157d027c482e54f7daadabc8ee310a2966d2ec8e11a6821329"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Responses/Responses/Tool/CustomTool.php:48-57 | src/Responses/Responses/Tool/NamespaceTools/CustomTool.php:48-57 \u2014 before extracting anything, compare \u0060src/Responses/Responses/Tool/CustomTool.php\u0060 and \u0060src/Responses/Responses/Tool/NamespaceTools/CustomTool.php\u0060 as WHOLE FILES: 94% 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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Responses/Responses/Tool/CustomTool.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e68f8510f65931ac208bd5f5eb3398f76ccec6106c348a5cbb4e2bc47f3e8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/Transporters/HttpTransporter.php:60-68 | src/Transporters/HttpTransporter.php:85-93 | src/Transporters/HttpTransporter.php:114-122 \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, \u0060src/Transporters/HttpTransporter.php:95\u0060 calls \u0060str_contains\u0060, \u0060getHeaderLine\u0060, \u0060from\u0060 and \u0060src/Transporters/HttpTransporter.php: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":"src/Transporters/HttpTransporter.php"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"52631d1f85516168313100d482eaf8b25b1ee9f4a950c04d2ad31bdd1be5ab7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Responses/Responses/Tool/FunctionTool.php:46-54 | src/Responses/Responses/Tool/NamespaceTools/FunctionTool.php:46-54 \u2014 before extracting anything, compare \u0060src/Responses/Responses/Tool/FunctionTool.php\u0060 and \u0060src/Responses/Responses/Tool/NamespaceTools/FunctionTool.php\u0060 as WHOLE FILES: 94% 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 2 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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Responses/Responses/Tool/FunctionTool.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"340c7eaf6bc5c2fde1e5428af2639fdb7832d95f071f4cc39bb6ec177699702b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/Actions/Conversations/ItemObjects.php:87-94 | src/Actions/Responses/ItemObjects.php:88-95 | src/Actions/Responses/OutputObjects.php:74-81 \u2014 \u0060src/Actions/Conversations/ItemObjects.php\u0060 and \u0060src/Actions/Responses/ItemObjects.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 36 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Actions/Conversations/ItemObjects.php"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"654aeb8c06b6badd3091cc6de4edf66e9b4a0141b3de46fcc6722f5e6d97be0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3): src/Resources/Chat.php:30-120 | src/Resources/Completions.php:28-54 | src/Resources/Images.php:31-109 \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 \u0060src/Resources/Chat.php:30\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. Note first that the copies are not typed on the same thing: \u0060CreateResponse\u0060 names \u0060OpenAI\\Responses\\Chat\\CreateResponse\u0060 in one and \u0060OpenAI\\Responses\\Completions\\CreateResponse\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"src/Resources/Chat.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a4c58bcbc62251987cf89214c79ead751eda4b592db020bfcce9cfeef0c28a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 10): src/Responses/Agents/AgentDeleteResponse.php:46-63 | src/Responses/Agents/Environments/Templates/AgentEnvironmentTemplateDeleteResponse.php:46-63 | src/Responses/Agents/Sessions/AgentSessionDeleteResponse.php:46-63 | src/Responses/Containers/DeleteContainer.php:41-58 | src/Responses/Containers/Files/ContainerFileDeleteResponse.php:43-60 | src/Responses/Conversations/ConversationDeletedResponse.php:46-63 | src/Responses/Responses/DeleteResponse.php:41-58 | src/Responses/Skills/SkillDeleteResponse.php:46-63 | src/Responses/Vaults/Credentials/VaultCredentialDeleteResponse.php:46-63 | src/Responses/Vaults/VaultDeleteResponse.php:46-63 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 10 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 10 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Responses/Agents/AgentDeleteResponse.php:46\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":"src/Responses/Agents/AgentDeleteResponse.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2701853dca722362380f548eb6600969eb2b0c56182f312e079f9c5433e7c5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 6): src/Responses/Batches/BatchResponseErrorsData.php:35-53 | src/Responses/Chat/CreateResponseChoiceAnnotationsUrlCitations.php:19-37 | src/Responses/Completions/CreateResponseChoiceLogprobs.php:27-45 | src/Responses/FineTunes/RetrieveResponseEvent.php:34-52 | src/Responses/FineTunes/RetrieveResponseHyperparams.php:34-52 | src/Responses/FineTunes/RetrieveStreamedResponseEvent.php:37-55 \u2014 before extracting anything, compare \u0060src/Responses/FineTunes/RetrieveResponseEvent.php\u0060 and \u0060src/Responses/FineTunes/RetrieveStreamedResponseEvent.php\u0060 as WHOLE FILES: 97% 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 \u0060src/Responses/Batches/BatchResponseErrorsData.php:35\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":"src/Responses/Batches/BatchResponseErrorsData.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca68813300fa79999e8e040fddec3986a10bde776b01f60fc9ceeee634a8b9a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/Responses/Decisions/CreateResponseUsage.php:41-61 | src/Responses/Responses/CreateResponseUsage.php:41-61 \u2014 \u0060src/Responses/Decisions/CreateResponseUsage.php\u0060 and \u0060src/Responses/Responses/CreateResponseUsage.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 21 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Responses/Decisions/CreateResponseUsage.php:41\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":"src/Responses/Decisions/CreateResponseUsage.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea0cdb969e445a1decf80ca5efc6a1f3175c9babcae9bd826eb77afb7fbf2c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): src/Responses/Files/CreateResponse.php:50-79 | src/Responses/Files/RetrieveResponse.php:50-79 \u2014 before extracting anything, compare \u0060src/Responses/Files/CreateResponse.php\u0060 and \u0060src/Responses/Files/RetrieveResponse.php\u0060 as WHOLE FILES: 89% 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 \u0060src/Responses/Files/CreateResponse.php:50\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":"src/Responses/Files/CreateResponse.php"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e1bf9287c81cd4a84f390d72cd9e054f7e15e6c33b045858c7323a126617c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/Responses/FineTunes/ListResponse.php:43-66 | src/Responses/Models/ListResponse.php:41-64 \u2014 \u0060src/Responses/FineTunes/ListResponse.php\u0060 and \u0060src/Responses/Models/ListResponse.php\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 1 separate duplicated blocks between them, totalling at least 24 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Responses/FineTunes/ListResponse.php:43\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":"src/Responses/FineTunes/ListResponse.php"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4199d7b09a512d82ee43badab7e0cfd296a9727645dec37b437b2554200bf33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Responses/Images/EditResponseData.php:32-45 | src/Responses/Images/VariationResponseData.php:32-45 \u2014 before extracting anything, compare \u0060src/Responses/Images/EditResponseData.php\u0060 and \u0060src/Responses/Images/VariationResponseData.php\u0060 as WHOLE FILES: 96% 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 \u0060src/Responses/Images/EditResponseData.php:32\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":"src/Responses/Images/EditResponseData.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ae916d8290aabb2e1fd101c497af003761eaa092ff6f976f0345600f05aef2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/Responses/Images/Streaming/Error.php:42-61 | src/Responses/Responses/Streaming/Error.php:42-61 \u2014 before extracting anything, compare \u0060src/Responses/Images/Streaming/Error.php\u0060 and \u0060src/Responses/Responses/Streaming/Error.php\u0060 as WHOLE FILES: 93% 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. 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 \u0060src/Responses/Images/Streaming/Error.php:42\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":"src/Responses/Images/Streaming/Error.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"673e43455892d5e15ba6fcc618d2be093826ef076f0bffe9476f4f86760ae300"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Responses/Responses/Input/AcknowledgedSafetyCheck.php:36-52 | src/Responses/Responses/Output/ComputerAction/OutputComputerPendingSafetyCheck.php:36-52 \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 \u0060src/Responses/Responses/Input/AcknowledgedSafetyCheck.php:36\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":"src/Responses/Responses/Input/AcknowledgedSafetyCheck.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fec5fe12f88b92a315c2259e22a01607e503abad7357c531f1e63e316a809aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Responses/Responses/Output/ApplyPatchOperation/OutputApplyPatchOperationCreateFile.php:39-55 | src/Responses/Responses/Output/ApplyPatchOperation/OutputApplyPatchOperationUpdateFile.php:39-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 \u0060src/Responses/Responses/Output/ApplyPatchOperation/OutputApplyPatchOperationCreateFile.php:39\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":"src/Responses/Responses/Output/ApplyPatchOperation/OutputApplyPatchOperationCreateFile.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a65872b92e3087ddf2ee6ac7117b28c95f11e8d699b762feffecff726e3403"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Responses/Responses/Output/ComputerAction/OutputComputerActionDoubleClick.php:39-55 | src/Responses/Responses/Output/ComputerAction/OutputComputerActionMove.php:39-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 \u0060src/Responses/Responses/Output/ComputerAction/OutputComputerActionDoubleClick.php:39\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":"src/Responses/Responses/Output/ComputerAction/OutputComputerActionDoubleClick.php"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"056a730fdd68228449466fda69d3f60d33983fac6cae64d6b381cdfd2e4a76d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): src/Responses/Responses/Streaming/CodeInterpreterCall.php:41-58 | src/Responses/Responses/Streaming/FileSearchCall.php:41-58 | src/Responses/Responses/Streaming/WebSearchCall.php:41-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 all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Responses/Responses/Streaming/CodeInterpreterCall.php:41\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":"src/Responses/Responses/Streaming/CodeInterpreterCall.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a525dd9613107d9a180d0a2635437d0b47eeb125cf79f95a0b827249e73daf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/Responses/Responses/Streaming/CodeInterpreterCodeDelta.php:42-61 | src/Responses/Responses/Streaming/FunctionCallArgumentsDelta.php:42-61 \u2014 before extracting anything, compare \u0060src/Responses/Responses/Streaming/CodeInterpreterCodeDelta.php\u0060 and \u0060src/Responses/Responses/Streaming/FunctionCallArgumentsDelta.php\u0060 as WHOLE FILES: 82% 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 \u0060src/Responses/Responses/Streaming/CodeInterpreterCodeDelta.php:42\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":"src/Responses/Responses/Streaming/CodeInterpreterCodeDelta.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d169b4780d173f5aeb1fd4933484ab4a91578ea09046d8b26af33e5e7bea8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/Responses/Responses/Streaming/OutputTextDelta.php:44-67 | src/Responses/Responses/Streaming/ReasoningTextDelta.php:44-67 \u2014 before extracting anything, compare \u0060src/Responses/Responses/Streaming/OutputTextDelta.php\u0060 and \u0060src/Responses/Responses/Streaming/ReasoningTextDelta.php\u0060 as WHOLE FILES: 84% 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 \u0060src/Responses/Responses/Streaming/OutputTextDelta.php:44\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":"src/Responses/Responses/Streaming/OutputTextDelta.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1e71fb2dfd815c34d35e2c41da23d213fd0f396cf69ffee0a9202fd357b1e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/Responses/Responses/Streaming/OutputTextDone.php:44-67 | src/Responses/Responses/Streaming/ReasoningTextDone.php:44-67 \u2014 before extracting anything, compare \u0060src/Responses/Responses/Streaming/OutputTextDone.php\u0060 and \u0060src/Responses/Responses/Streaming/ReasoningTextDone.php\u0060 as WHOLE FILES: 84% 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 \u0060src/Responses/Responses/Streaming/OutputTextDone.php:44\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":"src/Responses/Responses/Streaming/OutputTextDone.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00d85d4a60276f21c9348cdf565ee3f94ef1e37a712367f46f8e6f50cb57f90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): src/Responses/Threads/Messages/ThreadMessageResponseContentImageFile.php:35-49 | src/Responses/Threads/Messages/ThreadMessageResponseContentImageUrl.php:35-49 | src/Responses/Threads/Messages/ThreadMessageResponseContentTextAnnotationFileCitation.php:35-49 \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 \u0060src/Responses/Threads/Messages/ThreadMessageResponseContentImageFile.php:35\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":"src/Responses/Threads/Messages/ThreadMessageResponseContentImageFile.php"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4197e656537f1d1d3f907436f814e4ca357f6299c7ad530cf7e0f221b993ffee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): src/Resources/Decisions.php:28-33 | src/Resources/Edits.php:28-33 | src/Resources/Embeddings.php:25-30 | src/Resources/Moderations.php:25-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 all 4 call sites, so a change lands once. 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 first that the copies are not typed on the same thing: \u0060CreateResponse\u0060 names \u0060OpenAI\\Responses\\Decisions\\CreateResponse\u0060 in one and \u0060OpenAI\\Responses\\Edits\\CreateResponse\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"src/Resources/Decisions.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"8537cc4f44cf0a4fc8eda19e1c9124963e9ff26615c279b3feb754902bff2bd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): src/Resources/Files.php:41-46 | src/Resources/FineTunes.php:61-66 | src/Resources/Models.php:40-45 | src/Resources/Responses.php:75-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 all 4 call sites, so a change lands once. 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 first that the copies are not typed on the same thing: \u0060RetrieveResponse\u0060 names \u0060OpenAI\\Responses\\Files\\RetrieveResponse\u0060 in one and \u0060OpenAI\\Responses\\FineTunes\\RetrieveResponse\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"src/Resources/Files.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"3578570d8e7b1b7ecafa8313ef1b79174119b3229bf1d336266ce512e7e003e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Resources/FineTunes.php:46-51 | src/Resources/Models.php:25-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. 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 first that the copies are not typed on the same thing: \u0060ListResponse\u0060 names \u0060OpenAI\\Responses\\FineTunes\\ListResponse\u0060 in one and \u0060OpenAI\\Responses\\Models\\ListResponse\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"src/Resources/FineTunes.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d83aa7b50b731a2ecb7bd28fc6f38ed746093bde53260e73be5eb97be50ef77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Resources/FineTunes.php:76-81 | src/Resources/Responses.php:110-115 \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 \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 first that the copies are not typed on the same thing: \u0060RetrieveResponse\u0060 names \u0060OpenAI\\Responses\\FineTunes\\RetrieveResponse\u0060 in one and \u0060OpenAI\\Responses\\Responses\\RetrieveResponse\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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":"src/Resources/FineTunes.php"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"553734ba649b156c245df07a30fa67adf394d02165011e5932ae7e9f0d511d59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Resources/VectorStoresFileBatches.php:58-63 | src/Resources/VectorStoresFiles.php:44-49 \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 \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":"src/Resources/VectorStoresFileBatches.php"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"0096951f71c6131d3f003c92440c2e40c8eb2019ae1c1879003e82588f4c7c4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): src/Responses/Decisions/CreateResponse.php:89-101 | src/Responses/Images/CreateResponse.php:61-73 | src/Responses/Images/EditResponse.php:61-73 | src/Responses/Images/Streaming/ImageGenerationCompleted.php:65-79 | src/Responses/Images/VariationResponse.php:61-73 \u2014 before extracting anything, compare \u0060src/Responses/Images/EditResponse.php\u0060 and \u0060src/Responses/Images/VariationResponse.php\u0060 as WHOLE FILES: 92% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Responses/Decisions/CreateResponse.php"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9add75a0d3b1b81e98493d8f72a5a53ad1f03bf993127dc6b4fef7953cbb78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Responses/Responses/Tool/FunctionTool.php:62-78 | src/Responses/Responses/Tool/NamespaceTools/FunctionTool.php:62-78 \u2014 before extracting anything, compare \u0060src/Responses/Responses/Tool/FunctionTool.php\u0060 and \u0060src/Responses/Responses/Tool/NamespaceTools/FunctionTool.php\u0060 as WHOLE FILES: 94% 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 2 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. 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":"src/Responses/Responses/Tool/FunctionTool.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"773975e1ce717ee6878384e1874acc4854a9365606b8d4ccee05975d94fab293"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 28): src/Resources/AgentEnvironmentFiles.php:30-35 | src/Resources/AgentEnvironmentTemplates.php:32-37 | src/Resources/AgentEnvironmentTemplates.php:64-69 | src/Resources/AgentEnvironmentTemplates.php:96-101 | src/Resources/AgentEnvironments.php:32-37 | src/Resources/AgentEnvironments.php:64-69 | src/Resources/AgentSessions.php:33-38 | src/Resources/AgentSessions.php:65-70 | src/Resources/AgentSessions.php:97-102 | src/Resources/Agents.php:34-39 | src/Resources/Agents.php:66-71 | src/Resources/Agents.php:98-103 | src/Resources/Assistants.php:27-32 | src/Resources/Assistants.php:42-47 | src/Resources/Assistants.php:74-79 | src/Resources/Threads.php:32-37 | src/Resources/Threads.php:49-54 | src/Resources/Threads.php:83-88 | src/Resources/Threads.php:115-120 | src/Resources/ThreadsMessages.php:27-32 | src/Resources/ThreadsMessages.php:42-47 | src/Resources/ThreadsMessages.php:74-79 | src/Resources/VaultCredentials.php:32-37 | src/Resources/VaultCredentials.php:64-69 | src/Resources/VaultCredentials.php:96-101 | src/Resources/Vaults.php:33-38 | src/Resources/Vaults.php:65-70 | src/Resources/Vaults.php:97-102 \u2014 there are 28 copies across 10 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 28 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Resources/AgentEnvironmentFiles.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"3295836d5e4de29c665453a28194c85c902124aeb0b52b3e73783569087b3e72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 9): src/Resources/AgentEnvironmentFiles.php:47-52 | src/Resources/AgentEnvironmentTemplates.php:49-54 | src/Resources/AgentEnvironments.php:49-54 | src/Resources/AgentSessions.php:50-55 | src/Resources/Agents.php:51-56 | src/Resources/Assistants.php:91-96 | src/Resources/ThreadsMessages.php:91-96 | src/Resources/VaultCredentials.php:49-54 | src/Resources/Vaults.php:50-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 all 9 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Resources/AgentEnvironmentFiles.php"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1c4211437be3ada071f7d63234402c2cb02a5f6d2b300d4075b3b3576a435e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8): src/Resources/AgentEnvironmentTemplates.php:81-86 | src/Resources/AgentSessions.php:82-87 | src/Resources/Agents.php:83-88 | src/Resources/Assistants.php:59-64 | src/Resources/Threads.php:100-105 | src/Resources/ThreadsMessages.php:59-64 | src/Resources/VaultCredentials.php:81-86 | src/Resources/Vaults.php:82-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 all 8 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Resources/AgentEnvironmentTemplates.php"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc3afab30fb10925909424646ef536fe83d0d21e0131e5b9a3bf7798f1cbdb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Resources/ThreadsRuns.php:98-103 | src/Resources/ThreadsRunsSteps.php:24-29 \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":"src/Resources/ThreadsRuns.php"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb23e6f81719114211794bb6951dc9dd8073121c599819c7ec9eba204da5883"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 8): src/Responses/Assistants/AssistantListResponse.php:46-58 | src/Responses/Batches/BatchListResponse.php:46-58 | src/Responses/Chat/ListResponse.php:46-58 | src/Responses/Threads/Messages/ThreadMessageListResponse.php:46-58 | src/Responses/Threads/Runs/Steps/ThreadRunStepListResponse.php:46-58 | src/Responses/Threads/Runs/ThreadRunListResponse.php:46-58 | src/Responses/VectorStores/Files/VectorStoreFileListResponse.php:46-58 | src/Responses/VectorStores/VectorStoreListResponse.php:46-58 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 8 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 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Responses/Assistants/AssistantListResponse.php"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef892c6eaa516766d32fcd5242fd8bdc45d593ff0f8242f2dc7008812b5fb42d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Responses/Threads/Messages/ThreadMessageResponseContentTextAnnotationFileCitationObject.php:41-47 | src/Responses/Threads/Messages/ThreadMessageResponseContentTextAnnotationFilePathObject.php:41-47 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Responses/Threads/Messages/ThreadMessageResponseContentTextAnnotationFileCitationObject.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"053264c56559a00af44b527d72a04fef8ccc6bd8a3ebc6d5d948f73a98c77e78"}},{"ruleId":"D5","level":"error","message":{"text":"Circular dependency: src/Actions \u2192 src/Responses \u2192 src/Actions (one cycle inside a mutually-dependent group of 6 modules)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Actions/Conversations/ItemObjects.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"130b5ca30488c8f8b0c64483b6cee42d9d7ff610c97af8c16a958a1c303a1c21"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: src/Exceptions: src/Exceptions: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 6 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3f503a9dcb69c35d70f3236e031e276ee511422563f951b55c052512a7076675"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/ValueObjects/Transporter/Payload.php: src/ValueObjects/Transporter/Payload.php changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in Payload.toRequest at line 154. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 16:23:39 -05:00\u0027 --until=\u00272026-11-15 16:23:39 -05:00\u0027 --full-history --no-merges -- src/ValueObjects/Transporter/Payload.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ValueObjects/Transporter/Payload.php"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f8dddcf00afac7d0071d613bad1c006c2603aab6f13a1f4264f6fdaa68d13c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/Responses/Responses/CreateResponse.php: src/Responses/Responses/CreateResponse.php changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is CreateResponse.from at line 136), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(OpenAI): parse the local_shell and web_search_2025_08_26 tools of a response (#841)\u201D; \u201Cfix(OpenAI): support more tool_choice types in Responses (#829)\u201D; \u201Cfix(OpenAI): support the computer tool and its batched actions (#825)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 16:23:39 -05:00\u0027 --until=\u00272026-11-15 16:23:39 -05:00\u0027 --full-history --no-merges -- src/Responses/Responses/CreateResponse.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Responses/Responses/CreateResponse.php"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbfe9a3c88977bbe99906c2c559c0327b4ecbe9e477b7142b3fa01c4c15e8e80"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/Responses/Responses/RetrieveResponse.php: src/Responses/Responses/RetrieveResponse.php changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is RetrieveResponse.from at line 136), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(OpenAI): parse the local_shell and web_search_2025_08_26 tools of a response (#841)\u201D; \u201Cfix(OpenAI): support more tool_choice types in Responses (#829)\u201D; \u201Cfix(OpenAI): support the computer tool and its batched actions (#825)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-17..2026-11-15, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-17 16:23:39 -05:00\u0027 --until=\u00272026-11-15 16:23:39 -05:00\u0027 --full-history --no-merges -- src/Responses/Responses/RetrieveResponse.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Responses/Responses/RetrieveResponse.php"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"51875362646cc9fc21aaeeb9dbecf1c4d26dff16f5732a665e8edf1a9b0d0360"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 2 significant file(s) lose their only recent owner: src/Resources/Chat.php, src/Responses/Conversations/Objects/Message.php. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c28cb80341720386ed0029d35c721f5d3e398a946b7057e003f5093e02c83845"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 4 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 (7 single-owned of 143 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; 143 of the 574 production source files in this repository met that bar). They are anonymized user #2 (2 file(s)), anonymized user #3 (1 file(s)), anonymized user #4 (1 file(s)), anonymized user #5 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: src/Responses/Responses/Output/OutputComputerToolCall.php, src/Responses/Responses/Output/OutputCodeInterpreterToolCall.php, src/ValueObjects/ResourceUri.php, src/Responses/Responses/Output/OutputReasoning.php, src/Responses/Responses/Tool/FileSearchTool.php."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"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":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"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":"D35","level":"warning","message":{"text":"Change coupling: CreateResponse.php \u2194 RetrieveResponse.php: \u0060src/Responses/Responses/CreateResponse.php\u0060 and \u0060src/Responses/Responses/RetrieveResponse.php\u0060 change together 93% of the time (14 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 14 shared commits counted here, the most recent 3 are \u0060cce10147\u0060 fix(OpenAI): parse the local_shell and web_search_2025_08_26 tools of\u2026; \u00605c01f49c\u0060 fix(OpenAI): support more tool_choice types in Responses (#829); \u00603ad59566\u0060 fix(OpenAI): support the computer tool and its batched actions (#825) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Responses/Responses/CreateResponse.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3760b3943b55289e31197b8795c32ae05c36dfd092641b359102301f3e608483"}},{"ruleId":"AX3","level":"error","message":{"text":"Project dependency cycle: The projects src/Actions \u2192 src/Responses \u2192 src/Actions (one cycle inside a mutually-dependent group of 6 projects) form a reference cycle. Cyclic dependencies prevent independent build/test/deploy, blur ownership, and tend to grow into a big ball of mud. Break the cycle by extracting the shared types into a separate project both can reference."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Actions/Conversations/ItemObjects.php"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a49bb0f179a74757454656a5e81eda2ade97b4604e5b1c7f713c7150cdb01c5"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ClientContract (23 methods): \u0060ClientContract\u0060 declares 23 methods: \u0060completions\u0060, \u0060responses\u0060, \u0060conversations\u0060, \u0060realtime\u0060, \u0060chat\u0060, \u0060containers\u0060, \u0060skills\u0060, \u0060agents\u0060, \u0060vaults\u0060, \u0060decisions\u0060, \u0060embeddings\u0060, \u0060audio\u0060, \u0060edits\u0060, \u0060files\u0060, \u0060models\u0060, \u0060fineTuning\u0060, \u0060fineTunes\u0060, \u0060moderations\u0060, \u0060images\u0060, \u0060assistants\u0060, \u0060threads\u0060, \u0060batches\u0060, \u0060vectorStores\u0060. Counted over its public instance methods, once per name; constants and static methods are not counted. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Contracts/ClientContract.php"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"311dd2c86a74a0230a97d9ae6f5cde916bf13735ff3c8050d29abe4e00c54f44"}},{"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":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P1","level":"note","message":{"text":"CI build step not evidenced: A CI pipeline exists but no build step was matched \u2014 changes may merge without the build ever running. A build step may be invoked directly as a command, or declared as a task that a runner named in the pipeline resolves."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"251015acef1a259fcc13b7c60660cc8917ccb3ae8056cb5165ae03312dd586e8"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch composer: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060composer\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.yml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"f222255da0f177f44768e77e54ff49a4cce490031c2281f22ed6c953335893fc"}}],"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-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.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-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-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"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":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]}],"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":1,"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."]}]}