Stop Using OpenCode
TLDR Dev 4 hours ago
OpenCode, a popular open-source AI coding agent with 161k GitHub stars, has critical design flaws in both functionality and security that make it unsafe to use. The tool repeatedly invalidates its prompt cache through unnecessary system prompt re-evaluations, filesystem reads on every turn, and context pruning that removes crucial information mid-session, forcing 10-minute re-computations. Users lack proper access controls, lack the ability to prevent file writes outside project directories, and face a broken permission system that relies on human decision-making rather than technical enforcement.