Dashboard › opencode › pty_read grep isolation
01a07f25-90da-76e3-9e1d-647fa1aed5b7| Project | Hits | Last recalled |
|---|---|---|
| opencode-lore | 1 | 2h ago |
Trap: moving model-controlled regexes to bounded grep -E looks sufficient, but concurrent reads can still create unlimited workers and aggregate memory/process pressure. Fix: enforce a bounded worker semaphore, cap stdin and output, handle child/stdin errors, apply a hard deadline, force text-safe NUL behavior, and bound limit before materializing lines.