Discover and propose cross-task Db2 version predicates

Proprietary

Discover provider reads, native calls, queue writers and readers and their later UPDATE statements under reusable interface and deployment contracts. Require a unique provider and queue writer, a complete checked saved record and a complete checked read whose exact keys and timestamp survive to the UPDATE. Derive source paths, statement locations, COPY snapshots and the surviving version host. Match the complete schema by independently approved fingerprint. Queue resource identity, current request binding, trusted writers and write visibility remain explicit premises. Matching names do not prove them. Add only a missing version predicate when existing UPDATE checks reject every unsuccessful or non-single-row result. Application team review remains required.

io.moderne.mainframe.security.ProposeCrossTaskDb2VersionPredicates

Optional

Strict version 1 JSON with a rules array. Each rule supplies the called-provider policy fields and writerInterface, readerInterface and queueContract. Both record interfaces supply recordName, keyFields and versionField. The queue contract supplies version, queueName, itemNumber and all nine deployment premises. Every deployment premise must be explicitly true. Approve every matching writer, reader and UPDATE. Source locations, snapshots, call records and surviving version hosts are discovered. Omit policies to inventory candidates without edits.

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

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