running 15 detectors 01
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
{
|
||||
"version": 1,
|
||||
"capturedAt": "2026-10-22T17:19:09.068Z",
|
||||
"capturedAt": "2026-10-22T17:31:38.774Z",
|
||||
"capturedBy": "stamp",
|
||||
"inputs": {
|
||||
"prompt": "5a01de789dcf143003b283d9f31b4fed5b9b4b7d0230a7d660067330f3d5da3c",
|
||||
"prompt": "91f826800550a53b772b747a2f32398bf2f1db26f07ef081155cd7c3fde25177",
|
||||
"graderGuidance": null,
|
||||
"sessionJsonl": null,
|
||||
"workspacePatch": null,
|
||||
"gitref": "fcd8a9d0",
|
||||
"graderGuidanceConsolidated": null,
|
||||
"holisticRubric": "45c4f74661ab10c39ec2cb5cd32755413429b442fcde3eead1a6bd8b271e9830",
|
||||
"holisticRubric": "566fd72d3c88f11daca9bbf4202385588e4a6806140df38f0ebc67944c05bdd1",
|
||||
"atomicRubric": "6b3a1c3f86cc2632b95988387cbfd057fd08b4750c88c964b8e94cf9775c1013",
|
||||
"rubricsYaml": null,
|
||||
"graderContext": "8b706dbaddf013f6b94031031fa60440015c71513b3943a662e24a2a878e7ba0"
|
||||
|
||||
@@ -34,7 +34,7 @@ The prompt asks for a security refactor across both workers: derive tenant ident
|
||||
### Exact helper and service surface — not-obvious
|
||||
|
||||
- **What the rubric requires:** The answer key names exact shapes such as `VoiceCloning.read({ _id, userAudioProfileId }, userId)`, `UserAudioProfile.readById(userAudioProfileId)`, `resolveTenantContext`, `requireOwnedRecord`, and `RecordingSalutation` / `Recording` service methods.
|
||||
- **Is it obvious from the prompt?** No, if those names and signatures are intended as mandatory. This is `overstated-universality`: direct model predicates, a filter object containing `userId`, differently named guards, or conditional updates are equally defensible ways to provide the requested behavior. The stored runs corroborate that competent implementations used several such shapes.
|
||||
- **Is it obvious from the prompt?** No, if those names and signatures are intended as mandatory. This is `overstated-universality`: direct model predicates, a filter object containing `userId`, differently named guards, or conditional updates are equally defensible ways to provide the requested behavior. No reference runs are present; this is a prospective prompt-to-rubric finding.
|
||||
- **Verdict for this expectation:** `not-obvious` as a secondary answer-key detail. Marking the signatures explicitly illustrative would remove the issue.
|
||||
|
||||
## Overall verdict
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
{
|
||||
"version": 1,
|
||||
"capturedAt": "2026-10-22T17:19:09.546Z",
|
||||
"capturedAt": "2026-10-22T17:31:38.774Z",
|
||||
"capturedBy": "stamp",
|
||||
"inputs": {
|
||||
"prompt": "5a01de789dcf143003b283d9f31b4fed5b9b4b7d0230a7d660067330f3d5da3c",
|
||||
"prompt": "91f826800550a53b772b747a2f32398bf2f1db26f07ef081155cd7c3fde25177",
|
||||
"graderGuidance": null,
|
||||
"sessionJsonl": null,
|
||||
"workspacePatch": null,
|
||||
"gitref": "fcd8a9d0",
|
||||
"graderGuidanceConsolidated": null,
|
||||
"holisticRubric": "45c4f74661ab10c39ec2cb5cd32755413429b442fcde3eead1a6bd8b271e9830",
|
||||
"holisticRubric": "566fd72d3c88f11daca9bbf4202385588e4a6806140df38f0ebc67944c05bdd1",
|
||||
"atomicRubric": "6b3a1c3f86cc2632b95988387cbfd057fd08b4750c88c964b8e94cf9775c1013",
|
||||
"rubricsYaml": null,
|
||||
"graderContext": "8b706dbaddf013f6b94031031fa60440015c71513b3943a662e24a2a878e7ba0"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
detector: detector-broken-dev-env
|
||||
verdict: package-drift
|
||||
confidence: HIGH
|
||||
verdict: clean
|
||||
confidence: MEDIUM
|
||||
---
|
||||
# Broken-dev-env check: potion-voice-user-ownership
|
||||
|
||||
@@ -9,36 +9,28 @@ Assessed: harbor-tasks/potion-voice-user-ownership/tests/holistic-rubric.md
|
||||
|
||||
## Verbatim grounding
|
||||
|
||||
The current prompt says:
|
||||
The prompt asks for an application-security refactor, not environment repair:
|
||||
|
||||
> “Maintain worker loop stability so queue polling continues smoothly without crashing the worker process.”
|
||||
> “Refactor all database reads and updates across both `voice-cloning-job-handler` and `voice-synthsizer-job-handler`.”
|
||||
|
||||
Every stored run instead received this additional implementation constraint:
|
||||
The shipped workspace and source checkout agree:
|
||||
|
||||
> “Maintain worker loop stability by handling errors in job processing with try-catch blocks so queue polling continues smoothly without crashing the worker process.”
|
||||
> `workspace_matches_checkout=yes`
|
||||
> `fcd8a9d0b00406bda1943c234a8f2fecaff9f774`
|
||||
|
||||
The current rubric says:
|
||||
The available baseline checks passed:
|
||||
|
||||
> “`userId`-scoped status updates (e.g., setting `status: 'error'`) in catch blocks **after** a successful initial preflight are **not** Crux failures.”
|
||||
> `js_checked=32`
|
||||
> `json_checked=34`
|
||||
> `manifests_ok=yes`
|
||||
|
||||
But `reward-0.5800-Vz8kjv9/grade.md` says:
|
||||
There is no packaged trial evidence to join against an older revision:
|
||||
|
||||
> “a null scoped processing update triggers the catch block, which still issues error-status database updates. ... This fails the task-specific Crux rule.”
|
||||
|
||||
The current rubric also says:
|
||||
|
||||
> “Rendering audio after a tenant-scoped update returns null / 0 matched records is a moderate Broader Correctness defect.”
|
||||
|
||||
But `reward-0.5000-hCpLyTL/grade.md` calls that same shape:
|
||||
|
||||
> “the task's cloning side-effect Crux failure.”
|
||||
|
||||
All four run-time input stamps carry older hashes for `instruction.md`, `tests/holistic-rubric.md`, `tests/atomic-rubric.yaml`, and `tests/grader-context.md` than the files currently shipped.
|
||||
> `reference_run_entries=0`
|
||||
> `rubric_regrade_entries=0`
|
||||
|
||||
## Rationale
|
||||
|
||||
The local environment itself is healthy: commit `fcd8a9d0b00406bda1943c234a8f2fecaff9f774` resolves in `repos/potion-voice`, the 96-file materialized workspace matches that commit byte-for-byte, every JavaScript file passes `node --check`, and all JSON files parse. The application vulnerability is the task's subject, not incidental setup breakage.
|
||||
The materialized workspace matches the declared source checkout at the resolved commit. Every JavaScript file passes `node --check`, every JSON file parses, and the three package manifests expose dependency sets. The repository declares no test script, so there is no unrelated red suite to classify. Confidence is medium because there are not yet trial trajectories or a project test suite to provide runtime corroboration.
|
||||
|
||||
The defect is package revision coherence. The agents ran under a prompt that explicitly required try-catch blocks, while the current prompt only requires the functional resilience outcome. More importantly, the stored grades apply the prior Crux treatment to later tenant-scoped no-match paths that the current rubric now routes to Broader Correctness or expressly exempts from Crux. Regrading alone cannot repair the prompt mismatch because the agents saw an extra requirement; the coherent fix is to collect new trials against the current prompt and staged atomic rubric.
|
||||
|
||||
The four old trajectories themselves ended normally with complete final messages, `exception_info: null`, and non-empty output trees. They are stale rather than infrastructure-corrupted.
|
||||
The prompt's premise also matches the workspace: both named handlers and the four named models exist, and the unscoped database calls are present. That application vulnerability is the task's deliberate subject rather than incidental environment breakage. With `reference-runs/` and `rubric-regrades/` empty, the former package-drift join no longer applies. No incidental breakage, corrupted run, premise mismatch, or mixed-revision run evidence remains.
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
{
|
||||
"version": 1,
|
||||
"capturedAt": "2026-10-22T17:19:10.023Z",
|
||||
"capturedAt": "2026-10-22T17:31:38.774Z",
|
||||
"capturedBy": "stamp",
|
||||
"inputs": {
|
||||
"prompt": "5a01de789dcf143003b283d9f31b4fed5b9b4b7d0230a7d660067330f3d5da3c",
|
||||
"prompt": "91f826800550a53b772b747a2f32398bf2f1db26f07ef081155cd7c3fde25177",
|
||||
"graderGuidance": null,
|
||||
"sessionJsonl": null,
|
||||
"workspacePatch": null,
|
||||
"gitref": "fcd8a9d0",
|
||||
"graderGuidanceConsolidated": null,
|
||||
"holisticRubric": "45c4f74661ab10c39ec2cb5cd32755413429b442fcde3eead1a6bd8b271e9830",
|
||||
"holisticRubric": "566fd72d3c88f11daca9bbf4202385588e4a6806140df38f0ebc67944c05bdd1",
|
||||
"atomicRubric": "6b3a1c3f86cc2632b95988387cbfd057fd08b4750c88c964b8e94cf9775c1013",
|
||||
"rubricsYaml": null,
|
||||
"graderContext": "8b706dbaddf013f6b94031031fa60440015c71513b3943a662e24a2a878e7ba0"
|
||||
|
||||
@@ -7,6 +7,8 @@ confidence: HIGH
|
||||
|
||||
Assessed: environment/Dockerfile, instruction.md, tests/*.md, the absent workspace patch, and the materialized source workspace
|
||||
|
||||
Reference runs: none present; they are not an input to this detector.
|
||||
|
||||
## Findings
|
||||
|
||||
### Pre-existing connection URLs — credential (informational)
|
||||
@@ -16,7 +18,7 @@ Assessed: environment/Dockerfile, instruction.md, tests/*.md, the absent workspa
|
||||
- **Why it's a finding:** The deterministic sweep found candidates only in the materialized baseline checkout. With no environment/workspace.patch, these files are source-repository content at the declared commit, not content authored by this task.
|
||||
- **Action:** The source-repository owner may assess and rotate any live values. The task author should not rewrite baseline source merely to clear this detector.
|
||||
|
||||
The authored-surface sweeps found no well-known secret shape, authoring-environment variable assignment, proxy endpoint, private-key block, bearer token, or checkout path.
|
||||
The authored-surface sweeps found no well-known secret shape, live authoring-environment value, proxy endpoint, private-key block, bearer token, or checkout path. The `${ANTHROPIC_API_KEY}` / `${ANTHROPIC_BASE_URL}` references in `task.toml` are variable placeholders rather than credential values.
|
||||
|
||||
## Overall verdict
|
||||
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
{
|
||||
"version": 1,
|
||||
"capturedAt": "2026-10-22T17:19:10.490Z",
|
||||
"capturedAt": "2026-10-22T17:31:38.774Z",
|
||||
"capturedBy": "stamp",
|
||||
"inputs": {
|
||||
"prompt": "5a01de789dcf143003b283d9f31b4fed5b9b4b7d0230a7d660067330f3d5da3c",
|
||||
"prompt": "91f826800550a53b772b747a2f32398bf2f1db26f07ef081155cd7c3fde25177",
|
||||
"graderGuidance": null,
|
||||
"sessionJsonl": null,
|
||||
"workspacePatch": null,
|
||||
"gitref": "fcd8a9d0",
|
||||
"graderGuidanceConsolidated": null,
|
||||
"holisticRubric": "45c4f74661ab10c39ec2cb5cd32755413429b442fcde3eead1a6bd8b271e9830",
|
||||
"holisticRubric": "566fd72d3c88f11daca9bbf4202385588e4a6806140df38f0ebc67944c05bdd1",
|
||||
"atomicRubric": "6b3a1c3f86cc2632b95988387cbfd057fd08b4750c88c964b8e94cf9775c1013",
|
||||
"rubricsYaml": null,
|
||||
"graderContext": "8b706dbaddf013f6b94031031fa60440015c71513b3943a662e24a2a878e7ba0"
|
||||
|
||||
@@ -7,6 +7,8 @@ confidence: HIGH
|
||||
|
||||
Assessed: harbor-tasks/potion-voice-user-ownership/instruction.md, tests/holistic-rubric.md, and authored workspace additions
|
||||
|
||||
Reference runs: none present; they are not needed for this self-containment check.
|
||||
|
||||
## Verbatim grounding
|
||||
|
||||
The strongest near-miss is the source-module naming in the prompt:
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
{
|
||||
"version": 1,
|
||||
"capturedAt": "2026-10-22T17:19:10.970Z",
|
||||
"capturedAt": "2026-10-22T17:31:38.774Z",
|
||||
"capturedBy": "stamp",
|
||||
"inputs": {
|
||||
"prompt": "5a01de789dcf143003b283d9f31b4fed5b9b4b7d0230a7d660067330f3d5da3c",
|
||||
"prompt": "91f826800550a53b772b747a2f32398bf2f1db26f07ef081155cd7c3fde25177",
|
||||
"graderGuidance": null,
|
||||
"sessionJsonl": null,
|
||||
"workspacePatch": null,
|
||||
"gitref": "fcd8a9d0",
|
||||
"graderGuidanceConsolidated": null,
|
||||
"holisticRubric": "45c4f74661ab10c39ec2cb5cd32755413429b442fcde3eead1a6bd8b271e9830",
|
||||
"holisticRubric": "566fd72d3c88f11daca9bbf4202385588e4a6806140df38f0ebc67944c05bdd1",
|
||||
"atomicRubric": "6b3a1c3f86cc2632b95988387cbfd057fd08b4750c88c964b8e94cf9775c1013",
|
||||
"rubricsYaml": null,
|
||||
"graderContext": "8b706dbaddf013f6b94031031fa60440015c71513b3943a662e24a2a878e7ba0"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
detector: detector-dimension-misapplication
|
||||
verdict: partial-misapplication
|
||||
verdict: clean
|
||||
confidence: HIGH
|
||||
---
|
||||
# Dimension-misapplication check: potion-voice-user-ownership
|
||||
@@ -9,7 +9,7 @@ Assessed: harbor-tasks/potion-voice-user-ownership/tests/holistic-rubric.md
|
||||
|
||||
## Verbatim grounding
|
||||
|
||||
The current rubric routes the severe case as follows:
|
||||
The rubric routes the severe case as follows:
|
||||
|
||||
> “Failing a Crux side-effect criterion applies a heavy penalty to Narrow Correctness and a heavy penalty to the overall score.”
|
||||
|
||||
@@ -27,10 +27,12 @@ The applicable routing rules are:
|
||||
|
||||
> “Broader Correctness / craft ... [grades] professional standards ... reliability ... [and] maintainability.”
|
||||
|
||||
The stored grades diverge from the current treatment. `reward-0.5000-hCpLyTL/grade.md` charges a post-context scoped-update no-match followed by rendering to Narrow Correctness and an overall Crux penalty. `reward-0.5800-Vz8kjv9/grade.md` and `reward-0.6300-NSP5wKq/grade.md` likewise apply Crux penalties to scoped catch-block status writes that the current rubric expressly exempts.
|
||||
The rubric's single-deduction rule states:
|
||||
|
||||
> “Do not double-charge a single code omission across multiple criteria.”
|
||||
|
||||
## Rationale
|
||||
|
||||
The current rubric text routes its behaviors sensibly: pre-context unauthorized execution is Narrow Correctness, safely tenant-scoped null handling is Broader Correctness, unsupported summary claims are Verification & Thoroughness, and one penalty naming both a criterion and the overall score is a sanctioned form.
|
||||
The rubric routes its behaviors consistently with the standard: unauthorized execution that violates the requested isolation behavior is Narrow Correctness; safely tenant-scoped null handling and polling reliability are Broader Correctness; unsupported security-summary claims are Verification & Thoroughness. The Crux clause names Narrow Correctness and the overall score in a single penalty, which is the sanctioned both-places form rather than double-charging.
|
||||
|
||||
The packaged reference grades, however, materially score those dimensions under the earlier routing. That is grade drift and therefore `partial-misapplication` under this detector. The paired `package-drift` report identifies the underlying revision mismatch; new trials against the current rubric should remove this finding.
|
||||
There are no reference-run grades in the package, so the grade-drift check has no contrary scoring to assess. Criterion names are canonical, no criterion is excluded in advance, and the rubric's charge-once rule prevents separately stated penalties from stacking on one omission. The current rubric is therefore clean on dimension routing.
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
{
|
||||
"version": 1,
|
||||
"capturedAt": "2026-10-22T17:19:11.441Z",
|
||||
"capturedAt": "2026-10-22T17:31:38.774Z",
|
||||
"capturedBy": "stamp",
|
||||
"inputs": {
|
||||
"prompt": "5a01de789dcf143003b283d9f31b4fed5b9b4b7d0230a7d660067330f3d5da3c",
|
||||
"prompt": "91f826800550a53b772b747a2f32398bf2f1db26f07ef081155cd7c3fde25177",
|
||||
"graderGuidance": null,
|
||||
"sessionJsonl": null,
|
||||
"workspacePatch": null,
|
||||
"gitref": "fcd8a9d0",
|
||||
"graderGuidanceConsolidated": null,
|
||||
"holisticRubric": "45c4f74661ab10c39ec2cb5cd32755413429b442fcde3eead1a6bd8b271e9830",
|
||||
"holisticRubric": "566fd72d3c88f11daca9bbf4202385588e4a6806140df38f0ebc67944c05bdd1",
|
||||
"atomicRubric": "6b3a1c3f86cc2632b95988387cbfd057fd08b4750c88c964b8e94cf9775c1013",
|
||||
"rubricsYaml": null,
|
||||
"graderContext": "8b706dbaddf013f6b94031031fa60440015c71513b3943a662e24a2a878e7ba0"
|
||||
|
||||
@@ -92,6 +92,8 @@ claims:
|
||||
|
||||
Assessed: harbor-tasks/potion-voice-user-ownership/tests/holistic-rubric.md
|
||||
|
||||
Reference runs: none present; claim truth and reachability were checked against the prompt and patched workspace.
|
||||
|
||||
Source: `harbor-tasks/potion-voice-user-ownership/environment/workspace/` — byte-matched to `repos/potion-voice` at commit `fcd8a9d0b00406bda1943c234a8f2fecaff9f774`; no workspace patch exists.
|
||||
|
||||
Checked 6 factual claim groups: 3 load-bearing passes and 3 non-load-bearing surface partials. No claim is false, unclear, or unreachable. The exact helper/service names in the answer key are target-shape prose rather than symbols in the starting tree; the underlying model fields, call sites, ownership predicates, and control-flow facts are all reachable from the workspace.
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
{
|
||||
"version": 1,
|
||||
"capturedAt": "2026-10-22T17:19:11.905Z",
|
||||
"capturedAt": "2026-10-22T17:31:38.774Z",
|
||||
"capturedBy": "stamp",
|
||||
"inputs": {
|
||||
"prompt": "5a01de789dcf143003b283d9f31b4fed5b9b4b7d0230a7d660067330f3d5da3c",
|
||||
"prompt": "91f826800550a53b772b747a2f32398bf2f1db26f07ef081155cd7c3fde25177",
|
||||
"graderGuidance": null,
|
||||
"sessionJsonl": null,
|
||||
"workspacePatch": null,
|
||||
"gitref": "fcd8a9d0",
|
||||
"graderGuidanceConsolidated": null,
|
||||
"holisticRubric": "45c4f74661ab10c39ec2cb5cd32755413429b442fcde3eead1a6bd8b271e9830",
|
||||
"holisticRubric": "566fd72d3c88f11daca9bbf4202385588e4a6806140df38f0ebc67944c05bdd1",
|
||||
"atomicRubric": "6b3a1c3f86cc2632b95988387cbfd057fd08b4750c88c964b8e94cf9775c1013",
|
||||
"rubricsYaml": null,
|
||||
"graderContext": "8b706dbaddf013f6b94031031fa60440015c71513b3943a662e24a2a878e7ba0"
|
||||
|
||||
@@ -7,6 +7,8 @@ confidence: HIGH
|
||||
|
||||
Assessed: harbor-tasks/potion-voice-user-ownership/tests/holistic-rubric.md
|
||||
|
||||
Reference runs: none present; this detector reads the rubric's positive target directly.
|
||||
|
||||
## Positive target present?
|
||||
|
||||
Yes. The Primary Intent affirmatively says the candidate must “audit database operations in both worker handlers, enforce tenant scoping using `userId` (or profile-derived `userId`), halt unauthorized side effects when tenant validation fails, and maintain background worker loop resilience.” The scored guidance then names the affected models, permitted initial lookup, side-effect boundary, null-result treatment, try-catch behavior, and accurate summary.
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
{
|
||||
"version": 1,
|
||||
"capturedAt": "2026-10-22T17:19:12.369Z",
|
||||
"capturedAt": "2026-10-22T17:31:38.774Z",
|
||||
"capturedBy": "stamp",
|
||||
"inputs": {
|
||||
"prompt": "5a01de789dcf143003b283d9f31b4fed5b9b4b7d0230a7d660067330f3d5da3c",
|
||||
"prompt": "91f826800550a53b772b747a2f32398bf2f1db26f07ef081155cd7c3fde25177",
|
||||
"graderGuidance": null,
|
||||
"sessionJsonl": null,
|
||||
"workspacePatch": null,
|
||||
"gitref": "fcd8a9d0",
|
||||
"graderGuidanceConsolidated": null,
|
||||
"holisticRubric": "45c4f74661ab10c39ec2cb5cd32755413429b442fcde3eead1a6bd8b271e9830",
|
||||
"holisticRubric": "566fd72d3c88f11daca9bbf4202385588e4a6806140df38f0ebc67944c05bdd1",
|
||||
"atomicRubric": "6b3a1c3f86cc2632b95988387cbfd057fd08b4750c88c964b8e94cf9775c1013",
|
||||
"rubricsYaml": null,
|
||||
"graderContext": "8b706dbaddf013f6b94031031fa60440015c71513b3943a662e24a2a878e7ba0"
|
||||
|
||||
@@ -15,7 +15,7 @@ The task has one broad outcome shape but several reasonable implementation shape
|
||||
|
||||
The Primary Intent and scored dimensions mostly credit observable properties rather than architecture: tenant filters, halt-before-side-effects ordering, safely handled no-matches, and loop continuity. That gives most implementation variants a scored home.
|
||||
|
||||
The “Answer Key: Call Sites & Halt Points” is narrower. It names `resolveTenantContext`, `requireOwnedRecord`, `UserAudioProfile.readById`, exact two-argument service calls, and `RecordingSalutation` / `Recording` service APIs without saying those names are illustrative. The existing reference implementations confirm the practical fork: they used different helper names, direct model predicates, filter objects containing `userId`, and service-level tenant arguments. A sound equivalent design therefore risks appearing to miss the literal answer key even while satisfying the task.
|
||||
The “Answer Key: Call Sites & Halt Points” is narrower. It names `resolveTenantContext`, `requireOwnedRecord`, `UserAudioProfile.readById`, exact two-argument service calls, and `RecordingSalutation` / `Recording` service APIs without saying those names are illustrative. A sound equivalent design using different helper names, direct model predicates, filter objects containing `userId`, or conditional updates therefore risks appearing to miss the literal answer key even while satisfying the task. No reference runs are present, so no run-evidenced penalty-side finding is asserted.
|
||||
|
||||
## Overall verdict
|
||||
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
{
|
||||
"version": 1,
|
||||
"capturedAt": "2026-10-22T17:19:12.832Z",
|
||||
"capturedAt": "2026-10-22T17:31:38.774Z",
|
||||
"capturedBy": "stamp",
|
||||
"inputs": {
|
||||
"prompt": "5a01de789dcf143003b283d9f31b4fed5b9b4b7d0230a7d660067330f3d5da3c",
|
||||
"prompt": "91f826800550a53b772b747a2f32398bf2f1db26f07ef081155cd7c3fde25177",
|
||||
"graderGuidance": null,
|
||||
"sessionJsonl": null,
|
||||
"workspacePatch": null,
|
||||
"gitref": "fcd8a9d0",
|
||||
"graderGuidanceConsolidated": null,
|
||||
"holisticRubric": "45c4f74661ab10c39ec2cb5cd32755413429b442fcde3eead1a6bd8b271e9830",
|
||||
"holisticRubric": "566fd72d3c88f11daca9bbf4202385588e4a6806140df38f0ebc67944c05bdd1",
|
||||
"atomicRubric": "6b3a1c3f86cc2632b95988387cbfd057fd08b4750c88c964b8e94cf9775c1013",
|
||||
"rubricsYaml": null,
|
||||
"graderContext": "8b706dbaddf013f6b94031031fa60440015c71513b3943a662e24a2a878e7ba0"
|
||||
|
||||
@@ -7,6 +7,8 @@ confidence: HIGH
|
||||
|
||||
Assessed: harbor-tasks/potion-voice-user-ownership/instruction.md, tests/holistic-rubric.md, package manifests, lockfiles, and the materialized workspace
|
||||
|
||||
Reference runs: none present; the task-level offline check does not depend on run behavior.
|
||||
|
||||
## Findings
|
||||
|
||||
### AWS SQS and audio generation — external-sounding context (cleared)
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
{
|
||||
"version": 1,
|
||||
"capturedAt": "2026-10-22T17:19:13.307Z",
|
||||
"capturedAt": "2026-10-22T17:31:38.774Z",
|
||||
"capturedBy": "stamp",
|
||||
"inputs": {
|
||||
"prompt": "5a01de789dcf143003b283d9f31b4fed5b9b4b7d0230a7d660067330f3d5da3c",
|
||||
"prompt": "91f826800550a53b772b747a2f32398bf2f1db26f07ef081155cd7c3fde25177",
|
||||
"graderGuidance": null,
|
||||
"sessionJsonl": null,
|
||||
"workspacePatch": null,
|
||||
"gitref": "fcd8a9d0",
|
||||
"graderGuidanceConsolidated": null,
|
||||
"holisticRubric": "45c4f74661ab10c39ec2cb5cd32755413429b442fcde3eead1a6bd8b271e9830",
|
||||
"holisticRubric": "566fd72d3c88f11daca9bbf4202385588e4a6806140df38f0ebc67944c05bdd1",
|
||||
"atomicRubric": "6b3a1c3f86cc2632b95988387cbfd057fd08b4750c88c964b8e94cf9775c1013",
|
||||
"rubricsYaml": null,
|
||||
"graderContext": "8b706dbaddf013f6b94031031fa60440015c71513b3943a662e24a2a878e7ba0"
|
||||
|
||||
@@ -7,6 +7,8 @@ confidence: HIGH
|
||||
|
||||
Assessed: harbor-tasks/potion-voice-user-ownership/instruction.md, the absent workspace patch, and tests/holistic-rubric.md as calibration
|
||||
|
||||
Reference runs: none present; prompt and authored-workspace surfaces were assessed directly.
|
||||
|
||||
## Findings
|
||||
|
||||
### Named tenant predicates — prompt near-miss (cleared)
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
{
|
||||
"version": 1,
|
||||
"capturedAt": "2026-10-22T17:19:13.777Z",
|
||||
"capturedAt": "2026-10-22T17:31:38.774Z",
|
||||
"capturedBy": "stamp",
|
||||
"inputs": {
|
||||
"prompt": "5a01de789dcf143003b283d9f31b4fed5b9b4b7d0230a7d660067330f3d5da3c",
|
||||
"prompt": "91f826800550a53b772b747a2f32398bf2f1db26f07ef081155cd7c3fde25177",
|
||||
"graderGuidance": null,
|
||||
"sessionJsonl": null,
|
||||
"workspacePatch": null,
|
||||
"gitref": "fcd8a9d0",
|
||||
"graderGuidanceConsolidated": null,
|
||||
"holisticRubric": "45c4f74661ab10c39ec2cb5cd32755413429b442fcde3eead1a6bd8b271e9830",
|
||||
"holisticRubric": "566fd72d3c88f11daca9bbf4202385588e4a6806140df38f0ebc67944c05bdd1",
|
||||
"atomicRubric": "6b3a1c3f86cc2632b95988387cbfd057fd08b4750c88c964b8e94cf9775c1013",
|
||||
"rubricsYaml": null,
|
||||
"graderContext": "8b706dbaddf013f6b94031031fa60440015c71513b3943a662e24a2a878e7ba0"
|
||||
|
||||
@@ -13,7 +13,7 @@ Assessed: harbor-tasks/potion-voice-user-ownership/tests/holistic-rubric.md
|
||||
|
||||
- **Where:** The Crux rule applies when a no-match occurs “**before** tenant context is established,” while the exception protects scoped error-status writes “**after** a successful initial preflight.” The answer key then defines initial `resolveTenantContext` as both the `UserAudioProfile` and `VoiceCloning` preflight lookups.
|
||||
- **Why it's ambiguous:** If the profile lookup succeeds and yields `userId`, but the subsequent `VoiceCloning` preflight returns null, tenant context has been established but the full initial preflight has not succeeded. Scoped catch-block writes in that middle case fit neither trigger cleanly. One grader can call them non-Crux because the tenant is known; another can call them Crux because the initial preflight failed. The difference controls both Narrow Correctness and an overall heavy penalty.
|
||||
- **Grade evidence:** The packaged grades were produced under an older rubric revision and therefore cannot validate consistent application of this wording. Their later-no-match Crux treatment is reported as package drift, not used as proof that the current prose is clear.
|
||||
- **Grade evidence:** No reference grades are present. The finding follows from the two competing readings of the current prose itself.
|
||||
- **Suggested rewrite:** Define one named boundary once—for example, “tenant context is established when the profile yields `userId`; after that point, any `userId`-scoped no-match is non-Crux”—and use that same boundary for the exception and every halt point.
|
||||
|
||||
### Exact answer-key APIs read as requirements
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
{
|
||||
"version": 1,
|
||||
"capturedAt": "2026-10-22T17:19:14.238Z",
|
||||
"capturedAt": "2026-10-22T17:31:38.774Z",
|
||||
"capturedBy": "stamp",
|
||||
"inputs": {
|
||||
"prompt": "5a01de789dcf143003b283d9f31b4fed5b9b4b7d0230a7d660067330f3d5da3c",
|
||||
"prompt": "91f826800550a53b772b747a2f32398bf2f1db26f07ef081155cd7c3fde25177",
|
||||
"graderGuidance": null,
|
||||
"sessionJsonl": null,
|
||||
"workspacePatch": null,
|
||||
"gitref": "fcd8a9d0",
|
||||
"graderGuidanceConsolidated": null,
|
||||
"holisticRubric": "45c4f74661ab10c39ec2cb5cd32755413429b442fcde3eead1a6bd8b271e9830",
|
||||
"holisticRubric": "566fd72d3c88f11daca9bbf4202385588e4a6806140df38f0ebc67944c05bdd1",
|
||||
"atomicRubric": "6b3a1c3f86cc2632b95988387cbfd057fd08b4750c88c964b8e94cf9775c1013",
|
||||
"rubricsYaml": null,
|
||||
"graderContext": "8b706dbaddf013f6b94031031fa60440015c71513b3943a662e24a2a878e7ba0"
|
||||
|
||||
@@ -7,6 +7,8 @@ confidence: HIGH
|
||||
|
||||
Assessed: harbor-tasks/potion-voice-user-ownership/tests/holistic-rubric.md against harbor-tasks/potion-voice-user-ownership/tests/atomic-rubric.yaml and tests/grader-context.md
|
||||
|
||||
Reference runs: none present; this detector compares the two rubric forms directly.
|
||||
|
||||
## Coverage map
|
||||
|
||||
| Holistic clause (short, verbatim key phrase) | Criterion id(s) | Status |
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
{
|
||||
"version": 1,
|
||||
"capturedAt": "2026-10-22T17:19:14.731Z",
|
||||
"capturedAt": "2026-10-22T17:31:38.774Z",
|
||||
"capturedBy": "stamp",
|
||||
"inputs": {
|
||||
"prompt": "5a01de789dcf143003b283d9f31b4fed5b9b4b7d0230a7d660067330f3d5da3c",
|
||||
"prompt": "91f826800550a53b772b747a2f32398bf2f1db26f07ef081155cd7c3fde25177",
|
||||
"graderGuidance": null,
|
||||
"sessionJsonl": null,
|
||||
"workspacePatch": null,
|
||||
"gitref": "fcd8a9d0",
|
||||
"graderGuidanceConsolidated": null,
|
||||
"holisticRubric": "45c4f74661ab10c39ec2cb5cd32755413429b442fcde3eead1a6bd8b271e9830",
|
||||
"holisticRubric": "566fd72d3c88f11daca9bbf4202385588e4a6806140df38f0ebc67944c05bdd1",
|
||||
"atomicRubric": "6b3a1c3f86cc2632b95988387cbfd057fd08b4750c88c964b8e94cf9775c1013",
|
||||
"rubricsYaml": null,
|
||||
"graderContext": "8b706dbaddf013f6b94031031fa60440015c71513b3943a662e24a2a878e7ba0"
|
||||
|
||||
@@ -7,6 +7,8 @@ confidence: HIGH
|
||||
|
||||
Assessed: harbor-tasks/potion-voice-user-ownership/tests/atomic-rubric.yaml
|
||||
|
||||
Reference runs: none present; they are not required for the artifact contract and judgment checks.
|
||||
|
||||
## Deterministic contract
|
||||
|
||||
1. **Pass:** The YAML parses with a top-level task string and eight criteria.
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
{
|
||||
"version": 1,
|
||||
"capturedAt": "2026-10-22T17:19:15.189Z",
|
||||
"capturedAt": "2026-10-22T17:31:38.774Z",
|
||||
"capturedBy": "stamp",
|
||||
"inputs": {
|
||||
"prompt": "5a01de789dcf143003b283d9f31b4fed5b9b4b7d0230a7d660067330f3d5da3c",
|
||||
"prompt": "91f826800550a53b772b747a2f32398bf2f1db26f07ef081155cd7c3fde25177",
|
||||
"graderGuidance": null,
|
||||
"sessionJsonl": null,
|
||||
"workspacePatch": null,
|
||||
"gitref": "fcd8a9d0",
|
||||
"graderGuidanceConsolidated": null,
|
||||
"holisticRubric": "45c4f74661ab10c39ec2cb5cd32755413429b442fcde3eead1a6bd8b271e9830",
|
||||
"holisticRubric": "566fd72d3c88f11daca9bbf4202385588e4a6806140df38f0ebc67944c05bdd1",
|
||||
"atomicRubric": "6b3a1c3f86cc2632b95988387cbfd057fd08b4750c88c964b8e94cf9775c1013",
|
||||
"rubricsYaml": null,
|
||||
"graderContext": "8b706dbaddf013f6b94031031fa60440015c71513b3943a662e24a2a878e7ba0"
|
||||
|
||||
@@ -7,6 +7,8 @@ confidence: HIGH
|
||||
|
||||
Assessed: harbor-tasks/potion-voice-user-ownership/tests/holistic-rubric.md
|
||||
|
||||
Reference runs: none present; the rubric contains no run-anchored phrasing to cross-check.
|
||||
|
||||
## Load-bearing run-dependence
|
||||
|
||||
None found.
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
{
|
||||
"version": 1,
|
||||
"capturedAt": "2026-10-22T17:19:15.636Z",
|
||||
"capturedAt": "2026-10-22T17:31:38.774Z",
|
||||
"capturedBy": "stamp",
|
||||
"inputs": {
|
||||
"prompt": "5a01de789dcf143003b283d9f31b4fed5b9b4b7d0230a7d660067330f3d5da3c",
|
||||
"prompt": "91f826800550a53b772b747a2f32398bf2f1db26f07ef081155cd7c3fde25177",
|
||||
"graderGuidance": null,
|
||||
"sessionJsonl": null,
|
||||
"workspacePatch": null,
|
||||
"gitref": "fcd8a9d0",
|
||||
"graderGuidanceConsolidated": null,
|
||||
"holisticRubric": "45c4f74661ab10c39ec2cb5cd32755413429b442fcde3eead1a6bd8b271e9830",
|
||||
"holisticRubric": "566fd72d3c88f11daca9bbf4202385588e4a6806140df38f0ebc67944c05bdd1",
|
||||
"atomicRubric": "6b3a1c3f86cc2632b95988387cbfd057fd08b4750c88c964b8e94cf9775c1013",
|
||||
"rubricsYaml": null,
|
||||
"graderContext": "8b706dbaddf013f6b94031031fa60440015c71513b3943a662e24a2a878e7ba0"
|
||||
|
||||
@@ -7,6 +7,8 @@ confidence: HIGH
|
||||
|
||||
Assessed: harbor-tasks/potion-voice-user-ownership/tests/holistic-rubric.md and the complete environment bundle
|
||||
|
||||
Reference runs: none present; the no-snapshot decision is grounded in the injected environment surface.
|
||||
|
||||
## Verbatim grounding
|
||||
|
||||
The injected-snapshot paths are absent:
|
||||
|
||||
@@ -12,7 +12,7 @@ A recent security audit revealed a critical multi-tenant isolation vulnerability
|
||||
- Ensure the initial lookup on `UserAudioProfile` by `_id: userAudioProfileId` is permitted to establish tenant context and resolve `userId`.
|
||||
|
||||
2. **Side-Effect Prevention & Error Handling**:
|
||||
- Ensure that job execution—including audio rendering and database mutations—is halted if tenant validation fails or if record ownership cannot be established.
|
||||
- Ensure that job execution-including audio rendering and database mutations-is halted if tenant validation fails or if record ownership cannot be established.
|
||||
- Maintain worker loop stability so queue polling continues smoothly without crashing the worker process.
|
||||
|
||||
3. **Documentation**:
|
||||
|
||||
@@ -35,9 +35,9 @@ The following lists the database operations that must be tenant-scoped and the c
|
||||
|
||||
### voice-cloning-job-handler
|
||||
**Reads requiring `userId` scope** (after initial `UserAudioProfile` bootstrap):
|
||||
- `VoiceCloning.read({ _id, userAudioProfileId }, userId)` — preflight ownership check
|
||||
- `VoiceCloning` service: `read`, `find`, `update`, `remove` — all filter by `userId`
|
||||
- `UserAudioProfile` service: `read`, `update`, `remove` — all filter by `userId`
|
||||
- `VoiceCloning.read({ _id, userAudioProfileId }, userId)` - preflight ownership check
|
||||
- `VoiceCloning` service: `read`, `find`, `update`, `remove` - all filter by `userId`
|
||||
- `UserAudioProfile` service: `read`, `update`, `remove` - all filter by `userId`
|
||||
|
||||
**Updates requiring `userId` scope**:
|
||||
- `VoiceCloning.update({ _id, status: 'processing' }, userId)`
|
||||
@@ -57,12 +57,12 @@ The following lists the database operations that must be tenant-scoped and the c
|
||||
|
||||
### voice-synthsizer-job-handler
|
||||
**Reads requiring `userId` scope** (after initial `UserAudioProfile` bootstrap):
|
||||
- `UserAudioProfile.readById(userAudioProfileId)` — bootstrap (permitted unscoped by `userId`, filters by `_id` + `deleted:false`)
|
||||
- `RecordingSalutation.findOne({ _id: salutationId, userId, deleted: false })` — preflight
|
||||
- `Recording.findOne({ _id: recordingId, userId, deleted: false })` — preflight
|
||||
- `RecordingSalutation` service: `read`, `find`, `update`, `remove`, `updateOrCreate` — all filter by `userId`
|
||||
- `Recording` service: `read`, `find`, `update`, `remove` — all filter by `userId`
|
||||
- `Job` service: `insertMany` — scopes by `userId`
|
||||
- `UserAudioProfile.readById(userAudioProfileId)` - bootstrap (permitted unscoped by `userId`, filters by `_id` + `deleted:false`)
|
||||
- `RecordingSalutation.findOne({ _id: salutationId, userId, deleted: false })` - preflight
|
||||
- `Recording.findOne({ _id: recordingId, userId, deleted: false })` - preflight
|
||||
- `RecordingSalutation` service: `read`, `find`, `update`, `remove`, `updateOrCreate` - all filter by `userId`
|
||||
- `Recording` service: `read`, `find`, `update`, `remove` - all filter by `userId`
|
||||
- `Job` service: `insertMany` - scopes by `userId`
|
||||
|
||||
**Updates requiring `userId` scope**:
|
||||
- `salutationService.updateOrCreate({ firstName, salutationVideo, userAudioProfileId }, userId)`
|
||||
|
||||
Reference in New Issue
Block a user