Make Phase-1 extraction jobs executable through PostgreSQL workers
Constraint: Phase-1 must stay encoder-only and use PostgreSQL as the orchestration/state plane before real extractor inference lands. Rejected: implement real MERT/MuQ inference first | rejected because planner/job/state contracts were not yet executable or verified end-to-end. Confidence: high Scope-risk: moderate Directive: preserve the worker job contract and replace dry-run incrementally with real fingerprint/embedding writes. Tested: py_compile for new workers and planner; live PostgreSQL dry-run for chromaprint job 1 and mert job 2; planner report regeneration; bootstrap restore to pending; git diff --check. Not-tested: real chromaprint extraction, real MERT/MuQ/ECAPA embedding writes, failed-job retry handling.
Showing
15 changed files
with
1076 additions
and
33 deletions
acr-engine/workers/_job_common.py
0 → 100644
acr-engine/workers/mark_job_status.py
0 → 100644
acr-engine/workers/run_chromaprint_job.py
0 → 100644
acr-engine/workers/run_embedding_job.py
0 → 100644
docs/phase1-worker-contract.md
0 → 100644
-
Please register or sign in to post a comment