Skip to content

job flow: in-stream SYSIN / SYMNAMES / SORTCNTL / DFSPARM decks carried per step; GalaxyIR.job_sysin (Part of #4268) - #6988

Merged
squid-shepherd[bot] merged 4 commits into
mainfrom
churn/4268-sysin-channel
Oct 29, 2026
Merged

squid-shepherd[bot] merged 4 commits into
mainfrom
churn/4268-sysin-channel

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4268

What

A JCL step's in-stream control deck (SYSIN, SYMNAMES, SORTCNTL, DFSPARM) is now an INSTREAM job-flow row carrying the body as written, through job_flow -> master DB (instream column) -> delta restore -> GalaxyIR.job_sysin() (job, step, ordinal, program, proc_step, dd, line, body, lines).

  • Forms handled: DD * ended by /* or by the next // statement, DD DATA,DLM=xx (ends only at its delimiter), and a PROCSTEP override (//SORT1.SORTCNTL DD *).
  • Existing DD/STEP/JOB rows are unchanged (consumers filter by kind). SYSTSIN keeps its own channel; an empty deck is a row with an empty body.
  • Decks inside a PROC definition are skipped (they belong to the procedure, not a job step).

Files (6 hand-written; the sixth was forced by this PR's own gate)

job_flow.py, record_keeper.py, state_rehydrator.py, galaxy_ir.py, the new test, and tests/tools/cobol_answer_key.py. Without the one-line elif r["kind"] == "DD" / j.kind fix there, the ground-truth gate reported every INSTREAM row as a new DD false positive (cics-genapp, zecs) instead of an engine fact. With it, ground-truth passes with no ledger or scoreboard change. docs_read_by_tests.txt is generated.

Class / Sibling gaps

Class: in-stream JCL control-deck DDs. Handled: SYSIN, SYMNAMES, SORTCNTL, DFSPARM, DD * and DD DATA, DLM, PROCSTEP override.
Sibling gaps: other in-stream DDs (SYSTSIN has its own channel; SORTIN-style data decks are not kept); a //* line inside a deck is blanked by prism; a DD whose operands continue on a later line is not read; decks defined in a PROC are not expanded to the calling steps; forge wiring (JclSteps.utility), OUTREC, IEBGENER, IDCAMS REPRO and the multi-step case are untouched.

Remaining slices: skeleton_export.py ("job_sysin": "JCL job flow" in ESTATE_JOINS; test_skeleton_export is set-equality driven), the audit_recorder.py job_flow section instream key, PROC deck expansion, and the forge consumers above. Not touched: dfsort.py, F4.md, test_dfsort_4268.py (#6983).

File-cap exception: the sixth file is a one-line reader fix in tests/tools/cobol_answer_key.py that the ground-truth gate requires for this slice; without it the gate fails on INSTREAM rows.

Checklist: partial [c:ac8b71e6] -- the fact is carried and readable; the forge and skeleton export do not yet consume it

Gates

pr_gates --fast 9/9, --ratchets 9/9 (ground-truth PASS, time PASS), audit_check all clear, new test plus source-reads, skeleton_export, galaxy_ir, change_classifier and sweep_plan tests: 224 passed. Burned estates only; no proof loosened.

🤖 Generated with Claude Code

squid-protocol and others added 2 commits October 29, 2026 02:05
…d per step; GalaxyIR.job_sysin (Part of #4268)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…t and derived list (Part of #4268)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 29, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review October 29, 2026 06:42
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 29, 2026 06:44
@squid-shepherd
squid-shepherd Bot disabled auto-merge October 29, 2026 06:47
@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #6988 @ ebd59c6: 1 failed check(s)

== crucible-audit (full-precision) (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40830865618/job/123304525563
repro: tests/tools/box/golden-lock.sh python tests/tools/pr_gates.py --only golden
failing tests: tests/test_golden_crucible.py::test_golden_crucible_matches_baseline
errors:
FAILED tests/test_golden_crucible.py::test_golden_crucible_matches_baseline - Failed: Structural drift detected against golden_master_audit (57 differences):
##[error]Process completed with exit code 1.
log tail:
│   ├── gitgalaxy
│   ├── github-action-readme.md
│   ├── mkdocs.yml
│   ├── muninn.yml
│   ├── pyproject.toml
│   ├── scripts
│   ├── site
│   ├── templates
│   ├── tests
│   └── zizmor.yml
└── language-crucible
├── AGENTS.md
├── ANTIGRAVITY.md
├── CLAUDE.md
├── LICENSE
├── NOTICE
├── README.md
├── RELEASING.md
├── SECURITY.md
├── SOURCES.md
├── data
├── raw_output
└── tools
14 directories, 25 files
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/87d746d8-c009-4040-b519-f50bafbbc262' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/gitgalaxy/gitgalaxy/gitgalaxy
Removing SSH command configuration
[command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Cleaning up orphan processes

@squid-shepherd squid-shepherd Bot added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 29, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

squid-protocol and others added 2 commits October 29, 2026 06:18
The SYSIN channel adds Kind=INSTREAM rows (step, DD, line) to the Job Flow
fact. Both legs regenerated with crucible_check.py --update: 57 job_flow
entries changed, every change a pure addition of an INSTREAM row (no row
removed or altered), identical across the full and zero-dep fixtures.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 29, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 29, 2026 10:27
@squid-shepherd squid-shepherd Bot removed the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 29, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant