forumNew topic

Having AI review code before delivery — does it work as an acceptance criterion?

HHavva M***Expert
Job title
Front office accounting
Sector
Media and publishing
Organization type
chain store
Joined
Sep 2022
Message
197
#1

For our Berlin-based wholesale and retail auto parts business, we're having an external software agency build a custom B2B ordering portal. The contract value is 22.000 Euro and the first final release is scheduled for delivery next week. Since we don't have in-house developers, we can't technically audit the code quality, security, or compliance with standards ourselves.

My managing partner suggested uploading all delivered source code into a modern AI model to generate a comprehensive analysis report, and approving the payment based on the bugs or vulnerabilities found in that report. However, the agency might object, arguing that no such acceptance criterion is stated in the contract.

Does an AI-based code review serve as a reliable benchmark during the handover phase? Legally and technically, how should we position this report within a contractual acceptance process?

FFiliz G***MemberCommunity member
Joined
Apr 2022
Message
29
Most Helpful#2

Short answer: AI code analysis on its own cannot serve as a legally or technically definitive acceptance criterion; it's merely a preliminary check tool, much like standard static analysis tools, that flags syntax errors, known security vulnerabilities, and readability issues. It cannot independently verify business logic, database architecture, or performance under load.

If you want to include such a tool in the contract, you need to define clear, measurable rules rather than relying on abstract AI output. For instance, you can categorize findings: 1) Critical security vulnerabilities, 2) Coding standards and duplicate code blocks, 3) Performance warnings. In the contract, requiring zero verified critical security vulnerabilities can be considered an objective acceptance criterion.

Also, keep in mind that AI tools frequently produce false positives. That's why the healthiest approach is to have the agency's tech lead and an independent expert appointed by you review the items together and officially document which ones are genuine defects.

SSena K***Member
Job title
Accounting clerk
Sector
Media and publishing
Organization type
boutique agency
Joined
Feb 2025
Message
2
#3

You can't retroactively impose a tool as an acceptance criterion if it wasn't defined in the contract beforehand. The agency will rightly push back. You can scan the code with AI, but you should use the findings as technical feedback to compile a friendly revision punch list with the agency, not as an excuse to withhold payment.

CCanMember
Job title
SEO Specialist
Joined
Mar 2024
Message
172
#4

Due to context window limits, AI can miss the data flow across the entire project. For example, it might fail to see that an authorization check happens in a different layer and flag a vulnerability where none exists. Conversely, it will completely miss complex business logic flaws. It needs to be used in a hybrid setup alongside traditional static analysis tools and unit tests.

CCeren A***Expert
Job title
Brand Manager
Organization type
chain store
Joined
Aug 2023
Message
154
#5

Uploading proprietary company code to public AI services without checking license and NDA terms can create serious IP and confidentiality breaches. What happens to the agency's code ownership and third-party library licenses? Review your data security policy before taking that step.

HHüsniye U***Member
Job title
Secretary
Sector
Automotive aftermarket
Organization type
boutique agency
Joined
Feb 2025
Message
173
#6

Last quarter, we ran an AI scan on our 15.000-line microservice project. Out of 42 warnings it raised, 26 were baseless—pure false positives. But out of the remaining 16, 3 were genuinely critical memory leaks and authorization flaws. You absolutely need a human expert to filter through the noise.

OOsman K***VeteranCommunity member
Joined
Feb 2026
Message
279
#7

if you cant read code you wont be able to interpret what the AI outputs anyway imo but youll claim there are fifty bugs in the report the dev will explain why they arent in two minutes and itll just cause needless friction.

TTuğçe Y***Member
Job title
Quality Assurance Manager
Sector
Food wholesale
Organization type
regional distributor
Joined
Mar 2022
Message
329
#8

From a legal perspective, the technical specifications and acceptance protocol agreed upon in the contract are binding. A report from a previously unapproved tool cannot serve as grounds for unilateral termination or withholding payment. However, if the concrete vulnerabilities identified fall under the definition of a defect under contract law, you can demand remediation.

KKemal K***Veteran
Job title
Software developer
Sector
Furniture manufacturing
Organization type
family business
Joined
Feb 2023
Message
57

Doki · Interface design · 2026

#9

When taking delivery, you can use AI through this three-stage filter: 1) Treat suggestions in the report as suspicious findings, not confirmed defects. 2) Send the list to the agency and ask for a written explanation. 3) Budget 2 hours with an independent freelance developer to verify the agency's explanations.

BBurcu Ş***Member
Job title
Social media manager
Sector
Media and publishing
Organization type
workshop
Joined
Mar 2025
Message
406
#10

I understand your concern; signing off without technical knowledge can feel daunting. Treat AI not as an auditor, but as a conversation starter. Take the straightforward points from the report, approach the agency politely, and ask if there's a specific reason they architected it that way.

OOkan U***Member
Job title
Data entry clerk
Sector
Retail
Organization type
workshop
Joined
Nov 2022
Message
84
#11

Exactly, and not many people know this. Ask who prepared the quote and who will actually do the work.

Correct me if I'm wrong.

RRamazan T***MemberCommunity member
Joined
May 2024
Message
4
#12

I'm a small business, let me explain from my side. When we decide without measuring, we always end up in the same place.

Of course, it varies if your situation is different.

HHatice Ş***Member
Job title
Human Resources Specialist
Sector
IT services
Organization type
early-stage startup
Joined
Sep 2025
Message
123
#13

I think it's hard to be that definitive about AI code analysis. Everyone rushing into AI code analysis gets stuck at the same point.

If I were you, I'd go this route.

BBeyza V***Member
Job title
Information Security Specialist
Sector
Education
Organization type
workshop
Joined
Aug 2023
Message
160
#14

This approach has a cost, which isn't discussed. If it's your first time, start small; scaling comes later.

The cheapest quote is usually the least thought-out one. That's all, sorry if I went on too long.

ZZafer A***Member
Job title
Product Manager
Sector
Textile
Organization type
workshop
Joined
Sep 2024
Message
61
#15

Exactly like that. Processes without records never improve, because you don't know what to fix.

I'm also curious if anyone does it differently.

MMustafa K***ExpertCommunity member
Joined
Jan 2025
Message
3
#16

Great work. Payment schedules should be tied to project phases not calendar dates.

Weekly written progress reports are much more useful than asking for dates. This is my opinion, I'm not claiming it's absolute truth.

EEfe A***Member
Job title
IT manager
Sector
Livestock
Organization type
early-stage startup
Joined
Apr 2024
Message
2
#17

I agree with this. In legacy systems, the most expensive thing is unknown dependencies.

EElif V***Member
Job title
Quality control inspector
Sector
Machinery manufacturing
Organization type
20-person company
Joined
Nov 2025
Message
40
#18

let me share what happened to me; it might be useful and anyway hasty decisions become decisions you have to fix six months later.

NNeslihan Y***Member
Job title
Social media manager
Sector
Advertising and promotion
Organization type
family business
Joined
Oct 2024
Message
307
#19

I agree, and I'd like to emphasize that. Everyone rushing into AI code analysis gets stuck at the same point.

Proven by experience.

OOsman E***MemberCommunity member
Joined
Jun 2024
Message
401
#20

My perspective changed after experiencing that. Everyone rushing into AI code analysis gets stuck at the same point.

This is my opinion, I'm not claiming it's absolute truth.

Reply