Skip to content

Commit 5efbcd3

Browse files
author
StackMemory Bot (CLI)
committed
feat(gepa): watch AGENTS.md in Prompt Forge watcher
1 parent 856d725 commit 5efbcd3

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/cli/claude-sm.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,13 +248,15 @@ class ClaudeSM {
248248

249249
private startGEPAWatcher(): void {
250250
// Find CLAUDE.md and AGENT.md in current directory or project root
251-
const watchFiles = ['CLAUDE.md', 'AGENT.md']
251+
const watchFiles = ['CLAUDE.md', 'AGENT.md', 'AGENTS.md']
252252
.map((f) => path.join(process.cwd(), f))
253253
.filter((p) => fs.existsSync(p));
254254

255255
if (watchFiles.length === 0) {
256256
console.log(
257-
chalk.gray(' Prompt Forge: disabled (no CLAUDE.md or AGENT.md found)')
257+
chalk.gray(
258+
' Prompt Forge: disabled (no CLAUDE.md, AGENT.md, or AGENTS.md found)'
259+
)
258260
);
259261
return;
260262
}

0 commit comments

Comments
 (0)