Skip to content

fix(det): CICS facades run the program in the region (#4465) - #4490

Merged
squid-protocol merged 4 commits into
mainfrom
fix/4465-det-cics-facades
Oct 5, 2026
Merged

squid-protocol merged 4 commits into
mainfrom
fix/4465-det-cics-facades

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

WIP: det translator facades now run the program in the region. Proofs, evidence re-proofs and baseline updates in progress.

Closes #4465

🤖 Generated with Claude Code

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]>
@squid-protocol squid-protocol added bug Unintended behavior or logic failure in the engine legacy-modernization COBOL refractor, dead-code extraction, and JCL forging priority: high Core feature broken, but workarounds exist labels Oct 5, 2026
@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

…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]>
@squid-protocol

Copy link
Copy Markdown
Owner Author

Handoff (#4465), stopped early because the usage window is nearly used up

Done (pushed, 23f0cd0):

Left to do:

  1. det: take COPY resolution from the engine (#4468) #4489 merged as 49879e5, and this branch does not include it yet. Run git merge origin/main. Resolve any det/ code conflicts by hand. Take main's version of det_sweep_baseline.json, then regenerate it with the tool. Never hand-merge it.
  2. Re-run the sweep: tests/tools/box/heavy-run.sh $PY tests/tools/proof_sweep.py --det-only --skip-db2 --work /tmp/gitgalaxy-scratch/claude/det-facade-4465/sweep2 --update-baseline (env: /tmp/gitgalaxy-scratch/claude/det-facade-4465/env.sh). Then re-apply the carddemo-signon → Generator: COSGN00C's facade takes no COMMAREA, but its pseudo-conversation RETURNs one to itself (opaque ODO DFHCOMMAREA) #4464 re-attribution.
  3. Re-prove both callers: evidence.py prove genapp-lgupdb01 cbsa-inqacc. Then run pr_gates --ratchets with CICS_CRUCIBLE_PATH=/srv/storage_16tb/projects/gitgalaxy/cics-crucible-pin, commit, push and check CI once.

No detached jobs are running. Logs are in /tmp/gitgalaxy-scratch/claude/det-facade-4465/{sweep/sweep.log,ev2/prove.log,gates.log}.

Note for the #4464 (CardDemo sign-on façade) agent: det façades now copy the stub's signature and only change the body. So once the generator gives COSGN00C handleTransaction(String transid, CarddemoCommarea request), the det port picks it up with no det change. Then drop carddemo-signon from both det_sweep_baseline.json (now owned by #4464) and facade_baseline.json.

🤖 Generated with Claude Code

squid-protocol and others added 2 commits October 5, 2026 16:12
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Unintended behavior or logic failure in the engine legacy-modernization COBOL refractor, dead-code extraction, and JCL forging priority: high Core feature broken, but workarounds exist

Projects

None yet

Development

Successfully merging this pull request may close these issues.

det translator: CICS facades are stubs (handleLink throws, void handleTransaction does nothing), not the region-run facade

1 participant