unstage and submit less gz file

This commit is contained in:
2026-10-16 14:30:44 -04:00
parent 68b10397b5
commit 68f1b4bf88
5 changed files with 27 additions and 149 deletions

View File

@@ -1,33 +1,33 @@
{ {
"version": 1, "version": 1,
"generatedAt": "2026-10-15T16:07:04.973Z", "generatedAt": "2026-10-16T18:17:54.255Z",
"referenceRuns": [ "referenceRuns": [
{ {
"runId": "reward-0.6400-JDkYGLS", "runId": "reward-0.5000-hCpLyTL",
"status": "fresh", "status": "fresh",
"changed": [], "changed": [],
"capturedAt": "2026-10-15T14:41:37.564Z", "capturedAt": "2026-10-16T17:09:39.217Z",
"capturedBy": "run" "capturedBy": "run"
}, },
{ {
"runId": "reward-0.6600-W8CApDi", "runId": "reward-0.5800-Vz8kjv9",
"status": "fresh", "status": "fresh",
"changed": [], "changed": [],
"capturedAt": "2026-10-15T14:41:37.564Z", "capturedAt": "2026-10-16T17:09:39.217Z",
"capturedBy": "run" "capturedBy": "run"
}, },
{ {
"runId": "reward-0.6800-mkQ3N9P", "runId": "reward-0.6300-NSP5wKq",
"status": "fresh", "status": "fresh",
"changed": [], "changed": [],
"capturedAt": "2026-10-15T14:41:37.564Z", "capturedAt": "2026-10-16T17:09:39.217Z",
"capturedBy": "run" "capturedBy": "run"
}, },
{ {
"runId": "reward-0.6900-2vXABnN", "runId": "reward-0.9000-F8cEYH2",
"status": "fresh", "status": "fresh",
"changed": [], "changed": [],
"capturedAt": "2026-10-15T14:41:37.564Z", "capturedAt": "2026-10-16T17:09:39.217Z",
"capturedBy": "run" "capturedBy": "run"
} }
], ],
@@ -37,7 +37,7 @@
"status": "fresh", "status": "fresh",
"method": "checksums", "method": "checksums",
"changed": [], "changed": [],
"capturedAt": "2026-10-15T16:04:43.592Z", "capturedAt": "2026-10-16T18:03:12.554Z",
"capturedBy": "stamp" "capturedBy": "stamp"
}, },
{ {
@@ -45,7 +45,7 @@
"status": "fresh", "status": "fresh",
"method": "checksums", "method": "checksums",
"changed": [], "changed": [],
"capturedAt": "2026-10-15T16:04:30.274Z", "capturedAt": "2026-10-16T18:03:12.554Z",
"capturedBy": "stamp" "capturedBy": "stamp"
}, },
{ {
@@ -53,7 +53,7 @@
"status": "fresh", "status": "fresh",
"method": "checksums", "method": "checksums",
"changed": [], "changed": [],
"capturedAt": "2026-10-15T16:04:30.274Z", "capturedAt": "2026-10-16T18:03:12.554Z",
"capturedBy": "stamp" "capturedBy": "stamp"
}, },
{ {
@@ -61,7 +61,7 @@
"status": "fresh", "status": "fresh",
"method": "checksums", "method": "checksums",
"changed": [], "changed": [],
"capturedAt": "2026-10-15T16:04:30.274Z", "capturedAt": "2026-10-16T18:03:12.554Z",
"capturedBy": "stamp" "capturedBy": "stamp"
}, },
{ {
@@ -69,7 +69,7 @@
"status": "fresh", "status": "fresh",
"method": "checksums", "method": "checksums",
"changed": [], "changed": [],
"capturedAt": "2026-10-15T16:04:30.274Z", "capturedAt": "2026-10-16T18:03:12.554Z",
"capturedBy": "stamp" "capturedBy": "stamp"
}, },
{ {
@@ -77,7 +77,7 @@
"status": "fresh", "status": "fresh",
"method": "checksums", "method": "checksums",
"changed": [], "changed": [],
"capturedAt": "2026-10-15T16:04:30.274Z", "capturedAt": "2026-10-16T18:03:12.554Z",
"capturedBy": "stamp" "capturedBy": "stamp"
}, },
{ {
@@ -85,7 +85,7 @@
"status": "fresh", "status": "fresh",
"method": "checksums", "method": "checksums",
"changed": [], "changed": [],
"capturedAt": "2026-10-15T16:04:30.274Z", "capturedAt": "2026-10-16T18:03:12.554Z",
"capturedBy": "stamp" "capturedBy": "stamp"
}, },
{ {
@@ -93,7 +93,7 @@
"status": "fresh", "status": "fresh",
"method": "checksums", "method": "checksums",
"changed": [], "changed": [],
"capturedAt": "2026-10-15T16:04:30.274Z", "capturedAt": "2026-10-16T18:03:12.554Z",
"capturedBy": "stamp" "capturedBy": "stamp"
}, },
{ {
@@ -101,7 +101,7 @@
"status": "fresh", "status": "fresh",
"method": "checksums", "method": "checksums",
"changed": [], "changed": [],
"capturedAt": "2026-10-15T16:04:30.274Z", "capturedAt": "2026-10-16T18:03:12.554Z",
"capturedBy": "stamp" "capturedBy": "stamp"
}, },
{ {
@@ -109,7 +109,7 @@
"status": "fresh", "status": "fresh",
"method": "checksums", "method": "checksums",
"changed": [], "changed": [],
"capturedAt": "2026-10-15T16:04:30.274Z", "capturedAt": "2026-10-16T18:03:12.554Z",
"capturedBy": "stamp" "capturedBy": "stamp"
}, },
{ {
@@ -117,7 +117,7 @@
"status": "fresh", "status": "fresh",
"method": "checksums", "method": "checksums",
"changed": [], "changed": [],
"capturedAt": "2026-10-15T16:04:30.274Z", "capturedAt": "2026-10-16T18:03:12.554Z",
"capturedBy": "stamp" "capturedBy": "stamp"
}, },
{ {
@@ -125,7 +125,7 @@
"status": "fresh", "status": "fresh",
"method": "checksums", "method": "checksums",
"changed": [], "changed": [],
"capturedAt": "2026-10-15T16:04:30.274Z", "capturedAt": "2026-10-16T18:03:12.554Z",
"capturedBy": "stamp" "capturedBy": "stamp"
}, },
{ {
@@ -133,7 +133,7 @@
"status": "fresh", "status": "fresh",
"method": "checksums", "method": "checksums",
"changed": [], "changed": [],
"capturedAt": "2026-10-15T16:04:30.274Z", "capturedAt": "2026-10-16T18:03:12.554Z",
"capturedBy": "stamp" "capturedBy": "stamp"
}, },
{ {
@@ -141,7 +141,7 @@
"status": "fresh", "status": "fresh",
"method": "checksums", "method": "checksums",
"changed": [], "changed": [],
"capturedAt": "2026-10-15T16:04:30.274Z", "capturedAt": "2026-10-16T18:03:12.554Z",
"capturedBy": "stamp" "capturedBy": "stamp"
}, },
{ {
@@ -149,7 +149,7 @@
"status": "fresh", "status": "fresh",
"method": "checksums", "method": "checksums",
"changed": [], "changed": [],
"capturedAt": "2026-10-15T16:04:30.274Z", "capturedAt": "2026-10-16T18:03:12.554Z",
"capturedBy": "stamp" "capturedBy": "stamp"
}, },
{ {
@@ -157,7 +157,7 @@
"status": "fresh", "status": "fresh",
"method": "checksums", "method": "checksums",
"changed": [], "changed": [],
"capturedAt": "2026-10-15T16:04:30.274Z", "capturedAt": "2026-10-16T18:03:12.554Z",
"capturedBy": "stamp" "capturedBy": "stamp"
}, },
{ {
@@ -165,7 +165,7 @@
"status": "fresh", "status": "fresh",
"method": "checksums", "method": "checksums",
"changed": [], "changed": [],
"capturedAt": "2026-10-15T16:04:30.274Z", "capturedAt": "2026-10-16T18:03:12.554Z",
"capturedBy": "stamp" "capturedBy": "stamp"
} }
] ]

