Trial Adapters
This skill is for executable adapters used by:
agent-eval-harness eval '{"mode":"run",...}'
Required approach
- Use
grill-meto pin down:- target coding-agent CLI and invocation
- docs/MCP source for real command behavior
- approval/automation flags
- prompt/session mechanics
- trajectory capture strategy
- failure mapping and safe metadata
- If command semantics are unclear, ask the user for docs/MCP access or run
--help/docs discovery first. - Use
tddfor adapter executable contract tests.
Adapter executable contract
- Read one
adapter-inputJSON object from stdin. - Write exactly one
adapter-outputJSON object to stdout. - Write logs only to stderr.
- Always include
trajectory(can be[]). - For completed status, include non-empty final
message.
Use schema discovery as source of truth:
agent-eval-harness eval --schema adapter-input
agent-eval-harness eval --schema adapter-output
Contract tests to write first
- valid stdin -> valid stdout object
- exactly one stdout JSON object
- stderr-only logging
- schema-valid
trajectory - multi-prompt behavior (prompts array handling)
- explicit failure output behavior
Safe optional metadata examples
- model/provider name
- provider run id
- adapter name/version
- agent CLI version
- token usage
- cost estimate
- safe config summary
- suite tags