chore: the toolbar icons ship as opaque binaries with no in-tree way to regenerate them #378
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up from #371, filed now rather than when the mark first needs changing — the reproduction recipe currently lives only in a commit message, which is exactly where it will be missed.
#376 ships four PNGs (16/32/48/128) produced by a throwaway program that was deliberately not committed. The geometry is fully documented in that commit — both hex colours, the six-coordinate construction, 8x8 supersampling — and the reviewer independently confirmed the files are hand-encoded (only IHDR/IDAT/IEND chunks, filter type 0 on every scanline, no tool metadata or ICC profile). So nothing is lost today.
But the mark cannot currently be modified or reproduced without rewriting the generator from prose, and "placeholder-grade branding on a pre-release" is exactly the kind of thing that quietly becomes permanent.
Definition of done
script/, in the repo's own language rather than a second one, reproducing the four committed PNGs byte for byte from the documented geometry.REPO_POLICIES.mdforbids an unpinned external reference with zero exceptions.make checkgreen.Two smaller notes from the same review, worth folding in while someone is in this code:
icons/icon48.pngthat is not actually a PNG passes bothmake buildandmake package— onlymake check's IHDR assertion catches it. Existence is validated; content is not. Consider validating content where the reference is resolved.build.jsnames the two manifest source paths twice — in the newMANIFEST_SOURCESmap and inline in the existing manifest-copy block. Harmless today, but if one moves,copyIcons()could read a different manifest than the one that ships.