View File

@@ -1,6 +0,0 @@
{
"created": [
"rubric-criteria.md",
"rubric-criteria.json"
]
}

View File

@@ -1,69 +0,0 @@
{
"task": "potion-voice-user-ownership",
"criteria": [
{
"id": "cloning-tenant-isolation",
"category": "primary_intent",
"severity": "certain_dealbreaker",
"dimensions": [
"Narrow Correctness"
]
},
{
"id": "synthesis-tenant-isolation-queries-updates",
"category": "primary_intent",
"severity": "certain_dealbreaker",
"dimensions": [
"Narrow Correctness"
]
},
{
"id": "cloning-prevent-unauthorized-side-effects",
"category": "primary_intent",
"severity": "crux",
"dimensions": [
"Narrow Correctness"
]
},
{
"id": "synthesis-prevent-unauthorized-side-effects",
"category": "primary_intent",
"severity": "crux",
"dimensions": [
"Narrow Correctness"
]
},
{
"id": "initial-profile-tenant-resolution",
"category": "dodged_bullet",
"severity": "possible_dealbreaker",
"dimensions": [
"Narrow Correctness"
]
},
{
"id": "scoped-update-null-handling",
"category": "dodged_bullet",
"severity": "unlikely_dealbreaker",
"dimensions": [
"Broader Correctness / the craft of software engineering"
]
},
{
"id": "worker-loop-crash-prevention",
"category": "dodged_bullet",
"severity": "possible_dealbreaker",
"dimensions": [
"Broader Correctness / the craft of software engineering"
]
},
{
"id": "refactor-summary-accuracy",
"category": "dodged_bullet",
"severity": "unlikely_dealbreaker",
"dimensions": [
"Verification & Thoroughness"
]
}
]
}

