Skip to content

Latest commit

 

History

History
556 lines (445 loc) · 37.1 KB

licensing.md

File metadata and controls

556 lines (445 loc) · 37.1 KB

Licensing

What is open, what is sold, and what actually buys trust.

Short version

Everything stays readable. The servers stay MIT because they are libraries and adoption is the point. The app's source stays in the repo, but its licence narrows: read it, audit it, build it for yourself — do not redistribute the binary. What is sold is the signed, notarized build and the promise behind it, never secrecy.

Trust is auditability, not the licence

These get collapsed into each other and they are not the same thing. For a tool asking for Full Disk Access, what settles the question is: can I read what it does, can I check who signed it, do I know what happens if the author stops. None of that requires redistribution rights. A permissive OSI licence is what makes an ecosystem adopt the servers; it is not what makes someone hand the app their whole disk.

The instructive case is Bartender. It held sensitive macOS permissions, changed hands quietly in 2024, and users moved to Ice — an open competitor — within days. Closed source was not what killed it; unverifiable ownership was. Cupertino has the same risk profile against a larger grant.

So closing the app would cost exactly the thing being sold, and buy only protection from a rebuild — which a narrower licence buys anyway.

What is licensed how

Part Licence Why
packages/* MIT libraries; ecosystem adoption is the funnel; vendor freely
apps/apple/ source-available readable and buildable for yourself, binary rights reserved
the signed build sold the notarized artifact, the update channel, the maintenance

It used to say here that "build it yourself if you would rather not pay" was an honest position. It is not a true one, and no build ever shipped under it: the gate in ServerHost.swift asks for a key without caring which compiler produced the binary, so a self-built copy refuses exactly as a downloaded one does. The source is open to be read — that is what a Full Disk Access grant is owed — and reading it is not the same promise as running it for free. apps/apple/LICENSE §1(c) claimed the second one for a while and no longer does.

Both halves are now written down. LICENSE at the root is plain MIT, covering packages/*, scripts/ and docs/; apps/apple/LICENSE is the Cupertino Source-Available License, which disclaims its own open-source status in the second paragraph rather than leaving anyone to work it out.

Its shape is the one this section argues for. Section 1 grants use, study, modification, source redistribution — so a public fork or a pull request is fine — and compiling it for any machine you control. It does not grant running it without a key, and Section 2(b) reserves the validation explicitly, so the licence and the binary now say the same thing. Section 2 otherwise reserves exactly one thing: handing a binary to someone else. Auditing is not merely tolerated but named in 1(e): publishing benchmarks, security findings, disassembly and the quotes needed to support them requires no permission and no notice, because a licence that made an audit a favour would defeat the point of being readable at all.

What is actually being sold

Not the tools. They are MIT, and a .mcp.json pointing at npx -y @mgcrea/mcp-apple-mail stays free forever.

What is sold is what distribution.md already argues for: one Full Disk Access grant, held by a notarized binary from an identifiable developer, instead of four grants handed out to whichever editors happened to spawn a server. The alternative a user faces today is granting whole-disk access to Cursor, Claude Desktop, VS Code and Terminal separately — four System Settings trips, four processes that can now read their SSH keys.

Convenience sits on top and is real but secondary: no absolute paths, the host config written for you, the writes toggle, the log pane.

Price $14.99 (€14.99 in the EU), flat for the whole 1.x line
Model one-time, per major version — 1.x is free forever, 2.0 is a new purchase
Collection Stripe, with Stripe Tax on; VAT filed directly through OSS — see below
Validation offline, signed licence key, verified locally, no phone-home
Trial thirty minutes, full function, held in memory — see below

Writes are not the paywall. Gating them behind the licence would make the free tier the safe one and the paid tier the dangerous one — backwards as a sales message and worse as a default. allowWrites is a safety control and stays one.

Offline validation is not a nicety either. A privacy tool that calls a licensing server on launch contradicts its own pitch, and the next section is why that matters more than usual here.

Three claims worth more than the licence

  1. The app makes one network connection, and only if you ask for it. That one is the update check, and it is the single documented exception this section promised in advance — Sparkle landed in 1.1.0, so the claim is reworded here rather than quietly dropped.

    Everything else still holds. There is no URLSession, no name lookup and no TLS anywhere in apps/apple/Cupertino or apps/apple/CupertinoBridge; the licence is still verified offline; nothing phones home. Our own code uses two kinds of socket, and neither reaches past this Mac. socket(AF_UNIX, SOCK_STREAM, 0) in ServerHost.swift is a filesystem entry, mode-restricted to the one user: the app listens on it, and the bridge and the app's own Chat pane connect to it, carrying stdio between clients and the app's servers. Since 1.44.0, HTTPListener.swift also listens on 127.0.0.1, so that MCP clients on this Mac can reach the app over HTTP, each with a token of its own. That address accepts connections from this Mac alone, and the listener never dials out. It reads back the address the kernel bound and refuses to listen unless it is the loopback one, and scripts/audit-network.sh requires that guard and keeps every other file from naming an internet address family at all.

    What the update check does: reads https://cupertino.mgcrea.io/appcast.xml, and sends no identifier with the request — not the licence key, not a machine id. It is off in the shipped bundle, and stays off until somebody either answers the consent card or presses Check Now. Nothing is even constructed until then: UpdateController holds a nil updater, because Sparkle starts a scheduler the moment it exists, and a claim resting on a flag is weaker than one resting on the absence of the machinery.

    Why admit a network capability at all, in the one app whose pitch is not having one: the app holds Full Disk Access, and 1.0.0 shipped with no way to reach the people running it. A security fix nobody receives is not a fix, and the revocation list in Revocations.swift is baked in at build time, so a refund only actually revokes when that user updates. The exception buys both.

    Because it is load-bearing for the sale it is checked rather than asserted, and the check now covers the exception too: scripts/audit-network.sh asserts that the shipped Info.plist has automatic checks off, the feed pointed at our domain and a well-formed public key. The next section is how.

  2. Reproducible builds and published checksums. Open source closes the gap between what the source says and what the binary does only if the two are known to correspond. Publish the hash of the signed build and the command that reproduces it; otherwise the audit stops at the tarball.

  3. A written succession policy. The bundle identifier is the most expensive string in the project, and distribution.md records why: changing it is a new TCC identity, so every user re-grants. The flip side is the dangerous one — keeping it lets a new owner inherit every existing user's Full Disk Access silently, on an ordinary update, with no prompt. That is precisely the Bartender mechanism. Stating in advance what happens to io.mgcrea.cupertino if this is sold, abandoned or handed on costs nothing, and no competitor bothers.

    Now written, in succession.md, and incorporated into the EULA by reference so it is owed to licensees rather than merely published. The load-bearing commitment is that a change of ownership ships under a new bundle identifier — every user re-grants, consciously, having been told who the acquirer is. That is deliberately expensive to acquire through, which is the whole point. The second is a twelve-month dead-man's switch: no release and no substantive commit for a year and apps/apple/ relicenses to MIT, because a redistribution reservation protecting an unmaintained project protects nothing and only blocks a fork. That one is a commitment made in succession.md and owed through the EULA; the apps/apple/LICENSE text does not yet carry the clause itself, which is a gap worth closing in the licence rather than only in the promise.

Enforcing the first claim

A sentence in a README is not a guarantee. There are two tiers here, and only the second one closes the hole.

Checked, today

scripts/audit-network.sh runs against the built bundle rather than the sources, so a stranger can point it at the .app they downloaded and get the same answer CI got:

$ scripts/audit-network.sh /Applications/Cupertino.app
  ok    Contents/Frameworks/…/Autoupdate    no URL loading, no DNS, no TLS
  UPD   Contents/Frameworks/…/Sparkle       reaches the network — the update check, off by default
  ok    Contents/Helpers/cupertino-bridge   no URL loading, no DNS, no TLS
  ok    Contents/MacOS/Cupertino            no URL loading, no DNS, no TLS
  note  Contents/Resources/node             links networking by design — constrained at runtime

  ok    SUEnableAutomaticChecks             false
  ok    SUFeedURL                           https://cupertino.mgcrea.io/appcast.xml
  ok    sockets                             AF_UNIX only, bar the loopback listener
  ok    loopback listener                   binds 127.0.0.1 only, never dials

The binary list is discovered, not declared. That matters more since Sparkle: a framework, an XPC service or a helper that nobody remembered to add to a hardcoded list is exactly what this exists to catch, and the previous version of the script named two binaries by hand.

It matters in a second way that is worth stating plainly, because it is the trap this whole design is built around. A Sparkle-linked app passes a naive symbol audit. The main binary calls SPUStandardUpdaterController; URLSession is named inside Sparkle.framework, which a script pointed at Contents/MacOS/Cupertino never opens. Run unchanged, the old audit would have printed ok Cupertino no URL loading, no DNS, no TLS about an app shipping a full HTTP downloader. So the allowance is spelled out symbol by symbol rather than as a pardon for a path, and three things fail: any other binary with a network symbol, a Sparkle carrying a symbol the allowance does not name, and a bundle that has lost Sparkle while the allowance is still in the script — because a pardon that outlives what it pardons is a hole waiting for whatever lands at that path next.

It denies the high-level symbols — URLSession, CFNetwork, Network.framework, getaddrinfo, the TLS entry points — and deliberately does not deny socket / bind / connect, because the AF_UNIX bridge shares those syscalls with the thing being ruled out and so they cannot be the test. The assertion that carries the claim is at source level instead: AF_INET, PF_INET and sockaddr_in appear nowhere in apps/apple/ but HTTPListener.swift. A socket that never names an internet address family is not one. That one file, since 1.44.0, is held to a single AF_INET socket, a single bind of the loopback address, no other way to set an address, no IPv6, nothing that dials or sends, and the runtime check that refuses to listen anywhere but 127.0.0.1: a grep cannot prove which address reaches bind, so the check in the code is the proof and the audit proves the check is there. Build output and vendored dependencies are pruned from that grep, because reading someone else's code as though we had written it is not evidence about ours — Sparkle's own test harness contains a sockaddr_in web server that never ships.

Two properties make it a gate rather than a decoration. It fails when it inspected nothing — a build that did not happen is not a pass — and it runs on every macOS CI job, against an unsigned build, since signing adds no symbols. make audit is the local form.

Two components are exempt, and the exemptions are different in kind. Sparkle is allowed a named list of symbols and fails on anything beyond it. Resources/node is only ever reported, never failed: a general-purpose runtime cannot be symbol-audited into safety, and Node's permission model (--permission, --allow-fs-read) covers the filesystem, child processes, workers and addons but has no network permission to switch off.

Enforced, pending a spike

Which leaves Node as the hole, and one mechanism closes it: a deny-only sandbox profile applied through sandbox_init before any server is spawned. Sandbox policy is inherited across fork/exec, so a profile applied once at app launch covers every child — a compromised dependency inside a server cannot open a socket whatever it imports.

(version 1)
(allow default)
(deny network*)
(allow network-outbound (literal "…/cupertino.sock"))
(allow network-bind     (literal "…/cupertino.sock"))

(allow default) is what makes this compatible with everything distribution.md rules out for the App Store. It is not the App Sandbox entitlement: no container, no ~/Library/Mail denial, osascript still execs. It is a deny-only overlay of the kind browsers use for renderer processes, and last-match-wins in SBPL is what lets the socket be carved back out.

Three things to settle before it ships:

  • A unix socket connection is network-outbound in SBPL, addressed by path. A blanket (deny network*) breaks the bridge at ServerHost.swift, hence the explicit re-allow — which has to be built from the runtime socket path rather than hardcoded, since BridgeProtocol.socketPath is derived per user.
  • sandbox_init is deprecated SPI. Same risk class as responsibility_spawnattrs_setdisclaim, already accepted in packages/mail/native/launcher.c, and with no App Review in the path there is no rejection risk. It should degrade-don't-die exactly the way that dlsym does.
  • Whether a custom profile disturbs TCC — Full Disk Access, the disclaimed re-exec, Apple Events — is an empirical question rather than a design one. It is a spike in the shape of scripts/spike-app-tcc.

What none of it covers

Apple Events. send_message and check_for_new_mail make Mail.app do network I/O on the user's behalf, and no sandbox on Cupertino touches that. So the defensible claim is that Cupertino opens no connection of its own beyond the update check, and listens only where this Mac alone can reach it — never that nothing leaves the machine. Say it first; a hostile reader finds it in ten seconds either way.

And never cite the absence of com.apple.security.network.client as evidence. That entitlement means something only inside the App Sandbox, so its absence here proves nothing at all. It is cited wrongly often enough to be worth naming.

Collection, and where the record lives

This table used to say "merchant of record — Paddle, Lemon Squeezy or Polar". It says Stripe now, and the reasoning is recorded here so the swap is not read as an oversight and quietly reverted.

An MoR is bought for one thing: it becomes the legal seller and files the EU VAT. That is worth real money in saved attention, and it is declined here for one reason — Paddle, Lemon Squeezy and Polar all want to be the licence authority too, and their licence authority is an online activation endpoint. Bending one of them into issuing an offline key that nothing ever calls back is fighting the product to get less of it, at a higher fee. Stripe has no opinion about licensing, which is the correct amount of opinion.

The cost is honest and recurring: selling from France to EU consumers means registering for VAT OSS, filing quarterly at destination rates from the first sale, and keeping two pieces of location evidence per transaction. Stripe Tax computes and collects; the filing is ours. If that attention ever costs more than the fee difference, Polar is the escape hatch — the migration is a new checkout URL and a webhook, because nothing in the app knows where a key came from.

The app can never be the enforcement point

Worth stating once, because every licensing vendor's happy path violates it. audit-network.sh fails the build on URLSession, _nw_*, _CFHTTP, _getaddrinfo and the TLS entry points, and the front page sells the claim it protects. An activation call would break a green CI job and a shipped promise. CryptoKit and the Keychain trip none of those symbols, so offline verification is free of CI risk and online verification is not merely undesirable but unavailable.

The second constraint is that the source is public. §1(c) no longer grants a keyless run, but it does grant compiling, and the gate is a dozen lines in a file anyone can open — so removing it is a matter of minutes for exactly the audience this sells to. So no effort goes into anti-tamper — no obfuscation, no integrity self-checks, no hardened trial storage. All of it is unenforceable by construction against people who can read the check, §2(b) makes deleting it a breach rather than a puzzle worth setting, and every hour spent on it is an hour not spent on the people who paid. The deterrent is legal and social — the key carries the buyer's email and the app renders it — never technical, and pretending otherwise would only cost the audit its readability.

The trial, and the question a refund cannot answer

This section used to say no trial, because three already exist — build it, run the servers alone, or buy it and refund. That is reversed, and the reasoning is recorded here rather than quietly replaced, because the old argument was a good one and deserves to be overturned in public.

Three things were wrong with it.

"Build it" was never true. The gate in ServerHost.swift does not care how the binary was produced, so a copy compiled from this repository refuses to start servers exactly as a downloaded one does. apps/apple/LICENSE §1(c) granted the opposite in writing for a while. That is now resolved the other way — the grant no longer promises a keyless run, the EULA preamble matches, and the pricing page says it in the same breath as the licence link: yours or ours, a build asks for a key. Auditing never needed the freedom that sentence was giving away.

A refund answers "is it worth it", not "does it work". Those are different questions and only the first survives being asked after payment. This product drives Mail, Notes, Reminders and Calendar through osascript and read-only SQLite, against store paths that move between macOS releases — Surfaces.swift says so about Mail's V* directory — with TCC grants that can be silently wrong. The probability that it simply does not work on a given Mac is real and not small. Asking somebody to pay to find that out is asking them to place a bet; the refund removes the loss but not the wager, and the feeling of being asked to gamble is what loses the sale.

The mistake would have been undiscoverable. This is the one that settles it. The app measures nothing and phones nowhere, by design and by promise, so somebody who meets "server failed to start" and closes the window leaves no trace anywhere — no funnel, no drop-off, no denominator under the Stripe number. There is no version of "ship without it and watch what happens", because nothing watches. Under that kind of ignorance the right choice is the one that fails cheaply, and a trial nobody needed costs some free half-hours to people who were never going to pay.

Worth naming separately: the failure moment is an error, not a pitch. Nobody arrives at it from a pricing page. They arrive because their assistant broke mid-task, and "broken" converts worse than "costs money" however generous the refund is.

What shipped

Thirty minutes, started by a person from the licence pane or the popover, at full function — every surface, writes obeying their own switches. Trial.swift holds the deadline in memory and Entitlement joins it to the key check, so the four places that ask — the gate, the banner, the status line, the pane — get one answer rather than three reconstructions of it.

It is a verification window, not a usage allowance, and saying so is what makes the rest of the design defensible. The deadline dies with the process, so relaunching starts another one. That is not an oversight: of the four things the old section refused to build — a clock, an expiry state on disk, a degraded mode, a "one trial per machine" fiction — only the clock exists, and it is gone at quit. Somebody relaunching every half hour to read their own mail has chosen a worse experience than paying $14.99, and the code to stop them is the anti-tamper work this project has already ruled out as unenforceable by construction.

Expiry reaps the servers it started, and this is the part the first cut got wrong. Refusing new connections looks sufficient and is not: an MCP host opens one stdio connection when the editor launches and holds it until the editor quits, so a gate that only turned away newcomers would hand out a thirty-minute window that actually expired the next time somebody closed Cursor — or never. ServerHost therefore records the pids it admits on a trial and SIGTERMs them at the deadline, the child exits through the same path as any other disconnect, and the assistant reports a dropped connection. The instinct it overrules — that a tool holding Full Disk Access should not go dark mid-sentence — is right about a licence and wrong about a trial: the deadline was named on the button that started it, and a window that cannot close is not a window.

A key entered while the window is open stops nothing. The half hour bought the answer it was for.

The refund is not replaced. It keeps the question it was always good at, and the two stop competing to be the same feature: the trial answers does this work on my Mac, the refund answers was it worth the money. EULA §3 puts it to the buyer in those terms.

Two paywalls considered and rejected

Recorded so they are not re-opened by whoever next notices that the free tier proves nothing.

Writes behind the licence. Rejected twice over. It inverts safety and monetization — the free tier becomes the safe one and the paid tier the dangerous one — and worse, it gives away the actual product: what is sold is the brokered Full Disk Access grant, and a read through the bridge has already spent it. Free reads means free product for most of what an assistant does, with only the dangerous half priced.

A cap on reads. Rejected because of how it fails rather than because it is stingy. A truncated list_messages returns a plausible, complete-looking page, and the assistant then says "you have no mail from them" with total confidence. That is b422f2b — stop lying about writes that silently failed — reintroduced on the read side, where it is harder to notice. A cap honest enough to be safe has to be loud, and a loud cap mid-conversation demos worse than a clean refusal.

Price

$14.99 / €14.99, once, for every surface in the 1.x line. One purchase covers every 1.x release; 2.0 is a separate purchase. Nothing lapses and nothing renews.

The price does not move with the surface count, and the table above no longer says it does. It said "rising with the surface count" while the section below already described the ladder as retired, which is a promise and its retraction in one document. Surfaces have kept arriving since — Screen, Sound and Desktop are the ninth, tenth and eleventh, Simulator the twelfth — and every one of them landed inside a price that did not move. That is the shape now: 1.x gets whatever ships, at the price it was bought at. A rise, if there is one, is 2.0, and 2.0 is a separate purchase anyway — which is the only honest way left to charge for growth once the ladder is gone.

There is no price ladder any more. There was one, it is retired, and the record of it is below — deleting it would leave the site looking like it had never promised anything.

The price is quoted in dollars because most of the audience is there, but both currencies are set explicitly on the Stripe price via currency_options — the euro figure is not a conversion of the dollar one. Two reasons. Stripe's Adaptive Pricing only converts out of a settlement currency, and this account settles in euro alone, so a dollar-only price would put an FX conversion on the seller for every sale, including euro ones; naming both keeps that cost in the presented rate, where the buyer's bank would have charged it anyway. And EU consumer law expects a VAT-inclusive total, which a figure converted at checkout cannot promise in advance.

The consequence is that the two numbers are not equal and are not meant to be: $14.99 is quoted tax-exclusive and €14.99 VAT-inclusive, as each side is normally quoted. A US sale therefore nets more than a EU one at the same face value — roughly €13.6 against €12.49 — because the EU figure has 20% French VAT taken out of it. Worth remembering before reading regional variance as a pricing bug.

The ladder, and why it was retired

It was three rungs — $14.99 at launch, $24.99 when Messages shipped, $34.99 when Safari did — each tied to a shipped surface rather than to a date. The argument for that shape was good and is worth keeping even though the table is gone. Tying a rise to the calendar says latecomers pay more for the same thing, which earns resentment and teaches people to wait for a sale. Tying it to surfaces says the price went up because the product got bigger, which is true and is the roadmap in surfaces.md restated as a reason to buy now. Published in advance it was a price ladder, a roadmap and genuine urgency in one table.

Every rung then came due, and every one was held:

Surface Rung it should have moved What happened
Calendar landed before launch folded into the opening rung
Contacts landed after launch folded into the opening rung
Messages $24.99 held; the rung was re-tied to Safari
Safari $34.99 held; shipped alongside Messages in 1.2.0

Four surfaces, no rise, and a table rewritten three times to keep saying so. At that point the ladder was documenting its own inaccuracy.

Two reasons it is retired rather than rewritten a fourth time. Every surface the probes mapped now ships, so there is nothing honest left to tie a rung to — and the alternative was already refused here in the same breath as the original table: promising a price for a surface nobody has built yet is the kind of schedule that gets quietly dropped. And a rise is earned by demand as much as by scope. Messages is the largest surface in the set and the only one that needed a decoder; Safari added a whole second lane. Neither was small. But charging more before the audience arrives prices out the earliest buyers, who are the ones taking the risk on an unproven tool, and only one of scope and demand had actually shown up.

So nothing about a future price is published now, in either direction. There is no announced rise and no promise never to raise it — a promise costs nothing to make today and binds a version of this project that does not exist yet. What is published is the price, and what a purchase fixes: every 1.x release, on every Mac you own, regardless of what the page says later.

If a ladder ever comes back, it comes back the same way it went: announced before it happens, and never applied to a licence already sold. PRICING.ladder is gone from apps/website/src/config.ts along with the table that rendered it, so reinstating one means writing it again from this record — which is the right amount of friction for a decision that has been reversed three times.

Two rules came with it and outlive it, because they are about conduct rather than about a table. Every rise is announced before it happens — a quiet increase reads as testing on people. And a rise is never applied backwards: a licence is fixed at what was paid for it, for the whole of that major version.

The sour spot is the interaction with per-major pricing, and retiring the ladder does not remove it. Someone who buys 1.x at $14.99 meets 2.0 at whatever 2.0 costs, and EULA §2 deliberately promises them nothing. That is honest and it will still sting at 3.3×, so the D1 row records amount_paid and price_id from the very first sale — fair upgrade pricing later is impossible without knowing what people actually paid, and that number cannot be reconstructed after the fact.

The seller side is its own project

apps/api — a Cloudflare Worker on api.cupertino.mgcrea.io — rather than a route bolted onto the marketing site. Three reasons, and they all point the same way:

  • The site is static assets whose public/_redirects serves /download, the permanent URL both the Homebrew cask and config.ts depend on. Putting a script in front of that risks shadowing it, and the failure would be silent and total.
  • apps/website/tsconfig.json is include: ["**/*"] over a Node-shaped base config. Worker code needs @cloudflare/workers-types and a bundler resolution; co-locating means fighting that or carving out exceptions forever.
  • The signing key has no business living on the Worker that serves public HTML.

The cost is a second deploy target and a second hostname, which is why /thanks renders from the API rather than the site. That is the right trade: a marketing copy edit can no longer take fulfilment down, and fulfilment can no longer take the marketing site down.

The same format is implemented three times — scripts/lib/license.mjs on Node, apps/api/src/license.ts against WebCrypto, and apps/apple/Cupertino/License.swift in CryptoKit — because none of the three can import the others. What keeps them honest is that the signature covers the encoded payload rather than the parsed object, so only bytes have to agree, and a test asserts the Worker and Node produce byte-identical keys from identical input.

Three stores, one job each

Question Lives in Why there
who paid, how much, what tax Stripe already the system of record for money; do not rebuild
which key went to whom, and is it revoked Cloudflare D1 needed to re-send a key, and to address 1.x buyers at 2.0
is this Mac licensed this Mac's UserDefaults offline by construction; never leaves the machine

UserDefaults rather than the Keychain, which is what this table said first. The key is not a secret — it is issued to the user, rendered in the menu bar, emailed in plain text and re-sendable on demand — so encrypting it at rest would be ceremony for nothing gained. SurfaceSettings.allowWrites already reads UserDefaults synchronously from the connection thread, which is exactly what the gate needs and all it needs.

This used to add "and it would make licensing the app's first SecItem code". That clause is gone: KeyStore.swift is that code now, holding the audit-export signing key in the Keychain. The distinction it draws is the one that matters here — a licence key can be re-issued and retyped, a private signing key cannot — so the decision above stands on its own reasoning rather than on being first.

