From 2847ec4a8571cf04d66c58cfec4e1fee1c15a736 Mon Sep 17 00:00:00 2001 From: Alex Alecu Date: Mon, 23 Mar 2026 18:03:00 +0200 Subject: [PATCH] fix(cli): use strict .kilo/ directive in config hint Replace conditional fallback language with an imperative instruction to always use .kilo/ and never create config under .kilocode/ or .opencode/. --- packages/opencode/src/session/system.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/opencode/src/session/system.ts b/packages/opencode/src/session/system.ts index 0c135605d45..720ad5cf548 100644 --- a/packages/opencode/src/session/system.ts +++ b/packages/opencode/src/session/system.ts @@ -68,7 +68,7 @@ export namespace SystemPrompt { ` Working directory: ${Instance.directory}`, ` Is directory a git repo: ${project.vcs === "git" ? "yes" : "no"}`, ` Platform: ${process.platform}`, - ` Project config: .kilo/ (command/*.md, agent/*.md, kilo.json, AGENTS.md). Reuse .kilocode/ if already present; otherwise create .kilo/.`, // kilocode_change + ` Project config: .kilo/ (command/*.md, agent/*.md, kilo.json, AGENTS.md). Always use .kilo/ for new config. Do not use .kilocode/ or .opencode/.`, // kilocode_change ` Global config: ${Global.Path.config}/ (same structure)`, // kilocode_change ...staticEnvLines(editorContext), // kilocode_change ``,