No Branch/Tag Specified
dev
feat/183-bell-contact-schedule
docs/171-coordination-e2e-wiki
feature/155-coordination-e2e
docs/168-sync-coordination-wiki
feature/154-coordination-deployment
docs/152-153-connectors
feature/153-event-evidence-connector
feature/152-brain-control
docs/151-machine-identity-acceptance
task/151-machine-identity
docs/150-contract-acceptance
docs/148-149-contract-acceptance
feature/149-runtime-status-contract
feature/150-event-evidence-contract
feature/148-source-config-contract
docs/8-mvp-acceptance
feature/145-sense-e2e-isolation-cleanup
feature/134-bell-independent-e2e
feature/142-bell-ui-shell-startup
feature/140-bell-minimal-admin-menu
feature/138-bell-production-captcha
feature/133-bell-alert-lifecycle
feature/132-bell-rule-alert
feature/131-bell-event-receipt
feature/16-brain-local-events
feature/15-brain-rules
feature/14-brain-vision
feature/13-brain-decode
feature/11-brain-input
main
feat/sense-79-ops-alerts
feat/sense-78-outbox
feat/77-sense-media-shards
feat/76-sense-edge-node-status
feat/75-sense-quota-capacity
feature/74-sense-operations
feature/73-sense-local-events
feature/72-sense-bulk-provisioning
feature/113-record-parallel-acceptance
feature/113-sync-parallel-implementation-docs
feature/71-sense-e2e-regression
feature/62-bell-goadmin-skeleton
feature/10-brain-python-cuda-skeleton
feature/108-sync-devharness
feature/90-sense-root-launcher
feature/106-supervisor-sense
fix/101-sense-layout-shell
feature/104-sense-login-30-days
docs/99-acceptance
feature/99-sense-app-config
feature/70-sense-windows-delivery
fix/95-sense-media-path-constraint
feature/97-sense-password-login
docs/92-acceptance
fix/92-sense-capabilities-jsonb
docs/69-acceptance
feature/69-sense-area
feature/68-sense-liveview
feature/67-sense-mediamtx-reconcile
feature/66-sense-onvif-admission
feature/65-sense-device-credential
feature/64-sense-auth-rbac-audit
feature/61-sense-goadmin-source-baseline
docs/acceptance-batch-20260814
coordination/58-finalize-branch-governance
explore
agent/codex/56-sense-device-edit-payload
agent/codex/54-sense-liveview-on-demand
agent/codex/51-sense-auto-liveview
agent/codex/50-sense-split-camera-credentials
agent/codex/48-sense-onvif-digest
agent/codex/46-sense-env-loader
agent/codex/44-sense-empty-navigation
agent/codex/42-sense-password-length-only
agent/codex/40-sense-password-min-6
agent/codex/37-sense-windows-package
agent/codex/36-bell-docs
agent/codex/9-bell-mvp
agent/codex/21-sense-mvp
agent/codex/28-current-prototypes
agent/codex/5-goadmin-baseline
agent/codex/3-go-admin-ui-reuse
agent/codex/1-collaboration-rules
No results found.
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: ila/yovision#79
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
状态
已完成(用户于 2026-08-28 验收通过)
基本信息
原始需求与追溯
explore只用于需求、行为与测试对照,不复制自研基础框架。目标
对离线、认证、时间漂移、对账、分片和隧道异常生成 Sense 内部运维告警,并与 Bell 业务预警严格隔离。
范围
实现运维告警规则、去重、状态、确认/恢复、审计和运维中心入口。
非目标
不创建 Bell Alert;不投递跨项目事件;不把设备健康异常混入学校安全业务预警;不实现通知升级。
GoAdmin 复用要求
复用 #61/#64 建立的 GoAdmin/go-admin-ui 认证、RBAC、审计、Router、Store、Axios、Layout、表格、表单、分页、Dialog、Tag 和权限按钮;实施前读取相关冻结 go-admin-doc 并在评论记录采用方式。业务专用组件必须说明复用缺口并保持整体风格。
写路径
Sense/server/app/sense/ops_alert/**Sense/server/database/migrations/*ops_alert*Sense/ui/src/views/sense/ops-alert/**Sense/ui/src/api/sense/ops-alert*Sense/tests/ops_alert/**禁止写入:
Brain/**、Bell/**、contracts/**、根级构建/部署、docs/**、wiki-docs.json。需要共享路径时停止并转协调工单。文档影响
更新对应 Sense Wiki 业务规则、配置、运行、排错和验收页面;本地镜像由单一协调工单同步。
验收标准
验证方式
风险与回退
误报可能造成告警疲劳。规则含抑制和恢复窗口;回退规则配置不删除历史审计。
协同需求摘要
本工单只实现 Sense 内部端口和夹具。涉及 Sense→Brain、Brain→Sense、Sense/Brain→Bell 的正式 schema、机器身份、部署或 E2E 时另建协调工单。
原型 v0.1 待审核
D:\OPC\yovision-visualizations\issue-79\sense-ops-alerts.htmlprototypes/:用户未触发“导出原型 #79”,符合原型导出门禁覆盖范围
非目标与边界
contracts/**、Brain/Bell 或根级编排。设计与验证证据
原型审核结论
实施前路径与上游参考核对(2026-08-28)
原型 v0.1 已由用户审核通过,生产实现继续按已确认范围推进。
go-admin@f06540883b41d03782bb6b2c4150f298f328c6b6、go-admin-ui@67d393d...、go-admin-doc@424855aacf6905f3fde860c3331385cb25529a0d(以goadmin-baseline.json为准)。go-admin-doc主题:docs/intro/advanced/router.md、api.md、models.md、pro-gen-code.md。Sense/server/app/sense/operations的 GoAdmin API/Service/审计模式,路由沿用Sense/server/app/admin/router/sense_*.go;前端沿用Sense/ui/src/views/sense/operations与现有请求封装、BasicLayout、Element Plus;迁移沿用Sense/server/cmd/migrate/migration/version。Sense/server/database/migrations/*ops_alert*按当前冻结 GoAdmin 实际迁移入口校正为Sense/server/cmd/migrate/migration/version/*ops_alert*;为完成已声明的路由/RBAC验收,补充精确写路径Sense/server/app/admin/router/sense_ops_alert.go及其测试。该校正不改变用户已确认功能、交互和验收范围。边界保持不变:运维告警只消费 Sense 已有设备、媒体路由、媒体分片和边缘节点健康事实;不创建本地安全事件,不创建 Bell 告警,不增加通知升级。
最终实施证据(待验收,2026-08-28)
最终差异
sense_ops_alert_transitions,操作审计写入 GoAdminsys_opera_log。测试与运行证据
go test ./...:通过。go test -race ./app/sense/ops_alert:通过。go vet ./...:通过。go build ./...:通过。pnpm lint:通过;仅冻结上游既有 warning,无本工单错误。pnpm test:unit -- --runInBand:32 suites / 77 tests 通过;新增 API 定向测试后 2 suites / 4 tests 通过。pnpm build:prod:通过;仅冻结上游既有 Sass、代码生成器导入和包体积 warning。python dev_scripts/harness.py check --strict:通过。python -m unittest discover -s tests -v:48 tests 通过。2026082816000_ops_alert.go成功应用,Brain/Bell 未启动。隔离实例、临时目录与为测试启动的 PostgreSQL 已恢复到任务前状态。提交与合并
d61e6d5ee1ad1e7f71be28fbb344b8269923c567dev:4a605f6482d3d771d1d2e378d341aec7298e5c59dev,等待用户验收;未合入main。长期文档
ff1a2a0c4c7690b2197c44e2493e03d8860de0b727749cbf699093d997284afc277ea53e73a5876f4b375aa6e8af9b3822e533ce26b9494457d0d60fb21bbc64f323f465b78b557537c38e334de31f45按工单禁止写
docs/**且本地核心镜像由单一协调工单同步;sync --check如预期报告 Wiki revision 已领先本地镜像。本工单未创建或导出任务归档。状态纠正
PR 描述中的关闭关键字被 Gitea 机制误识别并短暂自动关闭工单;已立即重新打开并保持“待验收”,不会把合并误当作用户验收。
用户验收结论
dev合并提交4a605f6482d3d771d1d2e378d341aec7298e5c59(PR #123)。dev上的工单成果;未授权也未执行dev → main。按用户明确指令关闭本单,并同步所属 MVP #80 与 Epic #7。