plugin-testinglisted
Install: claude install-skill dzianisv/opencode-plugins
# Plugin Testing Checklist
Verify plugin spec requirements with actionable test cases for the reflection and TTS plugins.
## Plugin Specifications
### Reflection Plugin (`reflection-3.ts`)
#### Purpose
Evaluates task completion when the agent goes idle. If the task is incomplete, sends feedback to continue work.
#### Spec Requirements
| ID | Requirement | Description |
|----|-------------|-------------|
| R1 | Uses RECENT human input | Extract the most recent human message as the task (not the first) |
| R2 | Returns feedback only if INCOMPLETE | Only call `promptAsync()` when `verdict.complete === false` |
| R3 | No feedback if COMPLETE | Complete tasks show toast only, no prompt (prevents infinite loop) |
| R4 | No console.log | No logging to avoid breaking CLI output |
| R5 | Stores in `.reflection/` | Save reflection data (task, result, tools, prompt, verdict, timestamp) to `.reflection/` directory |
| R6 | Skip judge sessions | Never reflect on judge sessions (contain "TASK VERIFICATION") |
| R7 | Skip aborted sessions | Never reflect on sessions cancelled by user (Esc key) |
| R8 | Attempt limiting | Max 3 reflection attempts per session before giving up |
| R9 | Reset on new input | Reset attempt counter when user provides new input |
| R10 | Concurrent protection | Prevent multiple simultaneous reflections on same session |
#### Data Storage Format (`.reflection/`)
```json
{
"task": "string - the most recent human message",
"result": "string - the assistant