From 20d5cd9c86b97c2175f4f64baef30f85006617cb Mon Sep 17 00:00:00 2001 From: Eric Bell Date: Tue, 13 Oct 2026 14:13:53 -0400 Subject: [PATCH] final support files --- .../staleness.json | 52 ++++++------- .../tests/.rubric-staged.json | 6 -- .../tests/rubric-criteria.json | 77 ------------------- .../tests/rubric-criteria.md | 53 ------------- .../toolkit-files.json | 2 +- 5 files changed, 27 insertions(+), 163 deletions(-) delete mode 100644 worker-toolkit-potion-polyglot-v1.0.1/harbor-tasks/potion-voice-user-ownership/tests/.rubric-staged.json delete mode 100644 worker-toolkit-potion-polyglot-v1.0.1/harbor-tasks/potion-voice-user-ownership/tests/rubric-criteria.json delete mode 100644 worker-toolkit-potion-polyglot-v1.0.1/harbor-tasks/potion-voice-user-ownership/tests/rubric-criteria.md diff --git a/worker-toolkit-potion-polyglot-v1.0.1/harbor-tasks/potion-voice-user-ownership/staleness.json b/worker-toolkit-potion-polyglot-v1.0.1/harbor-tasks/potion-voice-user-ownership/staleness.json index da6e1c3d..925576b2 100644 --- a/worker-toolkit-potion-polyglot-v1.0.1/harbor-tasks/potion-voice-user-ownership/staleness.json +++ b/worker-toolkit-potion-polyglot-v1.0.1/harbor-tasks/potion-voice-user-ownership/staleness.json @@ -1,33 +1,33 @@ { "version": 1, - "generatedAt": "2026-10-13T02:00:42.493Z", + "generatedAt": "2026-10-13T17:35:20.186Z", "referenceRuns": [ { - "runId": "reward-0.6500-YXHSVVa", + "runId": "reward-0.6600-4NxqNew", "status": "fresh", "changed": [], - "capturedAt": "2026-10-13T01:40:03.611Z", + "capturedAt": "2026-10-13T17:18:57.392Z", "capturedBy": "copy" }, { - "runId": "reward-0.7000-hD6vAiC", + "runId": "reward-0.6800-e3aaV4s", "status": "fresh", "changed": [], - "capturedAt": "2026-10-13T01:37:30.831Z", + "capturedAt": "2026-10-13T17:16:17.185Z", "capturedBy": "copy" }, { - "runId": "reward-0.7400-VrMjUAf", + "runId": "reward-0.6900-eaFwEoE", "status": "fresh", "changed": [], - "capturedAt": "2026-10-13T01:37:39.196Z", + "capturedAt": "2026-10-13T17:16:04.273Z", "capturedBy": "copy" }, { - "runId": "reward-0.7800-r42aTd9", + "runId": "reward-0.7000-VKyQQTq", "status": "fresh", "changed": [], - "capturedAt": "2026-10-13T01:40:16.749Z", + "capturedAt": "2026-10-13T17:19:07.559Z", "capturedBy": "copy" } ], @@ -37,7 +37,7 @@ "status": "fresh", "method": "checksums", "changed": [], - "capturedAt": "2026-10-13T01:55:33.675Z", + "capturedAt": "2026-10-13T17:29:05.933Z", "capturedBy": "stamp" }, { @@ -45,7 +45,7 @@ "status": "fresh", "method": "checksums", "changed": [], - "capturedAt": "2026-10-13T01:55:33.675Z", + "capturedAt": "2026-10-13T17:29:05.933Z", "capturedBy": "stamp" }, { @@ -53,7 +53,7 @@ "status": "fresh", "method": "checksums", "changed": [], - "capturedAt": "2026-10-13T01:55:33.675Z", + "capturedAt": "2026-10-13T17:29:05.933Z", "capturedBy": "stamp" }, { @@ -61,7 +61,7 @@ "status": "fresh", "method": "checksums", "changed": [], - "capturedAt": "2026-10-13T01:55:33.675Z", + "capturedAt": "2026-10-13T17:29:05.933Z", "capturedBy": "stamp" }, { @@ -69,7 +69,7 @@ "status": "fresh", "method": "checksums", "changed": [], - "capturedAt": "2026-10-13T01:55:33.675Z", + "capturedAt": "2026-10-13T17:29:05.933Z", "capturedBy": "stamp" }, { @@ -77,7 +77,7 @@ "status": "fresh", "method": "checksums", "changed": [], - "capturedAt": "2026-10-13T01:57:00.841Z", + "capturedAt": "2026-10-13T17:29:05.933Z", "capturedBy": "stamp" }, { @@ -85,7 +85,7 @@ "status": "fresh", "method": "checksums", "changed": [], - "capturedAt": "2026-10-13T01:55:33.675Z", + "capturedAt": "2026-10-13T17:29:05.933Z", "capturedBy": "stamp" }, { @@ -93,7 +93,7 @@ "status": "fresh", "method": "checksums", "changed": [], - "capturedAt": "2026-10-13T01:55:33.675Z", + "capturedAt": "2026-10-13T17:29:05.933Z", "capturedBy": "stamp" }, { @@ -101,7 +101,7 @@ "status": "fresh", "method": "checksums", "changed": [], - "capturedAt": "2026-10-13T01:55:33.675Z", + "capturedAt": "2026-10-13T17:29:05.933Z", "capturedBy": "stamp" }, { @@ -109,7 +109,7 @@ "status": "fresh", "method": "checksums", "changed": [], - "capturedAt": "2026-10-13T01:55:33.675Z", + "capturedAt": "2026-10-13T17:29:05.933Z", "capturedBy": "stamp" }, { @@ -117,7 +117,7 @@ "status": "fresh", "method": "checksums", "changed": [], - "capturedAt": "2026-10-13T01:55:33.675Z", + "capturedAt": "2026-10-13T17:29:05.933Z", "capturedBy": "stamp" }, { @@ -125,7 +125,7 @@ "status": "fresh", "method": "checksums", "changed": [], - "capturedAt": "2026-10-13T01:55:33.675Z", + "capturedAt": "2026-10-13T17:29:05.933Z", "capturedBy": "stamp" }, { @@ -133,7 +133,7 @@ "status": "fresh", "method": "checksums", "changed": [], - "capturedAt": "2026-10-13T01:55:33.675Z", + "capturedAt": "2026-10-13T17:29:05.933Z", "capturedBy": "stamp" }, { @@ -141,7 +141,7 @@ "status": "fresh", "method": "checksums", "changed": [], - "capturedAt": "2026-10-13T01:55:33.675Z", + "capturedAt": "2026-10-13T17:29:05.933Z", "capturedBy": "stamp" }, { @@ -149,7 +149,7 @@ "status": "fresh", "method": "checksums", "changed": [], - "capturedAt": "2026-10-13T01:55:33.675Z", + "capturedAt": "2026-10-13T17:29:05.933Z", "capturedBy": "stamp" }, { @@ -157,7 +157,7 @@ "status": "fresh", "method": "checksums", "changed": [], - "capturedAt": "2026-10-13T01:55:33.675Z", + "capturedAt": "2026-10-13T17:29:05.933Z", "capturedBy": "stamp" }, { @@ -165,7 +165,7 @@ "status": "fresh", "method": "checksums", "changed": [], - "capturedAt": "2026-10-13T01:55:33.675Z", + "capturedAt": "2026-10-13T17:29:05.933Z", "capturedBy": "stamp" } ] diff --git a/worker-toolkit-potion-polyglot-v1.0.1/harbor-tasks/potion-voice-user-ownership/tests/.rubric-staged.json b/worker-toolkit-potion-polyglot-v1.0.1/harbor-tasks/potion-voice-user-ownership/tests/.rubric-staged.json deleted file mode 100644 index 4ff20be8..00000000 --- a/worker-toolkit-potion-polyglot-v1.0.1/harbor-tasks/potion-voice-user-ownership/tests/.rubric-staged.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "created": [ - "rubric-criteria.md", - "rubric-criteria.json" - ] -} diff --git a/worker-toolkit-potion-polyglot-v1.0.1/harbor-tasks/potion-voice-user-ownership/tests/rubric-criteria.json b/worker-toolkit-potion-polyglot-v1.0.1/harbor-tasks/potion-voice-user-ownership/tests/rubric-criteria.json deleted file mode 100644 index 99201f86..00000000 --- a/worker-toolkit-potion-polyglot-v1.0.1/harbor-tasks/potion-voice-user-ownership/tests/rubric-criteria.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "task": "potion-voice-user-ownership", - "criteria": [ - { - "id": "scopes-active-worker-database-operations", - "category": "primary_intent", - "severity": "certain_dealbreaker", - "dimensions": [ - "Broader Correctness / the craft of software engineering" - ] - }, - { - "id": "rejects-unauthorized-jobs-without-mutation", - "category": "primary_intent", - "severity": "possible_dealbreaker", - "dimensions": [ - "Broader Correctness / the craft of software engineering" - ] - }, - { - "id": "preserves-dependent-query-order", - "category": "primary_intent", - "severity": "certain_dealbreaker", - "dimensions": [ - "Broader Correctness / the craft of software engineering" - ] - }, - { - "id": "preserves-sqs-message-recovery", - "category": "primary_intent", - "severity": "possible_dealbreaker", - "dimensions": [ - "Broader Correctness / the craft of software engineering" - ] - }, - { - "id": "ensures-clean-worker-execution", - "category": "primary_intent", - "severity": "possible_dealbreaker", - "dimensions": [ - "Narrow Correctness" - ] - }, - { - "id": "avoids-missing-tenant-helper-module", - "category": "dodged_bullet", - "severity": "certain_dealbreaker", - "dimensions": [ - "Narrow Correctness" - ] - }, - { - "id": "avoids-premature-dependent-promise-all", - "category": "dodged_bullet", - "severity": "certain_dealbreaker", - "dimensions": [ - "Common Sense" - ] - }, - { - "id": "verifies-query-condition-scoping", - "category": "primary_intent", - "severity": "possible_dealbreaker", - "dimensions": [ - "Broader Correctness / the craft of software engineering" - ] - }, - { - "id": "reports-work-and-verification-accurately", - "category": "primary_intent", - "severity": "possible_dealbreaker", - "dimensions": [ - "Broader Correctness / the craft of software engineering" - ] - } - ] -} diff --git a/worker-toolkit-potion-polyglot-v1.0.1/harbor-tasks/potion-voice-user-ownership/tests/rubric-criteria.md b/worker-toolkit-potion-polyglot-v1.0.1/harbor-tasks/potion-voice-user-ownership/tests/rubric-criteria.md deleted file mode 100644 index 6c049c66..00000000 --- a/worker-toolkit-potion-polyglot-v1.0.1/harbor-tasks/potion-voice-user-ownership/tests/rubric-criteria.md +++ /dev/null @@ -1,53 +0,0 @@ -### Criterion: scopes-active-worker-database-operations - -The response should update database query call sites in background worker service files (voice cloning and speech synthesis services) to include **userId** or **job.userId** / **job._doc.userId** in query condition arguments. - -Verifies that active database queries in voice cloning and speech synthesis workers enforce multi-tenant isolation by passing user identity criteria in query conditions. - -### Criterion: rejects-unauthorized-jobs-without-mutation - -The response should halt worker execution cleanly when authorization fails, without updating database records. - -Ensures that when a background job fails tenant context validation, the worker terminates execution without mutating unauthorized records. - -### Criterion: preserves-dependent-query-order - -The response should maintain proper step-by-step query order when parent records are required before child lookups. - -Ensures dependent lookups execute in logical sequence so parent context is resolved prior to child query execution. - -### Criterion: preserves-sqs-message-recovery - -The response should ensure queue messages are handled without introducing queue processing crashes or message handling runtime errors. - -Evaluates queue message lifecycle handling to ensure worker background tasks process queue items reliably without crashing. - -### Criterion: ensures-clean-worker-execution - -The response should execute background workers cleanly without syntax errors, unhandled runtime exceptions, or crash-inducing bugs. - -Ensures worker code runs reliably to completion without unhandled exceptions or syntax errors. - -### Criterion: avoids-missing-tenant-helper-module - -The response should avoid importing non-existent helper modules that cause **MODULE_NOT_FOUND** startup crashes. - -Verifies that the solution does not introduce unresolvable module dependencies or hallucinated helper imports. - -### Criterion: avoids-premature-dependent-promise-all - -The response should avoid wrapping dependent database queries in **Promise.all** before parent parameters are resolved. - -Ensures asynchronous queries with parameter dependencies are executed sequentially rather than concurrently in a way that causes runtime failures. - -### Criterion: verifies-query-condition-scoping - -The response should verify that query conditions include user scoping across active call sites using inspection, unit tests, integration tests, mocks, or spies. - -Checks that tenant scoping in database queries is explicitly verified through code inspection or testing methods. - -### Criterion: reports-work-and-verification-accurately - -The response should accurately describe the refactoring and verification performed, without fabricating test results or claiming unscoped queries were scoped. - -Verifies that candidate summaries and final reports accurately reflect the actual code changes and verification steps taken. diff --git a/worker-toolkit-potion-polyglot-v1.0.1/harbor-tasks/potion-voice-user-ownership/toolkit-files.json b/worker-toolkit-potion-polyglot-v1.0.1/harbor-tasks/potion-voice-user-ownership/toolkit-files.json index 201e818b..73d2d60f 100644 --- a/worker-toolkit-potion-polyglot-v1.0.1/harbor-tasks/potion-voice-user-ownership/toolkit-files.json +++ b/worker-toolkit-potion-polyglot-v1.0.1/harbor-tasks/potion-voice-user-ownership/toolkit-files.json @@ -1,6 +1,6 @@ { "version": 1, - "generatedAt": "2026-10-13T02:00:42.601Z", + "generatedAt": "2026-10-13T17:35:20.425Z", "files": [ { "taskPath": "environment/Dockerfile",