vms: consolidate the run agents' scripts into the harness #14
Loading…
Reference in a new issue
No description provided.
Delete branch "vms/consolidate"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Turns the run agents' throwaway scripts into the harness.
interopvm.py: OCR text clicking (find_text/click_text),find_color, host-side test pictures,Run(numbered shots, PASS/FAIL/SKIP), web fake A/V order automatic, RTP counters (web getStats →web-rtp.log, DinoG_MESSAGES_DEBUG=rtp), test-card reading.vms/clients/{aim,web,gajim,dino,kaidan}.py: per-client actions (attach, react, reply, retract, correct, join_room, set_encryption, start/accept/hang up calls, close_chat), NotImplementedError where a client lacks the feature.vms/examples/: one script per feature (0045+0402, 0167, 0184+0333, 0198, 0280, 0308, 0313, 0363, 0384, 0424, 0444, 0461, netem), replacingvms/scenarios/;vmrun.zshruns them.vms/RUN-BRIEF.md: the brief template for VM run agents, with a mandatory "improve the harness before reporting" phase; AGENTS.md and README updated.Verified on ejabberd with
--out(nothing recorded): every example against every peer that supports it works, except Kaidan calls (C36) and one Dino video call that reproduced #9 P3.harness-test.pypasses.🤖 Generated with Claude Code
Every agent that taught the harness a client's clicks edited the same stretch of interopvm.py. Each client's sign-in, chat and action methods (_sign_in_/_open_chat_/_composer_ and _<action>_<client>) now live in its own mixin, vms/clients/{aim,web,gajim,dino,kaidan}.py, which ClientVM inherits, so the dispatch by name and the API stay the same (checked: the same attributes, each with the same source). Generic driving stays in interopvm.py. The flake's lib ships the clients/ package beside interopvm.py. It also holds the fixes from the verification runs so far: aim's lock menu is found without Esc (which closes the chat), Gajim's close_chat is not scripted (its Ctrl+W asks to quit Gajim), and xep0184, xep0424 and xep0461 check the right stanza or line. Assisted-by: Claude:opus-5-5