init run of pre-trial detectors

This commit is contained in:
2026-10-14 12:43:14 -04:00
parent d9c0fbd3d0
commit a336717532
30 changed files with 677 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
{
"version": 1,
"capturedAt": "2026-10-14T16:37:57.200Z",
"capturedBy": "stamp",
"inputs": {
"prompt": "4c44bf9a51d54c2ff9d91b946d875cf59cb094a0c007be5be75b9a47babe1ddb",
"graderGuidance": null,
"sessionJsonl": null,
"workspacePatch": null,
"gitref": "fcd8a9d0",
"graderGuidanceConsolidated": null,
"holisticRubric": "e1a8a0612bd3bde9d31e0ad9cc8ba0406494041376daeea484cb6d93834395b5",
"atomicRubric": "f3801722301f9957b14417d9e82255c98cc355c580954a2b4c969765b05088d0",
"rubricsYaml": null,
"graderContext": "4a190e72b383ce4d40095fae5a9d1d42fae9bbae7c245ffa2ad7410ebc18fb1d"
}
}

View File

@@ -0,0 +1,36 @@
---
detector: detector-answer-obviousness
verdict: over-cued
confidence: HIGH
---
# Answer-obviousness check: potion-voice-user-ownership
Assessed: harbor-tasks/potion-voice-user-ownership/tests/holistic-rubric.md
## What the prompt asks
The prompt asks to “audit and refactor all database queries and execution flows” for ownership, explicitly requires `userId` filters, verification before side effects, stable polling, and tests. These are the same behaviors the rubric scores.
## Per-expectation assessment
### Tenant filters — over-cued
- **What the rubric requires:** “All database lookups and updates in both worker handlers incorporate `userId` filters alongside record IDs.”
- **Is it obvious from the prompt?** The prompt already says “Ensure every database operation filters by `userId` ... in addition to record identifiers.” This hands over the scored behavior.
- **Verdict for this expectation:** `over-cued`.
### Authorization order — over-cued
- **What the rubric requires:** “Tenant ownership is fully validated before initiating voice synthesis model calls, profile creation, or modifying linked audio assets.”
- **Is it obvious from the prompt?** The prompt explicitly says to verify ownership “before executing heavy side effects.”
- **Verdict for this expectation:** `over-cued`.
### Worker stability and tests — over-cued
- **What the rubric requires:** “The polling loop continues processing subsequent queue messages cleanly without crashing” and “Candidate provides automated unit tests, mock suites, or verification scripts.”
- **Is it obvious from the prompt?** Requirements 3 and 4 state these outcomes directly.
- **Verdict for this expectation:** `over-cued`.
## Overall verdict
The rubric largely scores compliance with explicit instructions. The exact call-site inventory adds requirements that are not grounded in the current source; that is separately recorded in the fact-check and exhaustiveness reports.

View File

@@ -0,0 +1,17 @@
{
"version": 1,
"capturedAt": "2026-10-14T16:37:57.200Z",
"capturedBy": "stamp",
"inputs": {
"prompt": "4c44bf9a51d54c2ff9d91b946d875cf59cb094a0c007be5be75b9a47babe1ddb",
"graderGuidance": null,
"sessionJsonl": null,
"workspacePatch": null,
"gitref": "fcd8a9d0",
"graderGuidanceConsolidated": null,
"holisticRubric": "e1a8a0612bd3bde9d31e0ad9cc8ba0406494041376daeea484cb6d93834395b5",
"atomicRubric": "f3801722301f9957b14417d9e82255c98cc355c580954a2b4c969765b05088d0",
"rubricsYaml": null,
"graderContext": "4a190e72b383ce4d40095fae5a9d1d42fae9bbae7c245ffa2ad7410ebc18fb1d"
}
}

View File

