mirror of
https://github.com/itme-brain/agent-team.git
synced 2026-05-08 17:00:11 -04:00
refactor: modularize CLAUDE.md into ~/.claude/rules/ with agent-team content separation
- Split monolithic CLAUDE.md into 7 focused rule files in rules/ - Remove agent-team specific content from global rules (subagent cost, model defaults, tier shortcuts) — already covered by orchestrate skill - Add "prefer summaries over verbatim output" to orchestrate Step 8 - Update install.sh to symlink rules/ directory - Trim CLAUDE.md to a minimal pointer since rules auto-load
This commit is contained in:
parent
f0cb4e840a
commit
d2fdcbc731
11 changed files with 76 additions and 70 deletions
12
rules/01-session.md
Normal file
12
rules/01-session.md
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# Session Behavior
|
||||
|
||||
- Treat each session as stateless — do not assume context from prior sessions
|
||||
- The CLAUDE.md hierarchy is the only source of persistent context
|
||||
- If something needs to carry forward across sessions, it belongs in a CLAUDE.md file, not in session memory
|
||||
|
||||
# Project Memory
|
||||
|
||||
- Project-specific memory lives in `.claude/memory/` at the project root
|
||||
- Use `MEMORY.md` in that directory as the index (one line per entry pointing to a file)
|
||||
- Memory files use frontmatter: `name`, `description`, `type` (user/feedback/project/reference)
|
||||
- Commit `.claude/memory/` with the repo so memory persists across machines and sessions
|
||||
Loading…
Add table
Add a link
Reference in a new issue