feat(steam-backlog): protect four additional Steam app IDs

Adds 1410710, 10500, 813780, 489830 to PROTECTED_APP_IDS so the enforcer
will not uninstall them. Existing tests patch the set, so test outcomes
are unaffected.
This commit is contained in:
Krzysztof kuhy Rudnicki 2026-05-14 19:56:33 +02:00
parent 11c792ef3a
commit 89206c9acf
3 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,14 @@
{
"title": "Steam backlog enforcer protected app IDs expansion 2026-05-14",
"objective": "Prevent steam_backlog_enforcer from uninstalling four additional Steam app IDs that the user wants preserved across enforcement cycles.",
"acceptance_criteria": [
"PROTECTED_APP_IDS in game_install.py contains the four new IDs (1410710, 10500, 813780, 489830) in addition to existing entries.",
"Existing tests that patch PROTECTED_APP_IDS continue to pass without modification.",
"No other behavior of game_install.py changes."
],
"out_of_scope": [
"Changing enforcement scheduling or HLTB matching.",
"Modifying state.json or any persisted enforcement state."
],
"verifier": "Static review of the four-line addition plus pre-commit ruff/mypy/pylint hooks on game_install.py"
}

View File

@ -0,0 +1,26 @@
{
"intent": "Add four Steam app IDs to PROTECTED_APP_IDS so steam_backlog_enforcer never uninstalls them during enforcement.",
"scope": [
"python_pkg/steam_backlog_enforcer/game_install.py",
"Non-goal: changing tests, enforcement loop, or any persisted state"
],
"changes": ["Added 1410710, 10500, 813780, 489830 to PROTECTED_APP_IDS set."],
"verification": [
{
"command": "git diff python_pkg/steam_backlog_enforcer/game_install.py",
"result": "pass",
"evidence": "Diff shows only +4 lines inside PROTECTED_APP_IDS literal; no other lines touched."
},
{
"command": "grep PROTECTED_APP_IDS python_pkg/steam_backlog_enforcer/tests/*.py",
"result": "pass",
"evidence": "Tests patch the set, so set membership changes do not affect test outcomes."
}
],
"risks": [
"If the user later wants one of these IDs enforced again, they must be removed manually from the set."
],
"rollback": [
"Revert this commit; PROTECTED_APP_IDS returns to prior contents."
]
}

View File

@ -90,6 +90,10 @@ PROTECTED_APP_IDS = {
1158310,
440,
1142710,
1410710,
10500,
813780,
489830,
}
STEAMAPPS_PATH = Path("~/.local/share/Steam/steamapps").expanduser()