From 241ba26f3bdee623ccd9ffd0e20438bc5819a955 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 17 Mar 2026 20:34:00 +0000 Subject: [PATCH] docs: redirect tracking files to memory system Replace DECISIONS.md/MISTAKES.md/PROGRESS.md references in CLAUDE.md with instructions to use /remember memory system. A PreToolUse hook in ~/.claude/settings.json enforces this by blocking writes to those files. https://claude.ai/code/session_01TuPpssTo83whKkNgSu57HH --- CLAUDE.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 24e293a6..2082958a 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -86,7 +86,7 @@ OpenAI, Anthropic, Google, xAI, OpenRouter, Ollama - Graph setup (scanner): `tradingagents/graph/scanner_setup.py` - Inline tool loop: `tradingagents/agents/utils/tool_runner.py` -## Critical Patterns (from past mistakes — see MISTAKES.md) +## Critical Patterns (from past mistakes) - **Tool execution**: Trading graph uses `ToolNode` in graph. Scanner agents use `run_tool_loop()` inline. If `bind_tools()` is used, there MUST be a tool execution path. - **yfinance DataFrames**: `top_companies` has ticker as INDEX, not column. Always check `.index` and `.columns`. @@ -96,11 +96,15 @@ OpenAI, Anthropic, Google, xAI, OpenRouter, Ollama - **Ollama remote host**: Never hardcode `localhost:11434`. Use configured `base_url`. - **.env loading**: Check actual env var values when debugging auth. Worktree and main repo may have different `.env` files. -## Project Tracking Files +## Project Tracking (Memory System) -- `DECISIONS.md` — Architecture decision records (vendor strategy, LLM setup, tool execution) -- `PROGRESS.md` — Feature progress, what works, TODOs -- `MISTAKES.md` — Past bugs and lessons learned (9 documented mistakes) +Do NOT write to `DECISIONS.md`, `MISTAKES.md`, or `PROGRESS.md`. Use the memory system instead: + +- **Decisions**: Use `/remember` to record architecture decisions (vendor strategy, LLM setup, tool execution) +- **Progress**: Use `/remember` to record feature progress, what works, TODOs +- **Mistakes**: Use `/remember` to record bugs and lessons learned + +A `PreToolUse` hook enforces this — writes to those files are automatically blocked. ## Current LLM Configuration (Hybrid)