S00-005: Select idb and verify transactional storage failure policies

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
This commit is contained in:
wt committed 2026-10-15 18:33:15 +07:00
1 parent 8f918bc040
commit 0e2b3098df
17 files changed
+713 -128

No files matched your search

+30 -6
View File
@@ -1,6 +1,6 @@
{
"schema_version": 1,
"revision": 115,
"revision": 117,
"tasks": {
"S00-001": {
"status": "done",
@@ -64,17 +64,18 @@
"resumed_after_blocker": true
},
"S00-005": {
"status": "todo",
"owner": null,
"started_at": "2026-10-15T09:15:46+00:00",
"status": "review",
"owner": "auto-storage-0ce544ac4b40",
"started_at": "2026-10-15T11:26:11+00:00",
"reason": null,
"updated_at": "2026-10-15T11:09:33+00:00",
"updated_at": "2026-10-15T11:33:09+00:00",
"blocked_by": [],
"resume_status": "in_progress",
"blocker_report": "state/blockers/S00-023.md",
"handoff": "state/handoffs/S00-005.md",
"previous_owner": "auto-storage-88c3286c6641",
"resumed_after_blocker": true
"resumed_after_blocker": true,
"evidence": "state/evidence/S00-005-auto-storage-0ce544ac4b40.md"
},
"S00-006": {
"status": "todo",
@@ -2940,6 +2941,29 @@
"to": "done",
"reason": null,
"evidence": "state/evidence/S00-003-review.md"
},
{
"revision": 116,
"at": "2026-10-15T11:26:11+00:00",
"action": "claim",
"task": "S00-005",
"agent": "auto-storage-0ce544ac4b40",
"role": "storage",
"from": "todo",
"to": "in_progress",
"reason": null
},
{
"revision": 117,
"at": "2026-10-15T11:33:09+00:00",
"action": "submit",
"task": "S00-005",
"agent": "auto-storage-0ce544ac4b40",
"role": null,
"from": "in_progress",
"to": "review",
"reason": null,
"evidence": "state/evidence/S00-005-auto-storage-0ce544ac4b40.md"
}
],
"retired_agents": [