Skip to content

COBOL: blind-review the draft fields of three corpora; fix SET .. TO ENTRY - #9234

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
cobol-review-2
Nov 24, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
cobol-review-2

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

What

The second blind-review round for COBOL. Round 1 (#9216) covered data moves and record fields; this one covers the other fields still at draft in dbb-mortgage-application, example-health-apis and the cics-async example: CALL USING, DL/I, CICS resources, task / unit-of-work / SQL channels, dynamic call targets, JCL job flow, resolved DSNs, BMS fields, CSD resources and DB2 columns.

28 reviewer batches, read by independent Claude Sonnet reviewers that never see the key. Draft measured fields in these corpora go from 29 to 6. What is left: symbolic maps (verified against IBM-generated copybooks instead), unit extents and intra-program edges (dbb), and entry transactions (derived).

What it found

  • One real defect, in the engine and the key together: SET ROUTINE TO ENTRY 'EPSCSMRF' is a procedure-pointer assignment, not an ENTRY statement. The engine's call_using and the key's own reader both took it for an entry point, so they agreed with each other and the ledger never showed it; the blind readers did not list it. Both are fixed, the key redrafted (3 false rows gone), tests pin the pointer form and a real ENTRY 'X' USING ....
  • Everything else was reviewer misses or contract points, each ruled from the source: a blank ends a JCL operand field (...DYNAMNBR=20 ,COND=(4,LT): the COND is a comment), a PDS member such as (EPSMPMT) is not a GDG generation, and "children" of a RUN/START need a CSD transaction (this repo has none).
  • A census bug: the file listings read generated .expanded/ copies of JCL and COBOL, which the key does not key. Three example-health-apis suites were redone on real sources and every listing now skips dot-directories; the reviewers' staged copy no longer contains them.

Evidence strength

The reviewers are LLMs, there is no human sign-off, and several said they built answers with a script or by grep, not a line-by-line read (the async batches by grep, example-health-apis channels batches 2-3 and the JCL flow parser by script). Tiers are sample_verified or llm_verified as the tool assigns them, with no claim beyond that.

Checks

ground_truth_ledger.py check clean; tests/cobol_mainframe plus the new tests: 11,290 passed; golden masters check: both legs pass with no drift (the engine fix moves no committed fixture); ruff audit no new findings.

🤖 Generated with Claude Code

https://claude.ai/code/session_018srRvhLsKhsTZmCyX36Qem

…. TO ENTRY

Second COBOL review round: 28 reviewer batches (Claude Sonnet blind readers)
over the fields still at draft in dbb-mortgage-application, example-health-apis
and the cics-async example: CALL USING, DL/I, CICS resources, task/UOW/SQL
channels, dynamic call targets, JCL job flow, resolved DSNs, BMS fields, CSD
resources, DB2 columns. Draft measured fields in these corpora: 29 -> 6.

One real defect: `SET ROUTINE TO ENTRY 'X'` (a pointer value) was read as an
ENTRY statement by both the engine's call_using and the key's own reader, so
they agreed and the ledger stayed quiet; blind readers did not list it. Both
fixed, key redrafted (3 false rows removed). The other disagreements were
reviewer misses or contract points (a blank ends a JCL operand field, a PDS
member is not a GDG generation, children need a CSD).

Census listings no longer read generated `.expanded/` copies; the first round
of three example-health-apis suites was redone on real sources.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018srRvhLsKhsTZmCyX36Qem
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 24, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 24, 2026 19:49
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd
squid-shepherd Bot disabled auto-merge November 24, 2026 20:26
@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #9234 @ 1ee426c: 1 failed check(s)

== compile (aws-mainframe-modernization-carddemo) (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/45474245770/job/138730093868
repro: python tests/tools/pr_gates.py --ratchets --only-ratchets ports
errors:
fail-on-cache-miss: false
##[error]Process completed with exit code 1.
FAIL boot-3.3
FAIL db2
FAIL oracle
FAIL mysql
log tail:

ℹ️ Gradle version is out of date — consider upgrading. See Gradle release lifecycle


============================

Gradle State Caching - Disabled


Caching was disabled — Gradle User Home was not restored from or saved to the cache.
##[endgroup]
##[notice]Gradle 8.10.2 is out of date: consider updating to the latest Gradle version. See https://docs.gradle.org/current/userguide/feature_lifecycle.html#eol_support
Completed post-action step
Post job cleanup.
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.1
Temporarily overriding HOME='/home/runner/work/_temp/220c6ebb-86aa-46e2-af2a-e4d203611d66' 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/base
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
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.1
Temporarily overriding HOME='/home/runner/work/_temp/419df63e-7229-4219-a844-b287604aa486' 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 Nov 24, 2026
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 24, 2026 20: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 Nov 24, 2026
@squid-shepherd
squid-shepherd Bot merged commit 39111cf into main Nov 24, 2026
83 of 84 checks passed
@squid-shepherd
squid-shepherd Bot deleted the cobol-review-2 branch November 24, 2026 20:33
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