| Feature | Opencoder | OpenAgent | Notes |
|---|---|---|---|
| Agent Selection | ✅ Verified | ✅ Verified | Both agents correctly identified |
| Single Tool Calls | ✅ Works | ✅ Works | list, read, glob, bash all captured |
| Multi-Tool Chains | ✅ Works | ⚠️ Partial | glob→read works, but approval blocks chains |
| Event Capture | ✅ 18-56 events | ✅ 18-29 events | Real-time streaming works |
| Tool Verification | ✅ Accurate | ✅ Accurate | Tool names and inputs captured |
| File Cleanup | ✅ Works | ✅ Works | test_tmp/ cleaned before/after |
Problem: OpenAgent reads context but then stops and waits for text approval before executing write/edit tools.
Evidence:
Tool Call Details:
1. read: {"filePath":".opencode/context/core/standards/code.md"}
Violations:
- missing-required-tool: Required tool 'write' was not used
Root Cause: OpenAgent's system prompt requires text-based approval before execution. Single-prompt tests don't provide this approval.
Solution Options:
Problem: Agents sometimes use list instead of bash ls.
Solution: ✅ Fixed with mustUseAnyOf - allows alternative tools.
Observation: Approvals given: 0 even when tools execute.
Reason: The permission.request events are for tool-level permissions (dangerous commands), not text-based approval. OpenAgent's text approval is different.
| Test Type | Confidence | Reason |
|---|---|---|
| Opencoder - Read Operations | 🟢 HIGH | Works perfectly, verified |
| Opencoder - Multi-tool Chains | 🟢 HIGH | glob→read verified |
| Opencoder - Bash/List | 🟢 HIGH | Both tools work |
| OpenAgent - Read Operations | 🟢 HIGH | Context loading verified |
| OpenAgent - Multi-turn Approval | 🟡 MEDIUM | Works but needs more testing |
| OpenAgent - Write/Edit | 🔴 LOW | Blocked by approval workflow |
| OpenAgent - Context→Write Chain | 🔴 LOW | Stops after context read |
These openagent tests expect write/edit but use single prompts:
ctx-code-001.yaml - Expects read→writectx-code-001-claude.yaml - Expects read→writectx-docs-001.yaml - Expects read→editctx-tests-001.yaml - Expects read→writectx-multi-turn-001.yaml - Already multi-turn ✅create-component.yaml - Expects writeUpdate openagent write/edit tests to multi-turn: ```yaml prompts:
Add mustUseAnyOf where tools are interchangeable:
behavior:
mustUseAnyOf: [[bash], [list]]
| Agent | Simple Tasks | Multi-Step | Write/Edit | Confidence |
|---|---|---|---|---|
| Opencoder | ✅ | ✅ | ✅ | 🟢 HIGH |
| OpenAgent | ✅ | ⚠️ | ❌ | 🟡 MEDIUM |
Bottom Line: