forked from anomalyco/opencode
-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
Problem
packages/opencode/src/core/stream.ts (484 lines) has no dedicated tests.
Required Tests
- Doom loop detection (same tool called 3x with identical input)
- Tool result injection
- Error recovery
- Context overflow detection
- Thinking block extraction
- Abort handling during cleanup
Files
- Create:
packages/opencode/test/core/stream.test.ts
Coverage Target
80%+ line coverage for stream.ts
Branch
claude/simplify-agentic-loop-2jRSP
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels