Build a Creator Community Platform
A membership platform for independent writers, podcasters and musicians has outgrown its one application: a wave of declined renewals left 900 people reading paid posts for free, and the search page listed the titles of locked posts. You will build the replacement, from tiers and recurring payments to gated posts, live events, moderation and payouts, and prove it holds up through a simulated month in which the payment provider misbehaves and parts of the platform stop.
The brief
The client
I run a membership platform for independent writers, podcasters and musicians: about 400 creators and 38,000 paying members on one application with one database. On 1 Mar 2026 our payment provider's bank partner flagged 1,300 renewals as fraud and declined them in a single morning. Our nightly job treated a decline as a cancellation for some members and ignored it for others, so 900 people kept reading tier-locked posts for nine days without paying.
A week later a creator showed me that our search page listed the titles of her subscriber-only posts to anyone who typed a word from them. Every place that shows content checks the member's tier on its own, and nobody can tell me why a given member could read a given post last Tuesday. I need every way of reading to give the same answer about who sees what, a billing state I can trust when the provider's messages arrive twice or out of order, and an answer for support that comes from a recorded decision.
The problem
The current system checks the member's tier separately in each place that shows content. Every new way to read (search, the daily email, the feed, file downloads) needs its own copy of the check, and each copy is a place to forget one. Payment status arrives from the provider as messages, and messages arrive twice and out of order. A member whose payment succeeded can be marked failed by a stale message, and a member who stopped paying can keep access because nothing notices.
Creators are paid from the same records that decide access, so a refund or a chargeback has to be fixed by hand in three places. Moderation is a shared inbox, and the operator cannot show a regulator or an angry member why a restriction happened. One mistake a creator can see, a leaked post or a wrong charge, costs that creator their income and costs the operator the creator.
The client's name and figures are invented for this brief; the rules and the failures are ones that real businesses of this kind work with.
The spec
Requirements
- Let a creator define up to three tiers with a price and benefits, change or retire a tier without changing what current members pay, and let a member join a tier and pay, with access starting when the payment succeeds and not before.
- Keep every membership correct while the payment provider sends duplicate, late and out-of-order messages, and correct it from the provider's own state after the provider's messages went missing.
- Follow a retry schedule for declined renewals, warn the member once per failure, keep a 7-day grace period before access ends, and let a lapsed member come back without a stuck state.
- Handle upgrades, downgrades and cancellations, refund a payment inside the 14-day withdrawal period when the member did not waive it, and handle a dispute, including one the platform wins.
- Give the same answer about who may see what on every way to read: lists, search, counts, previews, files, daily emails, feeds and event links. Access ends within 60 seconds of its cause.
- Let creators publish posts and run live events for a tier with a public teaser that reveals nothing gated, and let members reply and react in the spaces they can see until their access ends.
- Let moderators receive reports, decide them with a recorded reason, restrict accounts with a statement of reasons, and lock a space during a raid.
- Account for every payment, pay creators monthly, reverse earnings on refunds and chargebacks, and report VAT per member country.
- Erase a member's personal data on request while keeping the financial records the business has to keep.
- Keep working when one capability is stopped or being updated: the others keep serving, and nothing that should be hidden is shown.
Deliverables
- Your repository starts the whole platform, including your payment provider stand-in and your simulator, with one command.
- A README that takes a reviewer from a fresh clone to a member joining a tier, paying through the stand-in and reading a gated post, with a non-member refused the same post, in 15 minutes. It lists the command for each test suite, names the legal questions the build leaves open and states that it is not legal advice.
- The table of what each member situation may see, from the first Phase.
- API documentation for the front end that will sit on top: tiers, joining and plan changes, content and search, events and RSVPs, reports, and the monthly creator report.
- A test suite covering every Phase, plus the results of the simulated month from the final Phase committed to your repository.
- A way to run the client's days faster than real time and to cause every outside failure the brief names: declined and unfinished payments, duplicate, late and out-of-order provider messages, a silent provider, disputes, and a stopped capability.
- An operations note stating what an operator can do: find out why a member could read an item at a given time, restore every member's access exactly after a data loss, retry a provider message that failed, and erase a member.
- A personal data breach runbook.
Out of scope
- A login system. Requests arrive with a member or creator ID that has already been verified, because authentication adds work that has nothing to do with who may see what.
- Direct messages. A private conversation has its own access model, two people and no tier, so it would teach a different rule from the one this build turns on.
- Live video. Events carry a join link and a recording reference; streaming through a video vendor is a separate integration and adds no new access rule.
- A real payment provider account. You build your own stand-in that copies the documented behaviour, so nobody needs an account to review your work.
- Card handling. Card numbers never reach the platform, which keeps card-data rules out of scope.
- App store billing. A second money path adds a sales channel and no new problem.
- A web front end for members. Your platform's interface and your simulator stand in for browsers.
- Recommendations, ranking or any feed order beyond newest first. They add search relevance work that has nothing to do with access.
- An appeal workflow for restrictions. The statement of reasons tells the member how to appeal; a second decision workflow adds no new access rule.
- Legal advice. The README names the legal questions the build leaves open (who is the seller for VAT and the withdrawal period; records are kept 7 years, 10 for one-stop-shop VAT records, under Dutch law) and says it is not legal advice; the brief fixes stand-in rules instead.
- Kubernetes or cloud deployment. Everything runs on one machine, because the failures that matter here are about parts stopping and being updated, not about hosting.
Architectural constraints
- Amounts are whole cents, exact to the cent. Rounding is half up, applied once per quantity, and the parts of a payment always add up to the payment.
- No card number reaches the platform or is stored.
- Nobody sees an item their situation does not entitle them to: not its title, body, snippet, count, file link, notification text or event link.
- Access ends within 60 seconds of its cause. When the platform cannot decide what a member may see, that member sees public items only and can write nothing. Nobody ever sees more because something stopped.
- When the platform and the payment provider disagree about a subscription, the provider is right.
- A fact that happened earlier never overrides one that happened later, whatever order the platform hears about them.
- A request sent twice, or a provider message delivered twice, changes nothing the second time. A member is never charged twice for one join.
- A process that dies at any moment loses no payment, no report and no message, and does nothing twice.
- Every access decision can be explained afterwards: why a given member could or could not read a given item at a given time.
- A member's name and email are erased on request. Payments and refunds in the books, VAT records with the billing country, and an open dispute stay, identified by ID only. Logs and exports identify members by ID.
- One capability stopped may delay the others. It never makes them show something they should hide or charge someone twice.
- Times the platform shows are in UTC with millisecond precision, and billing dates are UTC dates.
Prerequisites
You have finished an intermediate project or have equivalent experience. Any stack works. You should be able to build and run a web application with a database alone, and having once found a permission check missing from one code path of an application will make most of this brief feel familiar. You do not need to know how a membership platform sells access or how a subscription payment provider works; the first Phase explains the business and the words the brief uses.
Free to start. An account is what keeps track of the checkpoints you finish.
Set up tiers and billing dates
Produces the table of what each member situation may see, a platform that starts from one command on a clock you can move, tiers with prices, and billing dates that survive the awkward days. No payments yet, so nobody can join.
Acceptance criteria
A document in your repository holds a state table of the 13 member situations the brief implies and the moves allowed between them. The situations are: not a member; active inside the paid period; payment late inside the 7-day grace period; lapsed; cancel scheduled; a dispute open, won and lost; refunded inside the withdrawal period; restricted and restriction lifted; upgrade and downgrade; a retired tier; an erased member; a creator reading their own tiers; and the platform being unable to decide. For each situation it states what the member may see (public items, their tier's audiences, or every audience of the creator's own tiers), whether the member may write, and what changes the answer. For each allowed move from one situation to another, it names what causes the move, such as grace running out, a dispute being won or lost, or a restriction being lifted.
You work these examples with dates, and the document gives the answer for each: a member 6 days into a late payment, and the same member on day 8 with nothing paid; a retry that succeeds at the exact instant grace would end; a refunded member; a dispute won inside the paid period and one won after it ended; a downgrade read the day before and the day after the next renewal; and a member of the top, the middle and the lowest of a creator's three tiers.
The document also gives the answer to one combined case without guessing: a restricted member whose dispute is still open when the restriction is lifted. It says plainly that access ends within 60 seconds of its cause and not instantly.
Architectural guidance
Most of the client's trouble came from situations nobody had decided: a leak found in search, nine days of free reading after a mass decline. A rule worked out for the first time while a feature is being built gets decided by whatever that feature needed that day. Two places then give the same member different answers, and support cannot say which one is right.
Acceptance criteria
From a fresh clone, one command starts the whole platform, including your payment provider stand-in and your simulator. The README names that command, the stack you chose and what a reviewer sees when everything is up. A reviewer can tell from the README that the platform is up and what each part of the product answers.
Your simulator moves the clock forward by two days without waiting, and everything the platform shows reports the same time to within 1 second afterwards. Outside the simulator the platform runs on real time. Running the start command a second time changes nothing and loses no data.
Killing the process at any moment and starting it again with the same command brings the platform back with every stored tier and setting intact.
Architectural guidance
A platform nobody else can start gets reviewed from screenshots, and a month-end bug is found at month end. Two parts of the platform that disagree about what day it is will charge a member on the wrong date and call it correct. A clock that nothing but the simulator can move makes every later test of renewals, grace periods and the 60-second limit either slow or fake.
Acceptance criteria
A creator defines a tier with a name, a benefits text, a price in whole cents and an order number, and the creator's public page lists the creator's tiers with their benefits in order. A creator can offer up to three active tiers at once.
Refused, with nothing stored: a price under 100 cents; a price written as a decimal such as 9.99; a fourth active tier; an order number that is not a positive whole number; an order number already used by another of the same creator's tiers, a retired one included; and a request made as one creator that names another creator's tier.
Four simultaneous requests to add a tier for a creator who already has two active tiers end with exactly three active tiers: one request succeeds and three are refused.
Architectural guidance
A price that arrives as 9.99 and is rounded differently in two places produces payment lines that never add up. An order number reused after a tier retires lets two tiers claim the same place, and the rule that a higher tier includes the lower ones then has no clear answer.
Acceptance criteria
A creator can change a tier's price and can retire a tier. A member who joined at 900 cents still pays 900 cents at every renewal after the creator raises the tier to 1,200, and a member who joins afterwards pays 1,200. Each membership keeps the price from the moment it started or last changed tier.
A retired tier takes no new joins and no changes into it. Its current members keep their access, and their renewals are still charged at their own price.
A price change saved at the same moment a renewal is charged leaves that renewal at the member's own price, 900 cents in the example, whichever happens first, never a mix of old and new. Killing the process right after a price change is saved leaves every current member's price unchanged.
Architectural guidance
A price change that reaches current members is a billing complaint from each of them, and with 38,000 members at an average of 900 cents the first renewal after the change is the day it shows. Retiring a tier is how a creator stops selling it, so retiring must not stop anyone's renewal or lock a paying member out. A renewal that reads the price halfway through a change can charge an amount that was never on offer.
Acceptance criteria
A membership renews on the same day of the month it started on, at the same UTC time of day. The paid-through date after a renewal is the next anniversary after the previous paid-through date, never the date the payment was made.
A member who joins on 31 Jan is due on 28 Feb (29 in a leap year), then on 31 Mar and 30 Apr. A member who joins on 29 Feb is due on the 29th of each month, and on 28 Feb in a year with no 29 Feb. A member who joins on the 30th is due on the last day of February and on the 30th again from March.
A payment recorded 3 days after a due date leaves every later due date where it was. A reviewer can ask the platform for any membership's next due date and paid-through date.
Architectural guidance
A date that drifts is charged on the wrong day for good: a member who joins on 31 Jan and is moved to the 28th is billed on the 28th in every month after. A paid-through date computed from the payment date moves the cycle by one day for every day a payment is late. Either way the member's bank statement stops matching the date they were promised, and the client hears about it from the member.
Acceptance criteria
A test run, started by one command listed in the README, shows the next due date and paid-through date for memberships that started on the 29th, 30th and 31st of a month, on 29 Feb in a leap year, and on the last day of every month, with the clock moved across several months. Each case shows at least 12 consecutive renewals, so a clamped month is seen to return to the join day.
A payment recorded 3 days after a due date leaves every later due date unchanged, and the run shows it. Changing the date rule by one day makes the run fail, and the output names the join date and the renewal that came out wrong.
Architectural guidance
Date bugs appear on the 29th, 30th and 31st and in February of a leap year, so they stay hidden for most of the year and then hit many members on one day. A test that only covers the 15th passes while the platform charges everyone who joined on the 31st on the wrong day. A reviewer can only see a year of renewals if the clock can be moved past them.
Architectural walkthrough
How a membership platform sells access to creators' work
The platform hosts about 400 creators, who are writers, podcasters and musicians, and about 38,000 paying members. A creator defines up to three tiers, each with a price and benefits. A member joins a tier and pays, and from then on can read the posts, attend the live events and take part in the spaces that tier includes. A post can carry a public teaser that anyone may see, while the rest of it stays behind the tier.
A payment provider charges each member's card every month and reports what happened by sending the platform messages. A declined renewal is retried on a schedule, the member is warned, and the member keeps access for a 7-day grace period before it ends. Members can change tier or cancel, can ask for a refund inside the withdrawal period, and can ask their bank to reverse a payment.
Moderators handle reports from members and decide them. The platform pays each creator once a month and reports VAT per member country.
The words this brief uses:
Tier: a level of membership a creator sells, with its own price and benefits.
Gated post: a post only the members of the right tier may see, including its title, snippet and files.
Teaser: the public part of a gated post. It reveals nothing gated.
Declined renewal: a monthly charge the member's bank refused.
Grace period: the 7 days after a failed renewal during which the member keeps access.
Withdrawal period: the 14 days in which a member may take back a purchase and get a refund, unless the member waived the right.
Dispute: a member asking their bank to reverse a payment. The provider reports it, and the platform can win it.
Space: a place where members reply and react. Which spaces a member sees depends on their situation.
Raid: a sudden wave of unwanted posts, which a moderator answers by locking a space.
Statement of reasons: the written explanation a member receives with a restriction, including how to appeal.
Why dates, prices and visibility rules come first
A billing date is a promise the member checks against their bank statement every month. A member who joins on 31 Jan is charged on 28 Feb (29 in a leap year), then 31 Mar, then 30 Apr. A member who joins on 29 Feb is charged on 29 Mar, and on 28 Feb in a year with no 29 Feb. A platform that keeps the clamped date charges the January member on the 28th in every month after, and one that lands on a day that does not exist charges nobody. The cycle has moved for good, and it moves again each time a late payment drags the date along with it.
Prices fail in a different way. A creator who raises a tier from 900 to 1,200 cents and finds every current member paying 1,200 has caused one billing complaint per member. A creator who clicks twice can end with a fourth tier, which breaks the three-tier rule the pricing page promises, because two requests that each find two active tiers can both decide there is room.
Two failures are easy to meet late. The first is a rule about who may see what that was settled by whoever wrote the code that needed it. The client's leaks and its nine days of free reading both came from situations nobody had written down: a member one day into a late payment, a dispute won after the paid period ended, a downgrade read before the next renewal. The second is a platform that only its author can start, on a clock that only moves with real time. A reviewer cannot check a bug that appears once a month.
Take payment and start memberships
Produces a stand-in payment provider that can cause every behaviour the client fears, a first payment that starts a membership, and memberships that stay correct when the provider's messages misbehave. No renewals yet, only the first payment.
Acceptance criteria
A reviewer can cause each of these behaviours on your stand-in provider with one command or one call from your simulator: a payment that always succeeds; a soft decline a stated number of times followed by success; a hard decline; a payment that needs strong authentication and never completes it; a message sent twice (10% of messages by default); messages delivered in shuffled order within a 5-minute window; a message delivered hours late; messages paused and resumed; a message redelivered for up to 3 days until the platform acknowledges it; a dispute opened on a payment and then won or lost on demand; and the time moved forward.
The stand-in never receives or stores a card number. Every message it sends is signed with a shared secret over the timestamp and the raw body, and every successful payment it reports carries a processing fee of round_half_up(gross x 29 / 1000) + 25 cents.
The README lists how to cause each behaviour. Causing a behaviour for one payment leaves other payments unaffected.
Architectural guidance
Every later failure test depends on the stand-in causing the failure on demand, and a real provider will not duplicate, delay or reorder its messages when asked. A stand-in that only ever succeeds proves the platform works on a good day. One that cannot be told which payments to misbehave on makes it impossible to tell a platform bug from a stand-in quirk.
Acceptance criteria
A member whose billing country is DE, FR, IT, ES or NL joins a tier by paying through your stand-in. A member from any other country is refused. Until the first payment succeeds nothing exists for that member: no membership, no access to the tier's audiences, nothing announced anywhere, and the member is told the join is waiting for payment. When the payment succeeds, the membership exists, its billing state reads current, and the paid period runs to the first anniversary.
A join records whether the member agreed to immediate access and acknowledged losing the 14-day withdrawal right, and when. The join is allowed either way. A first payment that is declined is never retried and leaves no membership. A first payment that needs strong authentication and never completes leaves no membership and no access.
Every join request carries an Idempotency-Key header, kept for 24 hours. The same join sent twice at once, and sent ten times in a row, charges once and gives every sender the first answer. Killing the process between the payment being recorded and the membership starting still ends with exactly one membership and one charge.
Architectural guidance
A member who is charged twice for one join asks for a refund, and a phone that retries on a slow network does it without the member knowing. A process that dies after the money moved and before the membership started leaves someone who paid and has nothing, and the platform has no complaint to find them by. Treating an unpaid join as a membership gives access for free to everyone whose card is declined.
Acceptance criteria
The platform accepts a provider message only if it is signed with the shared secret over the timestamp and the raw body and its timestamp is no more than 5 minutes old. A message with no signature, a wrong signature, a body changed by one character or a timestamp older than 5 minutes is rejected and changes nothing, however plausible its content.
A good message is acknowledged fast, before the work it asks for is done. With your stand-in giving up after 5 seconds and the platform made to take 30 seconds to handle a message (your README says how), the stand-in still gets its acknowledgement in time and does not send the message again because of it.
A forged message that claims a payment succeeded starts no membership. A genuine message captured and replayed after 5 minutes is rejected, and a message your stand-in redelivers days later is accepted when it is signed again with a current timestamp.
Architectural guidance
A platform that accepts any message that looks like the provider's starts memberships for payments that never happened, and anyone who finds the address can do it. A message captured today and replayed later reopens a payment the member has since had refunded. A platform that finishes its work before answering makes the provider time out, and the provider then sends the same message again.
Acceptance criteria
Each fact in a provider message is applied by when it happened, not by when it arrived. With 10% of messages sent twice, shuffled within a 5-minute window and some delivered hours late, every membership ends in the state it would have reached had the messages arrived once and in order. A message delivered a second time changes nothing.
A payment-failed message that lands after the payment-succeeded message it predates leaves the membership current. Everything a member, a creator or a document read by an outside party shows uses the platform's words for billing state: waiting for payment, current, payment late, lapsed, cancelled. The provider's own words, such as past due, unpaid or incomplete, appear nowhere.
Killing the process after a message is applied and before the stand-in is told so leaves the membership correct once the stand-in sends the message again.
Architectural guidance
A message that arrives last is not necessarily the one that happened last, and a failure notice delayed by minutes can mark a member who has since paid as failed and lock them out. A message applied twice can extend a paid period twice. The provider's vocabulary reaching members and creators gives them words that mean nothing to them, and the client cannot change those words when the provider changes its own.
Acceptance criteria
When a message never arrives, a reviewer can run a correction on demand that compares each membership with the provider's own record of the subscription and fixes the membership. When the platform and the provider disagree about a subscription, the provider is right.
A reviewer can run the correction on demand. It reports each membership it changed, with what the platform said before and what the provider says. Run on memberships that already match, it changes nothing and reports that.
A successful payment whose message never arrives, and a cancellation whose message never arrives, each leave a membership that the correction fixes. A message that arrives late, after the correction has already fixed the membership, changes nothing further.
Architectural guidance
Messages go missing: a provider outage, a wrong address, a crash at the wrong moment. A member whose payment-failed message never arrives keeps access they should have lost, and one whose payment-succeeded message never arrives is locked out although they paid. Without a way to compare the platform with the provider, the client finds out from the member or from the books at month end.
Acceptance criteria
A test run, started by one command in the README, pauses the stand-in's messages for 6 hours of simulated time while it makes successful payments, soft and hard declines and one dispute, then resumes them. Afterwards every membership equals the stand-in's subscription for it, with one membership and one paid period per payment and nothing doubled.
The same run repeats with 10% of messages sent twice and shuffled within 5 minutes, with some messages never arriving, and with the process killed in the middle of the correction. Every run ends with zero mismatches, and the output prints the mismatch count.
Architectural guidance
These failures are easy to test one at a time and easy to get wrong together. A pause is the common case in production: the provider has an outage and then replays hours of messages in a burst. A platform that passes only the clean run finds out about the burst when it happens.
Architectural walkthrough
The payment provider tells the platform what happened through messages, and the messages misbehave. They arrive twice, in the wrong order, hours late, unsigned, signed by someone else, and sometimes not at all. A stale message that lands last can mark a member who paid as failed. A forged one can start a membership nobody paid for. A missing one leaves a member who stopped paying with access nobody can account for.
A member who presses Join twice, or whose phone retries the request, can be charged twice, and each double charge is a refund and an apology. A process that dies after the payment is recorded and before the membership starts leaves a member who paid and has nothing. Nobody finds out until the member writes in.
The client cannot rehearse any of this against a real provider, because a real provider does not duplicate and delay its messages on demand. Without a stand-in that does, every one of these failures is first met in production.
Run the billing clock
Produces renewals on the anniversary, the retry and grace rules for declined renewals, plan changes, refunds and disputes, proven by a simulated month with a mass decline. No access decisions beyond the billing state, because reading comes in the next Phase.
Acceptance criteria
On its anniversary a membership is charged the member's own price, and when the payment succeeds the paid-through date moves to the next anniversary after the previous paid-through date. A member on a retired tier still renews at their own price. Moving the clock in your simulator past the anniversary is enough to trigger the renewal, with no manual step.
A success message delivered twice extends the paid period once. Killing the process after the charge has succeeded and before the paid period is extended ends with the period extended once and the member charged once.
Architectural guidance
A renewal that charges and then dies before the paid period is extended either charges the member again on the next run or leaves a paying member without the time they paid for. A member on a tier the creator has since retired is still a paying member, and a renewal that skips them ends their membership without telling anyone.
Acceptance criteria
A soft-declined renewal is retried on day 1, day 3 and day 7 after the first failure. A hard decline is never retried. In both cases the member keeps access for the 7-day grace period counted from the first failure, and the membership reads payment late while it lasts. The membership lapses at the end of grace unless a payment succeeds first. A reviewer can list each failed attempt of a membership with its date.
The day-7 retry and the end of grace fall on the same instant, and the retry runs first. A retry that succeeds at that instant leaves the member current with no lapse and no gap in access, and a final failure lapses the membership. A new payment method for a member with an unpaid renewal triggers one immediate attempt. A lapsed member who pays starts a new paid period at the time of that payment on the same membership, and the day of that payment becomes the membership's renewal day.
Duplicate and out-of-order decline messages leave the schedule as it was: no retry is added and none is skipped. Killing the process between a failed attempt and the next retry loses no retry and doubles none.
Architectural guidance
A member who pays on the last day and is locked out anyway writes to support and may not come back. A retry lost in a restart leaves a member in grace forever, and one that runs twice charges them twice.
Acceptance criteria
An upgrade to a tier of higher order at the same creator takes effect at once, and the member is charged max(0, round_half_up((new_price - old_price) x days_remaining / days_in_period)) cents, counting days between UTC dates with the anchor day unchanged. A member moving from 900 to 1,500 cents with 15 of 30 days left pays 300 cents. A charge under 100 cents is waived: no payment is taken and the tier changes at once. The new tier's current price applies at the next renewal, and a declined upgrade payment leaves the membership unchanged.
A downgrade starts at the next renewal, and that renewal charges the new tier's current price. A cancel keeps access to the paid-through date with no refund of the unused part, and a cancel on a late or lapsed membership ends it at once. An upgrade or downgrade is refused while a renewal payment is outstanding.
An upgrade that races a successful retry ends with one tier, one paid period and no payment charged against the wrong period. Killing the process between the upgrade payment and the tier change ends with the member on exactly one tier and charged once.
Architectural guidance
A downgrade applied at once takes away access the member has already paid for. A charge computed with rounding in two places can differ by a cent from the one the member was shown.
Acceptance criteria
A member who did not agree to immediate access can withdraw within 14 days of the membership's start and is refunded every payment of that membership made inside the window, in full, an upgrade charge included. A member who did agree is refused, and so is a request on day 15. A refund ends the membership at once and ends access within 60 seconds.
Refund requests carry an Idempotency-Key. Two refund requests at once refund once, and the second sender gets the first answer. A refund message delivered twice changes nothing. Killing the process between the refund and the end of the membership ends with a refunded payment and an ended membership, never one without the other.
Architectural guidance
A refund paid twice is money the client cannot get back, and two clicks on the same button are enough to cause it. A refund outside the window, or to a member who agreed to immediate access, is a loss the law did not require. A refund recorded while the membership carries on leaves a member with their money and their access.
Acceptance criteria
When your stand-in opens a dispute on a payment, the member's access to that creator's audiences ends within 60 seconds. The dispute carries a response deadline 7 days after opening and a dispute fee of 2000 cents, and a reviewer can read both.
When the dispute is won, access returns if the membership is still inside its paid period. When it is lost, the membership ends. Renewals keep being charged while a dispute is open.
Dispute messages delivered twice, late or out of order give the same result as in order: a won message that arrives before the opened message does not leave a member locked out of a dispute that is already over. Killing the process between the dispute opening and access being removed still ends with access removed.
Architectural guidance
A member who has disputed a charge and keeps reading is reading for free and may win the dispute besides. A dispute won that the platform treats as lost ends a paying member's membership for nothing. A dispute message arriving out of order can reopen a dispute that is already over, and the member stays locked out until someone notices.
Acceptance criteria
A test run, started by one command in the README, simulates 30 days on a base of 38,000 memberships at an average of 900 cents, with one morning on which 1,300 renewals soft-decline at once. 10% of provider messages are duplicated and shuffled within 5 minutes, 5% of other renewals soft-decline once and recover on a retry, 2% of members hard-decline, one upgrade races a retry, and the process is restarted in the middle of the run.
At the end every membership is in the state the stand-in says it should be in. No member lost access they should have kept and none kept access past the 7-day grace period. No payment was charged twice, and each retry was made once. The run prints these counts and how long the mass-decline morning took.
Architectural guidance
The 1 Mar 2026 failure was a failure under load: 1,300 declines in one morning, each needing the same rules applied in the same order. A schedule that works for ten declined renewals can fall behind on 1,300 and leave members in grace past day 7 or lapsed before it. A month with duplicates, a racing upgrade and a restart finds the failures the earlier checks only find one at a time.
Architectural walkthrough
On 1 Mar 2026, 1,300 renewals declined in one morning. The old system treated a decline as a cancellation for some members and ignored it for others, and 900 people read paid posts for nine days. The reverse costs as much: a member who pays on the last day of the 7-day grace period and is locked out anyway writes to support, and the day-7 retry and the end of grace fall on the same instant.
Money moves in more ways than a renewal. A refund paid twice, a refund outside the 14-day withdrawal window and a refund for a member who agreed to immediate access are each money the client cannot get back. An upgrade that races a successful retry can charge the wrong period or leave a member on two tiers. A process that dies between charging a renewal and extending the paid period either charges again or leaves a paying member short.
A dispute removes the member's access at once and costs the client a 2000 cent fee even when the client wins. Dispute messages arrive twice and out of order like all others, and a member must not stay locked out of a dispute that is already over.
Let members read what they paid for
Produces posts with a public teaser, reads that show each member only what their situation entitles, access that ends within 60 seconds, and a way to explain a past decision. Search and file links come in the next Phase.
Acceptance criteria
Every way a member reads posts in this Phase shows exactly what their situation entitles, for each of the 13 rows of your table: a single post, a list of a space's posts, a creator's list, the count of posts on each, a preview and a private feed such as RSS or a podcast feed, which is a list under the same rule. A higher tier includes the lower tiers of the same creator, retired ones included. A creator sees every audience of their own tiers. A member inside the 7-day grace period still sees their tier's audiences, and a lapsed member sees public items only.
A count never includes an item the reader may not see, and the answer is the same however a list is asked for: by space, by creator or through a feed.
The facts that decide access (a payment, a lapse, a dispute) can arrive twice, late or out of order, and the reader gets the same answer as if each had arrived once, in order. Killing the process while a payment, a lapse or a dispute is being processed leaves every reader with the same access afterwards, never more.
Architectural guidance
Every place that shows content has to apply the rule, and the rule is easiest to forget in the place added last. A list that counts a locked post tells a stranger the post exists, and a feed that skips the check publishes the whole archive to anyone with its address. A fact that arrives twice or late must not hand a reader more than the correct order would.
Acceptance criteria
Access ends within 60 seconds, measured on the simulator's clock, of each of these causes: a membership lapsing, a cancellation reaching its end date, a dispute opening, a refund, and a restriction (until moderation exists, your simulator can cause one). A reader never sees more because a decision was slow. The README says revocation is not instant.
A reader whose page is already open when access ends is refused the gated item on the first request after the 60 seconds. A revocation racing a read is served or refused, and a read started after the 60 seconds is always refused.
A cause reported to the platform twice ends access once. One reported late ends access within 60 seconds of being reported.
Architectural guidance
Revocation is the failure the client hears about first: a member banned or in dispute keeps reading, and the creator sees it. A system that answers from what it knew a few minutes ago gives the content away for those minutes. The 60 seconds is the client's limit on how long that may last.
Acceptance criteria
Support can ask the platform, for a member, an item and a time, whether the member could read the item then. The answer is yes or no together with the facts behind it: the membership's billing state, the paid period, any dispute or restriction, the audience of the item, and whether the platform actually served the item to the member at that time.
The answer is correct for a read on the last day of grace and for a read a minute after the lapse. It identifies people and items by ID only, with no names and no gated text. A read served just before the process was killed can still be explained afterwards.
Architectural guidance
When a creator asks why a member could read a post last Tuesday, or a member asks why they could not, an answer worked out from today's state is wrong whenever the state has changed since. A decision nobody recorded has to be reconstructed from the rules and a guess. The client also needs the answer for a regulator, and an answer that carries names becomes a second copy of personal data.
Acceptance criteria
A test run, started by one command in the README, proves every row of your access table with at least one test that names the row. The run lists the tests that proved each row, and a row with none fails the run.
Each sequence repeats with every fact delivered twice and, wherever the order allows, shuffled. The run also restarts the process in the middle of a sequence. The erased row stays marked pending until the Phase on operating the community.
The run proves one combined case, the restricted member whose dispute is open when the restriction is lifted, and the answer is the one your table gives.
Architectural guidance
A table nobody tests drifts from the product the first time a rule changes. The failures here come from combinations that no single row mentions, such as a member restricted while in dispute or a lift arriving before the restriction. Running every sequence with duplicated and shuffled facts is the cheapest way to find the member who ends up with more access than any row allows.
Architectural walkthrough
Every place that shows content has to answer the same question the same way: may this member see this item now. The client's search page listed the titles of locked posts because a place that was added later answered it differently. This Phase builds the first places that show content, so it is where the rule meets real posts.
Access that outlasts its cause is the second failure. A member whose dispute opened, whose grace ended or whose account was restricted and who keeps reading is content given away for every minute it lasts. The client's limit is 60 seconds, and it is a limit on a reader who never stopped reading, so a member with a page already open is the case to check.
The facts that decide access arrive twice, late and out of order like the payment messages that cause them. A process that dies while one of them is being processed must not leave anyone with more access than before. And when support is asked why a member could read a post last Tuesday, a platform that has forgotten has nothing to answer with.
Close every way to read
Produces search that reveals nothing gated, file links that stop working with access, and a platform that shows only public items when it cannot decide what a member may see. Replies, events and messages come later.
Acceptance criteria
Search over a corpus of 40,000 posts across several creators' public and tier audiences returns only items the reader may see, with their titles and snippets. For a reader who may not see a post, its title, its snippet, its existence and its contribution to any total or facet count are all absent, whatever words the reader searches for.
A post whose audience just changed, or which was removed, does not appear for a reader who may no longer see it, from the first search after the change. Counts and facets, per creator and per tier, follow the same rule as the results. A member erased on request has no name left in any result. The README states how long a search takes on the 40,000-post corpus.
With search stopped, lists and single posts still work for every reader.
Architectural guidance
A search page is the easiest place to reveal what the lock hides, because a stranger can type any word and read what comes back. A result list is only one place a locked post can show up, and a count or a facet that includes it tells the stranger it exists. A search page that is a little out of date shows removed and re-audienced posts to people who must not see them.
Acceptance criteria
Files attached to a post are served through links that stop working no later than the moment the reader's access would end. A link's life never runs past an end of access the platform already knows about, such as a lapse date or a cancel date, and a link issued at any moment stops working within 60 seconds of a revocation the platform learns about later. The README states that links shared between members are not defended against.
A private feed is a list under the same rule, and the file links in it follow the file rule. A download that starts while access ends is either served or refused, and a download started after the 60 seconds is always refused.
Architectural guidance
A file link that outlives the membership keeps giving the file to a member who left and to anyone they forwarded it to. The client cannot recall a link once it is out. A download that starts as access ends shows whether the end of access is a moment or a range.
Acceptance criteria
A test run, started by one command in the README, loads 40,000 posts across the public and tier audiences of several creators and probes every way to read with six reader profiles: a stranger, a member of another creator's tier, a lapsed member, a restricted member, a member of a lower tier and an entitled member. The ways to read are a single post, a list, a feed, a search with its counts, facets and snippets, a preview, a count and a file link.
The run reports zero leaks: no title, snippet, count or file reaches a reader who may not see it. The platform is made unable to decide who may see what for 90 seconds in the middle of the run and the leak count stays zero. Three deliberately broken builds, each with one way to read left open, fail the run, and the failing output is committed to your repository.
Architectural guidance
A leak is found by the person who goes looking for it, and a probe that checks only the lists misses the file link. Every reader profile against every way to read is a separate combination, and any one left unchecked is where the next leak is. A suite that has never failed does not show that it can.
Architectural walkthrough
A search page that lists the titles of locked posts, a count that includes them, a snippet, a file link that outlives the membership: each is a door someone forgot, and a creator finds it by typing a word. Previews, facets, private feeds and the files attached to posts open the same content in other shapes. One reader who finds one open door stops trusting every lock.
The platform will also fail to decide. When whatever works out what a member may see is unavailable, serving what it last knew keeps showing content to members whose access just ended, and refusing everything locks out the members who pay. The client's rule is that nobody gains access because something stopped, and that public items and publishing keep working.
Search holds the biggest corpus, 40,000 posts. A leak that needs a rare word to find is still a leak, and a check that is fast on 100 posts can be too slow on 40,000.
Hold discussions
Produces threads where members reply and react, replies refused once the author's access has ended, and threads that follow their post. No moderation of replies yet.
Acceptance criteria
Each post has one thread. A member who can see the post can reply to it and react to the post and to replies, and a member who cannot see the post cannot read the thread, reply or react. A reply has the audience of its post.
A member erased on request leaves their replies in other people's threads, shown with the author as former member. Two members replying at the same moment both end up with both replies shown, each saved once. Killing the process while a reply is being posted ends with the reply shown once.
Architectural guidance
A thread is readable content, so a reply must be hidden from exactly the readers the post is hidden from. Replies saved and never shown, or shown twice, are the first things members notice. Removing the replies of an erased member would break the threads of the people who answered them.
Acceptance criteria
When a post's audience changes, its thread and replies move with it: members who lose the audience lose the thread, and members who gain it can read it. When a post is removed, its replies are hidden from every reader.
The same change sent twice, or arriving after later changes to the same post, leaves the thread matching the post's current audience. Killing the process in the middle of a change leaves the post and its thread on the same audience.
Architectural guidance
A thread that keeps its old audience after its post moves up a tier shows the replies to members who no longer pay for them, and the creator sees nothing wrong. A removed post whose replies stay readable keeps part of the removed content alive in what people said about it. Both are leaks that reads of the post itself never show.
Acceptance criteria
A test run, started by one command in the README, revokes a member three ways, by a lapse, a dispute and a restriction, and checks after each that the member's replies and reactions are refused and the threads are unreadable within 60 seconds. The run repeats with each cause reported twice and reported late. A locked space refusing new replies joins the run when it is built in a later Phase.
With discussions stopped, posts stay readable and payments continue. A reply sent as discussions stop is saved once or refused with a clear error, never saved twice, and replies made after discussions return are saved once each.
Architectural guidance
Revocation is the case the earlier Phases built for and the one discussions can break. A member can lose access through a lapse, a dispute or a restriction, and each takes a different path to the same result. Testing the three separately finds the one that was missed.
Architectural walkthrough
A discussion is a new way to read and a new way to write. A member whose access ended while typing a reply posts it anyway if the check was made when they started. A thread of a post that moved to a higher tier still shows the old audience, with the replies of members who should no longer see it. A revoked member who can still read the replies of a thread they once saw has found a door the post itself closed.
With 38,000 members, two people replying at the same moment and access ending in the middle of a write are the ordinary case. A lapsed member's text in a paying audience's thread is something the creator did not allow and has to remove by hand.
Run live events
Produces live sessions scheduled in the creator's own time zone, seats that never pass capacity, and join links and recordings that reach only entitled members. It leaves moderation of sessions and notifications for later.
Acceptance criteria
A creator schedules a session by giving a date, a wall-clock time, an IANA time zone name such as Europe/Berlin, a capacity and an audience (public or one of the creator's tiers). Members see the session at the start the creator meant. 10:00 on Thursday 29 Oct 2026 in Berlin is 09:00 UTC, also when the session was booked in early October, before the clocks changed on 25 Oct 2026. The same 10:00 on Thursday 22 Oct 2026 is 08:00 UTC.
A local time that does not exist is refused and nothing is saved: 02:30 on 28 Mar 2027 in Berlin. A local time that happens twice needs the creator to say which one: 02:30 on 25 Oct 2026 in Berlin is refused without an explicit UTC offset, 00:30 UTC with +02:00 and 01:30 UTC with +01:00. An unknown time zone name is refused. A capacity above 200 or below 1 is refused.
A creator can reschedule a session. Members holding a seat see the new start. Rescheduling to a time that does not exist is refused and the session is unchanged. The platform handles 300 sessions a month, so a creator with 25 sessions in one month can list them and each shows the right start.
Architectural guidance
A session booked in October for the end of the month can start an hour wrong for everyone if the clock change between booking and session is ignored. A time that does not exist, or that happens twice, accepted without a question moves the session by an hour for up to 200 people. The creator finds out when members arrive early, late or not at all.
Acceptance criteria
A member who is entitled to the session's audience can take a seat. For a public session any member can. A member who is not entitled is refused and holds nothing. A member holds at most one seat per session: a second request answers with the seat the member already has and uses no further seat. A member can give up a seat, and the next request for that session gets it.
Against a session with capacity 200, the simulator sends 500 requests at the same moment from distinct members, mixed with repeat requests from some of them. Exactly 200 members end up holding a seat, 300 are told the session is full, and a reader counting seats while the run is going never sees more than 200. A member who asked twice holds one seat.
A member who loses the session's audience before the session starts (lapse, dispute opened, refund, restriction) loses the seat within 60 seconds, and the next requester can take it. A member who lost access, got it back and took a seat again keeps that seat, even if the news of the earlier loss arrives afterwards. A request made at the moment the member's access ends either gets a seat that is then removed, or is refused, and never leaves a seat held after those 60 seconds.
If the platform is killed after a member's seat is taken and before the member gets the answer, the member asks again and holds exactly one seat, and the count never passes 200.
Architectural guidance
Hundreds of requests arriving in the same second can each be told there is still room, and the platform then admits far more than 200 people to a room of 200. The creator then refunds the extra people, and the members who lost their seat later learn that the platform gives seats to people who are no longer members.
Acceptance criteria
A member who holds a seat and is entitled to the session's audience asks for the join link and receives it. A member without a seat is refused, a member with a seat whose access ended more than 60 seconds ago is refused, and so is a member who asks for the link more than 60 seconds after being restricted or after a dispute was opened on their payment.
A recording of a finished session carries the session's audience. A reader who is entitled sees it in lists, feeds and the session's page. A stranger, a lapsed member and a member of another creator's tier do not see its title, its link or that it exists.
A link released before the member lost access stays in the member's hands. The README says so and names the client's decision not to defend against links shared between members. Nothing in the platform's own words promises otherwise.
Architectural guidance
A join link or recording that reaches someone who is not entitled cannot be taken back. The window that matters is small, between the moment a seat is granted and the moment the link is asked for, and that is where a member whose access just ended walks through.
Acceptance criteria
A test command, listed in the README, runs these checks and exits with failure when one fails. 500 simultaneous requests for a 200-seat session end with exactly 200 seats, and a member who asked twice holds one. The Berlin example for 29 Oct 2026 gives 09:00 UTC, the gap on 28 Mar 2027 is refused, and the repeat on 25 Oct 2026 needs an offset and gives the two instants above. A link is refused more than 60 seconds after the member's access ended, and a lapsed member does not see a recording.
The test stops live events for 10 minutes while the simulator keeps members reading, replying and paying. Reading, replies and payments all work. When live events return, every seat taken before the stop is still held, a session that was full is still full, and no session holds more than its capacity.
Change your platform on purpose so it ignores the capacity limit, run the capacity test, and keep the failing output in your repository next to the passing output.
Architectural guidance
Capacity, daylight saving and links each fail only under conditions an ordinary click-through never creates. A suite that has never been seen failing proves little, because an empty check also passes. The failing run shows the test is able to catch the platform handing out seat 201.
Architectural walkthrough
A creator thinks in wall-clock time: Thursday at 10:00 in Berlin. A session booked in early October for 29 Oct 2026 starts an hour wrong for up to 200 people if the booking used the clock as it stood on the day of booking, because Berlin's clocks go back on 25 Oct 2026. A local time that does not exist on the spring-forward night, or that happens twice on the autumn night, moves a session by an hour when the platform guesses. The creator learns about it when the first member writes in asking where everyone is.
A popular session has 200 seats and 500 people who click in the same second. Every seat over 200 is a refund and a creator with a room that is too full. Every member turned away while a seat was still free is a support message and a creator who thinks the platform is broken.
A seat is worth something only while the member is entitled to the session. A member who lapses, loses a dispute or is restricted between asking for a seat and asking for the link must not get the link, and a recording is as gated as any post of the same audience. A link that reaches someone who should not have it cannot be taken back, and the creator's paying members learn that what they pay for is free.
Live events can also be down on the day of a session. Members still read, reply and pay, and the seats they already hold must be there when the platform returns.
Moderate the community
Produces reports, recorded decisions, restrictions with a statement of reasons, space locks, and the way back from a wrongful restriction. It leaves notifications about decisions for later.
Acceptance criteria
A member or creator can report a post, a reply or a member. A report needs the target, a category (spam, harassment, illegal content or other), an explanation and the reporter's confirmation of good faith. A report missing any of the four is refused, the answer says which is missing, and nothing is saved. A report on a target that does not exist is refused.
A moderator sees the list of open reports with the time each was received, and the list shows which are overdue. The first decision on a report is due 24 hours after receipt. After the simulator moves the clock 25 hours, a report with no decision is listed as overdue and one with a decision is not.
A report the reporter was told was received is never lost. If the platform is killed while a report is being received, the reporter either has a confirmation and the report exists, or has no confirmation and can send it again without ending up with two. The same member reporting the same target twice at the same moment ends with one report. Two different members reporting the same target end with two reports, both listed.
Architectural guidance
A report is the only way the community tells the platform about harm. If one is lost after the reporter was told it arrived, the reporter has no reason to try again and the harm stays up. A platform that cannot show which reports are late cannot keep the 24-hour promise it makes to creators.
Acceptance criteria
A moderator decides a report with one of three outcomes: no action, remove, or restrict. A decision needs a reason code and a free-text reason. Without them it is refused and the report stays open. A decided report shows the outcome, the reason code, the text, who decided and when, and it no longer appears among the overdue reports.
When the decision is to remove a post or a reply, it disappears for everyone within 60 seconds: from every list, feed, search result and thread, and from every daily email not yet sent. Opening it directly answers that it does not exist. The member who wrote it is told it was removed and why.
Two moderators deciding the same report at the same moment end with one recorded decision, and the second is told the report is already decided. If the platform is killed while a decision is being applied, the item is gone after the restart and the decision exists once.
Architectural guidance
A removal that reaches the thread but not the search results or tomorrow's email keeps showing content a moderator already ruled on. A decision with no recorded reason cannot be explained to the creator who lost a post or to a regulator who asks. Two moderators acting on the same report at the same moment must not give the author two different outcomes.
Acceptance criteria
A moderator can restrict a member's account. The restriction needs a statement of reasons with four parts: the facts relied on, given as IDs of reports, posts and replies and never as the text of a gated item; the rule broken; what is restricted; and how to appeal. The appeal workflow is not built, so the statement says how to appeal. A restriction missing any part is refused and the member is unchanged. The member can read their own statement and a stranger cannot.
Within 60 seconds of the decision the restricted member sees public items only, and replies, reactions and seat requests are refused. Seats the member held for gated sessions are gone. The membership and its billing carry on unchanged.
Sending the same restriction twice, or delivering it after a lift that was decided later, leaves the member in the state of the latest decision. If the platform is killed while a restriction is being applied, the member is restricted within 60 seconds of the restart and the statement exists once.
Architectural guidance
A restriction with no statement of reasons leaves the member nothing to appeal against and the platform nothing to show a regulator. A statement that quotes the gated post it relies on leaks that post to everyone who can read the statement.
Acceptance criteria
A moderator can lock a space. A reply sent to any thread of a locked space after the lock is confirmed to the moderator is refused, and the answer says the space is locked. Reading is unchanged: members who are entitled to a post still read it and its replies at normal speed. Other spaces of the same creator keep accepting replies.
The simulator sends spam replies from many accounts into one space while the lock is being applied and after. No reply received after the moderator was told the lock is in place is accepted, including replies sent in the same second. Replies that were accepted before the lock stay until a moderator removes them through a report.
A creator or moderator can see which spaces are locked and since when.
Architectural guidance
A lock that stops reading as well turns an annoyance into an outage for paying members.
Acceptance criteria
A moderator can lift a restriction. Within 60 seconds the member has back what their situation still entitles, and no more. A member whose membership lapsed during the restriction gets public items only. A member with an open dispute stays on public items only until the dispute closes in the platform's favour. A member whose tier was retired keeps the audiences of that tier. Lifting records who lifted it and why.
A moderator can unlock a space, and replies are accepted again in every thread of it.
Decisions arriving in the wrong order do not leave the member in the older state. A restriction, a lift and a second restriction reaching the platform shuffled and twice end with the member restricted. A lift delivered twice changes nothing the second time.
Architectural guidance
A wrongful restriction costs a paying member something they bought, for every minute it stays. A lift can restore too much, such as an audience the member lost to a dispute in the meantime, or too little, leaving a member who is cleared on paper and locked out in practice.
Acceptance criteria
A test command, listed in the README, restricts a member who has gated posts in a list, in a search result, behind a file link, in a thread, in a seat for a gated session and in a daily email not yet sent. Within 60 seconds every one of those refuses the member or leaves the item out. The same member, after a lift, has each of them back within 60 seconds and only those their situation entitles. The row of the access table for restricted members and the case of a restricted member whose dispute is open when the restriction is lifted are proven again with real restrictions.
The run repeats with every restriction and lift delivered twice and shuffled. Any path that serves the member 61 seconds after the decision fails the run and the output names the path.
The test stops moderation for 10 minutes. Reading, replies and payments all work. A report that was confirmed to its reporter before the stop is listed after it. A report received 23 hours 55 minutes before the stop and not decided is listed as overdue six minutes into the stop, so the 24-hour clock kept running.
Architectural guidance
A restriction is as strong as its weakest path. One list, one email or one file link that still serves the member after the decision turns the decision into a promise the platform does not keep. The same holds for the lift in the other direction.
Architectural walkthrough
A moderator restricts an account and the member keeps reading for minutes. The decision was made, and for those minutes it did nothing. A member who is restricted by mistake and cannot get back in quickly is a paying member who has bought something and cannot use it. The client has to be able to undo a wrongful restriction, and access must return within 60 seconds.
A report that was confirmed to the reporter and cannot be found afterwards is worse than a report that was never accepted. The reporter stops trying, the harm stays up, and the first decision promised within 24 hours is never made. Overdue reports have to be visible to someone.
A raid fills a space with spam from many accounts faster than a moderator can remove replies one at a time. Each minute the space stays open, members who came to read it find spam and the creator asks why. A response that also stops reading turns an annoyance into an outage for paying members.
Every decision is something the platform may have to explain to the member, to a creator or to a regulator, with the reason and the facts behind it. A decision with no recorded reason cannot be explained, and a statement of reasons that quotes the gated post it relies on leaks that post.
Moderation itself can be down. Members keep reading, replying and paying, reports that were received are not lost, and the 24-hour clock does not stop.
Notify members
Produces payment warnings sent once per failed attempt, a daily digest of only what the member may see, and the end of notifications when access ends. It leaves analytics and notification preferences out.
Acceptance criteria
A member whose renewal payment fails receives one message for that failed attempt. A soft-declined renewal that fails again on day 1, 3 and 7 produces one message per failed attempt. The message for a hard decline tells the member to update the payment method. You can read every message the platform sent in your simulator.
The provider reporting the same failure twice, or in shuffled order, sends no further message. A failed first payment sends no warning, because there is no membership. A membership that has lapsed or ended gets no further payment warnings.
If the platform is killed while a warning is going out, the member receives that warning once and not twice.
Architectural guidance
A duplicate message from the payment provider is normal and says nothing about whether the member should be told again.
Acceptance criteria
Each member receives at most one digest per day. It contains the new items the member may see at the moment it is sent. An item published for a tier at 08:00, for a member who lapses at 08:30, is left out of a digest sent at 09:00. An item removed by a moderator before sending is left out. A member who no longer has any access receives public items only.
A digest with nothing left in it is not sent. A gated item's title and body never appear for a recipient who is not entitled to it. A creator-written teaser may appear, because it is public.
Running the daily send twice, or killing it part-way through, never produces a second digest for that member on the same day. You can read every digest in your simulator.
Architectural guidance
What a member may see can change between the morning and the moment an email goes out.
Acceptance criteria
Within 60 seconds of a member's access to a creator's audiences ending (lapse, dispute opened, refund, restriction, erasure), the next digest for that member carries public items only. A digest sent more than 60 seconds after the cause contains nothing gated. Payment warnings for a membership stop once it has lapsed or ended.
Items removed by moderation are left out of digests not yet sent. A cause delivered twice or late does not send a gated digest in the meantime and does not remove anything the member is still entitled to.
The README says a message already sent cannot be recalled, and names what that means for a member who loses access an hour after receiving a digest.
Architectural guidance
Members lose access every day: a lapse, a dispute, a restriction. If the notifications go on as if nothing changed, the platform keeps handing out the titles of posts that the member no longer pays for. A message already sent cannot be recalled, so the client must be able to say honestly what the platform does and does not undo.
Acceptance criteria
A test command, listed in the README, reads every message your simulator received after a run with 10% of provider messages duplicated and shuffled, and with the platform killed during sending. Each message arrives once per cause. A gated title, body or snippet, seeded with a unique text, appears in no message to a recipient who is not entitled to it: zero hits.
The test stops notifications for one simulated day while members join, renew, read and attend events. Everything but the messages works. After notifications return, each warning and digest is sent once, late, and none contains gated text the member may no longer see. No member receives more than one digest for a day.
Change your platform on purpose so a digest ignores the member's access, run the scan, and keep the failing output with the passing output.
Architectural guidance
A message that reveals gated content or arrives twice cannot be fixed afterwards. A scan that has never been seen finding a leak proves little.
Architectural walkthrough
A message is another way to read. A digest that shows the morning's view and goes out at nine can carry the titles of posts to a member whose access ended at eight, and an email cannot be recalled. The client's own failure was 900 members reading locked posts for nine days. In a mail the exposure is permanent.
A payment warning that goes out on every duplicate message from the provider trains members to ignore it. The member who is warned three times about one failed payment treats the fourth as noise, and the member who pays after one clear warning is the member who stays.
A process that dies while sending can send the same message again when it restarts. Members then receive two digests in a day or two identical warnings, and the second one is the one that makes them stop reading.
Notifications can also be down for a day. Joining, renewing, reading and events keep working, and when the sending returns, each message goes out once and none contains anything the member may no longer see.
Pay creators and account for tax
Produces payments split into VAT, fees and creator earnings to the cent, reversals for refunds and disputes, a VAT report per country, monthly payouts and a monthly report per creator. It leaves a second currency and app-store fees out.
Acceptance criteria
Every successful payment is split into VAT, the platform fee, the processing fee and the creator's earnings, and the four parts add up to the payment to the cent. A 900 cent payment from Germany gives 756 net, 144 VAT, a platform fee of 76, a processing fee of 51 and 629 to the creator. From France it gives 750 net, 150 VAT, 75, 51 and 624. From Italy, 738, 162, 74, 51 and 613. From Spain or the Netherlands, 744, 156, 74, 51 and 619. A 100 cent payment from Germany gives 84 net, 16 VAT, 8, 28 and 48. The processing fee used is the one the provider reports with the payment.
A creator can open a statement of their payments and check each line against these rules. The statement's totals equal the sum of its lines, never a total rounded again from the sum of the gross amounts.
The same payment message delivered twice, late or shuffled with other messages moves money once. If the platform is killed while a payment is being processed, the payment shows once with all four parts after the restart, or not at all until it is processed again.
Architectural guidance
A payment message that arrives twice and moves money twice is a creator paid for a sale that happened once. A payment killed halfway through processing and left with some parts gives books that do not add up and no way to see where the difference came from.
Acceptance criteria
A refund of the 900 cent German payment gives the member 900 cents back and reverses 144 VAT, the 76 platform fee and the creator's 629 earnings. The platform bears the 51 processing fee, so the creator's reversal equals what was credited to the creator. The creator's statement shows the refund as its own line.
When a dispute opens on that payment, the creator's 629 cents are held: they are not paid out and not shown as available. If the dispute is won, the 629 are released and the 2000 cent dispute fee stays lost, borne by the platform and never charged to the creator. If it is lost, the reversal is final and the VAT is reversed with it.
Refund and dispute messages delivered twice, late, or in the wrong order (the outcome before the opening) move money once and end in the same state.
Architectural guidance
A refund that reverses the creator by a different amount than was credited leaves a difference in the books that someone pays by hand every month. A dispute handled as if it were already lost takes a creator's money before the outcome, and a dispute handled as if nothing happened pays out earnings that the provider has already taken back. Messages that arrive twice or in the wrong order are normal and must not move the creator's balance twice.
Acceptance criteria
VAT is calculated from the member's billing country at the time of payment, at 19% for Germany, 20% for France, 22% for Italy and 21% for Spain and the Netherlands. A member who moves from Germany to France after the first payment has the first payment reported under Germany and the next under France.
A VAT report per country per month shows gross, net and VAT. Each figure equals the sum of the payment lines for that country and month, refunds included as negative lines. After a member is erased, their payments stay in the report under the billing country.
Architectural guidance
VAT is owed to the tax office of the country where the member was on the day they paid, not where they live now. A report built from today's address files money in the wrong country.
Acceptance criteria
On the 5th of each month every creator whose net balance for the previous calendar month is at least 2000 cents is paid exactly that balance. A smaller balance carries over to the next month and shows there. A negative balance, from a refund or chargeback after a payout, reduces the next payout. The payout destination is the one the creator has on the day of the payout: a creator who changes it on the 4th is paid to the new one on the 5th. You can read every payout in your simulator.
Triggering the month's payouts twice, or killing them halfway and triggering them again, pays each creator once. Creators not yet paid when the payouts were killed are paid by the second attempt. A payment from the previous month whose message arrives late, before the run starts, counts for that month.
Architectural guidance
Payouts triggered twice by a restart or by two operators pay every creator twice, and the client finds out when the provider balance is short. A negative balance that is quietly ignored makes the platform pay for a sale that was refunded.
Acceptance criteria
Each creator receives a monthly report with gross, VAT, platform fee, processing fees, refunds, disputes (held, released and lost), failed payments (count and amount) and payouts. A creator expecting more than the payout arrived reads the report and finds the reason: a morning in which 20 renewals failed shows as 20 failed payments totalling 18,000 cents.
The report's lines add up to the payout, including any balance carried over and any negative balance taken off. A payment message that arrives after month end for a payment made in that month does not change a report already issued. It appears in the next report as a correction line, and the report says so.
Architectural guidance
A creator paid short with no explanation writes to support, and support has to rebuild the month by hand. A report that says what failed, what was refunded and what was held lets the creator answer their own question. A report rewritten after the payout is out disagrees with the money that already moved.
Acceptance criteria
A test command, listed in the README, runs the simulated month and compares the platform's books with the movements your simulator recorded. There are zero mismatches. Every payout equals its creator's report. Every report's lines add up to its totals, and every VAT figure equals the sum of its payment lines.
The test stops payouts and tax for one hour while joins, renewals, reading and refunds carry on. All of them work. When payouts and tax return, the books equal the provider's movements, payments made during the stop appear once, and each month report still equals its payout. Provider messages delivered twice, late and shuffled during the run change nothing.
Change your platform on purpose by one cent of rounding, run the comparison, and keep the output that reports the mismatch with the passing output.
Architectural guidance
Money problems show up as small differences nobody can explain. A comparison with the provider's own movements is the only check that does not depend on the platform's own opinion of what it did. A check that has never been seen reporting a mismatch may not be able to.
Architectural walkthrough
A cent of rounding that differs between a payment line, a refund line and the monthly report makes a creator's statement impossible to check and a payout impossible to explain. A creator who adds up the lines of a report and gets a different total than the platform stops trusting the platform's numbers.
A refund or chargeback after a payout can leave a creator owing money. If the platform does not carry that debt into the next payout, the client pays it. If it carries it without saying so, the creator sees a short payout and writes to support.
A VAT report that disagrees by one cent with the payment lines cannot be filed. A payment taxed at the country the member lives in today instead of the country on the day they paid files the wrong amount to the wrong tax office.
A creator paid short because a morning of renewals failed needs a report that says so, line by line. Payouts that are triggered twice, or killed halfway, must not pay a creator twice, and must not skip one.
Payouts and tax can also be down. Joins, renewals, reading and refunds carry on, and afterwards the books equal what the provider moved.
Operate the community
Produces a personal data breach runbook, erasure of a member's personal data, exact restoration of access after data loss, and a way to retry a message that keeps failing. It adds no feature a member sees.
Acceptance criteria
A runbook in your repository lets an operator who has never seen the platform meet the 72-hour report to the Autoriteit Persoonsgegevens. It lists, for each place the platform keeps data, what is personal and who can see it. It says how to list the affected members for a given place and time window, and the operator runs that once against your simulator's data and gets a list. It names the role who decides whether a report is due and whether members must be told too. It works one example in hours: a breach found on Friday at 16:00 needs its report by Monday at 16:00. It includes a draft notice a member can understand: what happened, which data, and what to do.
The runbook says it is not legal advice and names the legal questions the client must answer. Run against a window in which nothing happened, the list is empty.
Architectural guidance
A runbook written during the incident is written by people who have the least time and no data in front of them.
Acceptance criteria
A request to erase a member removes or pseudonymises every personal field. A member is seeded with a unique name, email, identifying free text, a search entry, a seat, a sent email and a customer record at your stand-in provider. After the erasure completes, a search for those strings across everything the platform and your simulator keep finds nothing. The member's ID remains. Replies the member wrote in other people's threads stay, with the author shown as "former member". The erased member sees public items only.
What stays: payments and refunds in the books, VAT records with the billing country, and an open dispute until it closes. The member's personal data in a dispute is erased when it closes. The request for a member with an open dispute completes after the dispute closes.
A payment message from the provider that arrives after the erasure recreates no personal data. Requesting erasure twice completes it once. If the platform is killed halfway, the restart finishes it. The README says the member gets an answer within one month, the GDPR deadline, and that erasure is done "without undue delay". It states the client's duty under Dutch law (Belastingdienst) to keep business records for 7 years, and VAT records under the one-stop-shop scheme for 10 years, and that these are the reason the payments, refunds and VAT records stay.
Architectural guidance
A record deleted too eagerly breaks the books and the tax records the client is required to keep. A late message from the provider that recreates the member is the way a finished erasure quietly undoes itself.
Acceptance criteria
Your simulator can wipe what the platform has stored about who may see what (your README says how). An operator then restores every member's access from the platform's history of memberships, payments, disputes and restrictions. After the restore, every member of the simulated 3,000-member month has the same audiences and the same right to write as before. Members who were restricted, in a dispute, lapsed or erased still see public items only.
While the wipe stands, readers fall to public items within 60 seconds and no member sees anything gated that they should not. After the restore, members get their audiences back. Running the restore twice gives the same result, and if it is killed halfway the next run finishes it. The operations note says how long the recorded history is kept and what cannot be restored beyond it.
Architectural guidance
The client cannot ask 38,000 members to wait while someone works out who should see what.
Acceptance criteria
Your simulator sends one provider message that the platform cannot apply among thousands of ordinary ones. After 5 failed attempts the platform stops trying it and lists it for an operator with what it was, when it first failed and how many attempts failed. The thousands of other messages are applied in normal time and every membership they concern is right.
After the cause is fixed, the operator retries the listed message, the list empties and the membership it concerns is right. A retry that fails again leaves the message on the list with its failure count. The provider redelivering the same message during its 3 days does not add a second entry to the list.
Architectural guidance
One message the platform can never apply can stop every message behind it if the platform keeps trying it forever.
Acceptance criteria
A named test, with its command in the README, runs on the simulated 3,000-member month. It erases a seeded member, sends a payment message for that member after the erasure, stops the erasure halfway and restarts it, and then a search for every seeded string across the platform and the simulator finds nothing. It wipes what the platform stores about who may see what, shows every reader falling to public items within 60 seconds, restores twice, and both restores give the same audiences and the same right to write. It sends one message the platform cannot apply among thousands: after 5 failed attempts it is listed once, even when the provider redelivers it within its 3 days, and the other messages are applied in normal time with every membership right. The breach runbook, run on a window in which nothing happened, lists no members.
Architectural guidance
A name that survives in one place breaks the member's request. A restore that differs from the original shows gated content to a member who lost the right or hides it from one who paid, and one message that blocks the rest turns a single bad payment into thousands of wrong memberships.
Architectural walkthrough
A name that survives erasure in a search entry, a sent email, the provider's customer record or a seat breaks the promise made to the member who asked. A record deleted too eagerly breaks the books: the VAT figures for a quarter stop adding up because a payment vanished with its member. Payments recorded in the books, VAT records with the billing country, and an open dispute have to stay, identified by ID, while every personal field goes.
A personal data breach must be reported to the Autoriteit Persoonsgegevens within 72 hours, unless it is unlikely to put anyone at risk, and members must be told without undue delay when the risk to them is high. The 72 hours start when the platform learns of it. If nobody knows how to list the affected members, or who decides whether notice is due, the time is spent searching.
After the platform loses what it knew about who may see what, restoring from partial history gives some members too much and some too little. Too much is a leak. Too little is a paying member locked out of what they bought.
One provider message that can never be applied must not hold up the messages behind it. If it is retried forever at the front, memberships drift from the provider while nobody is told. If it is dropped after a few attempts and nobody is told, a member who paid is left without access.
Prove the platform under pressure
Produces tests and committed results that prove the whole platform: capabilities stopped and updated one at a time, the client's busiest morning, and a simulated month with every failure at once. It adds nothing a member sees.
Acceptance criteria
A test command, listed in the README, stops each of these capabilities in turn for a stated time and checks the rest. With payments stopped: members read what they are entitled to, creators publish, members reply, seats are taken and reports are received, and afterwards the renewals due meanwhile are charged and recorded once and every membership matches the provider. With the platform unable to decide who may see what: public items, publishing, payments and payouts work, and after more than 60 seconds nothing gated is served to anyone. With posts and search stopped: payments, replies in existing threads, events and moderation work, and afterwards search finds the new posts once.
With discussions stopped: reading posts, payments and events work, and replies made afterwards are neither lost nor doubled. With live events stopped: reading, replies and payments work, seats held before the stop are intact and no session passes capacity. With moderation stopped: reading, replies and payments work, received reports are not lost and the 24-hour clock kept running. With notifications stopped: payments, reading and events work, and each warning and digest is sent once, late, with no gated text. With payouts and tax stopped: joins, renewals, reading and refunds work, and the books catch up with the month report and the payout still equal.
At no moment during any stop does a member see something gated that they could not see before the stop. The results are committed, one row per capability.
Architectural guidance
A platform is only as available as its worst dependency unless the client has seen each failure, one at a time, with the rest of the product in use. The expensive version is a failure that was never rehearsed: the deciding of who may see what fails open and shows gated titles, or fails closed and locks out paying members for hours. Each of the eight cases has a different right answer, and the client needs to know the answer before the outage.
Acceptance criteria
While the simulator keeps readers, joins and seat requests going at a steady rate, each capability is updated to a new version in turn (your README says how you release one). During each update the requests to the other capabilities all succeed. A change a reader can see, such as the text of a message, appears after the update.
No provider message sent during an update is lost or applied twice, which the test checks by comparing every membership with your simulator afterwards. No gated item is shown to anyone who is not entitled at any moment during the run. Requests to the capability being updated either succeed or fail with a clear answer that works on a retry.
Architectural guidance
The client cannot ask 38,000 members to stop reading while a release goes out.
Acceptance criteria
With 38,000 members, 400 creators and 40,000 posts in place, the simulator runs the client's busiest morning: 1,300 renewals decline in one morning, 300 readers list and search at the same time, and 500 members request seats in the same second for one 200-seat session. Every membership ends in the right state, every warning is sent once, and both are done within 10 minutes of real time. 95% of reads answer in under 1 second. Exactly 200 seats are held. No reader sees anything gated they are not entitled to.
The results are committed with the command that produces them. A run that misses a threshold exits with failure and says which one. A run that is fast and wrong fails on the wrong result, not on speed.
Architectural guidance
Readers, renewals and seat requests compete for the same platform, so the load has to be mixed, and a fast answer that is wrong is a leak or a missed warning.
Acceptance criteria
The simulator runs a month of 30 days compressed, with 3,000 members, about 30 creators, about 60 posts a day and about 25 live sessions. The README says how long the run takes. These failures are injected during it: 10% of provider messages duplicated and shuffled within 5 minutes all month; one day on which every renewal due soft-declines on its first attempt; 5% of other renewals soft-declining once and recovering; 2% of members hard-declining at some renewal; provider messages paused for 6 hours on one day; 1% of payments disputed, half won; each capability stopped without warning once mid-run; the platform unable to decide who may see what for 5 minutes; payouts and tax stopped for 1 hour; a burst of spam replies from many accounts into one space; and a handful of erasure requests, one for a member with an open dispute. On one day of the month every failure on this list happens together.
The results show: zero reads of anything the reader was not entitled to; no member who lost access they should have kept beyond 60 seconds for a revocation or 7 days of grace; books that match the provider's balance movements with zero mismatches; every payout equal to its creator's report; every erasure complete except the one held by the dispute.
The results file is committed with the seed. A second run, on a build you changed on purpose so that one way to read ignores access, reports a non-zero leak count and is committed too.
Architectural guidance
The run proves only what it injects, so a failure left out of the mix has not been shown to be survived.
Architectural walkthrough
Each failure can be survived alone. The day that costs the client is the one where the provider repeats and goes quiet, a day of renewals declines, one capability stops while another is being updated, and spam arrives in one space. The client lived two such days: 1,300 declined renewals in one morning on 1 Mar 2026, and 900 members reading locked posts for nine days.
A platform that is correct for one member at a time and wrong at 38,000 gives the client the same morning again. A fast answer that shows a locked title is a leak, and a missed warning is a member who lapsed without knowing. Speed on its own proves nothing.
Releasing a new version of one capability while members use the rest is where requests get dropped and provider messages get lost or applied twice. A reader who gets an error on a page that has nothing to do with the update has a reason to leave.
The simulated month proves only what it injects. A failure that is not in its mix has not been shown to be survived, and a month that reports zero leaks means little until the same run has been seen reporting one when the platform is broken on purpose.
Architectural walkthrough
Paid posts read for free
On 1 Mar 2026, 1,300 renewals declined in one morning and 900 people read tier-locked posts for nine days without paying. Creators earn from those posts. Every day a member reads for free is a day a paying member sees that the lock does not hold, and the creator sees no income for it.
The reverse costs as much. A member who pays on the last day of the 7-day grace period and is locked out anyway writes to support, and the day-7 retry and the end of grace fall on the same instant. Check both outcomes in your build: a member who never pays loses access on the day grace ends, and a member who pays on that day keeps it without a gap.
The same post, behind every other door
A creator found the titles of her subscriber-only posts in the search page. Titles are not the only thing that leaks. Counts, snippets, previews, private feeds, file links, the daily email and the link to a live event each show something about a post, and each one is a place where the check can be forgotten. A creator who sees one leak stops trusting every lock, and her paying members read it as a reason to cancel.
Check your build by asking every door the same question for a member who is not entitled: a stranger, a member of another creator's tier, a lapsed member, a restricted member and a member of a lower tier.
Messages that arrive in the wrong order
The payment provider tells the platform what happened through messages. They arrive twice, late, out of order and sometimes never. A stale message that lands last can mark a member whose payment succeeded as failed and lock them out. A message that never arrives leaves a member who stopped paying with access nobody can account for.
Two more things go wrong around the same moment. A member who clicks Join twice, or whose phone retries the request, can be charged twice. A process that dies after the payment is recorded and before the membership starts leaves a member who paid and has nothing, and nobody finds out until they write in.
Access that must end on time, and the day the decision is unavailable
A dispute opens, a moderator restricts an account, or a membership lapses. From that moment the member must stop seeing gated content, and the client's limit is 60 seconds. A platform that takes minutes shows a banned member the content they were banned from.
There is a second problem. If the platform cannot work out who may see what for five minutes, it has two bad choices. It can keep showing what it showed before, which shows content to members whose access just ended. Or it can show public items only, which locks paying members out until it can decide again. The client's rule is that nobody gains access because something stopped. Check that your build locks gated content during the outage, still serves public items and still lets creators publish, and restores gated reads when the platform can decide again.
Money that must add up
A refund returns the full price to the member, but the provider keeps its processing fee, the VAT is reversed and the creator's earnings shrink by what was credited. A chargeback also costs a 2000 cent dispute fee that stays lost even when the platform wins. One cent of rounding that differs between the payment line, the refund line and the monthly report makes a creator's statement impossible to check line by line, and it makes the payout impossible to explain. A creator paid short because renewals failed needs a report that shows why.
Erasure, and the records that stay
A member asks to be erased. Their name and email must disappear from every place that held them, including search entries, logs and daily emails not yet sent, while the business keeps the payment records and the billing country it needs as tax evidence. A name that survives in one place is a breach of the member's request. A record deleted too eagerly breaks the books. When personal data does leak, the Dutch data protection authority (Autoriteit Persoonsgegevens) must be told within 72 hours, and the members affected must be told without undue delay when the risk to them is high. The only way to meet that is to know beforehand how to list the affected members.
When the platform fails as a whole
Each failure above can be survived on its own in a test. The risk is the day several happen together: the provider sends duplicates and goes quiet for hours, a day of renewals declines, one capability stops, another is being updated, and spam arrives in one space. The final Phases run these together on a 30-day compressed month with 3,000 members. The leak count must stay at zero, the books must still match the provider, and every payout must equal its report.
Where it shows if you cut a corner
Four symptoms show a cut corner. A member who never paid still reads a locked post after a morning of declined renewals, or a stranger sees its title in the search page, the daily email or a file link. A member whose payment succeeded is locked out because a stale message landed last, or a member who paid on the last day of grace loses access. A restricted member still sees gated content after 60 seconds, or the outage either keeps showing gated content or locks every paying member out. A creator's statement is one cent off against the payment provider, or a payout does not equal its report. The 30-day month with 3,000 members shows these together.
Related Links
- Belastingdienst: keeping your recordspayment and VAT records stay for 7 years, 10 for one-stop-shop VAT records, even after a member is erased.
- SRA: avoid a fine by reporting a data breach in timethe data protection authority must be told within 72 hours and the members affected without undue delay when the risk is high.
- Digital Services Act, Article 17a restriction comes with a statement of reasons that tells the member why and how to appeal.
- Your Europe: VAT rules and ratesVAT is taken at the member's country rate: 19% for Germany, 20% for France, 22% for Italy and 21% for Spain and the Netherlands.
- Stripe: dispute feesa chargeback costs a fixed fee of 2000 cents that stays lost even when the platform wins.
- Stripe: webhooksprovider messages can arrive more than once, so a message delivered twice must change nothing the second time.
- Stripe: idempotent requestsa request sent twice changes nothing the second time, so a member is never charged twice for one join.
- Stripe: Smart Retriesa hard decline is never retried while a soft decline is retried on day 1, 3 and 7.
- Stripe: billing cyclesa member who joins on 31 Jan is due on 28 Feb, then on 31 Mar and 30 Apr.