|
|
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 |
|
|
|
98e375dc36
|
chore: 合并 safesight-control 仓库为 control/ 子目录
项目合并为单仓库:设备端(根) + 管理端(control/)。
两端 git 历史完整保留(git subtree 合并)。
git-subtree-dir: control
git-subtree-mainline: 923ab10d5c
git-subtree-split: 70738edb31
|
2026-08-02 11:13:26 +08:00 |
|
|
|
70738edb31
|
feat(control): 双层版本模型 - 语义化主版本显示
- 新增 VERSION 文件(1.0.0)作为 control 主版本号来源
- UI 版本展示分层: 列表页/详情页/footer 显示 V1.0.0, 构建号悬停可见
- init() 兜底: 未注入时 0.0.0
|
2026-08-01 17:16:13 +08:00 |
|
|
|
923ab10d5c
|
feat(edge): 双层版本模型 - 语义化主版本 + 构建号
- 新增 VERSION 文件(1.0.0)作为主版本号来源,发版改文件即可,不依赖 git tag
- agent: Version=主版本(VERSION 文件), BuildID=构建号(时间戳), GitSHA 保留
- media: 版本输出 v1.0.0 (build YYYYMMDD.HHMMSS, git xxxxxxx)
- init() 兜底: 主版本 0.0.0 / 构建号自动生成,产品上无占位值
|
2026-08-01 17:16:09 +08:00 |
|
|
|
2a6e2ea707
|
fix(control): 消除 dev 占位版本号,init() 兜底为构建时间
即使构建时忘记注入 ldflags,footer 也不会显示占位版本
|
2026-08-01 17:01:03 +08:00 |
|
|
|
140018ac4d
|
fix(edge): 消除 0.0.0-dev 占位版本号,init() 兜底为构建时间
- agent Version/BuildID/GitSHA 默认值改为空+init() 自动填充构建时间
即使构建时忘记注入 ldflags,产品上也不会出现占位版本号
- version.h 默认值改为 unknown
|
2026-08-01 17:01:00 +08:00 |
|
|
|
a4e179f30d
|
fix(control): 版本号改为构建日期时间,不依赖 git tag
- control Version = YYYYMMDD.HHMMSS(构建时间)
- 大量小版本迭代场景:无需打 tag,UI footer 版本号直接可读新旧
|
2026-08-01 16:59:07 +08:00 |
|
|
|
75098ce81e
|
fix(edge): 版本号改为构建日期时间,不依赖 git tag
- agent Version/BuildID = YYYYMMDD.HHMMSS(构建时间),GitSHA 保留短 sha
- media(C++) 版本同样注入构建时间(CMake 支持 -DRK_PROJECT_VERSION 覆盖)
- 适应大量小版本迭代:不再依赖 git tag,UI 版本号直接可读新旧
|
2026-08-01 16:59:03 +08:00 |
|
|
|
c6da0a6c6d
|
feat(control): 版本机制打通,UI 展示 agent/引擎/control 真实版本
- ui.go: 版本号由硬编码常量改为可注入变量( -X ...web.Version )
- 新增 service.FetchDeviceVersions: 调用 edge /v1/versions 采集
agent 版本/build_id/git_sha + media 引擎版本 + 设备模型数
- 设备详情页: 新增引擎版本/构建信息/模型数量展示
- 设备列表页: 新增版本列(含 build/git 悬停提示)
- 构建脚本(3处): 注入 control 版本号(git describe)
- 新增模板语法测试(43个模板防回归)
|
2026-08-01 16:54:10 +08:00 |
|
|
|
201ad65164
|
fix(edge): 构建时注入版本信息,修复设备版本恒为 0.0.0-dev
- build.sh / package-offline.sh: agent 编译注入 main.Version/BuildID/BuildType/GitSHA
(版本号取 git describe, build_id 取构建时间)
- build.sh: media(C++) 编译注入 RK_GIT_SHA
- 修复后 control 设备详情/列表可显示真实版本,不再是占位的 0.0.0-dev
|
2026-08-01 16:54:07 +08:00 |
|
|
|
a1064961cc
|
docs: 客户现场部署检查表移入 control 仓库
- 新增 docs/客户现场部署检查表.md
- 更新为产品镜像批量生产流程(16G 母卡 -> Etcher 批量烧录 -> init-device.sh 初始化)
- 新增断电保护(overlayroot)维护备忘章节
|
2026-08-01 16:46:44 +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 |
|
|
|
e931e4d95b
|
feat: mock alarm server logs full JSON body
|
2026-07-31 15:18:46 +08:00 |
|
|
|
0c52d01c0b
|
fix: channelNo defaults to video source name, cleanup orphan units, disable date prefix in template
|
2026-07-31 15:18:27 +08:00 |
|
|
|
decc980665
|
docs: add third-party alarm API spec from customer
|
2026-07-30 12:43:40 +08:00 |
|
|
|
eaee750443
|
docs: add rule - deploy must check systemctl is-active after stop, no fixed sleep
|
2026-07-30 11:31:04 +08:00 |
|
|
|
35c413367f
|
docs: add update steps and empty config fix to debug guide
|
2026-07-29 23:12:35 +08:00 |
|
|
|
9ed574050f
|
fix: save last_good.json on successful reload, no rollback on failure
|
2026-07-29 23:03:11 +08:00 |
|
|
|
f721bb8d9f
|
fix: remove config rollback from normal deploy path - false restores caused by slow graph rebuild
|
2026-07-29 23:00:51 +08:00 |
|
|
|
33a7367ecd
|
fix: add InjectIntegrationsIntoConfig to device detail deploy path; docs: add edge config check command
|
2026-07-29 22:35:36 +08:00 |
|
|
|
69ae1803ad
|
docs: clarify journalctl -f equals tail -f, edge-server hot-reloads config
|
2026-07-29 21:58:16 +08:00 |
|
|
|
267ec2c237
|
docs: add multi-line bash continuation rule to AGENTS.md
|
2026-07-29 21:53:16 +08:00 |
|
|
|
805814fcdf
|
docs: simplify debug guide, clean multi-line commands
|
2026-07-29 21:52:10 +08:00 |
|
|
|
25734f5775
|
docs: 客户现场第三方接口调试指南
|
2026-07-29 21:44:21 +08:00 |
|
|
|
24386d9cf0
|
chore: delete 29 legacy skipped tests, fix storage test build error
|
2026-07-27 21:11:20 +08:00 |
|
|
|
e4608f48a0
|
fix: integration test video source detection for Chinese names
|
2026-07-27 21:04:54 +08:00 |
|
|
|
b256ecc5d2
|
test: add 9 integration tests against live safesightd API
|
2026-07-27 21:03:14 +08:00 |
|
|
|
5433065925
|
docs: update test plan - all P1/P2 complete, add new feature tests
|
2026-07-27 19:44:17 +08:00 |
|
|
|
d1f85ee794
|
test: add 18 tests - injectIntegrations, device overlays, tuning, template clone, mergeRuntimeInstancePatch, wizard, ResolveChannelToSource, SaveVideoSourceAsset
|
2026-07-27 19:43:59 +08:00 |
|
|
|
148fe97a27
|
fix: clamp face score to 0.00-0.99 and format with 2 decimal places
|
2026-07-27 19:30:26 +08:00 |
|
|
|
85e91f3c2f
|
fix: use stranger likelihood (1 - best_sim) as confidence for unknown face alarms
|
2026-07-27 19:26:58 +08:00 |
|
|
|
1ae06ec1fb
|
refactor: reorganize tuning groups by detection function (shoe violation, unknown face, known person, etc.)
|
2026-07-27 19:19:34 +08:00 |
|
|
|
43cb4b8411
|
feat: add description text to tuning sliders explaining parameter behavior
|
2026-07-27 19:17:23 +08:00 |
|
|
|
6e32d15c86
|
feat: add hint with reference values to tuning sliders
|
2026-07-27 19:14:27 +08:00 |
|
|
|
3084ddc524
|
fix: add space between number and unit on tuning sliders
|
2026-07-27 19:10:24 +08:00 |
|
|
|
6229a340a8
|
fix: tune slider formatting - max 2 decimals, integers show no decimal
|
2026-07-27 19:09:45 +08:00 |
|
|
|
1de96c4c02
|
refactor: use hardcoded tuning definitions instead of template-embedded tuning section
|
2026-07-27 19:07:00 +08:00 |
|
|
|
723239812b
|
fix: overlay checkbox alignment in device detail page
|
2026-07-27 18:39:40 +08:00 |
|
|
|
45470d0908
|
refactor: move overlay selection from console to device detail page
|
2026-07-27 18:35:08 +08:00 |
|
|
|
8d8daf1b7f
|
feat: add anti-tamper guard for standard template tuning page
|
2026-07-27 18:27:21 +08:00 |
|
|
|
b2cb0b9a67
|
feat: template tuning - slider-based parameter adjustment with affected-device detection
|
2026-07-27 18:26:04 +08:00 |
|
|
|
0895d19fe0
|
fix: clone standard template to user-editable copy before first use
|
2026-07-27 18:17:29 +08:00 |
|
|
|
76f4b5af9a
|
fix: add migration for overlays_json column on existing device_features tables
|
2026-07-27 18:01:57 +08:00 |
|
|
|
aa5b6bb940
|
fix: pass overlays to RenderDeviceAssignment on deploy path
|
2026-07-27 17:57:10 +08:00 |
|
|
|
523e4ba1fe
|
fix: 告警阈值脚本去掉错误的config嵌套
|
2026-07-27 16:33:26 +08:00 |
|
|
|
941f0678a1
|
feat: 告警阈值调整脚本
|
2026-07-27 16:30:07 +08:00 |
|
|
|
e68a1ab8ba
|
feat: 覆盖层勾选持久化,刷新后保留
|
2026-07-27 16:29:14 +08:00 |
|