Skip to content

Add AI session memory (absorbed from obsidian-knowledge-brain v4.0)#4

Draft
Homeless-Xu wants to merge 1 commit into
masterfrom
claude/new-session-54tavi
Draft

Add AI session memory (absorbed from obsidian-knowledge-brain v4.0)#4
Homeless-Xu wants to merge 1 commit into
masterfrom
claude/new-session-54tavi

Conversation

@Homeless-Xu

Copy link
Copy Markdown
Owner

What / 是什么

Absorb the core ideas of obsidian-knowledge-brain v4.0 into this vault — as a lightweight version, not the full skill (the full skill ships 20 Python scripts, bootstrap protocols, and a global atoms.json store, which is too heavy for a notes vault).

吸收视频里那个项目的核心思想,做成贴合本仓库的轻量版,不装整套。

Files / 文件

  • CLAUDE.md — always-loaded by Claude Code at session start: repo intro, card naming rules, session protocol (start → work → 收尾), anti-pollution rules
  • .claude/memory/pitfalls.md — fixed bugs / 坑, seeded with 3 real pitfalls already in the vault (ros/fgt vxlan port, startech nic balance-rr, bmv-712)
  • .claude/memory/decisions.md — final adopted decisions / 定案, seeded with 4 entries

Ideas absorbed / 吸收的优点

  1. Cross-session memory via plain .md files in .claude/ (skill-only, no scripts)
  2. Two record types: pitfall (record immediately after fix) vs decision (record at session end)
  3. Anti-pollution: only final solutions, duplicates increment seen counter instead of new entries
  4. "收尾" trigger word for session wrap-up

Ideas skipped / 没吸收的

Bootstrap phase detection, chaos score, global ~/.obsidian-knowledge-brain/atoms.json with lock files, promotion/demotion lifecycle, 20 Python utilities — all overhead with no benefit for a single-vault repo.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FdhGpX3ZBYu2pWv6FbiRwR


Generated by Claude Code

absorb core ideas from obsidian-knowledge-brain v4.0 (lightweight version):
- CLAUDE.md: always-loaded session protocol (start/work/收尾)
- .claude/memory/pitfalls.md: fixed bugs, seeded from vault warnings
- .claude/memory/decisions.md: final adopted solutions
- anti-pollution rules: final solutions only, dedupe by seen+1

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FdhGpX3ZBYu2pWv6FbiRwR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants