docs: add architecture reference and link it from READMEs - #274
Merged
Conversation
liujuanjuan1984
force-pushed
the
issue/264-architecture-docs
branch
from
August 7, 2026 13:24
0fc76a7 to
c789a82
Compare
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.
变更内容
docs/architecture.md(canonical 英文):分层与调用方向、领域模型概览、配置/事务/软删除语义、SQLite 与 PostgreSQL 双后端与 Alembic 迁移策略、Web API 表面、前端架构摘要(lifeos-web)、运行时与进程模型(短命 CLI vs 长驻进程设计方向)、维护约定与新增资源检查清单。docs/cli.md链接旁补充架构文档入口。验证
bash ./scripts/doctor.sh:通过(lint、locale-catalog-sync、dead-code、mypy、测试、依赖审计、构建;PostgreSQL CLI 集成测试按环境跳过)。相关
Closes #264