@@ -0,0 +1,24 @@
---
detector: detector-broken-dev-env
verdict: premise-mismatch
confidence: MEDIUM
---
# Broken-dev-env check: potion-voice-user-ownership
Assessed: harbor-tasks/potion-voice-user-ownership/tests/holistic-rubric.md
## Verbatim grounding
> “tenant/userId specified in the job payload” — instruction.md, Overview.
> “SpeechSynthesisJob.findOne({ _id: jobId, userId })” — holistic-rubric.md, Database Call-Site Inventory.
> `const { userAudioProfileId, text, firstName, salutationId, recordingId, baseUrlForPotionAi, env } = job` — voice-synthsizer-job-handler/index.js, lines 74–82.
> `const { training_model_path, userId } = userAudioProfile[0]` — same file, line 101.
## Rationale
The current synthesis flow neither reads a payload `userId` nor a `jobId`; it derives `userId` from the profile after a lookup by profile ID. Its `Job` model is used to insert downstream jobs, not to look up a synthesis job before processing. The prompt and rubric therefore assume an ingress contract that the source does not show. The payload might carry unused fields from an external producer, so the mismatch is about the shipped handler behavior, not proof of the external message shape.
The workspace built successfully and `node --check` passed on all JavaScript files. No reference runs exist yet, so this report makes no claim about run corruption or package drift.

View File

@@ -0,0 +1,17 @@
{
"version": 1,
"capturedAt": "2026-10-14T16:37:57.200Z",
"capturedBy": "stamp",
"inputs": {
"prompt": "4c44bf9a51d54c2ff9d91b946d875cf59cb094a0c007be5be75b9a47babe1ddb",
"graderGuidance": null,
"sessionJsonl": null,
"workspacePatch": null,
"gitref": "fcd8a9d0",
"graderGuidanceConsolidated": null,
"holisticRubric": "e1a8a0612bd3bde9d31e0ad9cc8ba0406494041376daeea484cb6d93834395b5",
"atomicRubric": "f3801722301f9957b14417d9e82255c98cc355c580954a2b4c969765b05088d0",
"rubricsYaml": null,
"graderContext": "4a190e72b383ce4d40095fae5a9d1d42fae9bbae7c245ffa2ad7410ebc18fb1d"
}
}

View File

@@ -0,0 +1,16 @@
---
detector: detector-credential-leakage
verdict: not-applicable
confidence: HIGH
---
# Credential-leakage check: potion-voice-user-ownership
Assessed: harbor-tasks/potion-voice-user-ownership/tests/holistic-rubric.md
## Findings
`environment/workspace.patch` does not exist. The authored prompt and rubric were read, but there are no added patch lines to scan for shipped credentials or checkout paths.
## Overall verdict
Re-run after any workspace patch is added. The Dockerfile is the shared toolkit copy, not an authored patch.

View File

@@ -0,0 +1,17 @@
{
"version": 1,
"capturedAt": "2026-10-14T16:37:57.200Z",
"capturedBy": "stamp",
"inputs": {
"prompt": "4c44bf9a51d54c2ff9d91b946d875cf59cb094a0c007be5be75b9a47babe1ddb",
"graderGuidance": null,
"sessionJsonl": null,
"workspacePatch": null,
"gitref": "fcd8a9d0",
"graderGuidanceConsolidated": null,
"holisticRubric": "e1a8a0612bd3bde9d31e0ad9cc8ba0406494041376daeea484cb6d93834395b5",
"atomicRubric": "f3801722301f9957b14417d9e82255c98cc355c580954a2b4c969765b05088d0",
"rubricsYaml": null,
"graderContext": "4a190e72b383ce4d40095fae5a9d1d42fae9bbae7c245ffa2ad7410ebc18fb1d"
}
}

View File

@@ -0,0 +1,18 @@
---
detector: detector-cross-task-reference
verdict: clean
confidence: HIGH
---
# Cross-task-reference check: potion-voice-user-ownership
Assessed: harbor-tasks/potion-voice-user-ownership/tests/holistic-rubric.md
## Verbatim grounding
> “Voice Cloning Job Handler (`voice-cloning-job-handler`)”
> “Speech Synthesis Job Handler (`voice-synthsizer-job-handler`)”
## Rationale
These names identify directories in this task's source workspace. Neither the prompt nor the rubric refers to a sibling task or borrows calibration from another task.

View File

@@ -0,0 +1,17 @@
{
"version": 1,
"capturedAt": "2026-10-14T16:37:57.200Z",
"capturedBy": "stamp",
"inputs": {
"prompt": "4c44bf9a51d54c2ff9d91b946d875cf59cb094a0c007be5be75b9a47babe1ddb",
"graderGuidance": null,
"sessionJsonl": null,
"workspacePatch": null,
"gitref": "fcd8a9d0",
"graderGuidanceConsolidated": null,
"holisticRubric": "e1a8a0612bd3bde9d31e0ad9cc8ba0406494041376daeea484cb6d93834395b5",
"atomicRubric": "f3801722301f9957b14417d9e82255c98cc355c580954a2b4c969765b05088d0",
"rubricsYaml": null,
"graderContext": "4a190e72b383ce4d40095fae5a9d1d42fae9bbae7c245ffa2ad7410ebc18fb1d"
}
}

