testsAndMisc/docs/superpowers/contracts/i3blocks-leisure-shadow-2026-10-19.json
Krzysztof kuhy Rudnicki e190d9a4bd
Some checks are pending
dependency freshness / dependencies on newest stable (push) Waiting to run
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
i3blocks: shadow-week leisure block (leisure_shadow.sh)
Renders daily-limits' `leisure_shadow` cache (contract C5): `🛋 SHADOW
3h12 left · 1h48 used`, yellow under 30 min, red `WOULD BLOCK` at 0,
never urgent; `⏱? no data` while the enforcer has no C4 fields.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dsh4Znwh2KnC7q6vbGpX1N
2026-10-19 12:27:15 +02:00

16 lines
884 B
JSON

{
"title": "i3blocks: shadow-week leisure block (leisure_shadow.sh)",
"objective": "Render daily-limits' `leisure_shadow` cache (contract C5) as `🛋 SHADOW <left> left · <used> used`, yellow under 30 min, red `🛋 SHADOW WOULD BLOCK · <used> used` at 0, never urgent.",
"acceptance_criteria": [
"bash linux_configuration/tests/test_i3blocks_leisure_shadow.sh passes",
"null/absent numbers render `🛋 SHADOW ⏱? no data`, never 0",
"the block always exits 0 and prints exactly three lines",
"[leisure_shadow] sits right after [gaming_budget] in linux_configuration/i3blocks/config"
],
"out_of_scope": [
"Renaming the gaming block or its labels (Phase 2)",
"Any accounting: the numbers come from steam-backlog-enforcer via daily-limits"
],
"verifier": "the test script above, shellcheck, and the block run against a forced fixture cache"
}