Answer: Edit a global or upward-discovered AGENTS.md while a session is running to update its guidance; before the next model request, OpenCode detects the change and adds an instruction update before delivering pending input. Status: Overdue (check was due 2026-11-20T13:36:53Z and has not succeeded) Entry: tool/opencode/memory-and-context/instructions-updates Revision: 2 Digest: sha256:94c10490e62abc4b (changes whenever the content changes) Timeline: Created: 2026-11-13T03:57:43Z Last changed: 2026-11-19T13:36:53Z (update sequence: — → AGENTS.md changes → instruction update → next prompt) Last verified: 2026-11-19T13:36:53Z Next check: 2026-11-20T13:36:53Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of update method | Edit a global or upward-discovered AGENTS.md while a session is running | [1] | 2026-11-19 detection timing | Before the next model request | [1] | 2026-11-19 update sequence | AGENTS.md changes → instruction update → next prompt | [1] | 2026-11-19 Sources: [1] opencode. "Instructions | OpenCode". https://opencode.ai/docs/instructions/ Role: primary. Accessed: 2026-11-19T13:36:53Z Quote: "Edit a global or upward-discovered AGENTS.md while a session is running to update its guidance." (Supports: update method) Quote: "Before the next model request, OpenCode detects the change and adds an instruction update before delivering pending input" (Supports: detection timing) Quote: "AGENTS.md changes → instruction update → next prompt" (Supports: update sequence) Snapshot SHA-256: 1658411ae7ccab85bdcabcdc548fba65e11a1a2c73766d8708ecf3e60b45b6ec (captured 2026-11-18T13:40:08Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-18T13:40:11Z, so the values verified then were kept. Cross-check: not-available at 2026-11-19T13:36:53Z. No independent second source is configured for this entry Last successful check: 2026-11-19T13:36:53Z Last attempt: 2026-11-19T13:36:53Z Notes and limitations: Extracted automatically from a single official source (section "Updates"). Related: https://latestn.com/tool/opencode/memory-and-context/manual-compaction How do I trigger compaction manually in opencode? https://latestn.com/tool/opencode/models/choose-edit-models-pricing How do I choose or edit models and set custom pricing in opencode Console? https://latestn.com/tool/opencode/models/claude-code-supported-models Which models can I use with Claude Code through OpenCode Console? https://latestn.com/tool/opencode/integrations/websearch-providers-env-vars Which web search providers does opencode support and what environment variables do they use? https://latestn.com/tool/opencode/memory-and-context/agents-md-discovery-order How does opencode discover and order AGENTS.md instruction files? https://latestn.com/tool/opencode/memory-and-context/agents-md-file-location Where should I place AGENTS.md files so opencode applies them to the right directories? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-19T13:36:53Z | changed | update sequence: — → AGENTS.md changes → instruction update → next prompt | [1] 2026-11-19T13:36:53Z | changed | detection timing: — → Before the next model request | [1] 2026-11-19T13:36:53Z | changed | update method: — → Edit a global or upward-discovered AGENTS.md while a session is running | [1] 2026-11-19T13:36:53Z | changed | Update sequence: AGENTS.md changes → instruction update → next prompt → — | [1] 2026-11-19T13:36:53Z | changed | Detection timing: Before the next model request → — | [1] 2026-11-19T13:36:53Z | changed | Update method: Edit a global or upward-discovered AGENTS.md while a session is running → — | [1] 2026-11-13T03:57:43Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/opencode/memory-and-context/instructions-updates/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/opencode/memory-and-context/instructions-updates POST: https://latestn.com/dispute/tool/opencode/memory-and-context/instructions-updates with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/opencode/memory-and-context/instructions-updates?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I update opencode project instructions when files change? Revision 2, last verified 2026-11-19T13:36:53Z. https://latestn.com/tool/opencode/memory-and-context/instructions-updates (accessed 2026-11-21T09:52:57Z). @misc{LatestN_tool_opencode_memory_and_context_instructions_updates_r2, title = {How do I update opencode project instructions when files change?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/opencode/memory-and-context/instructions-updates}}, note = {Revision 2; digest sha256:94c10490e62abc4b; last verified 2026-11-19T13:36:53Z; accessed 2026-11-21T09:52:57Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/opencode/memory-and-context/instructions-updates