Dev.to WebDev 🛠 Dev 👁 0 📖 8 min read

Our terms of service promise 30 days of email notice, and nothing in the repository can send it

The terms of service is the biggest file in Notifio's repository: 569 lines of JSX, 18 numbered sections, and nothing imports it. I have audited the privacy policy twice, once against the files on your disk and once agai

The terms of service is the biggest file in Notifio's repository: 569 lines of JSX, 18 numbered sections, and nothing imports it. I have audited the privacy policy twice, once against the files on your disk and once against the fields in a request. I had never done the same to the terms.

A privacy policy makes claims about data. A terms of service makes claims about money, licences and what we are allowed to do to your account, and those are just as checkable. I pulled out every sentence that a line of code could confirm or contradict, which is thirteen of them, and went looking. Sections 3 to 5 are about the auto-reply feature and the individual websites it touches, which I keep out of these posts, so this is the commercial and licence half.

The scoreboard

Promise Where it lives Verdict
One-time purchase of £20, or your local price LICENSE_PRICE_PENCE = 2000, 24 currencies kept
No recurring charges anywhere mode: "payment", one occurrence kept
Prices include any VAT that applies tax_behavior: "inclusive" kept
Stripe is seller of record in the EU a 27-entry country set kept
We do not store your card details ten columns, none of them a card kept
Upgrade is £20, one-time, tied to the licence same constant, one boolean column kept
Upgrade requires an active base licence the licence is resolved first kept
Licence tied to the purchase email lookup by token, then email must match kept
Perpetual use on devices you own or control nothing counts installs kept
Future updates to this major version are free the download route has no licence check over-kept
We may suspend or terminate for breach one boolean column kept, unrecorded
We will update the "Last updated" date on changes 5 bumps across 8 commits, 2 same-day no-ops kept, one typo at birth
30 days' email notice of material changes nowhere not implemented

Eleven promises that the code can be shown to keep, one that it keeps more generously than the sentence claims, one that holds only because of how the commits happened to land, and one that nothing in the repository could do if I decided to do it tomorrow.

The ones the code keeps, and how cheap it is to prove

Four of those rows are a single grep each, which is the point of writing them down.

"There are no recurring charges anywhere in Notifio" is true because the string mode: "payment" occurs once in the codebase and the word subscription occurs in the source only in prose and in one comment in the Stripe webhook explaining that there are no subscription lifecycles to handle. There is no code path that could create a recurring charge.

"We do not store your card details" is provable by reading the entire database, which is one table of ten columns:

id  email  token  stripe_session_id  active
auto_reply  auto_reply_session_id  auto_reply_purchased_at
created_at  updated_at

That is the whole schema. It is also, incidentally, the proof of the next row down: the word device appears nowhere in the licence code, there is no install counter, and section 6's "devices you own or control" is unlimited by construction. The terms say as much in the following sentence, which is the honest version: anyone holding your email address and activation token can activate a copy in your name.

"Stripe acts as the seller of record" for the EU is a ReadonlySet of 27 country codes and a flag on the Checkout session, which I wrote about when it went in: merchant of record for 27 countries, deliberately off for our own. The price in the terms is £20 and the constant is 2000 pence, and the figure the page shows is the figure Stripe charges in each of the 24 currencies.

Two rows deserve a longer sentence than "kept".

"All future updates to the same major version are included at no extra cost." The implementation is that our updater is the download page, and /api/download/[platform] reads no licence, no token and no email. It maps a platform string to one of three filenames and answers with a 302 to a presigned URL that lives for 60 seconds. Updates are free to licence holders because they are free to everybody. The promise is kept by not having the machinery that could break it.

"We may suspend or terminate your licence." The mechanism is the active column: one UPDATE, and resolveLicense returns null the moment it goes false. That is a clean mechanism with nothing recorded around it. There is no column for who deactivated a licence, when, or why, and no email goes out. The terms say "where it is reasonable to do so, we will contact you first", and contacting you is a person opening a mail client.

The date, checked commit by commit

Section 16 promises two things. The second is the smaller one: "We will update the 'Last updated' date at the top of this page when changes are made."

The date is a constant at the top of the file:

const LAST_UPDATED = "18 October 2026";

Eight commits have touched the terms page in its life. Here is what each of them did to that line:

