Every writer (add, pin, unpin, art, the session summit run records, the launcher's pin and artwork) goes through
state::update. Checked: two shells running 40 'summit pin' each at once: 80 pins with the lock, 77 with the old
binary.
- summit-core::signals catches SIGTERM, SIGINT and SIGHUP (only an atomic store in the handler). supervise() and the
new wait_or_stop() poll it, stop the engine and the game, and summit run leaves through its normal path, so the
display mode is restored. Exits 128+signal. A try_wait error in supervise() now stops both before returning.
- Output in the Run arm can no longer panic on a closed terminal (after SIGHUP).
- summit run --title (the launcher passes the library title) is given to the engine as SUMMIT_GAME; clips are saved
in Videos/Summit/<game>/ named '<game> <date>.mp4'. The toast shows the path with this system's separator, and
before & after videos say 'Summit' instead of 'SmoovPlay'.
Checked: kill -TERM / -HUP / -INT to summit alone stopped a game script and its child (exit 143/129/130); with
--enhance and a stand-in engine, both stopped and the engine saw SUMMIT_GAME. Display restore after a signal was not
run (no X display here).
Found on the KDE neon test VM, whose current mode is a custom one: the parser skipped it, so the current
mode was unknown and the restore after a game would have picked the 60 Hz mode of the same size.
- display: Output/Mode, parsers for xrandr, kscreen-doctor -j and wlr-randr --json, outputs(), restore_profile()
- summit run: prints each display step, puts the old mode back when the game (or, detached, the engine) ends;
--detached for commands that hand off and return (steam steam://rungameid/N); Steam ids are not tracked
- engine::supervise(detached): waits for the engine alone once the launcher command returned
- launch::plan(.., enhance): Steam and Lutris go through summit run; Steam enhance takes class:steam_app_<id>
- profile.enhance (old files load with it off); summit profile set --enhance; doctor lists outputs
- hotkey::status for the settings page
Adds a binary KeyValues reader/writer (vdf_bin), a shortcuts module that
adds/removes userdata/<id>/config/shortcuts.vdf entries (backup before write,
refuses while Steam runs unless --force, preserves unknown fields, computes
Steam's own appid/grid-id), grid artwork installation with a custom-art ->
Steam-cache -> SteamGridDB fallback chain, a minimal SteamGridDB client, and
`summit steam-add`/`steam-remove` wired to a configurable shortcut list in
ui.toml (built-ins: My PS5, Capture Card). Shortcuts always launch through
`summit run`. No existing "Add to Steam" GUI button was found, so the GUI is
otherwise untouched.