Repository navigation
det: translate a SYSLIB collision through the engine's first-library member, with a warning; strict mode refuses (#4486) - #4563
Merged
Conversation
…member, with a warning; --strict-copy refuses (#4486) Owner decision on #4486: on a COPY member found in more than one library of the program's SYSLIB order the det translator takes the member the engine resolved (the first library's, as z/OS does) and records a warning (member, library chosen, other libraries in search order) in stats["warnings"]; port_runner logs/prints it, det_port.py reports it. GalaxyIR.copy_resolution's collision rows now carry the libraries. Strict mode (translate(strict_copy=True), port_runner --strict-copy, case.json "strict_copy") restores the by-name refusal. Gaps, and a collision whose first library holds several files, stay refused; COPY x IN lib is never a collision. The layout skips an I-O-CONTROL APPLY hint (PAYMAIN's next gap). Fact cross-check ledger lowered: 9 translator-refuses-copy-collision entries gone; ORDMAIN now refuses on COPY ORDPRICE (#4460 gap). Closes #4486 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01W3KVtYHQp8KsfKcHsdiPbR
Contributor
The ground-truth CI job installs gitgalaxy without the translator extra; every other det parser test guards with pytest.importorskip, this one did not. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017BVJCCUMdjLJq1TAM3V34V
squid-protocol
marked this pull request as ready for review
October 6, 2026 12:17
This was referenced Oct 6, 2026
Merged
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #4486
Owner decision on #4486: translate.
What
EngineCopies.membernow takes the member the engine resolved (the first library's, as on z/OS) instead of refusing. Each collision is recorded as a warning naming the member, the library chosen and the other libraries in search order. The warnings land instats["warnings"];port_runner run --backend detlogs and prints them, anddet_port.pyreports them.GalaxyIR.copy_resolutioncollision rows (the skeleton's and port ticket'scopy_collisions) now carry those libraries.CopyUnresolvedrefusal. It is set withtranslate(..., strict_copy=True),port_runner --strict-copy, or a case.json"strict_copy": true.COPY x IN libis never treated as a collision.APPLY WRITE-ONLY(or other APPLY) hint. These hints have no storage.Evidence (estate-crucible v0.4.0)
translator-refuses-copy-collisionentries are gone and the cause is removed.translator-copy-program-member(det translator: a COPY that finds only a program source splices that whole program into the includer (silent wrong records) #4460).COPY ... IN, ticket round-trip, thecopy_resolutionrows, and APPLY.pr_gates.pypassed 7/7 (lint, audits, secrets, xray, gauntlet, golden, suite).--ratchetspassed 6/6 (ports, port-surface, estate, fact-crosscheck, completeness, ground-truth).🤖 Generated with Claude Code
https://claude.ai/code/session_01W3KVtYHQp8KsfKcHsdiPbR