r/opencode • u/ayashiemon • 13d ago
How much do you invest in refactoring?
If decisions and specifications are clearly maintained, development can continue without major refactoring, since agents can work with relatively tangled code using verification-based approaches.
Personally, I invest in refactoring by both trying to get agents to autonomously identify inappropriate abstractions and contributing my own insights and vision. I believe that good code structure itself is an integral part of the goal I must accomplish. What do you think about this and to what extent do you practice it?




