Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
59c5914
deps: add Capacitor 8 for the store apps
0xkkonrad Nov 14, 2026
1a28985
native: add the static-export build target, platform seam and Capacit…
0xkkonrad Nov 14, 2026
d260194
server: answer CORS for the app origins and publish the app associati…
0xkkonrad Nov 14, 2026
cff9226
push: add native APNs and FCM transports next to web push
0xkkonrad Nov 14, 2026
825ed5e
store: add listing texts and cover the apps in the privacy policy
0xkkonrad Nov 14, 2026
a459f95
i18n, analytics: add the app copy, join-gate events and ?slug= redaction
0xkkonrad Nov 14, 2026
03586ea
ci: add the native workflow (export, Android, iOS, web e2e base vs head)
0xkkonrad Nov 14, 2026
9c0cd98
native: make native:build pass its own postbuild and the i18n audit
0xkkonrad Nov 14, 2026
85adefb
docs: regenerate reference docs
0xkkonrad Nov 14, 2026
606e6e4
test: record public/.well-known as an online-only folder
0xkkonrad Nov 14, 2026
059a127
ci: allow datastore's native library in the bundle if it is 16 KB ali…
0xkkonrad Nov 14, 2026
889b721
ci: re-run head e2e failures with one worker before calling them new
0xkkonrad Nov 14, 2026
2a1a348
native: clear the app build out of .next after native:build
0xkkonrad Nov 14, 2026
240076d
build: fail the web build when Capacitor code reaches its chunks
0xkkonrad Nov 14, 2026
d5fa988
native: route every client call through apiUrl and save files through…
0xkkonrad Nov 14, 2026
fa26ddc
native: navigate to rooms through roomPath and guard the boundary in …
0xkkonrad Nov 14, 2026
d44da7a
native: open the right screen on launch, links, resume and Android back
0xkkonrad Nov 14, 2026
c66dde7
native: keep rooms across WebView storage loss and send external link…
0xkkonrad Nov 14, 2026
1be6788
web: offer the App Store app on iPhone and iPad once a store ID is set
0xkkonrad Nov 14, 2026
81bb963
split: add the Privacy link and an app-only AI consent before receipt…
0xkkonrad Nov 14, 2026
710098b
split: guard web-only APIs and show a calm offline error with a way back
0xkkonrad Nov 14, 2026
19f9db6
native: block builds below minBuild with Update and Open in browser
0xkkonrad Nov 14, 2026
e222e38
test: give existing mocks the posthog.register and useSettings the co…
0xkkonrad Nov 14, 2026
03975a3
split: show the rooms-home Privacy link in a paragraph, not a footer
0xkkonrad Nov 14, 2026
4cd3881
test: retry the crew card share tap until the button holds the card
0xkkonrad Nov 14, 2026
eb0e656
split: show the offline room error when React Query pauses the read
0xkkonrad Nov 14, 2026
0d7c695
test: pin the app-only AI consent gate before any receipt upload
0xkkonrad Nov 14, 2026
8674259
split: send each storage-mirror write without waiting for the previou…
0xkkonrad Nov 14, 2026
626aec2
split: replace the iOS WebView share with the native share sheet too
0xkkonrad Nov 14, 2026
dc94734
split: count a pasted room link as app_room_opened in the app
0xkkonrad Nov 14, 2026
9065908
chore: list happy-dom and its dependencies in the license inventory
0xkkonrad Nov 14, 2026
e7a3385
test: give the import-screen queries mock the real roomReadBlocked
0xkkonrad Nov 14, 2026
73eea63
native: make the iOS and Android projects store-ready (task 3B)
0xkkonrad Nov 15, 2026
9c84d39
native: prove the bundled app works cross-origin in CI (task 3C)
0xkkonrad Nov 15, 2026
5edbfa1
native: per-room push in the app through APNs and FCM (task 3A)
0xkkonrad Nov 15, 2026
b5e427f
native: drop a stale NativeEntry note about cold push taps
0xkkonrad Nov 15, 2026
3d86ef6
native: add the iOS photo-library add key so 'Save Image' does not crash
0xkkonrad Nov 15, 2026
ba4e061
native: keep the native push hook out of the web bundle
0xkkonrad Nov 15, 2026
758a0cf
ci: make the iOS simulator smoke prove the app launched
0xkkonrad Nov 15, 2026
3971dea
ci: count only WebView errors in the Android emulator smoke
0xkkonrad Nov 15, 2026
76449fa
ci: add the tag-driven store release lane, dormant until secrets exist
0xkkonrad Nov 15, 2026
9f3c813
docs: describe the store apps and hand over the steps that need a person
0xkkonrad Nov 15, 2026
f9ac1b8
store: add the listing screenshots, feature graphic and Play icon
0xkkonrad Nov 15, 2026
8468205
ci, docs: check the store images in CI and index the native docs
0xkkonrad Nov 15, 2026
173ba75
docs: run the Android link checks only after assetlinks.json is live
0xkkonrad Nov 15, 2026
e9176f4
native: hide the PWA install row in the store app
0xkkonrad Nov 15, 2026
b6f89f0
native: open the rooms list for a push tap with an unknown room
0xkkonrad Nov 15, 2026
d6e33da
native: let Android back leave the app from a room with no history
0xkkonrad Nov 15, 2026
a812696
android: stop sharing the external-storage root through FileProvider
0xkkonrad Nov 15, 2026
e79af4a
native: clear the four CodeQL alerts in the config check and the gate…
0xkkonrad Nov 15, 2026
06cb568
docs: name PR #38, the App Store ID in app-config.json, and the exact…
0xkkonrad Nov 15, 2026
5192a2e
store: reshoot the listing images in a brand frame with landing-page …
0xkkonrad Nov 16, 2026
f10ba3b
store: final listing copy, aligned with the privacy answers and the o…
0xkkonrad Nov 16, 2026
b13bb53
privacy: name Google Gemini through OpenRouter as the receipt reader
0xkkonrad Nov 16, 2026
2574ef1
handoff: record the licence and AI-provider rulings of 15 Nov
0xkkonrad Nov 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
491 changes: 491 additions & 0 deletions .github/workflows/native-release.yml

