新增: 无人值守安全系列(H1-H3) + P5 审计日志与部署运维 + #14 异步委托

- H3 外部干预感知: run_agentic_loop 增 h3_watch_dir 参数, loop 启动取 git HEAD 基线, 每 5 轮探测, HEAD 被外部改写(切分支/reset/他话提交)即 emit_task_parked(stop_kind=external_change) + teardown 停靠; 4 调用方(发送/编辑/强制发送/审批续跑)从 allowed_dirs.persistent 排序取首目录, 修复初版 current_dir 恒空缺陷
- P5 审计日志: df-im-gateway audit.rs append-only SQLite(tunnel_audit 表, payload 4KB 截断, recent/by_request 查询), main.rs 8 打点点位(inbound/command/outbound), 写失败不阻断主链路, 17 tests passed
- P5 部署运维: publish-im-gateway.ps1(musl 交叉编译→scp .new→systemd 原子切换→9191 验证→自动回滚) + systemd unit + nginx im.1216.top 反代 + 运维手册
- #14 异步委托: 受理/完成两段式 + 桌面任务卡(后台进行中徽章/轮次/切换) + 飞书双端同构, 关联缺陷 #8-#12 速清

验收: cargo check workspace EXIT 0, cargo test workspace 全绿(711+560+33+12...), vue-tsc EXIT 0
This commit is contained in:
lxy
2026-10-06 15:59:10 +08:00
parent 7c252cff96
commit 438d47bc9f
17 changed files with 987 additions and 12 deletions
+1
View File
@@ -270,6 +270,7 @@ export default {
runningRounds: '{n} rounds running',
untitledConversation: 'Untitled conversation',
recoverableTask: 'Interrupted · recoverable',
recoverNow: 'Resume',
viewHistory: 'View history messages',
viewSummary: 'View context summary',
viewContext: 'View AI context',
+1
View File
@@ -271,6 +271,7 @@ export default {
runningRounds: '进行中 {n} 轮',
untitledConversation: '未命名会话',
recoverableTask: '中断·可恢复',
recoverNow: '恢复',
viewHistory: '查看历史消息',
viewSummary: '查看上下文摘要',
viewContext: '查看 AI 上下文',