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]>
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]>
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]>
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]>
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]>