Discover and propose Db2 version predicates from successful reads

Proprietary

Discover UPDATE operations throughout the input source set and bind reusable table concurrency policies. Locate approved schema contents by fingerprint and derive paths, source identities, COPY snapshots and statement locations. Discover a current version host only from an actual checked SELECT and unchanged equal-width copies for the same key tuple. Support bounded performed checked-read paragraphs and reuse complete key, generated timestamp, diagnostic, result handling and terminal-exit proofs. Add one missing version equality while preserving existing rejection and transaction behavior. Apply candidates in source order and locate them by syntax identity after earlier insertions. No caller or schema paths, program IDs, statement lines, caller hashes or local host names are required. Schema deployment and concurrency requirements remain explicit approvals. Actual concurrent execution and timestamp uniqueness are not inferred. Application team review remains required.

io.moderne.mainframe.security.ProposeDb2VersionPredicates

Optional

Strict JSON with version 1 and a rules array. Each rule supplies id, table, versionColumn, schemaSha256 and contractSource. The schema fingerprint identifies independently approved complete enforced DDL. The reusable policy approves STDSQL(NO), rejection of a changed version, and existing failure and transaction behavior at every matching UPDATE. Conflicting table policies prevent changes. Omit this option to inventory UPDATE operations without edits.

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

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