### Install Qaping CLI setup command Source: https://github.com/alex-durango/qaping/blob/main/docs7/index.mdx Run the Qaping setup command for your coding agent. On Windows PowerShell use npx.cmd; on macOS, Linux, or WSL use npx. Append claude-code, cursor, or codex to choose an agent. Setup connects the MCP server, installs the Qaping skill, and signs you in. ```powershell npx.cmd @qaping/cli@latest setup ``` ```sh npx @qaping/cli setup ``` -------------------------------- ### Check Qaping version and login with qaping.cmd Source: https://github.com/alex-durango/qaping/blob/main/docs7/windows.mdx After setup finishes, verify the installation and login. The first command prints your installed Qaping version; the second shows the account you are signed in as. These checks do not file a playtest or spend credits. ```powershell qaping.cmd version qaping.cmd whoami ``` -------------------------------- ### Install Qaping CLI globally with npm.cmd and verify with qaping.cmd version Source: https://github.com/alex-durango/qaping/blob/main/docs7/windows.mdx Use when setup ran but qaping.cmd is not recognized. Reopen PowerShell first. If setup reported that the global install failed, install the command explicitly and verify it with qaping.cmd version. ```powershell npm.cmd install --global @qaping/cli@latest qaping.cmd version ``` -------------------------------- ### Set up Qaping on macOS, Linux, or WSL with npx Source: https://github.com/alex-durango/qaping/blob/main/README.md Run in a terminal on macOS, Linux, or WSL to set up Qaping for your coding agent. Requires Node.js (Node 24 LTS recommended). Setup connects the MCP server, installs the Qaping skill, and signs you in. Append claude-code, cursor, or codex to choose an agent. ```sh npx @qaping/cli setup ``` -------------------------------- ### Set up Qaping on Windows with npx.cmd Source: https://github.com/alex-durango/qaping/blob/main/README.md Run in PowerShell on Windows to set up Qaping for your coding agent. Requires Node.js (Node 24 LTS recommended). Setup connects the MCP server, installs the Qaping skill, and signs you in. Append claude-code, cursor, or codex to choose an agent. ```powershell npx.cmd @qaping/cli@latest setup ``` -------------------------------- ### Run provision script for controller setup Source: https://github.com/alex-durango/qaping/blob/main/docs7/replay.mdx One-shot elevated provisioner that installs Python, vgamepad, ffmpeg and PresentMon, pins download sha256, and enables crash dumps. Must run elevated for controller replay. ```powershell powershell -ExecutionPolicy Bypass -File .\node_modules\@qaping\rig\scripts\provision.ps1 -Trust ``` -------------------------------- ### Connect a coding agent with npx.cmd @qaping/cli@latest setup Source: https://github.com/alex-durango/qaping/blob/main/docs7/windows.mdx Run one of these commands to connect a specific coding agent (Claude Code, Cursor, or Codex) to Qaping. Each command installs the qaping command, registers the Qaping MCP server, and installs the Qaping skill for that agent. Run the command again with another agent name to connect that agent too. ```powershell npx.cmd @qaping/cli@latest setup claude-code ``` ```powershell npx.cmd @qaping/cli@latest setup cursor ``` ```powershell npx.cmd @qaping/cli@latest setup codex ``` -------------------------------- ### Update Qaping CLI and rerun setup Source: https://github.com/alex-durango/qaping/blob/main/docs7/windows.mdx Updates the Qaping CLI to the latest version, reruns setup for the specified agent (replace 'cursor' with your agent name), and verifies the installed version. Restart the agent after updating. ```powershell npm.cmd install --global @qaping/cli@latest qaping.cmd setup cursor qaping.cmd version ``` -------------------------------- ### qaping CLI command reference Source: https://github.com/alex-durango/qaping/blob/main/docs7/commands.mdx Complete list of qaping CLI commands. Use `qaping.cmd` on Windows PowerShell. `setup`, `builds`, and `rounds` are the commands you will type yourself; the rest are typically run by your agent. ```shell qaping setup [claude-code|cursor|codex] [--force] qaping remove [--client ] qaping publish-build --platform windows|macos qaping builds qaping builds rm qaping publish qaping wait [--timeout ] qaping results [--json] qaping rounds [--game ] [--all|--processed] [--limit 1-100] [--cursor ] [--json] qaping rounds show qaping rounds claim [--token ] qaping rounds release --token qaping rounds context --revision N --data qaping rounds complete --token --revision N --responses --report qaping rounds import [--directory ] [--dry-run] [--json] qaping issues [--json] [--status open|fixed|verified|closed] qaping whoami qaping version ``` -------------------------------- ### Prompt agent to set up QA Source: https://github.com/alex-durango/qaping/blob/main/README.md Ask your coding agent to set up QA for your game after setup. The agent keeps check definitions in QA-PLAN.md; round context, evidence, and reports stay on the server. ```text Set up QA for my game. ``` -------------------------------- ### Set up Qaping for Claude Code inside WSL Source: https://github.com/alex-durango/qaping/blob/main/docs7/windows.mdx Run Qaping setup inside WSL using npx and qaping without .cmd. Windows and WSL have separate home directories, agent settings, and Qaping logins, so setup in PowerShell does not configure an agent running inside WSL, or vice versa. ```sh npx @qaping/cli@latest setup claude-code qaping version qaping whoami ``` -------------------------------- ### Ask agent to set up QA and run QA on patch Source: https://github.com/alex-durango/qaping/blob/main/docs7/index.mdx Prompts to ask your coding agent after setup. The first sets up QA for your game; the second runs QA on your latest change. Your agent keeps check definitions in QA-PLAN.md and returns a round ID, deadline, cost estimate, and report link after submitting. ```text Set up QA for my game. ``` ```text Run QA on this patch. ``` -------------------------------- ### Minecraft world setup commands Source: https://github.com/alex-durango/qaping/blob/main/docs7/replay-keyboard-mouse.mdx These commands create a flat world with two platforms, a short bridge, a chest, and a catch floor for testing replay. Use them in a disposable world with cheats enabled. ```text /tp @s 1.5 -60 1.5 0 8 /fill -3 -60 -3 5 -60 16 stone /fill -1 -56 -1 3 -56 4 stone /fill -1 -56 9 3 -56 14 stone /fill 0 -56 5 2 -56 8 oak_planks /setblock 1 -56 1 emerald_block /setblock 1 -56 12 gold_block /setblock 1 -55 12 chest /tp @s 1.5 -55 1.5 0 8 /gamemode survival ``` -------------------------------- ### Check Node platform in WSL Source: https://github.com/alex-durango/qaping/blob/main/docs7/windows.mdx Check the Node installation in your WSL terminal. The platform should print linux; if it prints win32, your shell is finding Windows Node and you must select a Linux Node installation before continuing. ```sh node --version node -p "process.platform" ``` -------------------------------- ### Run Qaping setup with npx.cmd when scripts are disabled Source: https://github.com/alex-durango/qaping/blob/main/docs7/windows.mdx Use when PowerShell reports that running scripts is disabled and the error names npx.ps1, npm.ps1, or qaping.ps1. The .cmd commands work without changing PowerShell's execution policy. ```powershell npx.cmd @qaping/cli@latest setup cursor ``` -------------------------------- ### Plan frontmatter YAML Source: https://github.com/alex-durango/qaping/blob/main/docs7/qa-plan.mdx YAML frontmatter at the top of QA-PLAN.md. Defines game metadata, build command, platforms, and input. game_slug is minted once and never renamed; build_command is recorded once at setup. ```yaml --- game: Solar Drift game_slug: solar-drift # the issue board's id — minted ONCE, never renamed build_command: ./scripts/package.sh --release # the ONE command that produces a shippable build platforms: [windows] # windows | macos | ios | web input: XInput gamepad # optional; default keyboard+mouse --- ``` -------------------------------- ### Find npm global command directory with npm.cmd prefix --global Source: https://github.com/alex-durango/qaping/blob/main/docs7/windows.mdx Use when qaping.cmd is still missing after a successful global install. Prints npm's global command directory on Windows, which you can add to your user PATH environment variable. ```powershell npm.cmd prefix --global ``` -------------------------------- ### Check Node.js, npm, and npx versions in PowerShell Source: https://github.com/alex-durango/qaping/blob/main/docs7/windows.mdx Run each line separately in PowerShell to verify Node.js, npm, and npx are installed. All three should print a version number. The .cmd suffix selects the Windows command launcher so PowerShell does not pick a .ps1 launcher blocked by its script policy. ```powershell node --version npm.cmd --version npx.cmd --version ``` -------------------------------- ### Check Node, npm, and npx executables with where.exe Source: https://github.com/alex-durango/qaping/blob/main/docs7/windows.mdx Use when Node, npm, or npx is not recognized. Checks which executables Windows can find. If they are missing, repair the Node installation with npm and Add to PATH enabled, or activate a supported Node version in the terminal. ```powershell where.exe node where.exe npm.cmd where.exe npx.cmd ``` -------------------------------- ### Record and replay keyboard-mouse session with rig.js Source: https://github.com/alex-durango/qaping/blob/main/docs7/replay.mdx Run the doctor check, record a keyboard-mouse session with video, then replay it with telemetry disabled. Replace 1234 and the game path with actual values; omit --pid on play to launch the executable. The Start button begins a five-second countdown; F8 stops. Output files are never overwritten. ```powershell node bin/rig.js doctor --input keyboard-mouse node bin/rig.js record --input keyboard-mouse --pid 1234 --out sessions/take-01.kbmscript.json --video sessions/take-01.mp4 # Click Start recording, watch the countdown, play when REC appears. F8 stops. # Restore the same starting state. Update --pid if you restarted the game. node bin/rig.js play "C:\Games\YourGame" --exe game.exe --pid 1234 --script sessions/take-01.kbmscript.json --no-telemetry # Click Start replay at the same starting point. F8 aborts. ``` -------------------------------- ### Check definition YAML Source: https://github.com/alex-durango/qaping/blob/main/docs7/qa-plan.mdx YAML block opening each check section. Defines id, rung, origin, and optional setup. id is a stable slug never reused or renamed; rung is human or code; origin is 'authored' or a round id. ```yaml id: save-loads # stable slug — never reused, never renamed rung: human # human | code origin: authored # "authored", or the round id that minted/last changed it setup: "?save=campaign-mid" # optional: the link/flag that forces this check's precondition ``` -------------------------------- ### Save Loads Check YAML Definition Source: https://github.com/alex-durango/qaping/blob/main/docs7/qa-plan.mdx Defines a check named 'save-loads' with rung 'human', origin 'authored', and setup '?save=campaign-mid'. This check verifies that a save from a previous release loads correctly, forcing the game to open with the specified save. ```yaml id: save-loads rung: human origin: authored setup: "?save=campaign-mid" ``` -------------------------------- ### Clone repository and check version Source: https://github.com/alex-durango/qaping/blob/main/docs7/replay-keyboard-mouse.mdx Clone the qaping repository, navigate to the replay folder, and run the version check. Requires Git and Node.js 20 or newer. ```powershell git clone https://github.com/alex-durango/qaping.git cd qaping/replay node bin/rig.js version ``` -------------------------------- ### Develop from source: clone, test, and check rig version Source: https://github.com/alex-durango/qaping/blob/main/docs7/replay.mdx Clone the repository, run the portable tests with Node's built-in test runner, and check the rig version. Recording, playback, and telemetry require the Windows prerequisites mentioned in the source. ```sh git clone https://github.com/alex-durango/qaping.git cd qaping/replay npm test node bin/rig.js version ``` -------------------------------- ### Controller record, play, overlay, and report workflow Source: https://github.com/alex-durango/qaping/blob/main/docs7/replay.mdx Four sequential steps for a controller workflow: record a human session, replay it against a build, overlay inputs on the footage, and read the report. The script is a plain JSON file that can be committed next to the build and reused for later builds. ```bash npx @qaping/rig record --out first-pass.padscript.json ``` ```bash npx @qaping/rig play ./build-1042.zip --script first-pass.padscript.json --label 1042 ``` ```bash npx @qaping/rig overlay rig-runs/run-20260904-1132-a1b2c3 ``` ```bash npx @qaping/rig report rig-runs/run-20260904-1132-a1b2c3 ``` -------------------------------- ### Record a keyboard-mouse session with rig.js Source: https://github.com/alex-durango/qaping/blob/main/docs7/replay-keyboard-mouse.mdx Run this PowerShell command from the source folder to record a keyboard-mouse session. Replace PID 1234 and the executable path with your game's values. The command creates the output folder and records up to 2 minutes of active input time, excluding idle waiting and countdown. Press F8 to finish or cancel. ```powershell node bin/rig.js record --input keyboard-mouse --pid 1234 --out sessions/take-01.kbmscript.json --video sessions/take-01.mp4 --max-minutes 2 ``` -------------------------------- ### Publish a Windows build with qaping.cmd in PowerShell Source: https://github.com/alex-durango/qaping/blob/main/docs7/windows.mdx Use qaping.cmd instead of qaping when typing CLI commands in PowerShell. Quote file paths that contain spaces. This command uploads an already packaged Windows game ZIP. ```powershell qaping.cmd publish-build "C:\Games\My Game\Builds\game.zip" --platform windows ``` -------------------------------- ### Import Legacy QA Rounds with qaping Source: https://github.com/alex-durango/qaping/blob/main/docs7/qa-plan.mdx Run the import command with --dry-run first to validate, then run the actual import. The import validates both files before any write and imports each owned round once. It retains original metadata and history under workflow.legacy without overwriting server builds, statuses, reports, or newer context. A missing or wrong-account id is an error; check qaping whoami, fix it, and retry. ```sh qaping rounds import --dry-run qaping rounds import ``` -------------------------------- ### Replay run directory layout under rig-runs// Source: https://github.com/alex-durango/qaping/blob/main/docs7/replay.mdx Shows the directory layout created under the current working directory when a replay run completes. Each file is written only when the corresponding feature is active (e.g., PresentMon, ffmpeg, overlay, report, or a crash). ```text rig-runs// receipt.json the run's durable record (JSON) inputs.jsonl pad states or acknowledged keyboard/mouse events inputs-timing.jsonl when each one actually went out (wall clock) presentmon.csv raw frame times, if PresentMon was there recording.mp4 the capture, if ffmpeg was there recording-overlay.mp4 written by `overlay` annotations.json written by `report` .dmp the crash dump, if it crashed ``` -------------------------------- ### qaping rounds complete command Source: https://github.com/alex-durango/qaping/blob/main/docs7/skill.mdx Send the report JSON to the server via stdin. Use the token, revision, and response ids captured before reading results. Retry the exact same payload on uncertain replies; on 409, read and claim again. ```bash qaping rounds complete --token --revision --responses --report - ``` -------------------------------- ### Run Qaping whoami through npx.cmd Source: https://github.com/alex-durango/qaping/blob/main/docs7/windows.mdx Use to run a Qaping command through npx while fixing PATH. This can be used to check the current sign-in status without relying on the global qaping.cmd launcher. ```powershell npx.cmd @qaping/cli@latest whoami ``` -------------------------------- ### qaping CLI commands for inspecting agent work Source: https://github.com/alex-durango/qaping/blob/main/docs7/index.mdx Shell commands to list builds, rounds, results, and issues. Use qaping rounds --game to resume a game's QA work, and qaping rounds import for a one-time migration of older local round files. ```sh qaping builds # List your hosted native builds qaping rounds # Unprocessed rounds on your account qaping rounds --all # Include processed history qaping rounds --game # Resume one game's QA work qaping rounds import # One-time migration of older local round files qaping results # Read a round's results qaping issues # See bugs and verification status ``` -------------------------------- ### Prompt agent to run QA on a patch Source: https://github.com/alex-durango/qaping/blob/main/README.md Ask your coding agent to run QA on your latest change. After submitting, it returns the round ID, deadline, cost estimate, and report link. Native and web playtests default to a 72-hour window, subject to the service ceiling, without keeping your agent waiting. ```text Run QA on this patch. ``` -------------------------------- ### Set ffmpeg path and run doctor Source: https://github.com/alex-durango/qaping/blob/main/docs7/replay-keyboard-mouse.mdx Set the RIG_FFMPEG environment variable to the ffmpeg executable path and run the doctor command for keyboard-mouse input. The doctor checks optional components and may exit nonzero if they are absent. ```powershell $env:RIG_FFMPEG = 'C:\Tools\ffmpeg\bin\ffmpeg.exe' node bin/rig.js doctor --input keyboard-mouse ``` -------------------------------- ### Run Replay with PID attachment Source: https://github.com/alex-durango/qaping/blob/main/docs7/replay-keyboard-mouse.mdx Replays a recorded script for a game process with a specific PID. The game must be restored to the baseline state before running. The PID changes when the game restarts. The game remains running after replay. Omit --pid to let Replay launch the game directly. ```powershell node bin/rig.js play 'C:\Games\YourGame' --exe game.exe --pid 1234 --script sessions/take-01.kbmscript.json --no-telemetry ``` -------------------------------- ### Filing playtest with qa_context Source: https://github.com/alex-durango/qaping/blob/main/docs7/qa-plan.mdx Send this JSON as the qa_context when filing a playtest to save context and round atomically. All fields are optional; include selected check ids for each QA-plan round. ```json {"checks":["save-loads"],"note":"Save format migration", "commit":"", "pr_url":"https://github.com/example/game/pull/42"} ``` -------------------------------- ### Run doctor check Source: https://github.com/alex-durango/qaping/blob/main/docs7/replay.mdx Runs the doctor command to check all requirements and report what is missing. ```text npx @qaping/rig doctor ``` -------------------------------- ### Agent report JSON structure Source: https://github.com/alex-durango/qaping/blob/main/docs7/qa-plan.mdx The report is the agent's interpretation, stored separately from player evidence. Outcomes are Pass | Fail | Blocked | NOT-ASKED. A VOID precondition is Blocked with a note. Every selected check appears exactly once. follow_ups contains unresolved NON-BUG work; bugs belong on the issue board. external_refs and summary are optional. ```json {"evidence_grade":"testimony only (web round)","verdict":"PASS", "checks":[{"id":"save-loads","outcome":"Pass"}], "follow_ups":["Add a controller check"],"external_refs":[],"summary":"The report text"} ``` -------------------------------- ### Report command for run receipt Source: https://github.com/alex-durango/qaping/blob/main/docs7/replay-keyboard-mouse.mdx Use this PowerShell command to read a summary of the actual run folder. Replace '' with the actual run ID. The receipt contains the script hash, events_sent, stop_reason, warnings, and timing. ```powershell node bin/rig.js report 'rig-runs/' ``` -------------------------------- ### Claim, collect, and complete a round Source: https://github.com/alex-durango/qaping/blob/main/docs7/qa-plan.mdx Claim a ready or expired round before collecting results. The claim returns a token, revision, and response ids; keep them from before reading results. A claim lasts 30 minutes; renew with claim --token or release with release --token. Complete saves the report and marks work processed in one transaction. ```sh qaping rounds claim qaping results qaping rounds complete --token --revision --responses --report report.json ``` -------------------------------- ### Report JSON structure Source: https://github.com/alex-durango/qaping/blob/main/docs7/skill.mdx The report payload sent to the server. Includes evidence grade, verdict, checks, follow-ups, external refs, and summary. Optional per-check note and summary fields. ```json {"evidence_grade":"testimony only (web round)","verdict":"PASS","checks":[{"id":"boot-to-menu","outcome":"Pass"}],"follow_ups":[],"external_refs":[""],"summary":""} ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.