Run Hermes adapter through local harness - #35
Conversation
|
Codex review: needs changes before merge. Reviewed August 7, 2026, 11:14 AM ET / 15:14 UTC. ClawSweeper reviewWhat this changesThe PR enables registered local adapters such as Hermes to run through ShellBench’s generic harness and adds workspace-first prompt guidance. Merge readiness⛔ Blocked by patch quality or review findings - 10 items remain Keep open: the PR’s central Hermes harness capability is not on current main, but its new execution path still bypasses adapter state verification, can retain passing scores after an adapter failure, and admits browser tasks without proving browser readiness. Priority: P2 Review scores
Verification
How this fits togetherShellBench loads benchmark tasks, runs each through an agent adapter, then verifies artifacts and state before aggregating scores. This PR routes non-OpenClaw adapters into that lifecycle, affecting which tasks run and how their results are scored. flowchart LR
Tasks[Benchmark tasks] --> Harness[Benchmark harness]
Harness --> Capability[Capability gate]
Capability --> Adapter[Hermes adapter]
Adapter --> LocalRun[Local agent run]
LocalRun --> Verification[Completion and state verification]
Verification --> Scores[Benchmark scores]
Before merge
Findings
Agent review detailsSecurityNone. Review metrics
Merge-risk optionsMaintainer options:
Copy recommended automerge instructionTechnical reviewBest possible solution: Integrate adapter-owned state verification into scoring before teardown, classify adapter phase failures as failed results, and either prove Hermes browser readiness or stop advertising browser support. Do we have a high-confidence way to reproduce the issue? Yes, by source inspection: run a local adapter task with a state assertion or a phase error after producing expected files; the branch sends state checks to the gateway shim and does not let result.error affect pass classification. Is this the best way to solve the issue? No: using the existing gateway-oriented scorer with a failing shim does not satisfy the canonical adapter contract; scoring must receive adapter-backed state-query results while the adapter context is still live. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: not found in the target repository. Codex review notes: model internal, reasoning high; reviewed against 884dd1bb5511. LabelsLabel justifications:
EvidenceAcceptance criteria:
What I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (49 earlier review cycles; latest 8 shown)
|
Summary
Validation
/Users/reckon/miniconda3/bin/python -m pytest tests/test_harness.py tests/test_hermes_adapter.py -q->21 passed/Users/reckon/miniconda3/bin/python -m pytest -q->318 passed, 5 skippedt2-msg-summarize-threadimproved from0.63704to1.000with the workspace-guidance patch.Notes
adapter != "openclaw"through the adapter lifecycle.