Files
c6c5440aa8 Fix Tier 3 grading for native Hermes and OpenCode tool calls (#867)
* fix(tier3): grade Hermes and OpenCode calls by their recorded results

A successful read could hide a failed edit to the same file, and a runner error could count as a successful command. Match each tool result to its call before giving credit for a manifest read, a file change, or recovery from a command failure.

Use the same Hermes tool names and result handling in the runner and the verifier shipped with Harbor tasks. Keep rejected terminal attempts visible to security checks without treating them as completed commands.

Co-authored-by: Narendran Raghavan <nraghavan@nvidia.com>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Deepak Jain <deepujain@gmail.com>

* fix(tier3): grade command completion and file actions by their receipts

A Claude background launch can succeed before the command exits. Do not use that receipt to verify a file read or a successful retry. A failed directory change must not make a later deletion look safe.

Use the recorded Pi and OpenCode file outcomes, not JSON error messages in the file. Match the expected operation and replacement text to the call that performed it.

Co-authored-by: Narendran Raghavan <nraghavan@nvidia.com>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Deepak Jain <deepujain@gmail.com>

* fix(tier3): require completion evidence for run claims

Signed-off-by: Narendran Raghavan <nraghavan@nvidia.com>

---------

Signed-off-by: Deepak Jain <deepujain@gmail.com>
Signed-off-by: Narendran Raghavan <nraghavan@nvidia.com>
Co-authored-by: Narendran Raghavan <nraghavan@nvidia.com>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 04:56:37 -08:00
..