[T-020] 建立 Bell 规则到 Alert 与 ack 的最小可见纵切 #71

Closed
opened 2026-08-11 16:31:39 +08:00 by ila · 3 comments
Owner

目标

建立默认关闭、回环可见的 Bell Event→Rule→Alert→ack/close 最小纵切,冻结规则版本、并发幂等和 append-only 状态迁移语义。

规格

  • 任务文件:docs/tasks/T-020.md
  • 依赖:T-015、T-019(均 DONE)
  • 写路径与验收门禁以任务文件为准

边界

不包含证据切片、升级计时、联系人/排班、通知 provider、正式 JWT/RBAC 或最终前端框架。

## 目标 建立默认关闭、回环可见的 Bell Event→Rule→Alert→ack/close 最小纵切,冻结规则版本、并发幂等和 append-only 状态迁移语义。 ## 规格 - 任务文件:`docs/tasks/T-020.md` - 依赖:T-015、T-019(均 DONE) - 写路径与验收门禁以任务文件为准 ## 边界 不包含证据切片、升级计时、联系人/排班、通知 provider、正式 JWT/RBAC 或最终前端框架。
ila added the kind/task
type
code
status
todo
priority
p0
labels 2026-08-11 16:33:55 +08:00
ila self-assigned this 2026-08-11 16:34:07 +08:00
ila added
status
doing
and removed
status
todo
labels 2026-08-11 16:34:08 +08:00
Author
Owner

CLAIM

  • task: T-020
  • claimed_by: codex
  • allocated_by: ila
  • context_ref: 477afa6ba2
  • claim_branch: claims/T-020
  • work_branch: agent/codex/T-020
  • write_paths:
    • docs/tasks/T-020.md
    • Bell/
    • deploy/postgres/
    • scripts/test_postgres.ps1
    • tests/test_postgres_contract.py
    • tests/test_bell_alert_contract.py
    • docs/contracts/
    • docs/00-ai-start-here.md
    • docs/03-tech-stack.md
    • docs/04-architecture.md
    • docs/06-tasks.md
    • docs/api.md
    • docs/contracts/README.md
    • docs/current-state.md
    • docs/routes.md
  • claimed_at: 2026-08-11T16:34:00+08:00
  • lease_until: 2026-08-12T16:34:00+08:00
CLAIM - task: T-020 - claimed_by: codex - allocated_by: ila - context_ref: 477afa6ba2def34224f2dfeedc5b14421ec27650 - claim_branch: claims/T-020 - work_branch: agent/codex/T-020 - write_paths: - docs/tasks/T-020.md - Bell/ - deploy/postgres/ - scripts/test_postgres.ps1 - tests/test_postgres_contract.py - tests/test_bell_alert_contract.py - docs/contracts/ - docs/00-ai-start-here.md - docs/03-tech-stack.md - docs/04-architecture.md - docs/06-tasks.md - docs/api.md - docs/contracts/README.md - docs/current-state.md - docs/routes.md - claimed_at: 2026-08-11T16:34:00+08:00 - lease_until: 2026-08-12T16:34:00+08:00
ila added
status
review
and removed
status
doing
labels 2026-08-11 17:02:16 +08:00
Author
Owner

READY FOR REVIEW

  • task: T-020
  • commit: 8208118
  • branch: agent/codex/T-020
  • result: Event→Rule→Alert→ack/close 回环工程纵切已实现
  • gates:
    • ./init.ps1: PASS(83 root / 30 Brain;Sense/Bell generate,test,vet,build)
    • ./scripts/test_postgres.ps1 -PgRoot D:\pgsql17: PASS(001~019 replay x2;8 evaluator / 8 ack;least privilege;restart)
    • Bell test/vet/build、OpenAPI JSON、node --check、治理三门禁、git diff --check: PASS
    • Edge 1440×900 与 CDP 375×812: PASS;375 scrollWidth=innerWidth=375
  • boundary: 不含证据切片、升级/通知、正式 JWT/RBAC 或正式前端框架
READY FOR REVIEW - task: T-020 - commit: 8208118 - branch: agent/codex/T-020 - result: Event→Rule→Alert→ack/close 回环工程纵切已实现 - gates: - ./init.ps1: PASS(83 root / 30 Brain;Sense/Bell generate,test,vet,build) - ./scripts/test_postgres.ps1 -PgRoot D:\pgsql17: PASS(001~019 replay x2;8 evaluator / 8 ack;least privilege;restart) - Bell test/vet/build、OpenAPI JSON、node --check、治理三门禁、git diff --check: PASS - Edge 1440×900 与 CDP 375×812: PASS;375 scrollWidth=innerWidth=375 - boundary: 不含证据切片、升级/通知、正式 JWT/RBAC 或正式前端框架
ila closed this issue 2026-08-11 17:02:57 +08:00
ila added
status
done
and removed
status
review
labels 2026-08-11 17:03:31 +08:00
Author
Owner

DONE

DONE - task: T-020 - work commits: 8208118, 0ef23ff - merge commit on main: 2a38feb75c1246a2f1d028e803dbce450d5f4d7d - PR: #73 - default branch contains task status DONE - all recorded gates passed; claim is released
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: opc/yovision#71