Repository navigation
det: take COPY resolution from the engine (#4468) - #4489
Merged
Merged
Conversation
The engine owns COPY resolution (#4273, fact_ownership.md). The det translator no longer searches directories for an estate member. Every COPY in an estate file (the program's own and its copybooks') takes the file the engine resolved: GalaxyIR.copy_resolution (copy_deps + library-names per importer, SYSLIB order, COPY ... IN), read from the port ticket (the skeleton's new copy_edges / copy_gaps / copy_collisions) or GalaxyIR. The two resolutions can no longer diverge, so #4467's CopyDisagrees is gone. Refused by name (CopyUnresolved): engine collisions and gaps, several files, an estate file the engine resolved nothing for (#4460), an engine member never expanded (#4459). Text expansion and layout arithmetic are unchanged. The cross-check's translator side takes the engine's resolution too. Ledger 816 -> 702: 131 entries gone (all 18 copy_resolution, all 78 translator offsets), 17 new estate-crucible status refusals with causes (#4486 collisions, #4459, #4460, #4462). A full `update` now drops stale entries (#4472 part 2). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VrujbRefDqQ8ptAwTBQTaz
…opy-resolution # Conflicts: # tests/tools/fact_crosscheck.py
fact_crosscheck.py update (full run) on top of #4481's ledger: the same 131 entries drop and the same 17 estate-crucible refusals enter as in the #4468 commit (816 -> 702 on the old base); the 17 re-assigned to their causes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
Owner
Author
Status report (#4468)CI after about 20 min: 43 pass, 5 fail, 3 pending (
Ledger / ratchet deltas
Handoff for the #4465 agent:
|
…4468) _from split the member path on "/estate/"; on Windows ln.file uses backslashes. Split its posix form instead. Production det/source.py and galaxy_ir.py already compare posix paths (as_posix / relative_to). Co-Authored-By: Claude Opus 5.5 <[email protected]>
squid-protocol
marked this pull request as ready for review
October 5, 2026 18:43
This was referenced Oct 5, 2026
squid-protocol
added a commit
that referenced
this pull request
Oct 5, 2026
genapp-lgupdb01 5/5 and cbsa-inqacc 14/14 re-proven on the merged generator (det COPY resolution from the engine). The det sweep, regenerated with --update-baseline, is unchanged at 33/37. Co-Authored-By: Claude Opus 5.5 <[email protected]>
squid-protocol
added a commit
that referenced
this pull request
Oct 5, 2026
* fix(det): CICS facades run the program in the region (#4465) The det translator kept the stub's handleTransaction / handleLink as stubs (void: does nothing; typed: throws). They now emit the generator's #4343 facade: CicsTask.region(), region.transaction / region.linked, region.run(task, NAME, this::runTask), returning task.returned(..) or request as the signature says. A channel program's handler (no region facade) stops by name. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(det): re-prove LINK callers, lower det-sweep and facade ratchets (#4465) The det facades prove: cbsa-inqacc java-facade 14/14 (ABNDPROC), genapp-lgupdb01 5/5 (LGUPVS01). det sweep 33/37: 23 #4465 entries dropped by proof_sweep --update-baseline; carddemo-signon re-attributed to #4464 (its handleTransaction takes no COMMAREA). Also parenthesise an implicit string concatenation (ruff ISC004). Co-Authored-By: Claude Opus 5.5 <[email protected]> * test(det): re-prove LINK callers after merging #4489 (#4465) genapp-lgupdb01 5/5 and cbsa-inqacc 14/14 re-proven on the merged generator (det COPY resolution from the engine). The det sweep, regenerated with --update-baseline, is unchanged at 33/37. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
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 #4468.
The engine owns COPY resolution (#4273,
fact_ownership.md). The det translator no longer searches directories for an estate member. Every COPY in an estate file (the program's and its copybooks') takes the file the engine resolved:GalaxyIR.copy_resolution(copy_deps + library names per importer, SYSLIB order,COPY ... IN), read from the port ticket (the skeleton's newcopy_edges/copy_gaps/copy_collisions) or from GalaxyIR. The two resolutions can no longer diverge, so #4467'sCopyDisagreesis gone. When the engine has no single answer the program is refused by name (CopyUnresolved): engine collisions and gaps, several files, an estate file the engine resolved nothing for, or an engine member that was never expanded. Text expansion and layout arithmetic are unchanged.The cross-check's translator side (
translator_adapter.py,fact_crosscheck.py) takes the engine's resolution too.Ratchets / evidence
fact_crosscheck.py updateon main's ledger after merging [experiment A] fix(crosscheck): read replaced records of section COPY REPLACING; update drops stale entries (#4472) #4481; the 17 new entries were assigned to their causes withassign). 131 entries are gone: all 18copy_resolutionentries, all 78 translatoroffsetsentries, plusstatus/units/unit_extents/edges/pic/usage/data_items/copybooksentries from the old directory search. 17 estate-crucible refusals are new (listed below). On the pre-[experiment A] fix(crosscheck): read replaced records of section COPY REPLACING; update drops stale entries (#4472) #4481 base this was 816 -> 702. It is the same 131/17 delta: [experiment A] fix(crosscheck): read replaced records of section COPY REPLACING; update drops stale entries (#4472) #4481 removed 363engine-section-copy-replacing/pointer-widthentries and added 2 independently.det_port.py check: 55/55 ports unchanged.pr_gates.py --ratchets: ports, estate, fact-crosscheck, completeness and ground-truth all PASS (ports against cics-crucible v0.2.0).proof_sweep.py --det-only --skip-db2): 10/37 proven,sweep: as expected. Every case translates in full except mortgage-mpmt (24/27, COBOL oracle/translator: floating point and compiler options (COMP-1/2 hex float, NUMPROC, ARITH(EXTEND), TRUNC(OPT), INTDATE, COMP-5 byte order) #4271, unchanged), sodet_sweep_baseline.jsonis unchanged.test_det_translate.py+test_fact_crosscheck.py: 145 passed.ruff_audit.py --ci: no new findings.Refusals that remain (estate-crucible, 17, all
CopyUnresolved, never silent)🤖 Generated with Claude Code