Discover and propose existing TSQ saved-record validations

Proprietary

Discover READQ TS operations and bind reusable queue and record validation policies throughout the input source set. Derive the read and protected use locations, program identities and COPY snapshots. Prove complete receipt and an existing validator that resets its result and requires matching request and generation values plus approved restored targets. Invoke that validator immediately before the protected consumer and permit only its explicit success. Reuse storage, result-check, local-paragraph and terminal-exit proofs. Do not infer ownership or freshness from field names, a user ID, a terminal ID or a queue item. Apply candidates in source order and locate them by syntax identity after earlier insertions. No source paths, program IDs, statement lines or caller hashes are required. Application team review remains required.

io.moderne.mainframe.security.ProposeTsqSavedRecordValidations

Optional

Strict JSON with version 1 and a rules array. Each rule supplies id, validationContract and contractSource. validationContract is the complete version 1 existing saved-record validation contract. Its contextSource approves trusted current request and generation values at every matching use. The reusable approval covers the record interface, literal queue and item, existing validator, protected consumer and terminal rejection behavior. Conflicting matching policies prevent changes. Omit this option to inventory READQ TS statements without edits.

mod run . --recipe=io.moderne.mainframe.security.ProposeTsqSavedRecordValidations

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.