You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[On hold]: StoreExports has no owner-scoped delete or replace, so adapters cannot delete through a contract path #829
ai-firstReduces friction for AI agents authoring URLCode projectsenhancementNew feature or requestextensionInvolves an extension or companion package (store, ui, auth, admin)
Implementation on hold under #841. Do not expand the legacy export API for historical parity. Exercise the underlying application need through #835 and the application proof #843. No backward compatibility is required. Re-scope or close this request after the replacement proves the need is covered.
Problem or use case
Found by the #828 compatibility audit; see the fixed-contract-adapter recipe README, "Compatibility audit".
StoreExports v1 (packages/store/src/records.ts) offers owner-scoped list, create, get and update, but no delete and no replace (PUT). An adapter that maps a fixed external contract, such as DELETE /api/items/:id, cannot delete through its contract path. The recipe therefore answers that path with the runtime's JSON 405 and points clients at the native DELETE /store/items/<id>.
Proposed behavior and alternatives
Add owner-scoped remove(id, principal) and, if wanted, replace(id, record, principal) to StoreExports, as an additive version bump. They must keep the same ownership rule (another owner's id gives the same not-found as a missing id), the same audit events and the same quota accounting as the native mount. Then update the recipe to use them and drop its 405 workaround.
changed the title [-][Request]: StoreExports has no owner-scoped delete or replace, so adapters cannot delete through a contract path[/-][+][On hold]: StoreExports has no owner-scoped delete or replace, so adapters cannot delete through a contract path[/+]on Sep 28, 2026
Obsolete after #854 and #841. The contracts this issue describes are deleted: AuthExports, the fixed-contract adapter recipe and the admin package. Auth is now a thin Better Auth adapter that provides only a request principal and the identity capability. Store deletion and replace go through its HTTP API and StoreExports.transaction (#862), so no adapter-contract expansion is planned.
ai-firstReduces friction for AI agents authoring URLCode projectsenhancementNew feature or requestextensionInvolves an extension or companion package (store, ui, auth, admin)
Activity
[-][Request]: StoreExports has no owner-scoped delete or replace, so adapters cannot delete through a contract path[/-][+][On hold]: StoreExports has no owner-scoped delete or replace, so adapters cannot delete through a contract path[/+]jimhoyd commentedon Sep 29, 2026
Obsolete after #854 and #841. The contracts this issue describes are deleted:
AuthExports, the fixed-contract adapter recipe and the admin package. Auth is now a thin Better Auth adapter that provides only a request principal and theidentitycapability. Store deletion and replace go through its HTTP API andStoreExports.transaction(#862), so no adapter-contract expansion is planned.