docs(S2): 冻结接口并补齐概要设计文档与工程脚本

- docs/01 需求规格说明书:FR-01~FR-20 + NFR-01~NFR-10
- docs/02 概要设计:分层架构、模块清单、关键决策(含不引入数据库的理由)
- include/shs/ 17 个头文件接口冻结(tools/header_check.sh 全通过)
- README:快速开始、命令参考、网页接口一览、知识点索引
- scripts:build/test/run_cli/run_web/demo.txt/acceptance.sh
- .idea 运行配置 5 个(CLI/网页/回放/测试/详细测试)
This commit is contained in:
sambu committed 2026-09-14 19:37:22 +08:00
1 parent 578a770737
commit 8e7fc5015a
17 files changed
+499 -2

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
#!/usr/bin/env bash
# 构建脚本:bash scripts/build.sh [预设名,默认 debug]
set -euo pipefail
cd "$(dirname "$0")/.."
PRESET="${1:-debug}"
cmake --preset "$PRESET"
cmake --build --preset "$PRESET"
echo "构建完成:build/$PRESET/smart_home"