From 1b0706f270e14cd04df5f49bdbeec418d68b1ff6 Mon Sep 17 00:00:00 2001 From: Mathias Bergqvist Date: Wed, 22 Apr 2026 23:06:32 +0200 Subject: [PATCH] chore(brain): rename CLAUDE.md to schema.md for clarity CLAUDE.md has a specific meaning in the Claude Code ecosystem (agent instructions). The wiki schema for the ingestion pipeline should live in schema.md to avoid confusion. Co-Authored-By: Claude Sonnet 4.6 --- brain/{CLAUDE.md => schema.md} | 0 ingestion/internal/pipeline/pipeline.go | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) rename brain/{CLAUDE.md => schema.md} (100%) diff --git a/brain/CLAUDE.md b/brain/schema.md similarity index 100% rename from brain/CLAUDE.md rename to brain/schema.md diff --git a/ingestion/internal/pipeline/pipeline.go b/ingestion/internal/pipeline/pipeline.go index c345dbd..e4c4b97 100644 --- a/ingestion/internal/pipeline/pipeline.go +++ b/ingestion/internal/pipeline/pipeline.go @@ -19,7 +19,7 @@ type CompleteFunc func(ctx context.Context, system, user string) (string, error) type Config struct { Complete CompleteFunc ChunkSize int // 0 = no chunking - Schema string // overrides brain/CLAUDE.md when set (useful in tests) + Schema string // overrides brain/schema.md when set (useful in tests) } // Result is the outcome of a pipeline run. @@ -108,11 +108,11 @@ func mergeAll(pages []wiki.Page) []wiki.Page { const defaultSchema = `# Brain Wiki Schema Three page types: wiki/sources/, wiki/concepts/, wiki/entities/. -See brain/CLAUDE.md for the full schema. +See brain/schema.md for the full schema. ` func loadSchema(brainDir string) string { - b, err := os.ReadFile(filepath.Join(brainDir, "CLAUDE.md")) + b, err := os.ReadFile(filepath.Join(brainDir, "schema.md")) if err != nil { return defaultSchema }