"Who has not paid" is not stored anywhere. There is no such list. It is the absence of a valid key on a disk we cannot see, and any design that needs the list has smuggled a phone-home back in.

D1 rather than deriving the key deterministically from the payment: derivation looks elegant until the payload format changes once, and then no old key can be reproduced and every re-send is wrong. It also has to be possible to ask which addresses hold a 1.x key on the day 2.0 ships, or the per-major model has no upgrade path. One table, licenses, and it is the only state this project keeps about anyone. The two beside it are bookkeeping for the webhook and name no person: early_revocations holds the payment intents of refunds that arrived before their licence, and stripe_events the ids of the Stripe events already handled, so a redelivery does not mail a key twice.

Revocation lands at build time rather than run time: a refund sets revoked_at, make revocations rewrites apps/apple/Cupertino/Revocations.swift, and the diff is committed like any other source change. Generated-and-committed rather than fetched by CI, because reading D1 from the release job would put a network dependency in the path of shipping — an outage at Cloudflare becoming an outage in releases — and buy nothing, since a revocation cannot take effect before the next build either way. A refunded key therefore stops working at the next update, not instantly. That asymmetry is the price of the no-network claim, it is small, and the EULA says so in §4(a) rather than leaving it to be discovered.

Handling a refund request, as done on 2026-10-25 for the first one:

  1. Find the payment. List the live account's Checkout Sessions filtered by customer_details[email], expanding line_items and payment_intent. Check that the line item is Cupertino's price: Bastion sells from the same Stripe account, and on 2026-09-11 a Bastion sale was fulfilled with a Cupertino key (ba64e04), so the buyer's email alone does not say which product they paid for.
  2. Refund the session's PaymentIntent in full, with reason: requested_by_customer and the licence id in the refund's metadata. Through the Stripe MCP, a refund is a write that first answers with an approval link for the dashboard; the call goes through only when it is retried with the approval token.
  3. The webhook revokes within seconds. Check the licenses row in the cupertino-licenses D1 database (its id is in apps/api/wrangler.jsonc): revoked_reason should read refunded.
  4. Run make revocations and commit the Revocations.swift diff. The key stops working at the next release, and not before.

