[PR #1289] [MERGED] fix: add custom() to system prompt on summarize #9874

Closed
opened 2026-02-16 18:14:19 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/1289
Author: @neriousy
Created: 7/24/2025
Status: Merged
Merged: 7/24/2025
Merged by: @thdxr

Base: devHead: fix/lost-agents.md


📝 Commits (1)

  • 983ef8c fix: add custom() to system prompt on summarize

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 packages/opencode/src/session/index.ts (+1 -1)

📄 Description

Prevents losing agent.md (and other custom rules) after session compact


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opencode/pull/1289 **Author:** [@neriousy](https://github.com/neriousy) **Created:** 7/24/2025 **Status:** ✅ Merged **Merged:** 7/24/2025 **Merged by:** [@thdxr](https://github.com/thdxr) **Base:** `dev` ← **Head:** `fix/lost-agents.md` --- ### 📝 Commits (1) - [`983ef8c`](https://github.com/anomalyco/opencode/commit/983ef8c58cc99afdf071b9072da4177f5e4f6464) fix: add custom() to system prompt on summarize ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/opencode/src/session/index.ts` (+1 -1) </details> ### 📄 Description Prevents losing agent.md (and other custom rules) after session compact --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 18:14:19 -05:00
yindo closed this issue 2026-02-16 18:14:19 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9874