Skip to content

runtime options: judge db2.bind.* values per row (Part of #4707) - #6159

Merged
squid-protocol merged 1 commit into
mainfrom
churn/4707-20261023T0505Z
Oct 23, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/4707-20261023T0505Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4707 (next slice after #6152).

What

db2.bind.ISOLATION / CURRENTDATA / DYNAMICRULES / VALIDATE took any string. A new BIND_OPTIONS table in runtime_options.py lists the values each accepts (ISOLATION CS/UR/RR/RS, CURRENTDATA YES/NO, DYNAMICRULES RUN/BIND, VALIDATE RUN/BIND); anything else is refused by name via runtime_unhonoured (so the oracle and resolver see it). The runtime rows stay policy None, so z/OS calibration measurements need not state them. ACTION and packages stay recorded-only. Register C18 gets the four updated rows and a rendered per-value subsection; tests pin it, run every estate's recorded bind values through it, and cover accepted and refused values.

Facts checked

  • Recorded: CardDemo ISOLATION CS, CURRENTDATA YES; CBSA ISOLATION UR; GenApp CS / NO / BIND / BIND; CICS-async, DBB, zECS none. All accepted.
  • Burned corpora hold no PREPARE, EXECUTE IMMEDIATE, WITH UR/CS/RR/RS or SET CURRENT ISOLATION/SQLID/SCHEMA, so no accepted value changes a burned result and RUNTIME_USED_BY is unchanged.
  • Gates: runtime-option / estate / calibration tests pass; audit_check.py and pr_gates.py --fast (7/7) pass. Not parsing logic, so no golden run.

Sibling gaps

  • WITH UR / SET CURRENT ISOLATION in source overriding the bind ISOLATION is not modelled: no burned program needs it (frontier).
  • DYNAMICRULES DEFINE*/INVOKE* are refused rather than modelled: no burned program issues dynamic SQL (frontier).

Lessons for agents

  • Judge a value-bearing option in a separate table while the runtime row stays policy None: a refuse/declare row obliges every z/OS calibration measurement and RUNTIME_USED_BY to state it.

🤖 Generated with Claude Code

ISOLATION, CURRENTDATA, DYNAMICRULES and VALIDATE accepted any string; each value is now checked against what IBM
accepts (BIND_OPTIONS) and the harness runs under, and an unknown value is refused by name. Rows stay policy None, so
z/OS calibration measurements need not state them.

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 23, 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 23, 2026 05:13
@squid-protocol
squid-protocol enabled auto-merge (squash) October 23, 2026 05:13
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol merged commit b4cf871 into main Oct 23, 2026
89 checks passed
@squid-protocol
squid-protocol deleted the churn/4707-20261023T0505Z branch October 23, 2026 05:22
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