Changes: Propose ADR 0004 comparing native IndexedDB, idb and Dexie; select idb 8.0.4 with account, transaction, quota, upgrade and key ownership policy. Repair rollback and add injected quota/blocked upgrade checks, exact wrapper lock, runtime guard, license texts and reproduction notes. Preserve historical recovery artifacts. Validation: Fresh-cache npm ci and npm run check passed on Node 24.21.0/npm 11.19.0; manifest, HTTPS/SHA512 and license checks passed. make check passed 72 tooling tests; tasks.py validate and git diff --check passed. Native browser quota, disk durability and process restart were not tested; ADR remains proposed for independent QA. Task: S00-005 Agent: auto-storage-0ce544ac4b40 Role: storage Action: claim Status: review Task title: Выбрать IndexedDB wrapper и migration policy
21 lines
478 B
JSON
21 lines
478 B
JSON
{
|
|
"name": "0004-storage-design",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"engines": {
|
|
"node": "24.21.0",
|
|
"npm": "11.19.0"
|
|
},
|
|
"packageManager": "npm@11.19.0",
|
|
"scripts": {
|
|
"check:rollback": "node src/rollback.mjs",
|
|
"check:quota": "node src/quota-blocked.mjs",
|
|
"check": "node src/check-runtime.mjs && npm run check:rollback && npm run check:quota"
|
|
},
|
|
"dependencies": {
|
|
"fake-indexeddb": "6.2.5",
|
|
"idb": "8.0.4"
|
|
}
|
|
}
|