Skip to content

GSAM load mode: DetDli.gsamCall, RT-DLI-GSAM rule, register I5 and design wording (Part of #5233) - #6114

Merged
squid-protocol merged 2 commits into
mainfrom
churn/5233-20261022T2335Z
Oct 23, 2026
Merged

squid-protocol merged 2 commits into
mainfrom
churn/5233-20261022T2335Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5233. Slice 2 (slice 1 is #6087, merged): names the GSAM load-mode branch as a runtime method with a catalogue rule and brings the register and design wording in line with what #6087 built.

Cross-repo: none. No companion PRs.

What changed

  • DetDli.java: the inline if (p.gsam) block of call becomes gsamCall(Pcb, fn, io, ssas). Behaviour is unchanged (ISRT with no SSA appends one record, any other function is AM, an SSA or a short I/O area is refused by name); the RT-DLI-GSAM marker is written by cobolrt_rules.py mark.
  • cobolrt_rules.json: new rule RT-DLI-GSAM (register I5, ASSUMED, uncalibrated), added after RT-DLI-CALL with a one-rule diff.
  • Register I5.md and det_port_design.md: GSAM and DBUNLDGS are no longer listed as refused. GSAM load mode is stated, with two ASSUMPTIONs: AM for any non-ISRT function, and a blank segment level in the mask. Still refused: a GSAM PCB that reads (PROCOPT G), an ISRT with an SSA, a short I/O area, two GSAM PCBs on one database, variable-length GSAM records.
  • test_det_dli.py: test_detdli_a_gsam_pcb_in_load_mode_appends_records_and_refuses_what_it_does_not_model runs DetDli directly: mask bytes, two ISRTs, GU / GN / GNP / REPL / DLET -> AM, SSA refusal, short-area refusal, duplicate-PCB refusal, and the .out records.

Class

GSAM was the one PCB kind that existed only as a refusal in the docs and had no named runtime method. Members handled here: the method, the rule, the register entry, the design text, the refusal tests. carddemo-dbunldgs coverage (tests/equivalence/det_sweep_coverage/carddemo-dbunldgs.json) was already committed by #6087 and is current, so nothing regenerated.

Evidence

  • det_port.py check: the 6 IMS ports (cbpaup0c, copaua0c, copaus0c, copaus1c, dbunldgs, paudbunl) show DetDli.java 32 lines changed, as expected from the extraction. det_port.py run on them: 110/110, 344/344, 370/370, 249/249, 67/67 and 73/73 translated, all PROVED. No other case uses DetDli.
  • pytest test_det_dli.py, test_cobolrt_rules.py, test_support_matrix.py: 224 passed, 4 skipped (E2E, needs Docker). test_evidence.py, test_source_reads.py, test_det_coverage_ledger.py: 76 passed (the stale-generator warning is the scheduled job's).
  • pr_gates --fast: 7/7 pass. pr_gates --ratchets: 9 pass, 0 fail, 0 skipped.
  • No golden bless: no parsing logic touched.

Checklist: partial [c:96d024b5] -- GSAM load mode only; reading a GSAM file (PROCOPT G) stays refused

Lessons for agents

  • A shell cat > file ... ; python - <<EOF with no heredoc on the cat hangs on stdin and skips the rest of the command; write scripts with the Write tool.

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 23, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 23, 2026 01:30
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit 7623ab6 into main Oct 23, 2026
82 checks passed
@squid-protocol
squid-protocol deleted the churn/5233-20261022T2335Z branch October 23, 2026 02:18
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