Skip to content

Commit afb6abf

Browse files
rekram1-nodeopencode
authored andcommitted
fix: ensure OPENCODE_DISABLE_CLAUDE_CODE_PROMPT is respected for project lvl CLAUDE.md (anomalyco#19924)
1 parent e7f94f9 commit afb6abf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/opencode/src/session/instruction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const log = Log.create({ service: "instruction" })
1313

1414
const FILES = [
1515
"AGENTS.md",
16-
"CLAUDE.md",
16+
...(Flag.OPENCODE_DISABLE_CLAUDE_CODE_PROMPT ? [] : ["CLAUDE.md"]),
1717
"CONTEXT.md", // deprecated
1818
]
1919

0 commit comments

Comments
 (0)