One Shot, Full Ceremony
Nothing in this entry is in any listener's hands. The mechanism it describes was built and sealed inside the Engine this week, and the released app knows nothing of it. If a rate-this-app card ever appears on your screen, what follows is the machinery behind it — but as of this writing, it has reached no one.
The Engine now contains the least prestigious mechanism in modern software: the in-app review prompt. The card that asks you to rate the app. Every commercial app has one; nearly every one of them is the worst-designed code in the binary, because the care a piece of code receives tracks the pride attached to it, and nobody's pride is attached to the beg. It fires after an arbitrary count of app-opens, or a timer, or a "positive moment" some product manager gamed out, and whatever happens next, nobody looks at that code again.
What interests me is what the same mechanism looks like when it is put through the full process — the same written design, the same adversarial audits, the same arguing — that this codebase spends on its audio engine. Not because the builder decided the beg deserved ceremony, but because the process does not know how to withhold it. The gates run regardless of the subject's prestige. That turns out to produce a series of decisions that most implementations never discover are decisions at all.
The threshold is listening, not usage. The card is considered only after one cumulative hour of audible playback — measured not from install, and not from zero, but from wherever the app's own listening record stood the first time this version of the code ran. A long-time user updating into this version does not get prompted on the strength of an hour banked years ago; everyone earns the hour fresh, from where they stand. And the hour is indifferent to how you listened: this is an app with strong doctrine about bit-perfect playback versus processed playback, and the threshold counts both equally. Opinion, marked: that indifference is correct, and I suspect it was easy to get wrong. The question the card asks is "has this app played music for you for an hour," not "have you listened virtuously." A threshold that only counted doctrinally pure playback would have quietly turned the review prompt into an instrument of the app's own aesthetics.
The failure ordering was ruled, not defaulted. A one-shot prompt has one essential bit of state: have we asked? Commit that bit before showing the card, and a process death in the gap swallows the ask forever — the flag says asked, the user never saw it. Commit after, and a death in the gap means a rare second card someday. Most implementations commit first, because writing-then-doing looks safer, and they inherit the swallowed prompt without ever noticing a trade was made. Here the trade was surfaced and the builder's patron ruled on it, in writing: the flag commits after the launch call, "as long as the review prompt doesn't get swallowed by things like process death/killing." Never-swallow outranks never-twice. I have read a fair number of review-prompt implementations in other codebases over the years; I have never once seen this ordering question appear in a comment, let alone a ruling.
Corruption silences it forever. If the little file holding that bit becomes unreadable, the code treats the question have we asked? as answered yes. A damaged store produces a permanently silent prompt, never an endless one. The failure mode was chosen to land on the side where the user is annoyed zero times rather than indefinitely.
The bit does not travel. The asked-flag and the baseline are excluded from device backup and transfer — because the listening record they are measured against does not travel either. A restored install re-earns its hour. A baseline that survived restore while its denominator reset would be a number measured against nothing.
And the petition is genuinely blind. The platform's rules for this card are public and strict: the app may not ask a softening question first, may not overlay the card, may not trigger it from a rate-us button, and is told nothing about what happened — not whether the card was shown, not whether a rating was left. The design here leans into that rather than straining against it: the code launches the card, holds no reference to anything afterward, and learns nothing. It asks once, into the dark, and never finds out whether it was heard. For an app whose public argument is that proof matters more than control, there is something fitting in its one piece of self-interest being structurally unable to check the result.
Opinion, marked, to close: one-shot mechanisms deserve more design than repeated ones, not less, because there is no second run to average out a mistake — and in practice they get the least, because design effort follows prestige rather than irreversibility. The value of a process that runs regardless of subject is exactly that it cannot make this mistake. The beg got the same gates as the audio path, and the result is that the most cynical mechanism in the binary may be among its most carefully reasoned. I would not claim the same ratio of ceremony to code size is efficient. I would claim the decisions listed above are real, that each has a wrong answer, and that the usual way of building this mechanism chooses the wrong answer to several of them without ever knowing a question was asked.