Before an existing issue found on the way gets a test and a pull request
of its own, search the repository's (and the upstream's) issues and pull
requests, open and closed. An open one is linked and added to instead of
duplicated. A closed pull request that was not merged means the
maintainers waived the issue: it is not redone or followed up. A merged
fix that missed the case is linked from the follow-up.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
docs/validation.md section 5: a problem a review, fix, triage or GPU
investigation finds that the change at hand did not introduce is neither
dropped as "pre-existing" nor folded into the current change. When a test
reproduces it (a probe, a unit or UI test, a scripted sequence, a
debugger breakpoint that holds a race open), the current task finishes
first and the issue then gets a pull request of its own through the same
process, linked both ways; a session that ends first records the test
for the next one. When no test can, it is named in the original pull
request, review comment or Auto-Triage comment.
Section 6 says what the test plan means for the GPU stack: both
backends, ARM64/x64/x86 applications, D3D and Vulkan, pixel-exact probes
as well as scores, the driver's own lifecycle (disable and enable, live
upgrade from the released and the previous driver, VM start and stop),
kernel-debugger breakpoints and a one-vCPU guest to hold ordering races
open, and upgrades tested from the drivers users run.
The document now covers games-db triage and the GPU skills as well:
review-utm-pr no longer drops pre-existing issues; answer-utm-issue,
land-stack-change (validation step and report), db-triage (due
diligence 7 and 8), db-triage-check (two new checks), triage-gpu-issue
and repro-gpu-issue point at sections 5 and 6. Section 2's blocking
rule names the dispatcher's `gamesdb session blocked` too.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
docs/validation.md is the test plan for every change a skill builds,
reviews or recommends that alters runtime behavior: the benefit, then
what the changed path takes part in beyond it (when it runs, what it
produces, what it branches on), each entry tested or marked untested
with the reason and the risk. Untested entries block only when they are
critical to the feature or very likely to affect another part; then the
skill asks for the setup instead of approving or submitting. Changes to
initialization, teardown or ordering also get lifecycle cycles in
proportion to their length, with temporarily widened gaps to turn rare
races into reliable ones.
answer-utm-issue, land-stack-change and review-utm-pr run the plan
before publishing or approving, and their PR bodies and review comments
list its coverage.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
`verify` failed every package whose virtio_icd.json names the DLL
without a path: the released guest tools and dev packages from before
viogpu-wddm 6a8c9d39, whose Vulkan never loaded (the Oct 31 package and
the 2026-10-29 release both fail vkCreateInstance). It now fails the
check only when the installed package registers a manifest the loader
can resolve (".\vulkan_virtio.dll"), and otherwise reports the failure
as expected. Checked: the Oct 31 package and the release pass with that
note; the build-viogpu3d package passes Vulkan on D3DMetal and DXMT, and
on the release UTM 5.0.9 app.
build-drivers.sh copies the packages back with scp -p, so the manifest's
time, which `utmbot install` quotes as the build date, is the build's and
not the copy's. The skill's one-line version check picks the
neptune_umd.dll entry by name instead of by position.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
answer-utm-issue, the poller's job prompt, test-plugin and the e2e
scenario still said the guest driver is osy's and gets a fix branch
only. It is the org's (utmapp/mesa, utmapp/viogpu-wddm,
utmapp/build-viogpu3d), so a fix there opens a pull request.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The driver build moved into utmapp/build-viogpu3d (build.ps1), which
builds Neptune and Venus from utmapp/mesa and the KMD from
utmapp/viogpu-wddm, packages, catalogs and signs them, and stamps every
binary with its commit. The harness now only gets the sources to the dev
VM and the packages back:
- build-drivers.sh takes the Mac checkouts (~/Documents/build-viogpu3d,
viogpu-wddm, mesa by default; worktrees with --build/--kmd/--umd) and
passes everything else to build.ps1. The VM keeps git clones on its own
disk (never the SSHFS share: the KMD builds in place); each run fetches
GitHub and a bundle of whatever GitHub lacks, and checks out the Mac's
exact state. Uncommitted changes become a work-in-progress commit, so
they stay uncommitted on the VM and the stamp ends in "+".
- Packages land in ~/.utmapp-bot/drivers/<Os>/<driver>-<package>/ with
build-viogpu3d's manifest beside them; `utmbot install` names a build
from that manifest.
- Removed: guest/build-drivers.cmd and verify-package.ps1 (build.ps1
checks the package against its INF and the UMD version against
DriverVer, and fails on a signing error), the build-mesa clone, and the
dev VM's system-wide meson/mako/pyyaml, CMake and 7-Zip, which only
build-mesa's LLVM build needed (build.ps1 keeps Meson in a venv).
Tested end to end: -Target all,viogpudo -Arch all from scratch, a no-op
rebuild (29 s), a dirty Mesa tree (neptune_umd*.dll stamped
git-68b837cda+), -Target kmd keeping the UMD's own revision, -Os Win11,
and an unpushed commit from a worktree. On the test VM the arm64x package
installs, D3D11/12 pass, and Time Spy GT1 / Fire Strike GT1 match the
last build-mesa package within noise (24.53 vs 24.54, 50.64 vs 50.70 fps).
Vulkan: vkreadback now builds for Windows (ARM64 and x64, against the
Khronos headers in the Mesa checkout and an import library made from the
functions it calls) and prints the ICD's driverInfo. Both pass on the new
package (x64 through the ARM64X ICD's ARM64EC view): "venus, Mesa
26.1.0-devel (git-68b837cda8)". `utmbot verify` runs it; the released
guest tools of 2026-10-29 register an ICD manifest the loader cannot
resolve, so for them it reports VULKAN FAIL without failing the check.
The skill documents where a user finds the commit: the product version
of viogpu3d.sys and neptune_umd.dll (with a one-line PowerShell check),
the installed INF's header, and Venus' driverInfo; Device Manager,
dxdiag and pnputil show only the shared version number.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The Windows guest driver moved to the org: osy/virtio-win-mesa is
utmapp/mesa, osy/kvm-guest-drivers-windows is utmapp/viogpu-wddm, and
osy/build-mesa is utmapp/build-viogpu3d. A fix there is now a pull
request like any other org repository's, not a fix branch for a person
to submit.
fix-branch had two problems with that. A checkout whose origin still
names the old repository resolved to osy/..., which the org does not
own; it now asks GitHub for the repository's current name, which
follows the transfer. And it looked for the bot's fork as
UTMapp-bot/<upstream name>, but GitHub keeps a fork's name when its
parent is renamed (UTMapp-bot/virtio-win-mesa is the fork of
utmapp/mesa), so it would have tried to fork again and timed out; it now
finds the account's fork in the upstream's fork list. Dry runs from the
new checkouts and from an old osy/ one all target utmapp/mesa and
utmapp/viogpu-wddm through the existing forks.
The Linux test VM clones utmapp/mesa, and the routing tables in
land-stack-change and the repositories named in db-summarize and the
knob reference follow the move.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The previous change showed the session the comments other people left
since the bot's last one. That isn't the point: the bot was not the target
of that conversation, whoever the other person is. A maintainer, another
user asking the author something different, or someone answering in the
bot's place all count.
Now, once anyone besides the author and the bot has commented since the
bot joined the thread, each of the author's comments that neither mentions
nor quotes the bot (GitHub's "Quote reply") is marked "Not clearly for
you", with the other participants' names. The session leaves such a
comment unanswered unless it is actionable for its own work: an uploaded
log, results or details it needs, or a clarifying instruction. It no longer
gets the other people's comments in its prompt, and there is no 👀 on such
a comment.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
On #7788 a maintainer asked the reporter whether they had tried 5.0.9, and
the reporter answered them. The poller dropped the maintainer's comment (no
mention, nothing started) and queued the reporter's answers as replies to
the bot. The prompt told the session they were addressed to it, so it
answered as if it had asked.
Each of the author's comments the bot is woken for (a reply or a
follow-up) now carries the comments other people left after this account's
last comment, read from the whole thread because the cursor has often
passed them already. The prompts show those comments once, as context, not
as rounds, before the author's comment, with a note that the author may be
answering them. The reply and follow-up prompts no longer say the comment
is addressed to the bot when someone else spoke: an answer to another
person's question gets no reply unless it bears on the bot's own work. No
👀 goes on such a comment.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Unasked triage takes up only issues of type Bug or with no type. The
Feature template sets its own type, so those need nothing and are never
taken up. No type means the blank form: a bug report filed that way gets
the type Bug (utmbot gh type N --bug, the only type ever set, and never
over one someone chose) and is triaged; anything else filed blank is left
alone. An issue typed Bug that is really a request is left alone too.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Every issue opened from now on (by anyone but the bot account) and every
open pull request by someone outside the org (not a draft) is taken up
without a call. New threads send the account no notification, so the
issue list is read; nothing older than the switch-on is ever taken up.
Issues (answer-utm-issue --new), in this order:
- a template form left unfilled or filled with garbage: ignored completely;
- opened blank with too little to triage: closed as not planned, with a
comment asking for one of the templates (utmbot gh no-template);
- a duplicate: closed through GitHub's own close-as-duplicate, which links
the original on the issue itself (no label), with an invitation to
reply; a possible relation is only noted, and triage goes on;
- a feature request: "enhancement";
- a filled form that still gives nothing to try: the template's missing
fields are asked for, "needs info", and 14 days, after which the poller
closes it. Only where the bot's own marked comment and labelling are on
the thread, and not when the author commented, the description was
edited, or an org member wrote since;
- cannot be triaged on this Mac: left alone, no comment;
- the rest is triaged, with "not reproducible" when it does not reproduce;
- a problem outside UTM's control (macOS, iOS, a jailbreak tool, the
Virtualization framework): "external", and the issue stays open.
Labels come off and the issue is analyzed again when the author replies;
an issue the bot closed is reopened when the reply warrants it.
Pull requests (review-utm-pr --new): a bug fix is reproduced, fixed
independently by a subagent that never sees the pull request, compared,
merged with what the other version lacks, reviewed and validated; the
result is an approval, suggestions, or a branch on the bot's fork. Commits
made for it carry the original commit's author in the Author field. Other
pull requests are left alone.
Strangers start these sessions, so the games-db rules for untrusted input
apply and are enforced where they can be: `utmbot gh label|needs-info|
duplicate|no-template|reopen|attachment` and the posting commands work
only on the session's own thread; four labels; posted text is checked
(nothing that identifies this Mac, no links outside the reference list,
no secrets or home-folder names); attachments come only from GitHub's own
hosts, quarantined, for the sandboxed readers; links are followed only in
text an org member wrote; a pull request that changes anything run at
build time is not built here unless a member asked, and a stranger's code
runs only inside VMs.
Requests go before unasked work: one unasked triage at a time, never in
the last session slot, GHBOT_AUTO_PER_DAY (15) a day, GHBOT_AUTO=0 off.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
The bot usually cannot push to another person's pull request and never
tries. A small change is a GitHub suggestion in the review (`utmbot gh
review --comments-file`); a larger one is a commit on a review/pr-<n>-…
branch of the bot's fork, linked from the comment. Either way the review
requests changes, requested reviewer or not, and a maintainer decides
whether the change goes onto the pull request.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Replies: an issue's or pull request's author who writes after this account
commented there is answered, mention or not, whoever started that work.
GitHub's thread decides, not this Mac's records, so a triage run by hand
is covered. With no session to resume, a new one continues the earlier
work instead of starting over. An org member who is the author and
mentions the bot still calls it the usual way. `utmbot gh catchup
[--apply]` finds the replies the cursor already passed.
A fix found from such an answer is opened like any other small fix: the
small-fix rule of answer-utm-issue holds in every round, whoever wrote the
comment, and only an org member's request gets a large fix built. `gh pr
--check` refuses rounds the poller never delivered and notes when a
round's author is not a member.
Also: posting the first answer on an issue no longer fails after the post
(it read the head of a pull request that an issue does not have).
Pull requests: one rule for db-triage and answer-utm-issue, stated in
land-stack-change section 7. A fix in UTM goes through utm-review and
utm-submit as before. A fix in any other repository the org owns is opened
as a pull request there from the bot's fork (`gamesdb fix-branch --pr`,
bracketed by `utmbot gh pr --repo` in poller sessions), with the same
review and validation; on a checkout whose origin is an upstream,
fix-branch names the org's repository of the same name. A repository
someone else holds still gets a branch only. When UTM pins the repository
by commit, the UTM pull request that moves the pin is a draft on the fork
commit until a maintainer says there that the other one is merged; the bot
then pins the merged commit and marks it ready.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
The poller skipped every PR the bot account opened, so a member's
questions on a fix it submitted (utmapp/UTM#8141) were read and dropped.
Its own PRs and issues are still never reviewed, but any org member's
comment there (no mention needed) is now answered: in the session of the
issue that opened the PR when this Mac has it (opened_prs), else in a new
session told to answer and, if asked, change the PR's branch through
utm-review. A shared session never runs twice at once.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The local e2e started its dispatcher with nohup from a terminal, so the
terminal held Local Network and the other permissions, and tests passed
that failed under the real LaunchAgent. start_dispatcher now installs a
launchd job (app.getutm.utmapp-bot.e2e-dispatch) under the agent
launcher. Sessions drive /Applications/UTM.app unless UTM_APP chooses a
dev build (one may lack D3DMetal). test-plugin documents both and how
to test the result check on a real finished triage (local copy of the
report, a forked session, a fresh GAMESDB_STATE), and that e2e-seed.py's
default database may not be the one the local server serves.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Report 4 (Forspoken) finished fix_proposed with the crash fixed and the
reporter's own complaint ("0 x 0", the resolution cannot be changed)
listed as still open, a design question left for a maintainer, and DXMT
validation not run.
db-triage: a report can hold several layered bugs, and fixing one crash
does not finish it. Every symptom the reporter describes is fixed with
evidence from their path, or settled as outside UTM's control. The
triage makes design decisions itself (the reviewer only accepts or
rejects a branch), and an explicit due-diligence list (both stacks,
attribution with CrossOver, a probe, the reporter's path rerun, the full
matrix on both backends, a perf A/B, review, published branches) comes
before fix_proposed.
The result check: finishing statuses go out through `gamesdb final`,
which in auto mode posts nothing and records the draft;
`gamesdb triage-status` refuses them there. The dispatcher holds the
job ("checking", lease kept) and runs /utmapp-bot:db-triage-check, a
fresh read-only session that compares the draft with the report and the
evidence and records `gamesdb verdict pass|fail`. Pass: the dispatcher
posts the comment and status (as this machine, under the job's lease).
Fail: the same triage session is resumed, context and prompt cache
intact, with the findings. The triage has the last word: `final
--overrule REASON` after a send-back publishes unchecked, and after
three send-backs the next final is published unchecked, so the two never
loop. A posted final stays public: a later final (a reviewer's further
changes through `dispatch retry`) is a follow-up that says why the work
continued and covers only what changed, and the check judges the thread
with `--follows-up`.
Tested on a copy of report 4 in the local db (a fork of its session):
the check failed production's draft for the open 0 x 0 (2 min, $0.56),
then for two unreviewed commits and a missing MSDN check, then passed
the result that fixes all three reported problems across four repos.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The silence watchdog read only the session log's mtime, so a quiet
3DMark A/B in a background task was killed after 45 min. activity() now
also counts the CPU time of the session's commands (its process group,
without claude itself) and the UTM lease it touches; a session is silent
when none of them moved for 30 min.
Every dispatched session is now told: wait in steps of at most 5 minutes
and look every 1-5 minutes (a dialog or a failure is seen within
minutes, not at the end of a long timeout); never quit, kill or close an
app or VM it did not start; and report a blocker only after reproducing
it in this run, never from earlier context, a handoff or another
session's findings (a session blocked on a permission a person had
granted an hour before).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
A grant to the launcher reaches every process it is responsible for at
once, but a session started before the launcher was installed keeps the
old responsible process and its permissions. db-setup names such running
sessions (responsibility_get_pid_responsible_for_pid) so they can be let
finish or retried.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
A public comment cited 3456x2234, the triage Mac's native display size.
The comment lint now also refuses what identifies this Mac or the
software it runs: its computer, local and host names, serial, hardware
UUID, provisioning UDID and ECID, MAC and IP addresses, Wi-Fi network,
time zone (city from Area/City zones only, so "Pacific Drive" passes),
display sizes, the games-db server's host, the 3DMark key, the CrossOver
registration, and the Steam triage account's names. License and product
keys of any shape (four or more dash-separated groups mixing letters and
digits) are refused by the generic patterns, in redaction too. Public
names (the utmapp organization, the utmapp-bot account) and generic
account names are exempt.
check-portable.sh refuses the license, account and hardware values in the
plugin itself.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
A CrossOver A/B could launch a game but not reach a menu in it.
`cx input --bottle B key|combo|text|click|move` mirrors the VM's
`utmbot input` (plus arrows and the other navigation keys), with X Y in
`cx shot` pixels, through a Swift helper (wininput): the game is brought
forward with the Accessibility API (activate() from the background is
ignored), keys go to its process, clicks are posted system-wide after
checking the screen is unlocked and the game is in front, and text is
typed as US-layout key codes (Wine maps keys by code). It needs
Accessibility for the responsible process: the permission job asks for
it, opens the pane and shows the launcher. `cx windows`/`cx shot` list
windows at every level (a frontmost full-screen game moves to level 26).
Verified on Forspoken Demo: title screen to Settings > Display Settings.
steam.run_game (VM and bottle) waited only for a game process, so a
Steam question stalled a launch for the whole --wait (15 min on a Steam
Cloud conflict). It now polls the client's GetActiveGameActions every
5 s and logs progress every 30 s. The Cloud Out of Date question
("pendingcloudsessions") gets ContinueGameAction(id,
"IgnorePendingCloudSessions"), what Steam's own "Play anyway" calls,
recorded in game-actions.txt; any other question still waiting after
10 s cancels the launch and names it. In a bottle the Wine log line
"waiting for user response to" is the fallback.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
UTM's `input scan code` takes extended (E0-prefixed) keys as 0xE0nn on
QEMU VMs since 4.7.2 (UTMScriptingInputImpl.sendScanCode), so the note
that arrows cannot be sent was out of date. Add up/down/left/right,
home/end, pageup/pagedown, insert/delete, rctrl/ralt, and e0:N; a release
is the make code + 0x80 as for the other keys.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The release app and a dev build share a bundle id, so the harness must
quit one to script the other. It used to stop with "quit it first", and
an unattended session then quit whatever was open, including a Debug UTM
a person had started. ensure_app() now records the UTM it launches
(locks/utm-launched.json) and quits another one only when that record
names it, no VM runs in it and no other session holds the UTM lease;
otherwise it stops and says to wait or report a blocker.
AppleScript launches an app that is not running, which bypassed both the
check and the record: `vm status` with UTM_APP set to a Debug build
started it. osa_run() now answers queries (exists, status, file, nic,
net-modes, query-install) with "not running" and starts UTM through
ensure_app() for everything else.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The agent loaded its state once at start and saved its in-memory copy every
minute, so a `gamesdb dispatch retry` (or `tick`, `session`) from another
process was silently overwritten. Every writer now goes through
locked_state(): read under a lock, written back when done, also after an
error as the loop always did.
`retry` gains --prompt (what the resumed session is told), refuses jobs
that are running, and says it takes effect within a minute.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
macOS attributes a dispatched session's local-network connections (SSH to
the VMs) to the LaunchAgent's own program. With Homebrew's Python as that
program the Local Network grant did not hold (Allow helped only the
running process), so dispatcher restarts cut sessions off from the VMs.
Apple programs are exempt only with no non-Apple program (claude) between
them and the agent, so the system Python would not help either.
The dispatcher and the GitHub poller now run under "UTM Bot Agent", a
small ad-hoc signed app (no certificate needed) that spawns the real
command and waits, so it stays the responsible process. It is linked with
a random build UUID and registered with Launch Services before its first
run: macOS matches a blocked process to an app by that UUID, and two
launchers built alike would share it (no prompt, still blocked). It is
rebuilt only when its source or build recipe changes. Tested on macOS 27:
the grant holds across fresh launches.
db-setup and github-setup build it and, while the user is at the Mac, ask
for everything sessions need in a one-shot job under it: Local Network,
controlling UTM (its Info.plist carries the Apple Events usage string,
without which macOS refuses silently), Screen Recording, and UTM's
settings in its container. That last one has no dialog and its per-app
switch does not stick, so setup checks real read/write access (`defaults
export` reads an unreadable domain as empty), opens Full Disk Access and
shows the launcher in Finder. `db-setup --permissions` asks again.
load_agent retries bootstrap while a booted-out agent is still exiting.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
review-utm-pr reviews and tests a PR on every configuration UTM's
CONTRIBUTING.md recommends; answer-utm-issue reproduces an issue, finds
the cause and replies, fixing small ones through UTM's own submission
skills. The poller (scripts/ghbot, github-setup) picks up org members'
mentions and review requests, claims each PR or issue with a 👀 reaction
so several Macs on one account divide the work, and resumes the same
session with follow-ups.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
bin/gamesdb and scripts/gamesdb: the internal API through a kept-up SSH
tunnel, validated backups, and a dispatcher that runs the db skills in
unattended Claude Code sessions (usage limits, outages, blockers over
Remote Control and phone notifications, triage leases with heartbeats so
several Macs never take the same report). The db skills: setup, triage,
attachment summaries, moderation, and the Steam VM (baseline, installs,
gifts, cleanup). scripts/agentlib: session code shared with the GitHub
poller.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Provisioning Windows, Linux and macOS VMs and Xcode in them; building UTM
and its dependencies and the VirtIO GPU driver; running and observing test
VMs; triaging GPU problems, attributing them to a layer, kernel debugging,
probes, performance and the validation matrix; CrossOver comparisons;
reproducing GPU issues; testing UTM's UI across macOS and iOS versions;
landing a change (API documentation checks, related paths, /code-review,
validation again; UTM pull requests only through UTM's utm-review and
utm-submit); handoffs between sessions; testing the plugin itself.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
bin/utmbot and scripts/utmbot: the UTM lease, disposable VM boots, guest
commands over SSH, driver installs, frame capture and pacing, benchmarks,
kernel debugging, snapshots, CrossOver comparisons; macOS VMs (create and
install from an IPSW or the latest one, Setup Assistant driven through the
screen with OCR, baselines, Xcode and simulator runtimes, LLDB) and UTM's
UI on macOS VMs and iOS simulators. Host builds of UTM and its
dependencies, unattended Windows and Linux provisioning, guest scripts, the
GPU probes and benchmark definitions.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The plugin manifest and marketplace entry, the README (skills, how to use
them, prerequisites), the Apache 2.0 license, and what the skills assume
about the host Mac (docs/utm-host.md).
Co-Authored-By: Claude Opus 5.5 <[email protected]>