View File

@@ -0,0 +1,20 @@
---
detector: detector-dimension-misapplication
verdict: partial-misapplication
confidence: HIGH
---
# Dimension-misapplication check: potion-voice-user-ownership
Assessed: harbor-tasks/potion-voice-user-ownership/tests/holistic-rubric.md
## Verbatim grounding
> “Any database query that fetches or mutates records using only primary keys without tenant filters hits Section 1 penalty.”
> “If an agent performs state mutations, profile updates, or audio synthesis against **unowned cross-tenant records**, apply heavy penalty to Section 2.”
The Grading Standard uses Integrity, Narrow Correctness, Broader Correctness / the craft of software engineering, Persistence, Communication, Verification & Thoroughness, Common Sense, and Thought Partnership. “Section 1” and “Section 2” are rubric subsections, not grading criteria.
## Rationale
The failure descriptions are substantive correctness failures, but their penalties are routed to invented section labels rather than the shared criteria or an explicit overall penalty. A grader cannot tell how “Section 2” maps into the eight scored dimensions. Route security defects to Narrow Correctness or Broader Correctness as appropriate, and state separately if a heavy overall penalty is intended. No reference-run grades exist to audit.

View File

@@ -0,0 +1,17 @@
{
"version": 1,
"capturedAt": "2026-10-14T16:37:57.200Z",
"capturedBy": "stamp",
"inputs": {
"prompt": "4c44bf9a51d54c2ff9d91b946d875cf59cb094a0c007be5be75b9a47babe1ddb",
"graderGuidance": null,
"sessionJsonl": null,
"workspacePatch": null,
"gitref": "fcd8a9d0",
"graderGuidanceConsolidated": null,
"holisticRubric": "e1a8a0612bd3bde9d31e0ad9cc8ba0406494041376daeea484cb6d93834395b5",
"atomicRubric": "f3801722301f9957b14417d9e82255c98cc355c580954a2b4c969765b05088d0",
"rubricsYaml": null,
"graderContext": "4a190e72b383ce4d40095fae5a9d1d42fae9bbae7c245ffa2ad7410ebc18fb1d"
}
}

View File

@@ -0,0 +1,53 @@
---
detector: detector-fact-check-rubric-claims
verdict: fail
confidence: HIGH
claims:
- id: c01
verdict: fail
loadBearing: true
summary: Cloning handler has a VoiceCloningJob lookup
rubricQuote: 'Job Record Lookup: `VoiceCloningJob.findOne({ _id: jobId, userId })` or equivalent scoping check.'
sourceEvidence: "const voiceCloningService = require('./voice_cloning')"
sourceProvenance: 'harbor-tasks/potion-voice-user-ownership/environment/workspace/voice-cloning-job-handler/index.js (lines 11-14, 100-105, 138-142)'
note: 'The handler consumes a serialized job._doc and updates VoiceCloning by _id; it has no VoiceCloningJob model or incoming jobId lookup. The rubric can ask for a justified ownership check, but this named call-site is not a current source fact.'
- id: c02
verdict: fail
loadBearing: true
summary: Cloning handler has a Recording source lookup
rubricQuote: 'Source Recording Lookup: `Recording.findOne({ _id: recordingId, userId })` ensuring source audio belongs to the user.'
sourceEvidence: 'const { metadata, input, _id, userAudioProfileId } = job._doc'
sourceProvenance: 'harbor-tasks/potion-voice-user-ownership/environment/workspace/voice-cloning-job-handler/index.js (lines 100-104, 156-171)'
note: 'Cloning inputs contain waveUrl and originalText, and the handler has no Recording import or recordingId in its consumed payload. A new lookup would require a new relationship or input contract.'
- id: c03
verdict: fail
loadBearing: true
summary: Synthesis handler has a SpeechSynthesisJob lookup
rubricQuote: 'Job Record Lookup: `SpeechSynthesisJob.findOne({ _id: jobId, userId })` or equivalent scoping check.'
sourceEvidence: "const jobService = require('./job')"
sourceProvenance: 'harbor-tasks/potion-voice-user-ownership/environment/workspace/voice-synthsizer-job-handler/index.js (lines 11-14, 74-82, 214-235)'
note: 'The handler has no SpeechSynthesisJob symbol or consumed jobId. Its Job service inserts downstream work after synthesis. This required lookup is not grounded in the shipped workflow.'
- id: c04
verdict: pass
loadBearing: true
summary: Synthesis handler looks up a salutation recording
rubricQuote: 'Salutation Recording Lookup: `RecordingSalutation.findOne({ _id: salutationId, userId })` ensuring salutation audio belongs to the user.'
sourceEvidence: 'const salutationToUpdate = await recordingSalutationModel.findOne({'
sourceProvenance: 'harbor-tasks/potion-voice-user-ownership/environment/workspace/voice-synthsizer-job-handler/index.js (lines 152-155)'
note: 'The lookup exists and lacks userId; adding an ownership constraint is reachable from the local code.'
- id: c05
verdict: pass
loadBearing: true
summary: Both workers run a polling loop
rubricQuote: 'The polling loop continues processing subsequent queue messages cleanly without crashing.'
sourceEvidence: 'await processQueue()'
sourceProvenance: 'harbor-tasks/potion-voice-user-ownership/environment/workspace/voice-cloning-job-handler/index.js (lines 321-329); voice-synthsizer-job-handler/index.js (lines 258-262)'
note: 'Both handlers have long-running processQueue loops, so the stability requirement is source-grounded.'
---
# Fact-check rubric claims: potion-voice-user-ownership
Assessed: harbor-tasks/potion-voice-user-ownership/tests/holistic-rubric.md
Source: `harbor-tasks/potion-voice-user-ownership/environment/workspace/`, built from `potion-voice` commit `fcd8a9d0b00406bda1943c234a8f2fecaff9f774` with no workspace patch.
Checked five load-bearing claims. Three required call-site claims fail against the source. The real handler structure is available to the test agent in the workspace, so this is factual drift in the rubric, not hidden evidence.

