P3.1 TaskStore trait + SQLite backend (tables 1-7) - Verification complete

Verified that the TaskStore trait and SQLite backend implementation
for tables 1-7 is complete and all acceptance criteria are met.

All 15 tests pass:
- CRUD operations for all 7 tables
- Idempotent migrations with schema versioning
- Concurrent writes (WAL mode + 5s timeout)
- Persistence across DB re-opening
- Health check functionality

Non-obvious requirements verified:
- tasks.node_tasks is JSON via serde_json
- idempotency_cache.body_sha256 is BLOB (32 bytes)
- jobs.claim_expires_at supports heartbeat updates
- leader_lease uses row presence as advisory lock

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
jedarden 2026-05-13 19:12:11 -04:00
parent fdd8c61029
commit f408968add
4 changed files with 3056 additions and 466 deletions

File diff suppressed because one or more lines are too long

View file

@ -5,11 +5,11 @@
"model": "glm-5.1",
"exit_code": 1,
"outcome": "failure",
"duration_ms": 37440,
"duration_ms": 459142,
"input_tokens": null,
"output_tokens": null,
"cost_usd": null,
"captured_at": "2026-05-13T22:43:12.689737967Z",
"captured_at": "2026-05-13T23:12:06.004848388Z",
"trace_format": "claude_json",
"pruned": false,
"template_version": null

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
3525199faa2d10655e1e9a8ebd031a1136c40849
fdd8c610290aee3cfd216a8a8f3c343c72e8c8e9