Commit Graph

82 Commits

Author SHA1 Message Date
29d9ef5d0d refactor: 项目结构梳理 - 设备端/管理端对称布局
仓库结构:
  edge/     设备端(原根目录设备端代码整体移入)
  control/  管理端(清理后)
  docs/     文档(PRD 移入 design/)
  README.md 根导航(新增)

清理:
- control/.brainstorm 临时草稿删除
- control 根级重复文档(API表/PRD_04)并入 docs/design/
- control/plan.md -> docs/implementation/control-plan.md
- control/safesightd-linux-arm64 二进制取消版本控制(.gitignore)
- edge/transform 模型转换产物归入 models/,onnx/pt 大源文件取消跟踪(.gitignore)
- Readme.md(PRD) -> docs/design/PRD_Product_v1.2.md(避开 README 大小写冲突)

更新:
- 根 README.md 导航、docs/README.md 文档索引
- deployment.md/检查表路径加 edge/ 前缀
- .gitignore 重写(edge/control 分区规则)
2026-08-02 11:39:54 +08:00
02be9ddd47 docs: 删除过时命令草稿 命令.md
- 该文档为旧项目(Rk3588Sys/rk3588-agent/managerd)时代命令备忘,
  引用的项目名/路径/二进制名全部过时,比已删的 guide.md 更旧
- 唯一仍有效的模型转换命令(pt2rknn_yolov8.py)已迁移至 guides/models.md
2026-08-02 11:34:46 +08:00
06eab42403 docs: 清理过时文档,简化目录结构
删除(过时/重复/未采用):
- archive/ 源码片段 dump(2)
- workshop_ai/ 合成数据标注临时工作(6, 2026-04 阶段已过)
- design/theme-preview-*.html UI主题预览(3)
- design/PRD_02 React前端PRD(实际UI用Go模板, 未采用)
- requirements/guide.md 过时命令笔记(与guides/命令.md重复)

合并: architecture/ 2个文档并入 design/
目录由 10 个子目录简化为 7 个:
deployment requirements design implementation bugfix testing guides
2026-08-02 11:32:22 +08:00
910febe703 docs: 部署文档归入 docs/deployment/ 子目录
- deployment/control-deployment/检查表/离线部署 4 个部署文档统一移入
- 更新 README 导航、部署手册互引、检查表、deploy.sh 提示中的路径
2026-08-02 11:30:03 +08:00
007a996c37 docs: 规范化文档目录结构
- 根 docs/ 保留产品入口文档(README/部署手册/检查表/离线部署)
- 按内容归类到子目录:
  requirements/(需求) design/(设计/接口/方案/UI) architecture/(架构)
  implementation/(实施/计划/跟踪) bugfix/(缺陷记录) testing/(测试)
  guides/(操作指南:配置/模型/命令/依赖/调试) archive/(源码片段归档)
- 删除 superpowers 目录(edge 与 control 两处, 含历史设计草稿)
- 更新 docs/README.md 导航与新结构一致
2026-08-02 11:28:51 +08:00
dc62cf066c fix: 恢复被覆盖的 Readme.md(PRD),导航文档移至 docs/README.md
- Windows 大小写不敏感导致新 README.md 覆盖了原有 Readme.md(PRD 1305行)
- 从 git 历史恢复 PRD,导航内容另存为 docs/README.md
2026-08-02 11:15:33 +08:00
8d8ba65eef docs: 单仓库整理 - 文档统一到根 docs/ + README
- 检查表/离线部署文档/管理端部署指南移入根 docs/
- control/docs/deployment.md 更名为 control-deployment.md(避免与设备端部署手册混淆)
- 新增 README.md:仓库结构、版本机制、快速开始、合并历史说明
- control-deployment.md 适配新仓库路径(cd control)
2026-08-02 11:14:52 +08:00
227dc04004 feat(edge): 断电保护(overlayroot+/data)与产品镜像批量生产流程
- 新增 setup-overlayroot.sh: 一键断电保护
  - overlayroot(tmpfs) 保护根分区, 断电不再损坏文件系统
  - 自动建 /data 独立分区 + fstab bind 挂载运行数据
  - 迁移存量数据, journald 内存日志限容
  - disable/enable 一键切换维护模式(适配香橙派 U-Boot/extlinux, 无 GRUB)
- 新增 prepare-image.sh: 母卡出厂化清理
  - 清 machine-id/SSH 密钥/device_id/hostname/日志
  - 防误: 检测 overlayroot 启用状态, 保证镜像为可写出厂状态
- 新增 init-device.sh: 每台初始化
  - 主机名/静态IP(netplan)/身份验证
  - /data 自动 growpart 扩容到整卡剩余空间(64G 产品卡)
  - 统一启用断电保护
- deploy.sh/ops.sh/package-offline.sh: 集成新脚本
  - ops.sh 新增 overlay-status/disable/enable/verify
- docs/deployment.md: 重写为主流程文档
  - 产品镜像批量生产(16G 母卡->小镜像->Etcher 批量烧录->每台初始化)
  - 移除废弃的克隆卡流程
2026-08-01 16:45:47 +08:00
d3a0cf2a4d docs: update deployment guide with offline install and upgrade steps 2026-07-21 15:16:32 +08:00
9b844b7b55 docs: add scp example for offline deployment 2026-07-21 10:47:15 +08:00
372ab4c063 docs: simplify offline deployment to use package-offline.sh 2026-07-21 10:45:47 +08:00
07bd06a9c0 feat: add offline upgrade package script and update deployment docs 2026-07-21 10:43:56 +08:00
140ef4c684 docs: add deployment guide with post-clone and static IP steps 2026-07-21 10:35:58 +08:00
9596d979f6 merge: pose-behavior-pipeline
- feat: add pose behavior pipeline

# Conflicts:
#	docs/config_guide.md
#	plugins/CMakeLists.txt
2026-07-17 11:10:54 +08:00
760eb35697 docs: update guide.md with local test paths
- Carry over uncommitted changes from original repo
- Update old references: rk3588-agent → safesight-agent
2026-07-17 11:02:48 +08:00
f4b20f3e32 Refine profile-centric config metadata and agent status 2026-04-20 11:41:49 +08:00
04de2308fb Add profile-centered config design spec 2026-04-20 10:44:18 +08:00
b98592b29b Add config status metadata reporting 2026-04-19 10:21:16 +08:00
64af954fe4 Restore production defaults in config template 2026-04-18 12:39:18 +08:00
cfe42bdad3 Expose agent build metadata 2026-04-18 12:16:10 +08:00
a46c319d83 Add config template rendering workflow 2026-04-18 11:56:48 +08:00
ecc6937746 Remove unused legacy detection models 2026-04-18 11:35:29 +08:00
3fb6af8c03 Remove unused model assets 2026-04-18 11:31:20 +08:00
2e5666edb9 Standardize model asset names 2026-04-18 11:27:34 +08:00
5beab86905 Clarify face unknown alarm semantics 2026-04-18 10:54:39 +08:00
8c910d55fc Lower unknown face track age threshold 2026-04-17 16:02:36 +08:00
a657848de2 Use max known similarity for unknown face rule 2026-04-17 15:28:13 +08:00
498a8216fe Relax known face aspect gate 2026-04-17 10:31:36 +08:00
02ca4fed52 Add face recognition log analyzer 2026-04-17 10:17:44 +08:00
5644a5bf0b Hide internal face tracking config 2026-04-17 10:00:57 +08:00
cb5fe64e2c Document face recognition tuning parameters 2026-04-16 11:33:53 +08:00
a0bf3f04d5 Translate face alarm design doc to Chinese 2026-04-15 14:04:28 +08:00
ec6818b206 Add track-aware face alarm design doc 2026-04-15 12:30:11 +08:00
a458b46f42 Simplify workshoe runtime config surface 2026-04-15 10:12:00 +08:00
129bec9260 Reduce exposed workshoe tuning parameters 2026-04-15 09:53:41 +08:00
6a4b471831 Refine shoe box gating responsibilities 2026-04-14 12:06:40 +08:00
7359417103 增加测试记录 2026-04-14 09:40:04 +08:00
798f7d82f5 Add synthetic validation docs and test assets 2026-04-13 15:12:06 +08:00
e0827e984e feat: add pose behavior pipeline 2026-04-02 17:44:36 +08:00
2a0a1470cb Add agent guidance and plan scaffolding 2026-04-01 09:59:43 +08:00
b0dd2f5eee Add region behavior recognition design spec 2026-04-01 09:44:04 +08:00
5bf505ff2e Refresh detection parameter guide for current pipeline 2026-03-15 21:37:53 +08:00
428e41e786 Document tuning priorities and prune temporary configs 2026-03-15 21:36:26 +08:00
ce5e0dcc43 Promote v8s workshoe config in deployment guide 2026-03-15 21:05:27 +08:00
737b9bf0fe Refresh detection docs for two-stage workshoe pipeline 2026-03-15 12:20:00 +08:00
6b5ce59592 Add workshoe color alarm pipeline 2026-03-15 11:23:01 +08:00
45842a4a52 Add person shoe violation logic and alarm pipeline 2026-03-15 03:19:58 +08:00
bb4f90085f Add recommended FFmpeg decode RTSP pipeline 2026-03-15 03:01:01 +08:00
7d5bec8040 Add DDR tooling and reduce RGA inference copies 2026-03-14 16:44:43 +08:00
e17f49c53c 增加了支持滑动窗口的检测鞋子的节点 2026-03-13 21:15:43 +08:00