create-disposabl-app 0.17.6 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/dist/disposabl.js +42 -9
- package/dist/index.js +64 -18
- package/dist/templates/default/apps/mobile/README.md +40 -0
- package/dist/templates/default/apps/mobile/app.config.js +46 -2
- package/dist/templates/default/apps/mobile/package.json +7 -1
- package/dist/templates/default/apps/mobile/plugins/with-android-signing.js +23 -1
- package/dist/templates/default/apps/mobile/scripts/fresh-android.mjs +24 -0
- package/dist/templates/default/apps/mobile/scripts/play-aab.mjs +176 -0
- package/dist/templates/default/apps/mobile/scripts/verify-play-aab.mjs +77 -0
- package/dist/templates/default/bun.lock +12 -3
- package/dist/templates/default/bunfig.toml +1 -0
- package/dist/templates/default/package.json +6 -2
- package/dist/templates/default/packages/backend/convex/files/guard.ts +2 -0
- package/dist/templates/default/packages/backend/convex/http.ts +11 -1
- package/dist/templates/default/packages/backend/convex/schema.ts +10 -0
- package/dist/templates/default/packages/backend/convex/telemetry.ts +12 -16
- package/dist/templates/default/packages/cli/telemetry.ts +40 -3
- package/dist/templates/default/packages/disposabl-kit/PAYMENTS.md +2 -0
- package/dist/templates/default/packages/disposabl-kit/client/components/account-deletion.tsx +111 -0
- package/dist/templates/default/packages/disposabl-kit/client/components/consent-identity.tsx +50 -0
- package/dist/templates/default/packages/disposabl-kit/client/components/legal-page.tsx +12 -1
- package/dist/templates/default/packages/disposabl-kit/client/lib/telemetry-lease.ts +200 -0
- package/dist/templates/default/packages/disposabl-kit/client/lib/telemetry.ts +8 -1
- package/dist/templates/default/packages/disposabl-kit/client/routes/consent.tsx +23 -1
- package/dist/templates/default/packages/disposabl-kit/client/routes/legal/delete-account.tsx +6 -1
- package/dist/templates/default/packages/disposabl-kit/client/routes/legal/support.tsx +33 -0
- package/dist/templates/default/packages/disposabl-kit/client/routes/pricing.tsx +13 -0
- package/dist/templates/default/packages/disposabl-kit/client/routes/route.tsx +19 -2
- package/dist/templates/default/packages/disposabl-kit/client/vite.config.ts +1 -0
- package/dist/templates/default/packages/disposabl-kit/legal/README.md +1 -1
- package/dist/templates/default/packages/disposabl-kit/legal/config.ts +32 -4
- package/dist/templates/default/packages/disposabl-kit/legal/index.ts +2 -2
- package/dist/templates/default/packages/disposabl-kit/legal/publisher.ts +6 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/billing/account-billing.tsx +13 -9
- package/dist/templates/default/packages/disposabl-kit/mobile/billing/paywall.ts +28 -4
- package/dist/templates/default/packages/disposabl-kit/mobile/billing/policy.ts +31 -14
- package/dist/templates/default/packages/disposabl-kit/mobile/billing/web-checkout.ts +45 -34
- package/dist/templates/default/packages/disposabl-kit/mobile/components/settings-links.tsx +14 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/expo-plugin.cjs +3 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/index.ts +4 -0
- package/dist/templates/default/packages/disposabl-kit/mobile/layout.tsx +55 -8
- package/dist/templates/default/packages/disposabl-kit/server/billing-functions.ts +147 -124
- package/dist/templates/default/packages/disposabl-kit/server/billing-handoff.ts +113 -95
- package/dist/templates/default/packages/disposabl-kit/server/files-functions.ts +70 -54
- package/dist/templates/default/packages/disposabl-kit/server/http.ts +49 -21
- package/dist/templates/default/packages/disposabl-kit/server/lib/platform-spec.ts +25 -1
- package/dist/templates/default/packages/disposabl-kit/server/lib/telemetry.ts +375 -69
- package/dist/templates/default/packages/sdk/README.md +2 -0
- package/dist/templates/default/packages/sdk/src/analytics.ts +7 -2
- package/dist/templates/default/packages/skill/SKILL.md +4 -2
- package/dist/templates/default/packages/skill/references/store-submissions.md +25 -0
- package/dist/templates/default/packages/tests/README.md +28 -1
- package/dist/templates/default/packages/tests/account-deletion-ui.test.ts +21 -0
- package/dist/templates/default/packages/tests/auth-email-setup.test.ts +45 -0
- package/dist/templates/default/packages/tests/components/account-deletion.test.mjs +82 -0
- package/dist/templates/default/packages/tests/components/consent-identity.test.mjs +175 -0
- package/dist/templates/default/packages/tests/components/mobile-deletion-link.test.mjs +40 -0
- package/dist/templates/default/packages/tests/components/mobile-theme.test.mjs +56 -3
- package/dist/templates/default/packages/tests/components/pricing-identity.test.mjs +113 -0
- package/dist/templates/default/packages/tests/components/support-page.test.mjs +36 -0
- package/dist/templates/default/packages/tests/consent-identity.test.ts +13 -0
- package/dist/templates/default/packages/tests/desktop-macos-release.test.ts +153 -145
- package/dist/templates/default/packages/tests/flows/legal.e2e.ts +40 -3
- package/dist/templates/default/packages/tests/helpers/auth-email-setup/probe.test.mjs +44 -0
- package/dist/templates/default/packages/tests/helpers/mobile-simulator/preflight.py +80 -0
- package/dist/templates/default/packages/tests/helpers/mobile-simulator/test_preflight.py +57 -0
- package/dist/templates/default/packages/tests/mobile-android-e2e-network.test.ts +81 -1
- package/dist/templates/default/packages/tests/mobile-android-signing.test.ts +52 -0
- package/dist/templates/default/packages/tests/mobile-deletion-link.test.ts +21 -0
- package/dist/templates/default/packages/tests/mobile-ios-reachability-pin.test.ts +84 -0
- package/dist/templates/default/packages/tests/mobile-simulator-preflight.test.ts +16 -0
- package/dist/templates/default/packages/tests/native-billing.test.ts +288 -0
- package/dist/templates/default/packages/tests/pricing-identity.test.ts +13 -0
- package/dist/templates/default/packages/tests/sdk-analytics.test.ts +28 -2
- package/dist/templates/default/packages/tests/support-page.test.ts +13 -0
- package/dist/templates/default/packages/tests/telemetry.test.ts +389 -18
- package/dist/templates/default/packages/tests/ui-telemetry-lease.test.ts +346 -0
- package/dist/templates/default/patches/convex-mcp-account-erasure-alpha7.patch +466 -0
- package/dist/templates/default/vendor/README.md +61 -1
- package/dist/templates/default/vendor/convex-auth-040d8e36-disposabl.1.patch +890 -0
- package/dist/templates/default/vendor/convex-auth-040d8e36-disposabl.1.tgz +0 -0
- package/dist/templates/default/vendor/convex-auth-040d8e36-disposabl.2.patch +1060 -0
- package/dist/templates/default/vendor/convex-auth-040d8e36-disposabl.2.tgz +0 -0
- package/dist/templates/default/vendor/convex-auth-437831bd-disposabl.4.tgz +0 -0
- package/dist/templates/default/vendor/convex-auth-437831bd-disposabl.5.tgz +0 -0
- package/dist/templates/default/vendor/convex-auth-437831bd-disposabl.6.tgz +0 -0
- package/dist/templates/default/vendor/convex-auth-437831bd-disposabl.7.tgz +0 -0
- package/dist/templates/default/vendor/convex-auth-437831bd-disposabl.8.tgz +0 -0
- package/dist/templates/default/vendor/convex-auth-core-erasure-disposabl.6.patch +115 -0
- package/dist/templates/default/vendor/convex-auth-identity-cutoff-disposabl.7.patch +442 -0
- package/dist/templates/default/vendor/convex-auth-identity-erasure-disposabl.8.md +11 -0
- package/dist/templates/default/vendor/convex-auth-identity-erasure-disposabl.8.patch +78 -0
- package/dist/templates/default/vendor/convex-auth-marker-disposabl.4.patch +169 -0
- package/dist/templates/default/vendor/convex-auth-marker-password-disposabl.5.patch +126 -0
- package/package.json +1 -1
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Convex Auth snapshot
|
|
2
2
|
|
|
3
|
+
The product selects `convex-auth-040d8e36-disposabl.2.tgz`, built from upstream reboot commit [`040d8e36e5f1d7395b5ed89752e26f546e04dc1a`](https://github.com/convex/convex-auth/tree/040d8e36e5f1d7395b5ed89752e26f546e04dc1a). Its archive SHA-256 is `e4cb80861b88a1a8f8514df7e84628d8397f05592bf5e755f9afa1737cbcf6c8`; the upstream-relative source patch `convex-auth-040d8e36-disposabl.2.patch` has SHA-256 `1c233f39a39a92cf7cebdcf9aa02652d67ddcbee2b1956f3676b75ab0fbd70d2`. The archive includes the Apache 2.0 license, source, compiled JavaScript and both declaration sets. Public and internal TypeScript build passes succeeded against cached dependencies; all 30 modified package source files and their runtime and declaration counterparts were checked in the archive. The local qualification evidence below applies to this selected archive; production deployment remains separate.
|
|
4
|
+
|
|
5
|
+
The earlier `.1` candidate is retained unchanged. This `.2` patch additionally requires server-minted OAuth start markers, rejects malformed markers, and includes two upstream regression test overlays.
|
|
6
|
+
|
|
7
|
+
Upstream's new OAuth callback-prefix validation and email landing-URL validation are retained. The existing Google relay and optional credentials, browser session exchange and serialization, and bounded auth erasure fences remain local extensions because upstream does not provide equivalent operations. For a rebuild, start from that exact upstream commit and apply the `.2` patch with `patch -p1` from `packages/core`. Use the upstream public/internal build workflow and set package version `2.0.0-beta.0-reboot.040d8e36-disposabl.2` before packing. Compare the resulting source, runtime and declaration contents with the selected archive; do not use the historical `.3` source-copy recipe below. Upstream validates email landing URLs at setup, even if delivery is disabled. Product and generated-profile checks passed with the built-in site URL and a valid explicit override; a malformed explicit override is rejected. Missing sender configuration does not prevent setup, but accessing the sender fails. No fallback origin or old-user migration is required.
|
|
8
|
+
|
|
9
|
+
## Current local qualification
|
|
10
|
+
|
|
11
|
+
At product revisions `5319558` and fixture-only follow-on `5d4a279`, the selected archive matched all 1,333 installed files. Offline frozen installation and backend, kit, web, mobile and test typechecks passed. Six marker cases passed from source and six from compiled runtime; 23 upstream OAuth cases passed. The earlier 99 non-OAuth source cases passed, followed by all 51 cases in the four previously omitted email suites using native Vitest 4.1.6 against final `.2` source.
|
|
12
|
+
|
|
13
|
+
Fresh isolated Convex runs passed product identity fencing and bounded erasure, independent SDK OAuth-grant revocation, API authentication, and email/password signup, verification, change and recovery. The email flow also denied login and recovery for the fenced identity while preserving the other account. Senders and provider adapters were inert; no real email or provider login was performed. The corrected ownership guard passed before product fixture mutations. Generated auth-off and auth/payments web profiles passed installation, typechecks and retained email setup tests.
|
|
14
|
+
|
|
15
|
+
These results establish local package and component behavior. They do not establish production authentication, real provider delivery, native runtime behavior or complete account deletion. The combined web/backend gate at `5319558` passed 292 unit tests and 43 E2E tests, with 55 unit and 24 E2E skips explicitly recorded. Separate `.2` fixtures also passed the local deletion coordinator and authenticated browser handoff/session exchange. Skipped opt-in fixtures are not implied coverage. The older artifacts and descriptions below are historical evidence, not supported compatibility paths or current rebuild instructions.
|
|
16
|
+
|
|
17
|
+
## Historical snapshots
|
|
18
|
+
|
|
19
|
+
The previous product catalog selected `convex-auth-437831bd-disposabl.8.tgz`. Its username and email fences extend the `.7` core/password operations; see the [identity cleanup contract](./convex-auth-identity-erasure-disposabl.8.md). The product coordinates these operations in `users/authDeletion.ts`. Selection and local tests are not production deployment or complete account-deletion evidence. The `.3` archive and intermediate candidates are preserved as the reproducible source baseline.
|
|
20
|
+
|
|
3
21
|
`convex-auth-437831bd-disposabl.3.tgz` is `@convex-dev/auth` version `2.0.0-beta.0-reboot.437831bd-disposabl.3`, built from [convex/convex-auth](https://github.com/convex/convex-auth) commit [`437831bdd0990c9faac305f60354e53aec91cd36`](https://github.com/convex/convex-auth/commit/437831bdd0990c9faac305f60354e53aec91cd36), with the changes below. The archive contains source, compiled JavaScript, declarations, and the upstream Apache 2.0 license. SHA-256: `d98796ba391859edcf95892d8a66b919fdd5f4dbc355de3ee68186525d473c87`.
|
|
4
22
|
|
|
5
23
|
Relative to that commit, the only source changes under `packages/core/src` are:
|
|
@@ -14,7 +32,7 @@ Relative to that commit, the only source changes under `packages/core/src` are:
|
|
|
14
32
|
|
|
15
33
|
These extensions support password-only deployments and shared preview callbacks. The application signs and verifies the preview routing envelope; see [Google setup](../packages/disposabl-kit/GOOGLE_AUTH.md). They do not replace Convex Auth's PKCE or native state validation.
|
|
16
34
|
|
|
17
|
-
##
|
|
35
|
+
## Historical `.3` rebuild
|
|
18
36
|
|
|
19
37
|
Use Node and pnpm versions compatible with the upstream checkout. The archive itself is the source of these changes, so no separate install-time patch is required. From a clean checkout of the exact upstream commit, with this archive at `$AUTH_ARCHIVE`:
|
|
20
38
|
|
|
@@ -35,3 +53,45 @@ npm pack --ignore-scripts
|
|
|
35
53
|
```
|
|
36
54
|
|
|
37
55
|
Review the source diff against the list above and compare the unpacked package contents; archive metadata may vary by tool version. Update the checksum when publishing a replacement snapshot. The root catalog and generator include this archive in new apps.
|
|
56
|
+
|
|
57
|
+
## Unselected `.4` authorization marker candidate
|
|
58
|
+
|
|
59
|
+
`convex-auth-437831bd-disposabl.4.tgz` is an **unselected candidate** based on the exact `.3` archive above, not a full account-erasure implementation. Its SHA-256 is `4678a401ce1732b604f1a2c1d55e61c6568f006db0fcb7cbfcc6d4404488c3d5`. The Apache 2.0 license is included. The source delta against `.3` is [convex-auth-marker-disposabl.4.patch](./convex-auth-marker-disposabl.4.patch), SHA-256 `be4df8114a8d468b88853056ab4811ac405cfcc83080ef22780fe9b220a9adaa`.
|
|
60
|
+
|
|
61
|
+
The component records `authorizationStartedAt` when it creates an authorization request, omits it from caller-controlled creation arguments, carries it through the claimed request and callback into the ticket, and returns it on ticket claim. An optional Google server callback receives the profile and marker before sign-in or signup; `undefined` means a legacy request or ticket. Existing flows do not reject anything by default. A later erasure fence must explicitly reject unknown/old proof for a tombstoned identity and handle re-registration and cutoff races; this candidate alone is not that fence. Existing PKCE, state and shared callback logic are preserved. Shared OAuth helpers also transport the optional marker for other built-in providers, but only Google exposes the new check callback.
|
|
62
|
+
|
|
63
|
+
To rebuild, unpack `.3` as the `packages/core` source over a clean checkout at the pinned upstream base after installing dependencies; apply the patch from the core directory (`patch -p1 < /absolute/path/to/convex-auth-marker-disposabl.4.patch`), set the package version to `2.0.0-beta.0-reboot.437831bd-disposabl.4`, then run `pnpm --filter @convex-dev/auth build` and `npm pack --ignore-scripts` from `packages/core`. Review all changed source and generated output before use; the `.3` archive and root dependency selection remain unchanged.
|
|
64
|
+
|
|
65
|
+
`../packages/tests/fixtures/auth-erasure-convex/marker-runtime.test.ts.txt` is an offline synthetic test intended to be copied beside an extracted `package/` directory. It exercises helper storage and the actual callback with a stubbed `fetch`; it does not connect to Google or prove a Convex transaction race. For example, extract the candidate into a fresh temporary directory, link this checkout's `node_modules` there, copy the test beside `package/`, and run `bun test marker-runtime.test.ts`. To test compiled runtime, change its imports from `./package/src/*.ts` paths to the corresponding `./package/dist/*.js` paths. Both source and compiled callback checks passed locally. Full isolated-component integration and erasure-policy tests remain required before selecting this package.
|
|
66
|
+
|
|
67
|
+
## Unselected `.5` marker and password-purge prototype
|
|
68
|
+
|
|
69
|
+
`convex-auth-437831bd-disposabl.5.tgz` (SHA-256 `80b9634290128faf7406f6aa6fbd15144a02a1290b0c0e75bac9c260365894ae`) is an experimental, unselected extension of `.4`. Its source delta is [convex-auth-marker-password-disposabl.5.patch](./convex-auth-marker-password-disposabl.5.patch), SHA-256 `6a2955a8f9c63046ebf769323d3bff41e5f6b4249fce8236ff35dfd0c99c49e9`. It fixes marker propagation for the custom OAuth component and updates Apple, GitHub and custom-provider component API declarations. It adds the password component's app-server-only `eraseUserPasswords`, which atomically creates a per-user tombstone and deletes at most 100 password rows; `complete` is false when another batch remains. Set/verify check the tombstone in their transactions. A different fresh user ID is unaffected. The tombstone retains the opaque user ID and erasure timestamp indefinitely until a retention policy and safe removal protocol are defined; it is not anonymous or evidence of full erasure.
|
|
70
|
+
|
|
71
|
+
The disposable fixture in `vendor/../packages/tests/fixtures/auth-erasure-convex/` exercised real component transactions on loopback: a pre-cutoff authorization claimed after the cutoff and a later authorization retained distinct server start markers; two concurrent ticket claims yielded one winner each. A password erase/set race ended fenced, old verification failed, another user and a fresh user ID remained usable, and 201 synthetic duplicate rows were removed in 100/100/1 batches with an idempotent zero-row retry. The fixture bridge and duplicate seed are test-only; they do not ship in the archive. Source and compiled marker unit tests also passed. No Google/provider call was made.
|
|
72
|
+
|
|
73
|
+
This prototype does **not** implement a core account/session/refresh purge, atomic cross-component erasure orchestration, a provider-identity cutoff, or rejection of stale Google redemption. The existing Google server hook is not bound to any cutoff policy. Do not select or deploy `.5` as complete account deletion. Rebuild by unpacking `.4` over the pinned upstream checkout, applying the `.5` patch from `packages/core`, setting the `.5` package version, then running the same build and pack commands as above. Source, JavaScript and public/internal declaration output were built locally; the Apache 2.0 license remains in the archive.
|
|
74
|
+
|
|
75
|
+
## Unselected `.6` linked-core erasure prototype
|
|
76
|
+
|
|
77
|
+
`convex-auth-437831bd-disposabl.6.tgz` (SHA-256 `fe99f5ef93f00c2ea1be29b1d108427a51bd2f2ca24e02962359e7f7ec0e8120`) extends `.5` on the same upstream base. Its source delta is [convex-auth-core-erasure-disposabl.6.patch](./convex-auth-core-erasure-disposabl.6.patch), SHA-256 `9946c7f6f7b1799d10b5db0dbdb29aea96364e7d2f719e7a4ac6909cecd77e72`. It contains rebuilt source, JavaScript, public and internal declarations, and the upstream Apache 2.0 license. Rebuild by unpacking `.5` over the pinned checkout, applying the `.6` patch from `packages/core`, setting the `.6` version and running the build and pack commands above.
|
|
78
|
+
|
|
79
|
+
The core component exposes app-server-only `beginUserErasure` and `purgeUserLinkedAuth`. The first records a durable per-user tombstone; signup using that old user ID, sign-in, session creation, session lookup, refresh and session exchange are fenced. The second requires that fence, removes at most 100 refresh tokens for one linked session per call and at most 100 accounts per account-cleanup call, and reports `linkedRowsCleared` separately from `legacyOrphansUnverified: true`. The latter is always true: earlier session deletion can leave scheduled refresh-token cleanup rows with no user association, so this API cannot prove all per-user refresh tokens erased. Both core and password tombstones retain opaque user IDs and timestamps indefinitely pending a safe retention policy. Calling `beginUserErasure` and password `eraseUserPasswords` from the same app mutation gives one atomic cross-component fence; it is not automatic or wired into the product.
|
|
80
|
+
|
|
81
|
+
The isolated fixture `vendor/../packages/tests/fixtures/auth-erasure-convex/core-test.py` ran against real components on loopback with telemetry disabled: concurrent fencing/sign-in, rejection of signup for an old user ID, other-user isolation, bounded cleanup of 201 accounts and at least 201 refresh tokens, repeat linked-row cleanup, and rejection of session lookup/refresh/exchange passed. A synthetic orphan row remained after linked cleanup, demonstrating the reported limitation. Source and compiled marker tests still pass. These tests do not prove Google identity erasure: after deleting a core provider mapping, an old Google ticket can still resolve as a new user. A subsequent identity-cutoff API must retain privacy-reviewed identity evidence, use the server authorization-start marker, reject unknown/old proof, and define explicit fresh registration. Do not select `.6` or claim complete deletion until that boundary, orphan handling and the rest of the lifecycle are resolved.
|
|
82
|
+
|
|
83
|
+
## `.7` identity cutoff candidate
|
|
84
|
+
|
|
85
|
+
`convex-auth-437831bd-disposabl.7.tgz` (SHA-256 `aa66fe854c43797e7e08c6c279afec822afed3f067a21aded3552eb723a83bf7`) extends `.6` on the same upstream base; [its source patch](./convex-auth-identity-cutoff-disposabl.7.patch) has SHA-256 `f11b56ee48652ac7282e467e10488f91bc220cc1f1264e9b66d99676fe57efd3`. It contains source, compiled JavaScript, public and internal declarations, and the upstream Apache 2.0 license. Rebuild by unpacking `.6` over the pinned checkout, applying this patch from `packages/core`, setting the `.7` version, building and packing as above. Applying the patch to the `.6` source produced the source shipped in `.7` exactly. The `.7` archive was selected before the `.8` integration; the current selection is listed above. Neither selection is deployment evidence.
|
|
86
|
+
|
|
87
|
+
Google redemption checks the original component-generated authorization start against a component-owned identity cutoff before creating any account or session. Once an identity is fenced, legacy tickets with no marker and requests started at or before the cutoff are rejected, including callbacks arriving later. Later authorizations for that identity are also rejected: no re-registration ceremony or automatic tombstone removal exists. Other identities remain usable. Core account creation also refuses a tombstoned identity, including attempts with a different user ID. The user fence and account mapping protect the identity until bounded account cleanup atomically records its identity cutoff. The application must atomically initiate core and password fences and must orchestrate cleanup; this package does not wire that lifecycle.
|
|
88
|
+
|
|
89
|
+
The identity tombstone retains a SHA-256 digest of the provider name and provider account ID plus a cutoff timestamp indefinitely. This is stable, linkable, potentially guessable pseudonymous material, not anonymous data; retention and a safe re-registration protocol need privacy review. No claim of complete identity erasure is made. Future normal session deletion records the user/session association until scheduled refresh-token cleanup or bounded user purge removes the associated tokens. Historical refresh-token orphans without attribution remain unverified and are not globally deleted.
|
|
90
|
+
|
|
91
|
+
`../packages/tests/fixtures/auth-erasure-convex/identity-test.py` used synthetic identities and real isolated component transactions with no provider calls. It exercised a fence/redemption race, late callback, legacy and fresh tickets, post-purge cutoff, direct signup denial, another identity, and atomic creation of a session cleanup receipt. Source and compiled marker tests passed separately. This does not demonstrate a live Google flow, prove deletion of historical unattributed tokens, or complete the product account-deletion lifecycle.
|
|
92
|
+
|
|
93
|
+
### Product orchestration and compiled qualification
|
|
94
|
+
|
|
95
|
+
For a user whose Google account is still mapped in the core component, a single app-server mutation must call `beginUserErasure({ userId })` and the password component's `eraseUserPasswords({ userId })`. These component calls participate in that mutation's transaction. Once it commits, Google redemption looks up the still-present provider mapping and the core user tombstone; the caller does not provide a Google subject or a cutoff. Only then may the application retry `purgeUserLinkedAuth({ userId })` until it reports `linkedRowsCleared`; each account-mapping deletion records its provider-identity digest and cutoff in the same core transaction. The identity fence remains effective across that transition. This contract depends on the mapping existing when the user fence is established; it cannot reconstruct an identity mapping already removed outside this protocol. Password cleanup also requires retries until `complete`. Other product cleanup, remote stop, and the unresolved historical orphan boundary remain separate prerequisites.
|
|
96
|
+
|
|
97
|
+
The `.7` archive was extracted unchanged and its `dist` component definitions and JavaScript were loaded into the disposable Convex backend on ports 3540/3541 with `E2E_TELEMETRY_DISABLED=1`. Test-only synthetic bridge and seed exports were appended to the extracted fixture copy, not the archive; they called the packaged implementation. `identity-test.py` and `core-test.py` passed against that compiled runtime. The archive was also inspected for the changed source, runtime modules, public/internal declarations and Google marker metadata. The `.7` patch applied cleanly to `.6` and reproduced the `.7` source tree. Re-registration for a fenced provider identity is denied indefinitely by this candidate; the retained digest and cutoff have not received legal or privacy approval.
|