Large diffs are not rendered by default.

764 changes: 764 additions & 0 deletions .github/workflows/native.yml

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ two is the remaining merge.
- **Do not scaffold deferred ideas.** Future-facing fields, states, routes, or abstractions require an approved ROADMAP item that explicitly authorizes implementation; listing an idea as deferred does not.
- **No identity in analytics either** — no room slug, no member name, no amount. The slug is the room's access control; a name is what someone chose to show their friends. Rooms are grouped by `analyticsKey`, a one-way digest of the room UUID issued by the server — it cannot be turned back into a room, and the slug still never leaves the device. Attach it with `roomProps(slug, …)`, which looks the key up; never put a slug in a property bag.
- Dependencies must be ≥14 days old (`.npmrc` enforces it).
- **API routes stay backward compatible with every shipped app build.** The store apps have no over-the-air updates, so an old binary keeps calling the live API for months. A change an older build cannot handle raises `minBuild` in `apps/web/public/app-config.json` in the same push.
- Run `pnpm typecheck && pnpm test && pnpm format` before pushing. Run `pnpm format` from `apps/web`, never the repo root — the root config can't resolve `prettier-plugin-tailwindcss` and reformats CI yaml as a side effect.

## Local dev
Expand All @@ -60,6 +61,8 @@ pnpm bootstrap # NOT plain `pnpm install` — see below
pnpm dev # API :5051 + web :3000 (or dev:api / dev:web for one)
```

The iOS and Android apps (Capacitor, `apps/web/ios` and `apps/web/android`) bundle a static export of the app: `pnpm --dir apps/web native:build` builds it into `apps/web/.next-native`, and `pnpm --dir apps/web native:sync` builds it and copies it into both native projects. Details: [`docs/current/NATIVE.md`](docs/current/NATIVE.md).

`apps/web` is not a workspace member, which has one sharp edge: running
`pnpm install` inside `apps/web` walks _up_ and installs the workspace instead,
leaving `apps/web/node_modules` missing. It needs `--ignore-workspace`, which is
Expand Down
20 changes: 15 additions & 5 deletions ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@ deliberately not built — with enough context to pick any item up cold.

Owner of record for each open item is in brackets. Last full update: 2026-08-12.

## In progress — native iOS and Android apps [Konrad]

- Konrad's instruction of 2026-11-14 reopened native apps: ship Peanut Split to the App Store and
Google Play, built with Capacitor ("don't overcomplicate; I don't expect many UX differences
between the two"). This item authorizes that work; it moved here from "Deliberately not building".
- Branch `native-apps` holds the apps: one codebase, a static export of the app surface bundled in
each binary, no over-the-air updates. The room link stays the only link, and the apps stay
accountless. No room or identity transfer between browser and app: `docs/NATIVE-MIGRATION.md`'s
transfer code is not built.
- How it works: [`docs/current/NATIVE.md`](docs/current/NATIVE.md). What Hugo and Konrad still do
before submission (accounts, secrets, production env, store consoles):
[`docs/NATIVE-HANDOFF.md`](docs/NATIVE-HANDOFF.md). Store texts and declarations:
`apps/web/store/`.

## Open — SEO issues tracker from the 2026-08-14 audit [Konrad]

- A 14-agent audit (every finding reproduced by an independent verifier) confirmed 49
Expand Down Expand Up @@ -805,11 +819,7 @@ the one-month kill condition can't justify. The bunq/Tricount post-mortem in
flat rooms are the design (see SPEC).
- **Budgets, analytics dashboards, AI chat agent** — a second product inside
Split.
- **Native apps, monetization features** — out of scope for the bet. If native
is ever reopened, the migration cost is already mapped in
`docs/NATIVE-MIGRATION.md` (server schema unaffected; the room list in
`ps:recent` is the only unrecoverable state; a transfer code is a copy, not
a sync, and has no lost-device recovery). That document authorizes nothing.
- **Monetization features** — out of scope for the bet.

## Known debt

Expand Down
Loading
Loading