my first edits

This commit is contained in:
2026-10-21 15:25:54 -04:00
parent 858c3eab01
commit e299486354

View File

@@ -1,64 +1,54 @@
Denial of Review Feedback — potion-voice-user-ownership Task Denial of Review Feedback - potion-voice-user-ownership task
──────────────────────────────────────────────────────────────────────────────── 1. Crux Rule Scope
### 1. Crux Rule Scope
Feedback: "Narrow the Crux rule to rendering or mutating before/despite a failed ownership preflight. State that userId-scoped status: 'error' writes in Feedback: "Narrow the Crux rule to rendering or mutating before/despite a failed ownership preflight. State that userId-scoped status: 'error' writes in
catch path are not Crux failures." catch path are not Crux failures."
Denial: The current Crux rule already says this. The elaboration reads: "If a preflight check or update fails to match a record, and rendering or side Denial: The current Crux rule already says this. The explanation reads: "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." The effects still proceed, that is a Crux failure. If no side effects occur, charge unchecked null returns under scoped-update-null-handling instead." The
runs penalized (0.58, 0.63) did not just write status: 'error' in a catch block — they proceeded to render audio (clone_voice.py) after a scoped runs penalized (0.58, 0.63) did not just write status: 'error' in a catch block - they proceeded to render audio (clone_voice.py) after a scoped
processing update returned null. That is rendering despite a failed preflight, which is exactly what the Crux rule targets. Run 0.90 avoided this by processing update returned null. That is rendering despite a failed preflight, which is exactly what the Crux rule targets. Run 0.90 avoided this by
halting before rendering. The rubric does not need narrowing; the grader applied it correctly. halting before rendering.
──────────────────────────────────────────────────────────────────────────────── The rubric does not need narrowing; the grader applied it correctly.
### 2. Re-tier Run 0.50's Issue
2. Re-tier Run 0.50's Issue
Feedback: "Re-tier rendering after a null post-preflight update as moderate Broader Correctness. If keeping it load-bearing, say in instruction.md that a Feedback: "Re-tier rendering after a null post-preflight update as moderate Broader Correctness. If keeping it load-bearing, say in instruction.md that a
zero-match scoped update counts as an ownership failure." zero-match scoped update counts as an ownership failure."
Denial: Run 0.50 was penalized under Narrow Correctness (score 0.43) for a cloning-side-effect Crux failure — the handler rendered audio after a null Denial: Run 0.50 was penalized under Narrow Correctness (score 0.43) for a 'cloning-side-effect' Crux failure - the handler rendered audio after a null 'VoiceCloning' update. That is not a "null post-preflight update" in the catch path; it is the main processing update returning null, then the code continuing to clone_voice.py. This is a security hole: an attacker who races a deletion between preflight and the processing update gets their audio rendered anyway. That belongs in Crux, not Broader Correctness.
VoiceCloning update. That is not a "null post-preflight update" in the catch path; it is the main processing update returning null, then the code
continuing to clone_voice.py. This is a security hole: an attacker who races a deletion between preflight and the processing update gets their audio
rendered anyway. That belongs in Crux, not Broader Correctness. The instruction already implies this by requiring side effects to halt "if tenant
validation fails or if record ownership cannot be established." No change needed.
──────────────────────────────────────────────────────────────────────────────── The instruction already implies this by requiring side effects to halt "if tenant validation fails or if record ownership cannot be established." No change needed.
### 3. De-hint Instruction.md §2
3. De-hint Instruction.md §2
Feedback: "De-hint instruction.md §2. Describe the outcome you want instead of listing what to halt, and drop 'with try-catch blocks'." Feedback: "De-hint instruction.md §2. Describe the outcome you want instead of listing what to halt, and drop 'with try-catch blocks'."
Denial: Section 2 says: "Ensure that job execution—including audio rendering and database mutations—is halted if tenant validation fails... Maintain Denial: Section 2 says: "Ensure that job execution-including audio rendering and database mutations-is halted if tenant validation fails... Maintain
worker loop stability by handling errors in job processing with try-catch blocks." This is a requirement, not a hint. It tells the agent what must happen worker loop stability by handling errors in job processing with try-catch blocks." This is a requirement, not a hint. It tells the agent what must happen (halt on failed validation; keep the loop alive), not how to code it. The phrase "with try-catch blocks" names the standard pattern for "don't crash the
(halt on failed validation; keep the loop alive), not how to code it. The phrase "with try-catch blocks" names the standard pattern for "don't crash the worker loop" - removing it would make the requirement vaguer, not clearer.
worker loop" — removing it would make the requirement vaguer, not clearer. Real-world security tickets include exactly this level of constraint. Detector
over-hinting already cleared this task.
──────────────────────────────────────────────────────────────────────────────── Real-world security tickets include exactly this level of constraint. Detector over-hinting already cleared this task.
### 4. Add Concrete Answer Key
4. Add Concrete Answer Key
Feedback: "Add a concrete answer key listing the reads/updates to scope and the halt points in each handler." Feedback: "Add a concrete answer key listing the reads/updates to scope and the halt points in each handler."
Denial: The atomic rubric already has answer keys on every criterion: Denial: The atomic rubric already has answer keys on every criterion:
- cloning-tenant-isolation: "All database reads and updates in voice-cloning-job-handler on VoiceCloning and UserAudioProfile must filter by userId" a. cloning-tenant-isolation: "All database reads and updates in voice-cloning-job-handler on VoiceCloning and UserAudioProfile must filter by userId"
- synthesis-tenant-isolation-queries-updates: "Downstream reads and updates to RecordingSalutation and Recording in voice-synthsizer-job-handler must be b. synthesis-tenant-isolation-queries-updates: "Downstream reads and updates to RecordingSalutation and Recording in voice-synthsizer-job-handler must be scoped by the profile-derived userId"
scoped by the profile-derived userId" c. cloning-prevent-unauthorized-side-effects: "Audio generation rendering and database mutations in voice-cloning-job-handler must be halted if tenant ownership checks fail"
- cloning-prevent-unauthorized-side-effects: "Audio generation rendering and database mutations in voice-cloning-job-handler must be halted if tenant d. synthesis-prevent-unauthorized-side-effects: "Audio generation rendering and database mutations in voice-synthsizer-job-handler must be halted if tenant ownership checks fail"
ownership checks fail"
- synthesis-prevent-unauthorized-side-effects: "Audio generation rendering and database mutations in voice-synthsizer-job-handler must be halted if
tenant ownership checks fail"
The holistic rubric's Primary Intent and Ground Truth sections list the exact models, query patterns, and halt points. Adding another "answer key" The holistic rubric's 'Primary Intent' and 'Ground Truth' sections list the exact models, query patterns, and halt points. Adding another "answer key"
document would be redundant. document would be redundant.
──────────────────────────────────────────────────────────────────────────────── Conclusion
### Summary
The feedback misreads the existing rubric. The Crux rule is already narrow, run 0.50's penalty is correctly tiered, the instruction is a requirement not The feedback misreads the existing rubric. The Crux rule is already narrow, run 0.50's penalty is correctly tiered, the instruction is a requirement not
a hint, and answer keys already exist. No changes are warranted. a hint, and answer keys already exist. No changes are warranted.