Skip to content

docs(claude-md): drop 40 lines derivable from the codebase - #174

Merged
dreamlx merged 1 commit into
masterfrom
docs/claude-md-trim
Aug 15, 2026
Merged

docs(claude-md): drop 40 lines derivable from the codebase#174
dreamlx merged 1 commit into
masterfrom
docs/claude-md-trim

Conversation

@dreamlx

@dreamlx dreamlx commented Aug 15, 2026

Copy link
Copy Markdown
Owner

What

/doctor check 3 修剪:删掉新会话用几个工具调用就能重建的内容——

  • Key Files 表ls/find 直接可见;design-philosophy 指针 Part 2.5 已有)
  • Core Pipeline ASCII + Key Data Types(源码里的 API 签名,可推导)
  • Configuration yaml 块(权威在 examples/.codeindex.yaml,保留一行指针)
  • **Version**: v0.25.0 (in progress) 过期头(实际 0.37.0,底部注入段已有版本戳)

保留全部不可推导内容:Common Mistakes(gotcha)、commit/文档规则、Historical Decision Notes、venv 警告、ADR 定位段。

Impact

10.8k → 9.7k chars(~270 est. tokens/会话)。纯删除,无行为变化。

/doctor check 3 trim: Key Files table (ls shows it), Core Pipeline +
Key Data Types (API signatures from source), Configuration yaml block
(authoritative copy lives in examples/.codeindex.yaml — kept the one
-line pointer), and the stale v0.25.0 header (the injected codeindex
section already stamps the real version). Keeps all non-derivable
content: gotchas, commit/docs rules, historical decision notes.
@dreamlx
dreamlx merged commit 9681557 into master Aug 15, 2026
8 checks passed
@dreamlx
dreamlx deleted the docs/claude-md-trim branch August 15, 2026 15:58
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.

1 participant