View File

@@ -0,0 +1,17 @@
{
"version": 1,
"capturedAt": "2026-10-14T16:37:57.200Z",
"capturedBy": "stamp",
"inputs": {
"prompt": "4c44bf9a51d54c2ff9d91b946d875cf59cb094a0c007be5be75b9a47babe1ddb",
"graderGuidance": null,
"sessionJsonl": null,
"workspacePatch": null,
"gitref": "fcd8a9d0",
"graderGuidanceConsolidated": null,
"holisticRubric": "e1a8a0612bd3bde9d31e0ad9cc8ba0406494041376daeea484cb6d93834395b5",
"atomicRubric": "f3801722301f9957b14417d9e82255c98cc355c580954a2b4c969765b05088d0",
"rubricsYaml": null,
"graderContext": "4a190e72b383ce4d40095fae5a9d1d42fae9bbae7c245ffa2ad7410ebc18fb1d"
}
}

View File

@@ -0,0 +1,20 @@
---
detector: detector-good-response-defined
verdict: defines-good
confidence: HIGH
---
# Good-response-defined check: potion-voice-user-ownership
Assessed: harbor-tasks/potion-voice-user-ownership/tests/holistic-rubric.md
## Positive target present?
The rubric states “All database lookups and updates in both worker handlers incorporate `userId` filters alongside record IDs” and “Tenant ownership is fully validated before initiating voice synthesis model calls, profile creation, or modifying linked audio assets.” It also specifies stable polling and verification as passing outcomes.
## What the grader has to infer
The grader still has to infer how the proposed lookup inventory fits the actual message and model flow. That is a factual and scope problem, not an absence of a positive success target.
## Overall verdict
The rubric gives a concrete affirmative target for the central ownership and sequencing work.

View File

@@ -0,0 +1,17 @@
{
"version": 1,
"capturedAt": "2026-10-14T16:37:57.200Z",
"capturedBy": "stamp",
"inputs": {
"prompt": "4c44bf9a51d54c2ff9d91b946d875cf59cb094a0c007be5be75b9a47babe1ddb",
"graderGuidance": null,
"sessionJsonl": null,
"workspacePatch": null,
"gitref": "fcd8a9d0",
"graderGuidanceConsolidated": null,
"holisticRubric": "e1a8a0612bd3bde9d31e0ad9cc8ba0406494041376daeea484cb6d93834395b5",
"atomicRubric": "f3801722301f9957b14417d9e82255c98cc355c580954a2b4c969765b05088d0",
"rubricsYaml": null,
"graderContext": "4a190e72b383ce4d40095fae5a9d1d42fae9bbae7c245ffa2ad7410ebc18fb1d"
}
}

