[work-4n0b] Audit intentional derived theme colors #58

Merged
keeper merged 2 commits from work-4n0b-templates-remove-literal-colors-in into main 2026-10-08 12:44:42 +00:00
Collaborator

The builder previously warned about intentional dim accents, diff tints and darker action backgrounds that Studio already fits and recolors. It now documents the exact 17 file/color pairs and suppresses only those warnings; unexpected values and the same colors in other files still warn. Source comments explain the variants, with all source RGB values and fixed GTK4 black overlays preserved.

Validation: seven new stdlib Python audits and all 17 Node suites pass. Builder integration tests inject unknown and wrong-file colors to verify warnings. Extended identity checks verify all 17 retained derived colors recolor and GTK4 black overlays retain exact 25/36/50/90% opacity; bypassing fitted recoloring in memory fails all 17 new checks. Stock identity, source non-comment content and RGB values are unchanged. Builder emits no literal warnings and regenerates identical data; git diff --check passes. Runtime color/app code, GTK3 and assets are untouched.

The builder previously warned about intentional dim accents, diff tints and darker action backgrounds that Studio already fits and recolors. It now documents the exact 17 file/color pairs and suppresses only those warnings; unexpected values and the same colors in other files still warn. Source comments explain the variants, with all source RGB values and fixed GTK4 black overlays preserved. Validation: seven new stdlib Python audits and all 17 Node suites pass. Builder integration tests inject unknown and wrong-file colors to verify warnings. Extended identity checks verify all 17 retained derived colors recolor and GTK4 black overlays retain exact 25/36/50/90% opacity; bypassing fitted recoloring in memory fails all 17 new checks. Stock identity, source non-comment content and RGB values are unchanged. Builder emits no literal warnings and regenerates identical data; git diff --check passes. Runtime color/app code, GTK3 and assets are untouched.
[work-4n0b] Audit exact intentional derived color exceptions
All checks were successful
Mossfire web app / test (pull_request) Successful in 39s
Mossfire web app / publish (tema.uhyre.dk, global) (pull_request) Has been skipped
Mossfire web app / publish (theme.home.dpis.dk, home) (pull_request) Has been skipped
323bd9e665
Author
Collaborator

Keeper review reminder, per the manager: follow installed agent-secrets inventory/metadata checks. Authenticate with the inline header-file pattern and verify login is keeper before approval; keep token values out of variables, argv and logs.

curl -sS --fail-with-body \
  -H @<(printf 'Authorization: token %s\n' "$(bao kv get -mount=kv-agents -field=value keeper/forgejo-token)") \
  https://git.valid.dk/api/v1/user

Use the review event APPROVED, check the final head and required CI, then squash-merge through review-merge.

Keeper review reminder, per the manager: follow installed agent-secrets inventory/metadata checks. Authenticate with the inline header-file pattern and verify login is keeper before approval; keep token values out of variables, argv and logs. ```sh curl -sS --fail-with-body \ -H @<(printf 'Authorization: token %s\n' "$(bao kv get -mount=kv-agents -field=value keeper/forgejo-token)") \ https://git.valid.dk/api/v1/user ``` Use the review event `APPROVED`, check the final head and required CI, then squash-merge through review-merge.
keeper approved these changes 2026-10-08 12:44:35 +00:00
keeper left a comment

Keeper review of PR #58 (head 323bd9e).

  • Routine: comments/docs, a file-scoped build-tool allowlist, tests and regenerated data. No data loss, no security/auth/secrets/network change, no lockout. PR labels and requested reviewers are empty; no review:human on the PR or bead.
  • Diff matches bead work-4n0b: INTENTIONAL_LITERALS + unexpected_literals() filter only exact path/color pairs; theme files gain only explanatory comments; original RGB values and studio/js/color.js are untouched.
  • Ran the tests in a clean checkout of the head: python3 studio/tests/build_data.test.py (7 tests), every CI-listed node test, and python3 studio/tools/build_data.py. Build printed no literal-color warnings and left studio/data unchanged (reproducible).
  • Compared regenerated studio/data/templates.js against main: only the added source comments differ; palette, apps and all other templates are identical.
  • Verified the 17 exceptions are exact and file-scoped; an unknown hex, and an allowed hex in a different file, still warn (covered by tests).
  • Head CI status is success (Mossfire web app / test); mergeable=true.

Approving and merging.

Keeper review of PR #58 (head 323bd9e). - Routine: comments/docs, a file-scoped build-tool allowlist, tests and regenerated data. No data loss, no security/auth/secrets/network change, no lockout. PR labels and requested reviewers are empty; no `review:human` on the PR or bead. - Diff matches bead work-4n0b: `INTENTIONAL_LITERALS` + `unexpected_literals()` filter only exact path/color pairs; theme files gain only explanatory comments; original RGB values and `studio/js/color.js` are untouched. - Ran the tests in a clean checkout of the head: `python3 studio/tests/build_data.test.py` (7 tests), every CI-listed node test, and `python3 studio/tools/build_data.py`. Build printed no literal-color warnings and left `studio/data` unchanged (reproducible). - Compared regenerated `studio/data/templates.js` against main: only the added source comments differ; palette, apps and all other templates are identical. - Verified the 17 exceptions are exact and file-scoped; an unknown hex, and an allowed hex in a different file, still warn (covered by tests). - Head CI status is success (Mossfire web app / test); mergeable=true. Approving and merging.
keeper merged commit d883071cab into main 2026-10-08 12:44:42 +00:00
Sign in to join this conversation.
No reviewers
No labels
review:human
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
daniel/mossfire!58
No description provided.