testsAndMisc/docs/superpowers/contracts/game-rec-auto-2026-11-22.json
Krzysztof kuhy Rudnicki f86c5c331d
Some checks are pending
md-naming / markdown naming convention (push) Waiting to run
Pre-commit checks / pre-commit (${{ matrix.group }}) (mypy, mypy) (push) Waiting to run
Pre-commit checks / pre-commit (${{ matrix.group }}) (pylint, pylint) (push) Waiting to run
Pre-commit checks / pre-commit (${{ matrix.group }}) (rest, ) (push) Waiting to run
Pre-commit checks / pre-commit (${{ matrix.group }}) (shellcheck, shellcheck) (push) Waiting to run
Python tests / test (push) Waiting to run
repo-contract / repo contract (push) Waiting to run
Shell tests / shell-tests (push) Waiting to run
Shell tests / lib-tests (push) Waiting to run
Shell tests / arch-tests (push) Waiting to run
Add game-rec auto recorder for Steam games
Records every Steam game from launch to exit with gpu-screen-recorder: a jeepney D-Bus watcher on app-steam-app* scopes (game-rec-auto user unit), a $mod+Shift+g hotkey and an i3blocks dot. Failure modes: a daemon-reload no longer ends a live recording (ActiveState is re-checked before removal); a hotkey start with no matching audio stream falls back to the guessed app name and retries without it if gsr rejects it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWVxiT9Y4MhGeKGz9dX
2026-11-22 22:50:54 +01:00

17 lines
1.3 KiB
JSON

{
"title": "game-rec: automatic game recording watcher in linux_configuration/gaming",
"objective": "Launching a game starts a 3-track recording (screen, game audio, mic) without a keypress; a relaunch within 30 s continues the same recording; the recording stops 30 s after the final quit; the i3 hotkey and i3blocks indicator control and show it.",
"acceptance_criteria": [
"features/setup_game_rec.sh exits 0 on a fresh guest and leaves game-rec-auto.service active with ExecStart on gaming/game_rec_watch.sh.",
"A game scope appearing starts a recording; game-rec status reports recording with pid and auto ids.",
"Quitting and relaunching within 30 s resumes the same recording instead of starting a new one.",
"A systemd daemon-reload while a game runs does not drop the live scope or stop the recording.",
"The hotkey start names every spelling of the game when it is not yet in --list-application-audio."
],
"out_of_scope": [
"python_pkg/app_icons/ and other unrelated dirty files.",
"Uploading or post-processing recordings."
],
"verifier": "bats linux_configuration/tests/test_game_rec*.bats (47 passed), pytest test_game_rec_scopes.py + test_game_rec_dbus.py (18 passed); vmbox guest gamerec setup exit 0 with unit active; host deploy at 22:46 recording with NRestarts=0."
}