by miki123211 · 2w ago · 0 comments
When making a harness, it is so, so easy to do the "web thing" and have your system prompt be a template where you dynamically inject variables like the current date or the contents of the current working directory, and then just re-render that template on every request. THis is a bad, doubleplusungood, terrible, awful idea, and you should never do this under any circumstances. Anthropic will soon force you not to by literally refusing conversations that "break continuity" in this way and do anything but append new user messages at the end, but other providers at least appear to work.
I haven't noticed any cache busting happening at midnight, but I'll pay more attention in the future just in case.
Of course the lack of any care for submitted issues or follow up from the devs is a long term known issue with Opencode, but it's not what we're talking about here.