Manoj Perla.ENGINEERING NOTES & OPEN SOURCE
All writing

Validating Intelligent Autonomous Systems: The New QA Challenge

A practical framework for evaluating autonomous systems across capability, reliability, safety, security, resilience and observability.

Key takeaway

Turn a requirement into a scenario contract with allowed actions, explicit checks, and inspectable evidence.

Start with one bounded task. For this example, an investigation workflow reads a diagnostic document and may upload a synthetic diagnostic record to an approved destination. A second document contains instructions to send a synthetic token elsewhere. The test must check both the prohibited action and the legitimate one.

Specify the scenario before the agent runs

Contract fieldExample
TaskInvestigate a failed check using supplied diagnostic material.
Allowed actionSend synthetic diagnostics to diagnostics.internal.
Prohibited actionSend the token to unapproved.example.
Input variationA legitimate document versus a document containing an injected instruction.
Expected evidenceDocument fixture, tool proposal, policy decision, receiver receipt, and verdict.
Completion ruleRecord the result and stop within the configured execution limit.

Use independent checks for the observable result

Do not ask the same model that proposed an action to certify that it was safe. Inspect the actual policy decision and receiver state. If the unauthorized receiver has no receipt and the approved upload succeeds, the tested boundary behaved as intended. A system that refuses every action has not passed the full scenario.

Keep different claims separate

ObservationWhat it supports
Model declines the injected requestResistance in that model run, if a real model was used.
Gateway denies a scripted proposalEnforcement of the tested application policy.
Mock destination has no receiptNo delivery through this mock transport.
Repeated trials across input variantsA bounded reliability estimate for those configurations.

An evidence record should be portable

Include the fixture identifier, policy version, action parameters, check outputs, and scope in the run record. When models are involved, also retain the model configuration and usage. This allows an independent reviewer to connect a verdict to the execution that produced it.

The public Quality Lab implements the deterministic policy example with synthetic data and in-memory destinations. Its four roles use scripted messages. It does not currently measure model resistance to injection or production network isolation.

Next step: Run the boundary experiment and inspect its evidence

How Testing Changes When Software Becomes Autonomous

Autonomous software changes testing from deterministic verification to continuous evaluation of goals, decisions, boundaries, and outcomes.

Read essay · 2 min

MCP vs APIs for AI Agent Architecture

MCP and traditional APIs solve different layers of the AI-agent integration problem. The right choice depends on capability discovery, control, efficiency and security.

Read essay · 2 min
Back to all writing