Maintainer Notes
Notes lane for rough ideas, investigation breadcrumbs, and hand-written reminders.
Current Follow-Ups
Section titled “Current Follow-Ups”- Capture doc gaps discovered while touching this package.
- Anonymous donations (
requireAuth: false) are configurable but the donate route currently requires a signed-in user; revisit if a consuming app needs true anonymous flow. - A second
BillingProviderimplementation will force the configproviderfield into a discriminated union — the seam is ready, the schema change is the work.
Breadcrumbs
Section titled “Breadcrumbs”- The Stripe webhook must stay a plain
app.postwith norequest.bodyschema so the raw bytes reachconstructEventunparsed;publicPaths/csrfExemptPathsare declared on the package and auto-merged by the framework. - Bun resolves the Stripe SDK’s worker build; sync
constructEventneeds the explicitstripeSyncCryptoProvider(see the human guide’s Gotchas). README.mdis build output copied fromdocs/human/index.mdbyscripts/build.ts— never edit it directly.- Phase history (1–5: scaffold, entities+Stripe+sync, routes, webhook, capability/events) lives in
slingshot-specs/specs/feature.billing.md.
Private Notes
Section titled “Private Notes”Create private.md in this folder for untracked personal notes. The repo .gitignore excludes it and the docs sync skips it.