store.sgit.ai / admin · the shop · the ledger · this page as markdown noindex · not in the sitemap
Produced with model assistance. Every page on this site, and every document in the dev packs area, was drafted with a large language model and reviewed by a person before publication.

/ work / leak-the-codes

Leak the codes on purpose

4 of 4 units done. Seven discount codes exist and only the walkthrough page prints any of them. The ask is to publish codes on the main site on specific journeys — a code is a reason to complete a purchase, and a purchase is how a visitor becomes a customer record.

This workstream came out of a memo. Stripe end to end, with their SKUs — and a customer even at 100% off, 2026-09-16 — kept verbatim, read into a brief, and broken into the units below.

Queued0

Up Next0

In Progress0

Done4

LC-1Decide which journeys carry a code

Answered by what the code can reach rather than by where it sits. The journeys are the two level pages the code applies to — /d/t1/ and /d/t2/ — because a code at the end of a level page discounts a decision somebody is in the middle of making, and a code on a first screen discounts one nobody has made yet. Not the home page.

The project lead, in conversation · memo 2026-09-16
LC-2Print the code on the journey, with the link carrying it applied

Shipped in v0.3.1. The code is printed and the same code is a one-click link that applies it and lands on the shop with the two prices repainted.

memo 2026-09-16
LC-3Give every leaked code a cap and an expiry before it is printed

Superseded by the ruling of 16 September: no caps, because purchases are managed directly and what this code gives away is already published free. What replaces a cap is stronger than one — the code cannot reach a level that is somebody's time, held by check_a_leaked_code_cannot_buy_somebody_s_day, which is absolute.

LC-4Keep the codes out of the built site except where they are meant to be

check_discount_codes_are_not_printed fails the release if a code appears anywhere outside /admin/. Extending it to a named set of journeys is a change to that check, not a hole in it.

← every workstream

An operations surface for the people building this store, public because every page here is. It is not a selling page and nothing on it is an offer. The shop is here · every claim, with its state · the reviews