Mainframe Path Start learning free
Core10 min readLesson 2 of 3

Accountability, audit and change control

AI does not change who is responsible for a change: the person who submits it and the people who approve it are. Teams keep AI-assisted work auditable by recording how it was produced, reviewing it like any other change and paying attention to intellectual property.

A person is always accountable

Regulators, auditors and customers do not accept 'the AI wrote it' as an explanation for a failed payment run. Every change has a named author and named approvers, and they are accountable for it whatever tools they used. The practical consequence is simple: do not submit anything you could not explain line by line. This is what human-in-the-loop means in a change process.

Change control applies unchanged

Mainframe sites already have strong change management: version control or SCM, peer review, testing evidence, approval and controlled promotion, with segregation of duties between who writes, who approves and who deploys. AI-assisted changes go through exactly the same path. AI is a tool used during development, not a route around the process.

An AI-assisted change in a normal pipeline
Developwith approved assistant
RecordAI use noted
Testevidence attached
Reviewindependent
Approvechange record
Deploycontrolled promotion

Making AI use auditable

Provenance is a record of where a change came from. Auditors increasingly ask whether AI was used and how its output was checked. Policies vary, but common practices include:

A commit message with AI provenance (illustrative)
PAY-4412 Add boundary check to 2100-APPLY-TAX

AI-assisted: yes (approved IDE assistant) - drafted test cases
Verified: zUnit tests pass; output compared on TESTDAY01, no diffs
Reviewed-by: second developer, see pull request

Intellectual property

AI raises several IP questions, and the answers depend on jurisdiction, contracts and the tool, so teams follow legal guidance rather than guessing.

QuestionWhy it mattersTypical safeguard
Is our code leaving our control?Source code is a valuable trade secretApproved tools with contractual protection for inputs
Could output reproduce someone else's code?Generated code might closely match licensed or copyrighted codeTool settings or scans that flag matches to public code, where available; review of unusual large blocks
Who owns the output?Ownership of AI-generated material is unsettled in some jurisdictionsLegal team's policy; contracts with vendors and clients
Does a client contract restrict AI use?Some outsourcing and client contracts limit tools on their codeCheck before using AI on client systems

Validation is a skill

Reviewing AI output well needs real knowledge of COBOL, JCL and the business. The risk for early-career engineers is accepting output they cannot yet judge. Good teams pair AI use with mentoring and expect juniors to explain the code they submit. Over time this builds the expertise that makes validation meaningful.

Questions a reviewer asks of an AI-assisted changeWhat it means
Can the author explain it?
If not, the change is not ready
What evidence exists?
Tests, output comparison, compile listings
What was the AI not shown?
Copybooks, procs, called programs it may have guessed
Is anything new or unusual?
Unfamiliar options or APIs get checked in documentation

Common mistakes

Blaming the tool

Accountability stays with the author and approvers. If you cannot explain a change, do not submit it.

Skipping review for 'small' AI edits

A small AI edit can drop a ROUNDED or change a condition. Every change goes through the normal review.

Ignoring client contracts

Some contracts restrict AI use on client code. Check with your manager before using AI on client systems.

What you will see at work

Key terms

Check your understanding.
Take this lesson's quiz and save your progress. Free.

Take the lesson quiz
← Data privacy and security with AI toolsTeam policy, honest measurement and regulation →