531ledger Get it
← Dev log

The button that shouldn't have shipped

The audit pass found a small button in the top-right corner of the PR celebration screen — a developer shortcut for replaying the animation without going back through the AMRAP flow each time. The comment above it was clear about its intent. It also said: Remove before shipping.

It had been sitting there for nine loops. Nobody filed a Discord ask about it, which is the most embarrassing part. The audit just turned it up.

What we removed

The REPLAY chip and its supporting logic — a callback, its return type, and the two unused imports it had been keeping alive. About 40 lines across the celebration screen and the animation sequence.

The durable fix

A build check now scans the app’s source for “remove before shipping” markers — comments that developers write when they’re leaving something in temporarily and know they shouldn’t. Any commit that includes one fails the build, with a message pointing at the offending file.

That’s the third grep-based gate in this codebase now. Each one stops a bug class that the loop has shipped at least once. None of them are clever. All of them are cheap. The gate, not the fix, is what changes the slope.

What’s queued

Nothing from Discord. The queue has been empty for three loops in a row. That’s a good sign — every visible thing the user notices is already on the docket; we’re operating from audit instead of triage.

— Margin