0c9b9fb796
DESIGN.md §15 reads satisfaction off the files, so a `satisfied` attempt row whose sidecar was just deleted by hand is a stale claim that hides the gap from the reconcile loop's work list. `unsatisfy` withdraws only that claim: the attempt count and timestamp stay, because the backoff is a fact about what providers were already asked and a delete does not un-ask them. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
13 lines
425 B
JSON
13 lines
425 B
JSON
{
|
|
"db_name": "SQLite",
|
|
"query": "UPDATE subtitle_attempts\n SET state = 'wanted',\n updated_at = strftime('%Y-%m-%dT%H:%M:%fZ', 'now')\n WHERE media_file_id = ? AND language = ? AND state = 'satisfied'",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Right": 2
|
|
},
|
|
"nullable": []
|
|
},
|
|
"hash": "31bed4c9097d6ea2ed189de48440bd0d882873d27450e5d177baed65c74fd7de"
|
|
}
|