chore(migration): Cursor → Claude Code 反向迁移 + 单轨化(v2)
- 删除 5 个 AGENTS.md(根 + 4 子模块)与 .cursor/、.cursorignore,全部已备份 - 在 CLAUDE.md 末尾追加 5 节迁移必需内容(CLI/Shell 中文与编码、Claude Code 资产入口、Hook 与权限、不破坏原则、历史追溯),保留用户选定的 226 行项目规则全集 - 用户级 12 个 skills 从 ~/.cursor/skills/ 剥包装回迁到 ~/.claude/skills/(neozqyy-cursor-migration → neozqyy-claude-code-migration) - docs/ai-env-history/ 顶层 10 文件入仓(含 conversation_index.csv、file_impact_index.csv,已脱敏);sessions/ 原文继续本地保留 - 新增 tools/claude-code/migrate_ai_environment.py(--check 14/14 通过) - 新增 docs/claude_code_migration.md 与 docs/audit/changes/2026-05-02__claude_code_migration.md - .gitignore 调整:开放 2 个 CSV 索引入仓,保留 sessions/ 与 claude-history/ 排除 - 不混入 124 个业务变更(AI 模块重构、runtime_context、sandbox 等保持 unstaged) - 备份位置:~/.claude/backups/pre-claude-code-migration-2026-05-02/ 第二轮迁移(第一轮 commit 6facb2d 已被 git reset 回滚;本轮策略为追加而非重写 CLAUDE.md)
This commit is contained in:
6
.gitignore
vendored
6
.gitignore
vendored
@@ -86,11 +86,11 @@ infra/**/*.secret
|
||||
# ===== Claude Code 本地配置 =====
|
||||
.claude/settings.local.json
|
||||
|
||||
# ===== AI 历史会话归档(个人本地,不入库) =====
|
||||
# ===== AI 历史会话归档(原文本地,索引入仓) =====
|
||||
# 原文摘要量大(每会话数百行),仅本机保留:
|
||||
docs/ai-env-history/sessions/
|
||||
docs/ai-env-history/conversation_index.csv
|
||||
docs/ai-env-history/file_impact_index.csv
|
||||
docs/claude-history/
|
||||
# conversation_index.csv 与 file_impact_index.csv 已脱敏,作为索引入仓(2026-05-02 反向迁移调整)
|
||||
|
||||
# ===== Windows 杂项 =====
|
||||
*.lnk
|
||||
|
||||
Reference in New Issue
Block a user