main · last commit
18 hours ago ·
8tmadfpi
spec-jo9 Make specs' Makefile css recipe use $(SHA256SUM) instead of hardcoded sha256sum
Lined Up
bd update spec-jo9 --claim
bd close spec-jo9
| Created by | Eugene Blikh |
| Owner | bigbes@gmail.com |
| Created | 2026-08-17T20:40:05Z |
| Updated | 2026-08-17T20:40:05Z |
What is wrong: specs' `Makefile` `css` recipe ends `mv web/static/main.min.css web/static/main.min.$$(sha256sum … | cut -c1-8).css`, hardcoding GNU coreutils' `sha256sum`. Why it matters: on a machine without GNU coreutils (e.g. a bare macOS shell), `sha256sum` does not exist, the command substitution yields an empty string, and `mv` produces `web/static/main.min..css`. That filename does not match the glob `main.min.*.css`, so `assets.Resolve` answers `""` and every page renders unstyled — with no error anywhere (compounded by the missing-stylesheet-is-silent gap tracked separately for artifacts/dolt; specs itself does log a warning per D23's "six that warn" list, so specs is not silent about the empty resolve, only about *why* it's empty). Sibling that does it correctly: `sourcehut-bench/Makefile` and `sourcehut-curator/Makefile` define `SHA256SUM ?= sha256sum` and use `$(SHA256SUM)`, with a comment naming `make SHA256SUM="shasum -a 256" css` as the macOS invocation. Fix: add `SHA256SUM ?= sha256sum` near the top of specs' `Makefile` and substitute `$(SHA256SUM)` in the `css` recipe. Note: confidence verified — `SHA256SUM` vs raw `sha256sum` counted across all nine Makefiles; specs has 0/≥1 (0 uses of the variable, at least one raw call). Audit: D08 (cross-repo audit, 2026-08-17)
No outgoing dependencies.
Nothing depends on this issue.
| id | spec-jo9 |
| content_hash | 78c63cc2f897e1b23f901f7f546a48c6d15c9893adaa375c9d9db5955b96c9d6 |
| title | Make specs' Makefile css recipe use $(SHA256SUM) instead of hardcoded sha256sum |
| description | What is wrong: specs' `Makefile` `css` recipe ends `mv web/static/main.min.css web/static/main.min.$$(sha256sum … | cut -c1-8).css`, hardcoding GNU coreutils' `sha256sum`. Why it matters: on a machine without GNU coreutils (e.g. a bare macOS shell), `sha256sum` does not exist, the command substitution yields an empty string, and `mv` produces `web/static/main.min..css`. That filename does not match the glob `main.min.*.css`, so `assets.Resolve` answers `""` and every page renders unstyled — with no error anywhere (compounded by the missing-stylesheet-is-silent gap tracked separately for artifacts/dolt; specs itself does log a warning per D23's "six that warn" list, so specs is not silent about the empty resolve, only about *why* it's empty). Sibling that does it correctly: `sourcehut-bench/Makefile` and `sourcehut-curator/Makefile` define `SHA256SUM ?= sha256sum` and use `$(SHA256SUM)`, with a comment naming `make SHA256SUM="shasum -a 256" css` as the macOS invocation. Fix: add `SHA256SUM ?= sha256sum` near the top of specs' `Makefile` and substitute `$(SHA256SUM)` in the `css` recipe. Note: confidence verified — `SHA256SUM` vs raw `sha256sum` counted across all nine Makefiles; specs has 0/≥1 (0 uses of the variable, at least one raw call). Audit: D08 (cross-repo audit, 2026-08-17) |
| design | |
| acceptance_criteria | |
| notes | |
| status | open |
| priority | 1 |
| issue_type | bug |
| assignee | NULL |
| estimated_minutes | NULL |
| created_at | 2026-08-17T20:40:05Z |
| created_by | Eugene Blikh |
| owner | bigbes@gmail.com |
| updated_at | 2026-08-17T20:40:05Z |
| closed_at | NULL |
| closed_by_session | |
| external_ref | NULL |
| spec_id | |
| compaction_level | 0 |
| compacted_at | NULL |
| compacted_at_commit | NULL |
| original_size | NULL |
| sender | |
| ephemeral | 0 |
| wisp_type | |
| pinned | 0 |
| is_template | 0 |
| mol_type | |
| work_type | |
| source_system | |
| metadata | �{} |
| source_repo | |
| close_reason | |
| event_kind | |
| actor | |
| target | |
| payload | |
| await_type | |
| await_id | |
| timeout_ns | 0 |
| waiters | |
| hook_bead | |
| role_bead | |
| agent_state | |
| last_activity | NULL |
| role_type | |
| rig | |
| due_at | NULL |
| defer_until | NULL |
| no_history | 0 |
| started_at | NULL |
| is_blocked | 0 |
| id | 01a01173-ec23-7042-9554-f2bbbbe3a9aa |
| issue_id | spec-jo9 |
| event_type | created |
| actor | Eugene Blikh |
| old_value | |
| new_value | |
| comment | NULL |
| created_at | 2026-08-17T23:40:04Z |
No comments.