testsAndMisc/docs/superpowers/evidence/app-icons-daily-limits-hourglass-2026-10-09.json
Krzysztof kuhy Rudnicki d792c081e4
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
app_icons: daily_limits gets an hourglass in the shared family colours
The daily-limits phone app's launcher icon: charcoal #211D1B field,
hourglass glyph in the shared accent #B8862E. Additive only, so every
other app's icon is byte-identical. A registry invariant now refuses a
new app that reuses another app's glyph.

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

42 lines
2.1 KiB
JSON

{
"intent": "Give the daily-limits phone app an on-style launcher icon: an hourglass (a daily allowance that runs out) in the shared accent on the family charcoal.",
"scope": [
"python_pkg/app_icons/_glyph_art_more.py, glyphs.py: the `hourglass` glyph",
"python_pkg/app_icons/apps.py: the `daily_limits` registry entry",
"python_pkg/app_icons/tests/test_registry.py: no glyph reused across apps; hourglass sand takes the accent marker"
],
"changes": [
"New `hourglass` glyph: capped bars, crossed sides, sand filled in the accent so the monochrome layer recolours it",
"daily_limits registered with accent #B8862E and the default style.BACKGROUND field",
"Invariant test: apps are told apart by glyph, so a new app may not reuse one (track-bars is the pre-existing exception)"
],
"verification": [
{
"command": "PATH=~/sdk/fvm/versions/3.47.7/bin:$PATH python3 -m python_pkg.app_icons generate --app daily_limits --android",
"result": "pass",
"evidence": "daily_limits: wrote 6 asset files; regenerated Android mipmaps; ic_launcher_background #211D1B"
},
{
"command": "phone_deploy.sh ~/src/daily-limits/app (adb install -r on 23181JEGR08034)",
"result": "pass",
"evidence": "Install Success; the APK's mipmap-xxxhdpi ic_launcher.png is byte-identical to the generated one (hourglass in #B8862E on #211D1B); confirmed by kuhy"
},
{
"command": ".venv/bin/python -m pytest -q python_pkg/app_icons --cov=python_pkg/app_icons --cov-branch",
"result": "pass",
"evidence": "47 passed; every python_pkg/app_icons module 100% line and branch"
},
{
"command": "git diff python_pkg/app_icons | grep -c '^-[^-]'",
"result": "pass",
"evidence": "0 removed lines: renderer and other registry entries untouched, so other apps' icons are byte-identical"
}
],
"risks": [
"`generate` runs `dart run`, which needs a Dart SDK satisfying the app's ^3.13.5; the system dart 3.13.3 fails, so put the fvm 3.47.7 SDK first on PATH"
],
"rollback": [
"git revert this commit; daily_limits disappears from the registry and the glyph library"
]
}