Skip to content
Writing

Notes from the workshop.

One true story per post, from the products on this site: what broke, how I found it and what I changed. In English and Turkish.

Illustration for the post “TikTok Direct Post audit: why public posts failed after app review”01 · TikTok · 9 min · 9 Oct 2026TikTok Direct Post audit: why public posts failed after app reviewTikTok approved our app and every public post still failed with an unaudited_client error. The API has a second approval, the Direct Post audit, and it reviews the screen a person uses, not only the requests.Read the post

Earlier posts

14
02App Store Connect APIApp Store Connect's salesReports endpoint said “no sales” too earlyAt 04:24 Pacific, Apple answered “There were no sales” for a day whose report it published within ninety minutes. A tracker that stores the first answer hides that day, so ours waits until the report is due.03AI agentsChecking AI agents' front-end work: green build, wrong pageThree front-end bugs on codebiy.com got past lint, types and the build; a browser script caught two, and all three were fixed before release. A fourth was live for about ten days, because its check had not run.04Game designPuzzle-game bug in Swift: the lock that refused the right codeA flag the player could not see had become a second lock on a puzzle, with a copy in the save validator. A build went to App Review with both. A person playing the game found the bug within minutes. The fix and its tests.05Dockernpm ci rejected a valid lockfile in Docker: npm 10 vs npm 12Three deploys of codebiy.com failed at npm ci on a lockfile that was fine: npm 12 had written it, and the image ran npm 10. The fix is one line. For the eight months before, the image had not read the lockfile at all.06MoonhushTwenty OpenAI calls behind one button, and a deadline for eachOne tap in Moonhush sets off twenty OpenAI requests. Our first live story was ready in 24 seconds and answered in 57, because one narration call hung. This is what code checks, and how each call got a deadline.07Game designBalancing a game economy with six bots and Swift assertionsThe first balance report for our market-stall game said no bot could pay off the starting debt. The cause was the bots: they bought too little and paid the asking price. Stock ended up dearer.08AIWhat a prompt cannot guarantee: three LLM rules we enforce in codeField lengths that must pass a save schema, an #ad label that must be on every sponsored caption, and a public demo that must not invent claims. None could be left to a prompt. This is where each one is enforced now.09iOSOn iOS, an empty UserDefaults read is not a first launchBefore the first unlock, UserDefaults cannot be read and reports no error. One of our fixes could have taken that for a new install and deleted the user's API key. A review caught it before any phone ran it.10RemotionRemotion in the Next.js process: five failures, then a Postgres queueRendering inside the web process cost no per-render fee and no extra container. Then a poller, a retry, our own SSRF guard, a crash and a deploy each broke it. The fix was one worker and a Postgres table.11ArvlinSelling a Pro license with no accounts and no license serverAn Arvlin Pro license is one Ed25519-signed line of text, issued without a database and checked offline. On launch day Polar's webhook deliveries were rejected with 403; the other delivery path does not use the webhook.12AdSenseAdSense, Consent Mode v2 and a CSP without wildcards on static Next.jsThe ad library is in every prerendered page and stores nothing before a decision: a defaults file, pauseAdRequests and a policy listing each origin. A live visit found one frame blocked; the slots serve no ads yet.13Game audioAdaptive music with AVAudioPlayer: three loops on one clockEvery mood change in our hotel game replayed a music loop’s opening hit. Now three loops start on one device clock and a change only moves volumes. Measured in a model; a listening test on a phone is still missing.14ExpoAn Expo OTA update crashed older builds: a lazy import was not enoughNew JavaScript asked older binaries for native modules they did not contain, in two apps three days apart. Once loading is over, Metro reports that failure as fatal and no catch sees it. Probe the binary, then import.15SEOOne URL, two languages in Next.js: the half crawlers could not seecodebiy.com kept two languages at one address and chose between them with a cookie, so crawlers only ever got English. Moving the locale into the URL fixed that, and listing every URL turned up four more faults.