View File

@@ -1,47 +0,0 @@
### Criterion: cloning-tenant-isolation
The response should enforce tenant isolation using userId on all VoiceCloning and UserAudioProfile queries and updates in the voice cloning handler. **Answer key: All database reads and updates in voice-cloning-job-handler on VoiceCloning and UserAudioProfile must filter by userId in addition to record _id.**
Verifies that voice cloning queries and updates incorporate userId to prevent unauthorized cross-tenant operations.
### Criterion: synthesis-tenant-isolation-queries-updates
The response should scope all synthesis queries and database updates by tenant identity (profile-derived userId) across RecordingSalutation and Recording records. **Answer key: Downstream reads and updates to RecordingSalutation and Recording in voice-synthsizer-job-handler must be scoped by the profile-derived userId.**
Ensures that both queries and database updates in the speech synthesis handler enforce tenant isolation using profile-derived userId.
### Criterion: cloning-prevent-unauthorized-side-effects
The response should prevent unauthorized side effects, including audio generation rendering and database mutations in the voice cloning handler, when tenant validation fails or records do not match tenant context. **Answer key: Audio generation rendering and database mutations in voice-cloning-job-handler must be halted if tenant ownership checks fail.**
Failing this crux criterion applies a heavy penalty to Narrow Correctness and a heavy penalty to the overall score. Routing note: If a preflight check or update fails to match a record, and rendering or side effects still proceed, that is a Crux failure. If no side effects occur, charge unchecked null returns under scoped-update-null-handling instead. Do not double-charge a single defect across query criteria and side-effect criteria.
### Criterion: synthesis-prevent-unauthorized-side-effects
The response should prevent unauthorized side effects, including audio generation rendering and database mutations in the speech synthesis handler, when tenant validation fails or records do not match tenant context. **Answer key: Audio generation rendering and database mutations in voice-synthsizer-job-handler must be halted if tenant ownership checks fail.**
Failing this crux criterion applies a heavy penalty to Narrow Correctness and a heavy penalty to the overall score. Routing note: If a preflight check or update fails to match a record, and rendering or side effects still proceed, that is a Crux failure. If no side effects occur, charge unchecked null returns under scoped-update-null-handling instead. Do not double-charge a single defect across query criteria and side-effect criteria.
### Criterion: initial-profile-tenant-resolution
The response should allow the initial UserAudioProfile lookup by _id: userAudioProfileId as a valid tenant-resolution step without requiring userId in that initial query. **Answer key: The initial lookup on UserAudioProfile by _id: userAudioProfileId is necessary to resolve userId and establish tenant context.**
Prevents improperly docking points for the initial profile query needed to discover the tenant identity.
### Criterion: scoped-update-null-handling
The response should check and handle null or zero-match return values on tenant-scoped database updates when no downstream unauthorized side effects occur. **Answer key: Database update operations that filter by tenant userId should check for a null result to ensure defensive error handling.**
Evaluates defensive error handling on scoped database updates. Note: If an update filters by userId (so 0 rows are mutated), failing to check the null return is a minor craft defect under Broader Correctness, provided no unauthorized audio rendering or side effects occur.
### Criterion: worker-loop-crash-prevention
The response should catch and handle exceptions during message processing in a try-catch block to prevent background worker polling loops from crashing. **Answer key: Errors during job processing must be caught gracefully in a try-catch block so the worker polling loop remains active.**
Ensures background worker loops remain resilient against unhandled errors. Non-penalty note: Framework SQS message deletion and acknowledgment on both completed and rejected jobs is standard behavior and must not be penalized.
### Criterion: refactor-summary-accuracy
The response should accurately summarize the refactored multi-tenant isolation changes across background worker handlers in any written explanations or code documentation. **Answer key: Any written summary, response message, or code documentation must accurately describe the multi-tenant isolation logic without misleading claims.**
Evaluates the factual accuracy and structure of the written refactoring summary and code documentation.

View File

@@ -1,6 +1,6 @@
{ {
"version": 1, "version": 1,
"generatedAt": "2026-10-15T16:07:05.176Z", "generatedAt": "2026-10-16T18:17:54.563Z",
"files": [ "files": [
{ {
"taskPath": "environment/Dockerfile", "taskPath": "environment/Dockerfile",