after updates to atomic rubric, rerun detector

This commit is contained in:
2026-09-26 13:11:29 -04:00
parent 18574c0ca6
commit 6856e75265
4 changed files with 9 additions and 14 deletions

View File

@@ -9,8 +9,8 @@ criteria:
- Narrow Correctness
guideline: |
The response should implement **a dual-envelope normalizer in `voice-cloning-job-handler/index.js` immediately after JSON parsing—`const payload = job._doc ?? job; const { metadata, input, _id, userAudioProfileId } = payload;` or equivalent semantics** so both flat JSON payloads and legacy `_doc`-wrapped payloads are processed without a `TypeError`.
elaboration: |
The root defect is at `voice-cloning-job-handler/index.js:L100-L107`: unconditional destructuring from `job._doc` crashes when `_doc` is absent and transfers control to the outer catch at L300-L303. This criterion fails if flat payloads still crash, the repair breaks compatibility with `_doc`-wrapped payloads, or the change introduces syntax or lint failures that prevent the normalizer from working.
elaboration: |
The root defect is at `voice-cloning-job-handler/index.js:L100-L107`: unconditional destructuring from `job._doc` crashes when _doc is absent and transfers control to the outer catch at L300-L303. This criterion fails if flat payloads still crash or if the repair breaks compatibility with _doc-wrapped payloads.
- id: preserves-existing-worker-flow
category: primary_intent

View File

@@ -2,7 +2,7 @@
The response should implement **a dual-envelope normalizer in `voice-cloning-job-handler/index.js` immediately after JSON parsing—`const payload = job._doc ?? job; const { metadata, input, _id, userAudioProfileId } = payload;` or equivalent semantics** so both flat JSON payloads and legacy `_doc`-wrapped payloads are processed without a `TypeError`.
The root defect is at `voice-cloning-job-handler/index.js:L100-L107`: unconditional destructuring from `job._doc` crashes when `_doc` is absent and transfers control to the outer catch at L300-L303. This criterion fails if flat payloads still crash, the repair breaks compatibility with `_doc`-wrapped payloads, or the change introduces syntax or lint failures that prevent the normalizer from working.
The root defect is at `voice-cloning-job-handler/index.js:L100-L107`: unconditional destructuring from `job._doc` crashes when _doc is absent and transfers control to the outer catch at L300-L303. This criterion fails if flat payloads still crash or if the repair breaks compatibility with _doc-wrapped payloads.
### Criterion: preserves-existing-worker-flow