Skip to content

register C7: the SQLCA read as bytes is a burned-estate gap, refusal tried and dropped (Part of #7646) - #7870

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/7646-20261106T0551Z
Nov 6, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/7646-20261106T0551Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #7646, #7709.

Checklist: partial [c:c95c362b] -- the default flip, goldens, re-proofs and evidence refresh are on main; census T3 (#7709) needs the census clones and is not run here.

What this changes

Register C7 only (docs). It records a gap the register said did not exist: a program that holds no other COMP-5 item keeps the oracle's byte order, and the SQLCA's COMP-5 fields follow it, so a read of the SQLCA as bytes sees the oracle's order with no Hole. Burned CardDemo COTRTUPC and COTRTLIC do this (STRING ... SQLERRM OF SQLCA).

No engine code changes. I built the refusal by name (Gen.field_expr, with the SQL lane naming the SQLCA through its own method, 12 synthetic tests) and dropped it: it turns three whole burned ports into Holes.

Class / Sibling gaps

Class: the byte view of an item overlapping a COMP-1 / COMP-2 / COMP-5 item. COMP-5 is modelled big-endian (default since #7829; REDEFINES, group MOVE, refmod, record bytes served under it) and a group MOVE over items laid out alike is served (#7763). COMP-1 / COMP-2 overlay byte views stay refused by name (burned estates need none: test_burned_number_byte_views_7646.py, 11 pass). The one member found unhandled here is the SQLCA.

Sibling gaps

  • SQLCA read as bytes under the oracle order (member of this class): CardDemo COTRTUPC, COTRTLIC, carddemo-cotrtlic-generated need it. Needs holding the program big-endian (det/program.py extents loop and Gen.field_expr) plus a re-prove of three cases; moves three ports, so its own PR. Not here: program.py is in open PR det: PUT / GET CONTAINER over a COMP-5 area translate under zos_comp5 (Part of #7845, #7709) #7865.
  • An 01 that REDEFINES the SQLCA: no burned program.
  • A COMP-5 item passed BY REFERENCE to a CALLed program (default keeps the oracle's order): no burned program (already in C7).
  • HFP byte view for COMP-1 / COMP-2 (REDEFINES by a DISPLAY item, refmod): CBSA and DBB EPSMPMT use COMP-1/2 as numbers only.

Facts checked

  • Before the change: MOVE SQLCA TO x, MOVE SQLCA(13:4) TO x, MOVE SQLCODE(1:2) TO x translate whole with no swap wrapper in a program with no other COMP-5.
  • With the refusal: det_port.py check 267 of 270 unchanged; changed: carddemo-cotrtlic, carddemo-cotrtlic-generated, carddemo-cotrtupc (5 STRING SQLERRM holes in COTRTUPC).
  • DetSql.putInt(ca, SQLERRML, 2, ...) sets SQLERRML to the token length on a planned fault and 0 otherwise.
  • Ran: test_det_programs, test_det_zos_comp5, test_det_port_zos_comp5_7646, test_burned_number_byte_views_7646 against the refusal (173 passed, 133 skipped for missing java / oracle in this shell); not re-run after the revert (docs only).
  • No gate ran beyond that: docs-only diff.

Owner decisions: COMP-5 big-endian per owner ruling 2026-11-04.

🤖 Generated with Claude Code

… COTRTUPC / COTRTLIC STRING SQLERRM) (Part of #7646)

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 Nov 6, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 6, 2026 06:11
@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 Nov 6, 2026
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 6, 2026 06:17
@squid-shepherd

squid-shepherd Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

No description provided.

1 similar comment
@squid-shepherd

squid-shepherd Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit f7b90c5 into main Nov 6, 2026
67 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/7646-20261106T0551Z branch November 6, 2026 06:52
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