Run Hermes adapter through local harness - #35
Conversation
|
Codex review: needs changes before merge. Reviewed August 3, 2026, 4:14 PM ET / 20:14 UTC. ClawSweeper reviewWhat this changesThis PR enables registered local adapters, including Hermes, to run through ShellBench’s harness, adds Hermes environment configuration, and prepends task-workspace guidance to Hermes prompts. Merge readiness⛔ Blocked by patch quality or review findings - 5 items remain Needs changes before merge: the generic local-adapter path never invokes the adapter state-verification contract, so Hermes runs that advertise memory, session, or cron support can receive invalid completion scores. Priority: P2 Review scores
Verification
How this fits togetherShellBench converts benchmark tasks into canonical adapter phases, runs an agent in an isolated workspace, and then scores the resulting transcript and environment assertions. The new local-adapter path sits between task setup and scoring, where adapter-owned state checks must be resolved before adapter teardown. flowchart TD
A[Benchmark task] --> B[Canonical adapter task]
B --> C[Local adapter lifecycle]
C --> D[Hermes workspace and agent]
D --> E[Adapter state assertions]
E --> F[Completion scoring]
F --> G[Benchmark result]
Before merge
Findings
Agent review detailsSecurityNone. Review metrics
Merge-risk optionsMaintainer options:
Copy recommended automerge instructionTechnical reviewBest possible solution: Preserve the generic adapter lifecycle, but resolve every adapter-owned StateQuery against the live adapter before teardown and add regression coverage for a stateful local-adapter task. Do we have a high-confidence way to reproduce the issue? Yes—source inspection gives a high-confidence path: run a local adapter task with a memory, session, or cron StateQuery in Hermes AI-agent mode and observe that scoring uses the local gateway shim rather than Is this the best way to solve the issue? No. The current branch is not the best complete solution because it bypasses the existing adapter verification contract; threading the live adapter context into state scoring is the narrow maintainable repair. 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 (31 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.