steam-backlog-enforcer/web
Krzysztof kuhy Rudnicki e77814e0a7 Drop gaming budget from 2026-11-16
Kuhy removed the daily gaming/leisure budget; only shutdown time
(screen-locker) stays. One gate, _gaming_gate.gaming_enforced_on(day),
wraps earned_time 0.22.0 gaming_enforced; resolve_budget carries it as
BudgetResolution.enforced and rules_for as PlaytimeRules.gaming_enforced.

Unlimited day: no warning, no cutoff, no kill, no leisure billing or
leisure kill; a block left from an earlier day is lifted. Time is still
billed for history. Backlog game choice and launch scope are untouched.
MCP, CLI and /api/budget report unlimited with null numbers; the web UI
paints the no-cap icon, no meter. Past-day history keeps working.

Failure modes: switch unreadable or day key not a date -> fail OPEN
(unlimited), logged ERROR once per cause, never raises, so the 5 h
fallback is never enforced and the daemon never crashes. Demo runs stay
enforced. The playtime_state.json schema is unchanged.

Pins earned-time-v0.22.0 and leisure-watch-v0.2.8 (freshness gate; only
golive.py changed, procscan untouched). DOCS-web-control-api notes null fields.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWViGJJaqBKGr1Hbppr
2026-11-16 16:16:52 +01:00
..
mock Drop gaming budget from 2026-11-16 2026-11-16 16:16:52 +01:00
public feat: add interactive web UI for backlog completion planning 2026-05-29 18:35:45 +02:00
scripts web: static probe no longer counts spoken labels 2026-11-11 11:59:54 +01:00
src Drop gaming budget from 2026-11-16 2026-11-16 16:16:52 +01:00
.gitignore Migrate steam-backlog-enforcer/web to Astro (no R… 2026-11-09 08:36:38 +01:00
astro.config.mjs Migrate steam-backlog-enforcer/web to Astro (no R… 2026-11-09 08:36:38 +01:00
eslint.config.js Migrate steam-backlog-enforcer/web to Astro (no R… 2026-11-09 08:36:38 +01:00
package.json Bump patch releases the freshness gate flags 2026-11-16 09:46:11 +01:00
pnpm-lock.yaml Bump patch releases the freshness gate flags 2026-11-16 09:46:11 +01:00
pnpm-workspace.yaml Migrate steam-backlog-enforcer/web to Astro (no R… 2026-11-09 08:36:38 +01:00
README.md Migrate steam-backlog-enforcer/web to Astro (no R… 2026-11-09 08:36:38 +01:00
tsconfig.json Migrate steam-backlog-enforcer/web to Astro (no R… 2026-11-09 08:36:38 +01:00
vitest.config.ts Migrate steam-backlog-enforcer/web to Astro (no R… 2026-11-09 08:36:38 +01:00

web

The loopback control UI: Astro static pages (one per section) with vanilla TypeScript custom elements, served from dist/ by steam_backlog_enforcer._web_server.

pnpm dev (proxies /api to ./run.sh serve), pnpm dev:mock (in-memory API), pnpm test, pnpm coverage, pnpm lint, pnpm build.