[PR #1761] [MERGED] fix: only load the first local and global rule file #10051

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

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/1761
Author: @timoclsn
Created: 8/9/2025
Status: Merged
Merged: 8/11/2025
Merged by: @adamdotdevin

Base: devHead: fix-rule-file-loading


📝 Commits (1)

  • e675a6b fix: only load one main rule file

📊 Changes

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

View changed files

📝 packages/opencode/src/session/system.ts (+17 -6)

📄 Description

Only load the first found local and global rule file.

Priority AGENTS.md, CLAUDE.md


🔄 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/1761 **Author:** [@timoclsn](https://github.com/timoclsn) **Created:** 8/9/2025 **Status:** ✅ Merged **Merged:** 8/11/2025 **Merged by:** [@adamdotdevin](https://github.com/adamdotdevin) **Base:** `dev` ← **Head:** `fix-rule-file-loading` --- ### 📝 Commits (1) - [`e675a6b`](https://github.com/anomalyco/opencode/commit/e675a6baa7b1a4ee84e4f768fa70b020133742ab) fix: only load one main rule file ### 📊 Changes **1 file changed** (+17 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `packages/opencode/src/session/system.ts` (+17 -6) </details> ### 📄 Description Only load the first found local and global rule file. Priority AGENTS.md, CLAUDE.md --- <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:37 -05:00
yindo closed this issue 2026-02-16 18:14:37 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#10051