nex_docus/docs/sdd/specs/DV-0010-notify-log-git-export/spec.md

29 lines
943 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# DV-0010通知 / 日志 / Git / 导出 规格Spec
- **状态**Implemented
- **关联 ADR**ADR-0006, ADR-0007
## 目标
提供通知、操作审计日志、Git 仓库集成与 ZIP/PDF 导出能力。
## 范围
- **In**用户通知、操作日志、Git pull/push、后台导出。
- **Out**:第三方消息渠道(短信/邮件网关)。
## 用户故事
> 作为用户/管理员,我希望收到系统通知、查看审计日志并按需导出项目内容。
## 功能需求FR
| ID | 需求 | 验收要点 |
| --- | --- | --- |
| FR-15 | 通知 + 操作日志 | 通知分类operation_logs 记录用户/类型/资源/IP/UA |
| FR-16 | Git 仓库集成 | 绑定仓库 + pull/push |
| FR-17 | 导出 ZIP/PDF | 后台任务+进度WeasyPrint PDF |
## 非功能需求NFR
| ID | 需求 |
| --- | --- |
| NFR-7 | 操作入库审计 |
| NFR-11 | export 后台任务同向量化模式ADR-0006 |