chore: drop redundant root .env.example#55
Open
mmletgo wants to merge 1 commit into
Open
Conversation
Root .env.example was never loaded by any runtime entry — `dotenv/config` only runs inside server/ and Vite only reads client/.env*. Keeping it as an "aggregate reference" caused drift from server/.env.example and client/.env.example (HOST/ALLOW_LAN/CORS_ORIGIN defaults, SILICONFLOW_MODEL, BOOK_ANALYSIS_* keys all out of sync). Removed the file and updated README + docs/README to point users straight at the per-workspace examples. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.env.example从未被任何运行入口加载(dotenv/config只在server/内调用,前端走 Vite 的client/.env*),仅作为"聚合参考"。HOST/ALLOW_LAN/CORS_ORIGIN默认值不同SILICONFLOW_MODEL:根是Qwen2.5-72B-Instruct,server/是Qwen2.5-7B-InstructBOOK_ANALYSIS_MAX_CONCURRENT_TASKS/NOTES_CONCURRENCY/SECTION_CONCURRENCY/CACHE_SEGMENT_VERSIONserver/少了BOOK_ANALYSIS_LLM_TIMEOUT_MSREADME.md、docs/README.md中的指引直接指向server/.env.example+client/.env.example,删掉"根目录 example 是总览参考"的提法。Test plan
pnpm dev仍能正常启动:server 读server/.env,client 读client/.env*,根 example 删除不影响任何运行入口docs/README.md的"根目录保留规则"已同步去掉.env.example🤖 Generated with Claude Code