
The Answer Is Optional: An Abstention Contract for AI
A practical guide to deciding when AI should answer, seek evidence, defer, or refuse using calibrated signals, risk–coverage curves, and fallback capacity.
Read MoreZharfAI Team

A computer-use agent can watch a screen, operate a browser or desktop, call tools, and change real application state. That makes an impressive demo easy to recognize—and a dependable system surprisingly hard to measure.
A single “task completed” score hides important differences. One agent may reach the target cleanly. Another may submit a duplicate form, expose private data, ignore an unexpected warning, or finish by taking a shortcut that violates policy. Both can receive the same final score if the evaluator checks only one field.
Public benchmarks established useful foundations. WebArena introduced realistic, reproducible websites with functional task validators. WorkArena moved toward common knowledge-work tasks in enterprise software. OSWorld expanded evaluation to 369 tasks across real operating systems, web and desktop applications, file operations, and multi-application workflows.
These benchmarks answer important capability questions. A production acceptance suite must go further: it should model your applications, permissions, policies, failure costs, interface changes, and recovery expectations.
Do not score a list of clicks. Specify the intended transition:
given: initial application state + actor identity + instruction
when: agent observes and acts within allowed capabilities
then: required post-conditions are true
and: prohibited side effects are false
and: evidence is sufficient to verify both
For an expense-submission task, the contract might require:
This contract separates outcome, authority, safety, and evidence. It also permits multiple valid action paths. The agent should not fail merely because it clicked different controls from a human-authored trace.
Computer tasks are stateful. A result is not reproducible unless the starting state is reproducible.
Capture:
Use disposable environments and reset them between trials. A failed run can otherwise contaminate later trials by leaving a draft, changing a preference, accepting a cookie banner, or incrementing an identifier.
OSWorld’s use of initial-state setup and execution-based evaluators is a strong pattern. But your acceptance environment should also reflect organization-specific roles and controls. A benchmark run as an administrator does not validate the least-privilege employee experience.
Did all required post-conditions become true? Prefer direct state inspection—database, API, file checksum, or application record—over a screenshot that merely looks correct.
Use partial credit only when it corresponds to meaningful business progress. Opening the correct page is not 50% of making a compliant payment.
Did anything else change? Define negative invariants such as:
This dimension prevents an unsafe shortcut from being scored as a success.
Did each consequential action remain within the user’s instruction and the actor’s authority? A technically possible action may still be out of scope. Preserve the original instruction and compare tool actions to it throughout the run.
Human approval design explains how to place confirmation at the boundary where a decision becomes costly or irreversible.
Can the agent detect a stale session, moved control, changed record, conflicting instruction, missing dependency, or ambiguous identity? Score:
An agent that safely stops may be better than one that completes more tasks through unbounded improvisation.
Can a reviewer reconstruct what the agent observed, decided, and changed? Record observation references, selected action, arguments, tool response, resulting state, approval event, and post-condition result. Sensitive data can be masked while preserving identifiers and structure.
Track task time, model and tool latency, number of steps, retries, tokens, cost, user interruptions, and unnecessary UI exploration. Optimize only after correctness and safety. A two-second shortcut that doubles duplicate submissions is not an improvement.
Capability benchmarks often ask whether the agent can reach a goal. Safety evaluations ask whether it refuses harmful goals, resists malicious context, and avoids unsafe paths even for benign instructions.
The 2025 OS-Harm benchmark adds computer-use tasks covering deliberate misuse, prompt injection, and model misbehavior. The 2026 OSGuard preprint makes another crucial distinction: an agent can achieve the nominal task through an unsafe shortcut, so evaluators need explicit state-based safety invariants in addition to the original success condition.
Build safety variants from ordinary tasks:
Test both action-level judgment and end-to-end behavior. A guard may classify an isolated action correctly yet fail to stop a harmful sequence of individually plausible steps.
The OpenAI Operator system card is a vendor-specific example of evaluating prompt injection, mistakes, prohibited actions, confirmations, and third-party red teaming for a computer-using model. Use system cards as inputs, not substitutes for workflow-specific testing.
An agent that memorizes one layout is not robust. Vary:
Include metamorphic tests: change a detail that should not affect the decision, such as window position, and verify the outcome remains stable. Then change one material fact, such as recipient or amount, and verify the agent notices.
For Persian workflows, do not stop at translated labels. Test RTL geometry, Persian and Arabic digits, right-to-left cursor behavior, mixed Latin identifiers, calendar conversion, and copy/paste normalization.
Production interfaces fail midway. Inject:
The evaluator should know whether the original action actually committed. Give the agent an idempotency key or reconciliation path where appropriate and score whether it checks before retrying.
The distinction between “request failed” and “business state unchanged” is essential. A payment API timeout may occur after the payment committed. Blind retry turns a recoverable ambiguity into a duplicate transaction.
See durable agent workflows for checkpoint and resume patterns.
No single grader is sufficient.
Use APIs, database queries, files, checksums, and structured logs for exact post-conditions and negative invariants. These should be the primary authority where available.
Check prohibited domains, out-of-scope tools, missing approval, duplicate calls, dangerous argument patterns, and access to unrelated objects.
Use them for ambiguous semantic quality, communication usefulness, or whether an escalation adequately describes missing information. Calibrate against human labels, blind the grader to vendor identity, and do not let an LLM judge override a contradictory system-of-record check.
Use for high-impact cases, new failure categories, policy interpretation, and regular samples of both passes and failures. Record reviewer disagreement; it often reveals an underspecified task rather than a model problem.
NIST’s 2025 note on cheating in AI agent evaluations recommends standardizing benchmark-specific affordances and restrictions. In practice, document exactly which network, files, tools, hidden tests, and external help are allowed so two scores are comparable.
For every run, record:
evaluation_version
environment_snapshot
actor_and_permissions
original_instruction
observation_reference
action_and_arguments
tool_or_ui_result
state_delta
approval_event
grader_outputs
final_post_conditions
Store screenshots or video only when necessary and apply masking at capture time. Prefer structured state diffs over indiscriminate screen recording. Keep secrets, payment details, personal contact information, and unrelated records out of model-visible and reviewer-visible traces.
Trace versioning is critical. A replay should identify the model, prompt, policy, tool schema, application build, evaluator, and dataset revision. Otherwise a regression may be caused by the environment rather than the agent.
Agent observability covers production tracing in more depth.
One run per task is rarely enough. Computer-use agents are nondeterministic and environments fluctuate.
Report:
Weighting should reflect real volume and consequence. A rare payroll or deletion task may deserve more release authority than hundreds of harmless navigation tasks. Keep a public benchmark score separate from the internal go/no-go score.
The best acceptance suite evolves:
Also sample successful runs. Hidden rework by users, unnecessary disclosure, or incorrect reasoning can be missed when the final state happens to look right.
A practical release process has four layers:
Rollback should be triggered by unsafe-success, cross-scope access, duplicate side effects, approval bypass, or unexplained degradation—not only by lower average completion.
The guide to computer-use automation helps identify suitable first workflows; browser-agent security covers the attack surface.
For consequential work, safe task success: all required post-conditions are true and all prohibited side effects are false. Report ordinary completion beside it, not instead of it.
Only as a secondary efficiency measure. Different valid paths can use different numbers of steps. Outcome, safety, permission adherence, and recovery matter first.
Rarely by themselves. They may show UI state but miss hidden database state, duplicate records, wrong permissions, or changes in another application. Prefer direct post-condition inspection.
Run a focused gate on every change to model, prompt, policy, tool schema, application UI, or evaluator. Run the broader stochastic and adversarial suite on a scheduled basis and before expanding autonomy.
This article was substantially reviewed on July 30, 2026 using:
A production task bench is not a leaderboard. It is a controlled model of the work, the damage a wrong path could cause, and the evidence required to trust the result.

A practical guide to deciding when AI should answer, seek evidence, defer, or refuse using calibrated signals, risk–coverage curves, and fallback capacity.
Read More
A practical guide to Grok Bot's shared computer, role charters, routines, multi-agent handoffs, pricing, evidence, and safety boundaries.
Read More
A practical control architecture for separating independent evidence, AI-influenced decisions, synthetic content, and production feedback before the next model learns from them.
Read MoreIf this note maps to a real system in your organization, start with the services page or a shipped case study.