Mohammed Omer A Bin Afif Contact

Independent research

Independent evidence assurance for AI coding agents

Evidence from outside the agent of what it did on the machine, checked against what it was allowed to do.

The problem

AI coding agents edit code, run commands and touch files on real machines. The usual evidence of what they did is their own log and end-of-task report. That evidence comes from the agent itself.

Recent research found that coding agents' reports mention only a small share of their actions1, and that agents in common harnesses can delete or alter their own traces2.

The method

It compares three perspectives on one agent session:

01AuthorityWhat the agent was allowed to do, written down before the session.
02AccountWhat the agent's own log and report say it did.
03EvidenceWhat the operating system recorded, collected under a separate administrator account.

How it stays honest

  • The rules are frozen before each session, and the evidence is sealed with a hash.
  • Gates fail closed. If a sensor or check fails, the session is reported as Inconclusive, not as clean.
  • Where the evidence cannot decide, the answer is Unknown, never a guess. The report lists its known limits.

What you receive

  • A session report that shows effects within authority, outside it, undetermined, and from other actors; the agent's own claims beside the evidence; and every gate and its result.
  • A sealed evidence archive whose integrity an auditor can check against its seal id.
  • A short note mapping the test to your framework, for example AIUC-1 E015 "Log AI system activity" and E018 "Third-party testing for accountability risk". The mapping is the author's own; this work is not an AIUC-1 evaluator.

Formats

PilotOne agent, an agreed task set, in a controlled lab.
Method licenceFor testing labs and assurance providers.
PartnershipFor certification bodies, audit firms and agent-security companies.

Evidence so far

A prospectively frozen laboratory study of a desktop coding agent: 20 tasks, 27 counted runs, October 2026. Self-published preprint: doi.org/10.5281/zenodo.24283086.

Its main hypothesis reached no conclusion: at most 12 tasks could be evaluated, against a minimum of 15. The paper says so. The study exercised the method's safeguards; its accuracy has not been measured yet.

The study was checked by AI models from two vendors, all operated by the author: ChatGPT (OpenAI) reviewed and approved each stage of the study; Claude models (Anthropic), of the same family that drafted the text, reviewed and audited the paper before publication. No human peer review has taken place yet.

Scope today

Agents that run on a Windows machine; tested so far: Codex, the Windows app. Agents that run only in the cloud need a different evidence source.

About

Mohammed Omer A Bin Afif is an independent researcher with more than 30 years of management and legal experience, who designs and specifies software for legal and business use. He works on accountability for AI agents: how to know, with evidence that does not come from the agent, whether an agent stayed within the authority it was given.

Contact

mohammed@mbinafif.com

ORCID 0009-0003-0996-0358

Jeddah, Saudi Arabia