Skip to content

fix(jcl): #3002 in-stream DSN/IDCAMS payload verb ownership review - #3014

Merged
squid-protocol merged 1 commit into
mainfrom
fix/3002-jcl-instream-payload
Sep 14, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
fix/3002-jcl-instream-payload

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Summary

Test plan

  • python tests/tools/embedded_verb_coverage.py jcl --check against language-crucible v1.2.0 — 70 verbs observed, 0 GAP/MISMATCH; all nine PAYLOAD: rows resolve none, and observed=(--) for each (confirms no existing rule spuriously fires on in-stream payload text, validating the none_owned calls).
  • python -m pytest tests/tools/test_embedded_verb_coverage.py — 14 passed.
  • Full suite: python -m pytest tests/ — 8871 passed (one pre-existing, unrelated keyword-rosetta-staleness failure deselected — local-environment drift, not from this change).
  • tests/tools/audit_check.py --ci — ruff/mypy/dead-key/ast-accuracy all clean against baseline, no new findings.
  • No detector.py/prism.py/language_standards.py regex changes, so the Differential Scan (crucible_check.py) golden-master protocol doesn't apply to this PR.

🤖 Generated with Claude Code

…none

Reviews the nine Db2 DSN command-processor / IDCAMS control-statement verbs
carried inside a JCL `//SYSIN DD *` in-stream payload (#2990's filed
follow-up), checked verb by verb against
docs/high_risk_execution_rule_contract.md (#2878) rather than as one blob.

Eight verbs stay unowned by design: RUN PROGRAM/DSN SYSTEM run inside a
session an IKJEFT01 step already counts, GRANT/DROP/DELETE/DEFINE
CLUSTER/REPRO/FREE are IDCAMS's/DSN's own fixed command grammar (the same
reasoning that already excludes IDCAMS itself from high_risk_execution), and
DELETE/FREE specifically are cleanup-shaped, already modeled by JCL's
DISP=(...,DELETE) rule. BIND is the one real gap -- it installs executable
Db2 code -- but needs a bounded DD */DATA payload scanner this engine
doesn't have yet, so it's split out to gitgalaxy#3010.

Extends tests/tools/embedded_verb_coverage.py with a bounded DD */DD DATA
payload extractor so this surface (previously invisible to the census by
design) is now tracked with a `none_owned` reason for all nine verbs,
verified clean against language-crucible v1.2.0 (0 GAP/MISMATCH, no engine
rule spuriously fires on payload text).

Co-Authored-By: Claude Sonnet 5 <[email protected]>
@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 161e14d into main Sep 14, 2026
32 checks passed
@squid-protocol
squid-protocol deleted the fix/3002-jcl-instream-payload branch September 14, 2026 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JCL in-stream payload grammar: SQL DCL/DDL and IDCAMS/DSN commands under DD * have no owner

1 participant