View File

@@ -0,0 +1,20 @@
---
detector: detector-good-response-exhaustiveness
verdict: has-gaps
confidence: HIGH
---
# Good-response-exhaustiveness check: potion-voice-user-ownership
Assessed: harbor-tasks/potion-voice-user-ownership/tests/holistic-rubric.md
## Plausible strong-response approaches
The handler can validate ownership through a tenant-scoped persisted job and related resources if an authoritative tenant is available. It can also identify that the shipped synthesis handler does not consume a payload `userId` or `jobId`, explain the missing trust anchor, and implement only the checks that can be justified from local data while flagging the message-contract gap. Both are reasonable responses to this source.
## Coverage in the rubric
The rubric names `SpeechSynthesisJob.findOne({ _id: jobId, userId })` as a required call site. No `SpeechSynthesisJob` symbol exists in the shipped handler; the `Job` model is used for downstream `insertMany`. The second approach is not credited and may be marked down for omitting a lookup that has no current input ID. No reference runs exist to check whether that penalty fires.
## Overall verdict
The rubric should credit a source-grounded implementation that reports the missing authoritative tenant/job identity, rather than requiring the named synthesis lookup in all cases.

View File

@@ -0,0 +1,17 @@
{
"version": 1,
"capturedAt": "2026-10-14T16:37:57.200Z",
"capturedBy": "stamp",
"inputs": {
"prompt": "4c44bf9a51d54c2ff9d91b946d875cf59cb094a0c007be5be75b9a47babe1ddb",
"graderGuidance": null,
"sessionJsonl": null,
"workspacePatch": null,
"gitref": "fcd8a9d0",
"graderGuidanceConsolidated": null,
"holisticRubric": "e1a8a0612bd3bde9d31e0ad9cc8ba0406494041376daeea484cb6d93834395b5",
"atomicRubric": "f3801722301f9957b14417d9e82255c98cc355c580954a2b4c969765b05088d0",
"rubricsYaml": null,
"graderContext": "4a190e72b383ce4d40095fae5a9d1d42fae9bbae7c245ffa2ad7410ebc18fb1d"
}
}

View File

@@ -0,0 +1,16 @@
---
detector: detector-offline-verifiability
verdict: offline-verifiable
confidence: MEDIUM
---
# Offline-verifiability check: potion-voice-user-ownership
Assessed: harbor-tasks/potion-voice-user-ownership/tests/holistic-rubric.md
## Findings
The strongest near-miss is the rubric's “Audio synthesis model execution and S3 storage operations.” These are effects to guard, not live outcomes the prompt requires the agent to perform. Local tests can stub Mongo model calls, process execution, S3, and SQS to verify ownership order. The existing package declares the JavaScript dependencies; no new package fetch is required by the request.
## Overall verdict
The requested code changes and the essential authorization-order checks can be completed and tested locally. The task should grade local behavior and code evidence, since no live tenant, S3 bucket, or model runtime is supplied.

View File

@@ -0,0 +1,17 @@
{
"version": 1,
"capturedAt": "2026-10-14T16:37:57.200Z",
"capturedBy": "stamp",
"inputs": {
"prompt": "4c44bf9a51d54c2ff9d91b946d875cf59cb094a0c007be5be75b9a47babe1ddb",
"graderGuidance": null,
"sessionJsonl": null,
"workspacePatch": null,
"gitref": "fcd8a9d0",
"graderGuidanceConsolidated": null,
"holisticRubric": "e1a8a0612bd3bde9d31e0ad9cc8ba0406494041376daeea484cb6d93834395b5",
"atomicRubric": "f3801722301f9957b14417d9e82255c98cc355c580954a2b4c969765b05088d0",
"rubricsYaml": null,
"graderContext": "4a190e72b383ce4d40095fae5a9d1d42fae9bbae7c245ffa2ad7410ebc18fb1d"
}
}

View File