Positioning

Every MCP connector shipping today is cloud OAuth — Gmail, Drive, Notion. This one is the opposite, and that is the sentence:

Your Mac's data, available to Claude, without sending it to anyone. No OAuth, no third party, nothing leaves the machine.

That reframes the product from "an Apple Mail plugin", which is narrow, to "the local half of MCP", which is not. Reminders and Notes already carry more users than Mail does, and the probes in scripts/ for Messages, Calendar and Safari are the roadmap that keeps making the claim truer.

Selling it also raises the stakes on the Apple association. Naming the apps it drives is nominative use and fine; the unaffiliated disclaimer stays prominent and the icon stays well clear of anything Apple-shaped.

Not decided

  • Whether the menu bar should nag beyond the one status line. It currently states the fact and stops, which may be too quiet for something that is refusing to work.
  • Whether upgrade pricing exists at 2.0. Not promised, and deliberately left open — but the data needed to offer it is being recorded from the first sale.
  • Whether the servers ever need a second licence. They do not today.

Decided, and recorded above so they are not re-opened: one-time per major version, Stripe rather than a merchant of record, offline validation as a constraint rather than a preference, a thirty-minute in-memory trial that verifies rather than evaluates — with writes and reads both left ungated, a flat $14.99 with the surface-tied ladder retired, and the succession commitments in succession.md.

And the honest expectation, recorded so it is not mistaken for a forecast: macOS only, developer audience, MIT core. This is a modest revenue line and a strong reputation asset, not a business. The lever on that is surfaces rather than price — Messages and Calendar are what turn a Mail thing into the local connector layer.