f2d09e6  21 Jul 2026  page created                      sets "21 July 2025"
6f5646b  27 Jul 2026  auto-reply becomes one-time       21 July 2025 -> 27 July 2026
440214c  27 Jul 2026  beta warning, 46 lines added      unchanged
c0107f8  14 Sep 2026  international pricing, content    27 July -> 14 September
38bc947  14 Sep 2026  remove em dashes from copy        unchanged
e5eb8e5   2 Oct 2026  founder identified                14 September -> 2 October
c721987   3 Oct 2026  publisher established              2 October -> 3 October
03e5b41  18 Oct 2026  local-currency price              3 October -> 18 October

Five bumps, and the two commits that left the line alone both landed on a day when a sibling commit had already set the date to that same day. So the promise holds, and it holds because the work arrives in batches rather than because anything enforces it. One careless afternoon with two unrelated edits a week apart is all it would take.

The one defect in that column is at the top. The page was created on 21 July 2026 carrying the date "21 July 2025", a year out, and it carried it for six days until the next commit silently corrected it. A date in prose has no type, so a typo in it is not a compile error, not a test failure and not something a reader would ever report. It is the argument for a version constant rather than a sentence, which is the subject of the last section of this post.

The clause that refunds a period we do not have

Section 11, on withdrawing features, ends like this:

However, if we withdraw the Auto-Reply add-on entirely, you may cancel and we will refund the unused portion of your current billing period.

There is no billing period. Section 8 says "There is no subscription and no recurring charge. Nothing renews and there is nothing to cancel." Section 9 says "Because both purchases are one-time, there are no part-used billing periods to refund." Section 15 says "There is nothing to cancel." The document contains the phrase "billing period" exactly twice: once to say we do not have them, and once, 65 lines later, to promise a refund calculated from one.

git log -S says both sentences arrived in the same commit, on 27 July 2026, the one that turned auto-reply from a subscription into a one-time purchase. The code from that change is clean and even says so in a comment:

/**
 * Auto-reply used to be a subscription, which needed statuses, period ends and
 * grace windows to answer "is this unlocked?". It is now a one-time purchase,
 * so the answer is a single boolean column on the licence and there is no rule
 * left to centralise beyond reading it.
 */

Statuses, period ends and grace windows came out of the code. One sentence of the terms kept them. A reader with a withdrawn add-on and an unused portion of nothing could reasonably ask what we owe them, and the answer the rest of the document gives is "the price you paid, at our discretion", which is a fine answer and not the one section 11 makes.

The fix is to delete one sentence. I wrote this paragraph before fixing it, because the interesting part is not the sentence, it is that a product can delete a billing model from its code and keep it in its contract, and nothing in either place will ever complain.

The promise with no mechanism

The first half of section 16 is the one that matters:

For changes that materially affect what you have already bought, we will notify you by email at least 30 days in advance.

Here is everything in the repository that could do that:

Database columns that record a notice, a version or a consent     0
Terms version constants                                           0
Scripts in server/scripts                                         3
   generate-og-image.mjs   grant-free-access.mjs   indexnow.mjs
Email templates                                                   3
   activation   alert   free-access

We have every customer's email address, in the email column of that ten-column table. What we do not have is a template, a sender, a record of who was told, or a version number that could tell a reader which terms they agreed to. The date at the top is prose; it is not a key. Compare that with MAX_SEARCHES = 15, a product promise that exists as a constant two processes read, or with the consent we record at checkout, which is an actual field in an actual session.

The 30 days is also stricter than the thing it protects. A material change to a one-time purchase is an unusual event, and the honest minimum version of this is small:

  1. A TERMS_VERSION constant next to LAST_UPDATED, bumped by hand like the date.
  2. A fourth script, in the same shape as the three that exist, that reads the licence table and sends one templated email.
  3. A column, or a row in a tiny table, recording that version and that send.

That is an afternoon, and it converts a sentence into something I could prove I did. Until then, the sentence is a statement of intent written in the voice of an obligation, which is the specific thing a terms of service should not contain.

Takeaways

  • Audit your terms the way you audit your privacy policy. The promises about money, licences and suspension are usually one grep each, and the ones that are not greppable are the ones to worry about.
  • A promise that no column records is a promise you cannot prove you kept. Ask what the evidence would be if somebody disputed it in a year.
  • When you delete a billing model, grep your legal copy for its vocabulary. "Billing period", "renewal", "cancel", "trial" and "pro rata" outlive the code that gave them meaning.
  • Any clause that begins "we will notify you" needs a template, a sender and a record, or it needs rewording.
  • git log -S "<phrase>" on a legal page is the fastest way to find out when a promise was made and what else shipped with it.

The pages are live if you want to read along: the terms, the privacy policy, the pricing page with the £20 and the local-currency version of it, and the download page whose route is the reason the updates clause keeps itself.

📰 Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.