@@ -0,0 +1,28 @@
---
detector: detector-over-hinting
verdict: clear-hinting
confidence: HIGH
---
# Over-hinting check: potion-voice-user-ownership
Assessed: harbor-tasks/potion-voice-user-ownership/tests/holistic-rubric.md
## Findings
### Exact filters — prompt-hint (clear)
- **Where:** instruction.md, Requirement 1.
- **Quote:** “Ensure every database operation filters by `userId` (or verified tenant identifier) in addition to record identifiers (`jobId`, `recordingId`, `profileId`).”
- **What it pre-empts:** The rubric's central check is whether the agent identifies and applies those ownership filters.
- **De-hinting option:** State the desired tenant isolation outcome and let the agent identify which queries need a tenant predicate.
### Authorization order and tests — prompt-hint (clear)
- **Where:** instruction.md, Requirements 2 and 4.
- **Quote:** “Perform tenant validation and ownership verification **before** executing heavy side effects” and “Add unit or integration tests to verify multi-tenant query scoping.”
- **What it pre-empts:** These sentences prescribe two other rubric pass conditions directly.
- **De-hinting option:** Keep concrete product constraints while removing professional-diligence directives that the rubric is meant to measure.
## Overall verdict
The prompt gives away most of the central graded behavior. There is no authored workspace patch with comments to assess. This is advisory; the author may intentionally keep an explicit implementation request.

View File

@@ -0,0 +1,17 @@
{
"version": 1,
"capturedAt": "2026-10-14T16:37:57.200Z",
"capturedBy": "stamp",
"inputs": {
"prompt": "4c44bf9a51d54c2ff9d91b946d875cf59cb094a0c007be5be75b9a47babe1ddb",
"graderGuidance": null,
"sessionJsonl": null,
"workspacePatch": null,
"gitref": "fcd8a9d0",
"graderGuidanceConsolidated": null,
"holisticRubric": "e1a8a0612bd3bde9d31e0ad9cc8ba0406494041376daeea484cb6d93834395b5",
"atomicRubric": "f3801722301f9957b14417d9e82255c98cc355c580954a2b4c969765b05088d0",
"rubricsYaml": null,
"graderContext": "4a190e72b383ce4d40095fae5a9d1d42fae9bbae7c245ffa2ad7410ebc18fb1d"
}
}

View File

@@ -0,0 +1,33 @@
---
detector: detector-rubric-clarity
verdict: material-issues
confidence: HIGH
---
# Rubric-clarity check: potion-voice-user-ownership
Assessed: harbor-tasks/potion-voice-user-ownership/tests/holistic-rubric.md
## Material ambiguities
### Undefined penalty destination
- **Where:** “apply heavy penalty to Section 2” and “hits Section 1 penalty.”
- **Why it's ambiguous:** The Grading Standard scores eight named criteria and an optional overall penalty; Sections 1 and 2 are local rubric headings. Two graders could assign different criterion and overall deductions.
### Scope of every database operation
- **Where:** “All database lookups and updates in both worker handlers incorporate `userId` filters alongside record IDs.”
- **Why it's ambiguous:** This could mean all active handler call sites, all generic service methods, and inserts that do not yet have a record ID. These interpretations change the score.
### Expected job failure status
- **Where:** “Marking the rejected job itself as `status: 'error'` or `status: 'failed'` on the requesting job record is valid lifecycle tracking.”
- **Why it's ambiguous:** The synthesis handler does not consume a persisted job ID, so it is unclear which job record this protects or expects.
## Copy-edit issues
None found that materially interrupts reading.
## Overall verdict
The undefined scoring destinations and uncertain call-site scope make this rubric hard to apply consistently. There are no reference grades yet to resolve how the wording was interpreted.

View File

@@ -0,0 +1,17 @@
{
"version": 1,
"capturedAt": "2026-10-14T16:37:57.200Z",
"capturedBy": "stamp",
"inputs": {
"prompt": "4c44bf9a51d54c2ff9d91b946d875cf59cb094a0c007be5be75b9a47babe1ddb",
"graderGuidance": null,
"sessionJsonl": null,
"workspacePatch": null,
"gitref": "fcd8a9d0",
"graderGuidanceConsolidated": null,
"holisticRubric": "e1a8a0612bd3bde9d31e0ad9cc8ba0406494041376daeea484cb6d93834395b5",
"atomicRubric": "f3801722301f9957b14417d9e82255c98cc355c580954a2b4c969765b05088d0",
"rubricsYaml": null,
"graderContext": "4a190e72b383ce4d40095fae5a9d1d42fae9bbae7c245ffa2ad7410ebc18fb1d"
}
}

View File

