Repository navigation
Hand the engine's verified skeleton to the Java generator (#3614) - #3631
Merged
Merged
Conversation
With --galaxy-db / --scan the refractor now writes 06_skeleton/: one <key>_skeleton.json per program and an estate.json. A program's skeleton holds its calls, entry transactions, COMMAREA and CALL USING contracts, CICS / DB2 / MQ / IMS / VSAM resources, screens, records, data flows, units of work and error handlers. Each section names its ground-truth ledger field and carries that field's field-testing status (field-tested / open / untested) and its public/private estate counts. The status comes from gitgalaxy/standards/fact_channel_confidence.json. tests/tools/field_testing.py generates it and ships it as package data; `check` and the test fail when it is stale. cobol-to-java puts the skeleton in each agent ticket as context.verified_skeleton, leaving out the bulk data sections, which the ticket names by file. The migration audit gets a section listing facts per channel with their field-testing status. With no skeleton, all output is unchanged: the refraction snapshot shows 0 differ on all 6 corpora. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ZsVaAkb86P5r5JXDC2Y9g
Contributor
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 #3614 (part of epic #3625).
What
When the refractor runs against the engine (
--galaxy-db/--scan), it now writes06_skeleton/:<key>_skeleton.jsonper program:estate.json:Each section names its ground-truth ledger field and carries that field's field-testing record: its status (
field-tested/open/untested), plus how many public and private estates it was tested on. The export states facts only. An empty section means the engine found nothing, and a field missing from the record reads asuntested.The record ships as
gitgalaxy/standards/fact_channel_confidence.json(package data).tests/tools/field_testing.py report --writegenerates it, andcheckandtest_field_testingfail when it is stale.Java side
cobol-to-javareads06_skeleton/when it is there.context.verified_skeleton: the program's non-empty sections with their field-testing status.diagnosisany place the slice contradicts anopensection.java_migration_audit.txtgets a [2] VERIFIED SKELETON section: facts and programs per ledger field, with field-testing status (public / private).CardDemo (fresh scan)
44 program skeletons plus estate.json, 8.8 MB in total; the largest is COACTUPC at about 1 MB, mostly data flows. The largest agent ticket is 206 KB. Audit excerpt:
Unchanged by default
--galaxy-db/--scanno skeleton is written, and tickets and audit are byte-identical.refraction_snapshot.py check: 0 differ on all 6 corpora.ruff_audit.py --ci: clean.Tests
tests/cobol_mainframe/test_skeleton_export.pycovers:GalaxyIRmethod;untested;🤖 Generated with Claude Code
https://claude.ai/code/session_017ZsVaAkb86P5r5JXDC2Y9g