Skip to content

det Db2: fail when a burned estate reads an EXEC SQL form the port refuses (Part of #8075) - #8149

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8075-20261109T0025Z
Nov 9, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8075-20261109T0025Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #8075 (blind trial #8073, det Db2 #8060).

Checklist: done [c:e11c3928]

What

#8081 showed the "10 programs, EXEC SQL: other" were compile-listing copies, and #8146 pinned every IBM keyword as modelled or refused by name. This adds the missing guard: tests/cobol_mainframe/test_sql_burned_forms_8075.py scans each burned estate (estate4_draw.BURNED_NAMES) and fails if a program reads a verb in det.sql._REFUSED_VERBS (a SET that assigns a host variable runs and is excluded). Q4 gets one line naming it. No engine change, so no golden bless.

Facts checked

Verbs read by the burned estates: INCLUDE, DECLARE, SELECT, INSERT, UPDATE, DELETE, OPEN, FETCH, CLOSE, COMMIT, and SET (GenApp IDENTITY_VAL_LOCAL, assigning). No burned program reads CONNECT, CALL, ALLOCATE, ASSOCIATE, DESCRIBE, dynamic PREPARE/EXECUTE or SET CURRENT. The new test passes on the 6 burned estates; the #8146 test still passes.

Class / Sibling gaps

Class: EXEC SQL forms the det Db2 path refuses (register Q4), as read by burned estates. Handled: every verb the burned estates read (above). Guarded here: a burned program that starts reading a refused form fails the new test.

Member Status Burned reader
CONNECT refused by name none
CALL / ALLOCATE / ASSOCIATE refused by name none
DESCRIBE refused by name none
dynamic PREPARE / EXECUTE (non-literal) refused by name none
SET CURRENT ... refused by name none

Sibling gaps: the five rows above (frontier scope). Not modelled here: no burned program needs them, and rule 2 forbids writing cases for non-burned estates. Each is modelled, with a fixture proven on real Db2, when the new test first fails.

Lessons for agents

None new.

🤖 Generated with Claude Code

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

squid-shepherd Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 9, 2026 00:41
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 9, 2026 00:42
@squid-shepherd
squid-shepherd Bot merged commit 1c26d51 into main Nov 9, 2026
67 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8075-20261109T0025Z branch November 9, 2026 01:01
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