Skip to content

det SQL: scroll FETCH and multi-row SQL refused by named form, burned-absence pin (Part of #4269) - #6481

Merged
squid-protocol merged 1 commit into
mainfrom
churn/4269-20261024T1442Z
Oct 24, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/4269-20261024T1442Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4269.

Checklist: partial [c:f7800395] -- scroll / rowset forms stay refused (now by named form); modelling waits on a burned program that uses them

What

  • det/sql.py: FETCH PRIOR|FIRST|LAST|CURRENT|BEFORE|AFTER|ABSOLUTE|RELATIVE (with or without INSENSITIVE/SENSITIVE), rowset FETCH ... ROWSET / FOR n ROWS and INSERT ... FOR n ROWS now stop with a named SqlError pointing at register Q4 (was a generic EXEC SQL FETCH ...). The host-variable-array refusal names Q4 too. Plain FETCH and FETCH NEXT are unchanged; a cursor named FIRST-CUR is not mistaken for an orientation.
  • Register Q4: per-form refused entries.
  • Tests (test_sql_dynamic.py): the whole form class (16 forms, incl. multi-line/lowercase), CICS programs, plain forms still not caught, and a live pin that no burned estate program uses these forms (fails when one starts to).

Facts checked

Burned corpora: only GenApp LGIPDB01 declares INSENSITIVE SCROLL cursors and it issues plain FETCH (already ports). No burned program uses an orientation, ROWSET, FOR n ROWS or SQL host arrays, so nothing is provable and nothing is modelled (evidence policy 2). Det output is unchanged: pr_gates --fast 7/7 and --ratchets 9/9 pass, golden not touched.

Class / Sibling gaps

Class: embedded-SQL scroll-cursor and multi-row forms that were refused only generically. Covered here: every FETCH orientation, FETCH ROWSET / FOR n ROWS, INSERT FOR n ROWS, host-variable arrays. Sibling gaps (no burned user, frontier scope): SENSITIVE/dynamic scroll cursor semantics, rowset positioned UPDATE/DELETE, MERGE ... FOR n ROWS, GET DIAGNOSTICS for rowsets. Modelling the forms needs a burned program and an oracle scroll/rowset fixture.

🤖 Generated with Claude Code

…refused by name, burned-absence pin (Part of #4269)

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 Oct 24, 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 24, 2026 14:56
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 24, 2026 14:58
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

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