@@ -0,0 +1,51 @@
---
detector: detector-rubric-coverage
verdict: material-issues
confidence: HIGH
---
# Rubric-coverage check: potion-voice-user-ownership
Assessed: harbor-tasks/potion-voice-user-ownership/tests/holistic-rubric.md against tests/atomic-rubric.yaml and tests/grader-context.md
## Coverage map
| Holistic clause | Criterion id(s) | Status |
| --- | --- | --- |
| “All database lookups and updates ... incorporate `userId` filters” | scopes-active-worker-database-operations | partial |
| “Tenant ownership is fully validated before initiating voice synthesis” | prevents-unauthorized-cross-tenant-mutations | covered |
| “apply heavy penalty to Section 2” | prevents-unauthorized-cross-tenant-mutations | partial |
| “prematurely on a user's own tenant records” | none | missing |
| “Marking the rejected job itself ... is valid ... must NOT be penalized” | none | missing |
| “polling loop continues” | ensures-clean-worker-execution | covered |
| “preserve existing service patterns ... compile” | maintains-syntax-and-import-integrity; preserves-existing-service-architecture | covered |
| “automated unit tests, mock suites, or verification scripts” | provides-accurate-verification-reporting | covered |
## Coverage gaps
### Premature own-tenant processing
- **Holistic clause:** “If an agent executes processing/synthesis prematurely on a user's **own tenant records** before completing authorization checks, apply a moderate deduction to Section 2.”
- **Closest criterion:** `prevents-unauthorized-cross-tenant-mutations` only addresses unowned records.
- **What is lost:** A response with premature processing on owned records may score cleanly under the atomic form.
### Rejected-job status protection
- **Holistic clause:** “Marking the rejected job itself as `status: 'error'` or `status: 'failed'` ... must NOT be penalized.”
- **Closest criterion:** None.
- **What is lost:** The atomic rubric does not protect valid lifecycle tracking from being mistaken for an unauthorized mutation.
## Invented content
The atomic criterion `ensures-clean-worker-execution` carries `severity: certain_dealbreaker`, while the holistic rubric only says a loop crash “hit Section 3 penalty” without an equivalent high-severity rule. The atomic severity is unsupported.
## Context integrity
The context document carries the main call-site list, but it changes the rubric's cloning “Source Recording Lookup” into no corresponding cloning recording lookup. It also omits the job-status call sites. These facts are missing or drifted.
## Crux alignment
The holistic rubric's heavy Section 2 penalty has no defined overall-score target. The atomic rubric marks both scoping and cross-tenant mutation as crux, even though the holistic rubric labels only the latter as a heavy crux failure. The conversion changes penalty weight.
## Overall verdict
Material protections and sequencing distinctions are lost; other severities are invented. The atomic file also fails its own schema, covered by detector-rubric-form.

View File

@@ -0,0 +1,17 @@
{
"version": 1,
"capturedAt": "2026-10-14T16:37:57.200Z",
"capturedBy": "stamp",
"inputs": {
"prompt": "4c44bf9a51d54c2ff9d91b946d875cf59cb094a0c007be5be75b9a47babe1ddb",
"graderGuidance": null,
"sessionJsonl": null,
"workspacePatch": null,
"gitref": "fcd8a9d0",
"graderGuidanceConsolidated": null,
"holisticRubric": "e1a8a0612bd3bde9d31e0ad9cc8ba0406494041376daeea484cb6d93834395b5",
"atomicRubric": "f3801722301f9957b14417d9e82255c98cc355c580954a2b4c969765b05088d0",
"rubricsYaml": null,
"graderContext": "4a190e72b383ce4d40095fae5a9d1d42fae9bbae7c245ffa2ad7410ebc18fb1d"
}
}

View File

