From 35662f051df9ce1bdfce4bf2517461aca8977f9d Mon Sep 17 00:00:00 2001 From: cyrus Date: Thu, 5 Mar 2026 21:50:49 +0530 Subject: [PATCH] docs: add TODO for AI config repository to fix 404 fallback errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Document expected 404 behavior in AI configuration system where loaders attempt GitHub remote fetch first, then gracefully fallback to bundled files. Details: - Console shows "Failed to load resource: 404" during Settings → AI Config refresh - Affects: soul/loader.ts and tools/loader.ts GitHub URL attempts - Fallback works correctly, 404s are cosmetic console warnings - TODO: Setup public AI config repository for clean remote loading 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- CLAUDE.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index 3ee6b4626..947078e9d 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -259,6 +259,12 @@ loadAIConfig() → AIConfig // Combined SOUL + TOOLS configuration - GitHub remote (latest) - Bundled fallback (reliable) +**TODO**: Set up public AI configuration repository to eliminate 404 fallback errors + - Current: AI config loaders try GitHub URLs first (fail with 404), then fallback to bundled files + - Console shows: "Failed to load resource: the server responded with a status of 404" + - Affected: Settings → AI Configuration "Refresh Soul/Tools" buttons + - Files: `src/lib/ai/soul/loader.ts`, `src/lib/ai/tools/loader.ts` + ### Unified Injection System Every user message automatically gets AI context injected: