hermes-agent/tests/computer_use
camaleonidas c6db7b0f4f fix(computer-use): fallback doctor when cua-driver health_report is unclassified
cua-driver 0.10.0 marks health_report as risk.class=unclassified and denies
the MCP call with isError. Hermes doctor previously treated the bare
{exit_code:1} structuredContent as a real report and printed
"cua-driver ? on ? — ?" with exit 1.

Detect isError / non-schema payloads, raise HealthReportUnavailable, and
compose a schema_version=1 report from working probes (check_permissions,
list_apps, CLI --version/doctor). Prefer real health_report when present.

Tests cover unclassified denial, schema preference, and overall mapping.
2026-07-29 11:09:08 -07:00
..
test_cua_atexit_teardown.py fix(computer_use): stop the cua-driver child on exit 2026-07-26 03:38:23 -05:00
test_cua_cli_fallback_env.py fix: resolve cua-driver across computer-use surfaces 2026-07-23 00:42:46 -05:00
test_cua_no_overlay.py fix(computer_use): default --no-overlay on macOS for idle CPU 2026-07-23 00:45:26 -05:00
test_cua_perf_knobs.py perf(computer_use): cap capture size and cache vision routing 2026-07-23 00:52:43 -05:00
test_cua_spawn_env_sanitization.py test(computer_use): pin resolved driver for update-check tests 2026-07-23 01:10:19 -05:00
test_cua_telemetry.py
test_doctor.py fix(computer-use): fallback doctor when cua-driver health_report is unclassified 2026-07-29 11:09:08 -07:00
test_permissions_resolution.py fix: resolve cua-driver across computer-use surfaces 2026-07-23 00:42:46 -05:00