Separate the bundle mode from the download shape, and stop overclaiming the Linux mode #7

Merged
Cody Bryant merged 1 commit from docs/separate-bundle-mode-from-download-shape into main 2026-08-25 08:41:51 -07:00
Owner

This entry merged two decisions, and the merge produced confident wrong answers — twice in one session, from me.

Decision 1, the bundle mode: invisible in packaged channels, visible at runtime. macOS onefile is platform-driven (one Mach-O to codesign per frozen app, not an executable plus every .so; notarization acts on the .pkg either way, so it is not the reason). Linux onedir is not platform-driven and the entry now says so.

Decision 2, the standalone download shape: whiskerless ships a bare binary, dreame a tarball, because dreame's download must carry dreame-fastboot and sunxi-fel.

Two rationales were retired for not surviving scrutiny: that helpers require onedir (macOS ships the same helpers beside a onefile app) and that dreame pays the unpack repeatedly (it pays it twice at start, then once per human rejoin — bounded, not recurring). What remains is one real property — onefile cannot run where TMPDIR is noexec — and the honest reason to leave it alone: not churning a shipped artifact.

This entry merged two decisions, and the merge produced confident wrong answers — twice in one session, from me. **Decision 1, the bundle mode:** invisible in packaged channels, visible at runtime. macOS onefile is platform-driven (one Mach-O to codesign per frozen app, not an executable plus every `.so`; notarization acts on the `.pkg` either way, so it is not the reason). Linux onedir is **not** platform-driven and the entry now says so. **Decision 2, the standalone download shape:** whiskerless ships a bare binary, dreame a tarball, because dreame's download must carry `dreame-fastboot` and `sunxi-fel`. Two rationales were retired for not surviving scrutiny: that helpers require onedir (macOS ships the same helpers beside a onefile app) and that dreame pays the unpack repeatedly (it pays it twice at start, then once per human rejoin — bounded, not recurring). What remains is one real property — onefile cannot run where `TMPDIR` is `noexec` — and the honest reason to leave it alone: not churning a shipped artifact.
docs(variance): separate the bundle mode from the download shape, and stop claiming the Linux mode is platform-driven (helpers do not require onedir - macOS ships them beside a onefile app - and the tmux re-exec unpacks twice, not repeatedly)
All checks were successful
CI / Lint and test the standard's own code (pull_request) Successful in 22s
CI / Shell scripts (pull_request) Successful in 3s
CI / The standard can actually be vendored (pull_request) Successful in 13s
8369ccd191
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
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
SisyphusMD/project-standard!7
No description provided.