@@ -0,0 +1,43 @@
---
detector: detector-rubric-form
verdict: material-issues
confidence: HIGH
---
# Rubric-form check: potion-voice-user-ownership
Assessed: harbor-tasks/potion-voice-user-ownership/tests/atomic-rubric.yaml
## Deterministic contract
1. FAIL: top-level `requirements:` appears where the schema requires `criteria:`.
2. PASS: `task: potion-voice-user-ownership` matches the slug.
3. PASS: all six IDs are unique kebab-case.
4. FAIL: categories such as `database`, `security`, and `reliability` are outside `primary_intent`, `extra_credit`, `dodged_bullet`.
5. PASS: the severity values shown are in vocabulary, though placement cannot validate under invalid categories.
6. PASS: exactly two criteria carry `severity: crux`.
7. FAIL: dimensions such as `correctness`, `security`, and `testing` do not name Grading Standard criteria.
8. FAIL: criteria have `guidelines:` rather than the required singular `guideline:` field.
9. PASS: numeric-penalty pattern sweeps found no candidate amounts in the atomic file or grader-context.md.
10. The skill's core document skips number 10; there is no separate check to apply.
11. FAIL: guidelines begin “Verify that” / “Ensure” / “Confirm” rather than the required positive response statements.
## Atomicity and self-containment
### Broad database bundle
- **Criterion:** `scopes-active-worker-database-operations`.
- **Where:** “Verify that VoiceCloningJob, SpeechSynthesisJob, Recording, RecordingSalutation, and UserAudioProfile queries include userId scoping.”
- **Why:** Several independent worker paths and resource types are bundled, so one missed call site forces an improvised partial verdict.
- **Suggested split or rewrite:** Separate active call-site groups by worker or resource relationship.
## Phrasing and answer keys
The factual model inventory is not stated as a bold inline answer key. The `guidelines` text is phrased as instructions to the grader rather than one response requirement per criterion.
## Fair-grading findings
The invented model names and call sites are not all reachable as current operations in the workspace; see the fact-check report.
## Overall verdict
The artifact fails the deterministic schema and would need conversion to the current atomic-rubric format before it can be graded as intended.

View File

@@ -0,0 +1,17 @@
{
"version": 1,
"capturedAt": "2026-10-14T16:37:57.200Z",
"capturedBy": "stamp",
"inputs": {
"prompt": "4c44bf9a51d54c2ff9d91b946d875cf59cb094a0c007be5be75b9a47babe1ddb",
"graderGuidance": null,
"sessionJsonl": null,
"workspacePatch": null,
"gitref": "fcd8a9d0",
"graderGuidanceConsolidated": null,
"holisticRubric": "e1a8a0612bd3bde9d31e0ad9cc8ba0406494041376daeea484cb6d93834395b5",
"atomicRubric": "f3801722301f9957b14417d9e82255c98cc355c580954a2b4c969765b05088d0",
"rubricsYaml": null,
"graderContext": "4a190e72b383ce4d40095fae5a9d1d42fae9bbae7c245ffa2ad7410ebc18fb1d"
}
}

View File

@@ -0,0 +1,24 @@
---
detector: detector-rubric-generality
verdict: generalizes
confidence: HIGH
---
# Rubric-generality check: potion-voice-user-ownership
Assessed: harbor-tasks/potion-voice-user-ownership/tests/holistic-rubric.md
## Load-bearing run-dependence
None found.
## Run-anchored phrasings
None found.
## Infra-framework references
None found.
## Overall verdict
The rubric describes response behavior without tying scores to particular reference runs or naming the evaluation framework. Its other defects are covered by separate detectors.

View File

@@ -0,0 +1,17 @@
{
"version": 1,
"capturedAt": "2026-10-14T16:37:57.200Z",
"capturedBy": "stamp",
"inputs": {
"prompt": "4c44bf9a51d54c2ff9d91b946d875cf59cb094a0c007be5be75b9a47babe1ddb",
"graderGuidance": null,
"sessionJsonl": null,
"workspacePatch": null,
"gitref": "fcd8a9d0",
"graderGuidanceConsolidated": null,
"holisticRubric": "e1a8a0612bd3bde9d31e0ad9cc8ba0406494041376daeea484cb6d93834395b5",
"atomicRubric": "f3801722301f9957b14417d9e82255c98cc355c580954a2b4c969765b05088d0",
"rubricsYaml": null,
"graderContext": "4a190e72b383ce4d40095fae5a9d1d42fae9bbae7c245ffa2ad7410ebc18fb1d"
}
}

View File

@@ -0,0 +1,20 @@
---
detector: detector-snapshot-leakage
verdict: not-applicable
confidence: HIGH
---
# Snapshot-leakage check: potion-voice-user-ownership
Assessed: harbor-tasks/potion-voice-user-ownership/tests/holistic-rubric.md
## Verbatim grounding
There is no `environment/session.jsonl` or `session-full.jsonl` in this scaffold-based task. The rubric is present, but there is no injected conversation to compare against it.
## Rationale
This is a manual task. Snapshot leakage cannot occur without a snapshot. Re-run only if a session is added.
## Snapshot hygiene (advisory)
No hygiene issues noted.