[T-015] 建立 Bell 事件 v0.1 校验与不可变 PostgreSQL 存储 #51

Closed
opened 2026-08-10 23:36:40 +08:00 by ila · 2 comments
Owner

任务映射

  • task_id: T-015
  • task_file: docs/tasks/T-015.md
  • deps: T-014
  • context_ref: 5b42f58f23255831067f44206849344909d74ee9
  • claim_branch: claims/T-015
  • work_branch: agent/codex/T-015
  • claimed_by: codex

目标与结果

Bell 已建立 Go 事件域基础:候选事实不得自报平台 ID,Bell 生成 ULID 后执行冻结 v0.1 Schema 与六项代码断言;PostgreSQL 使用独立 bell_runtime 最小权限保存不可变事件及 append-only outcome。

  • PR: [T-015] 建立 Bell 不可变事件存储 (#53)
  • commit: 236964d2423cb6223db03e16a18cb4a6ad82e8c0
  • ./init.ps1: 64 个 Python 测试、Sense/Bell 全部门禁通过
  • PostgreSQL 17.10: 001~013 重放、Sense/Bell repository、权限与不可变性通过并清理

Brain transport、认证、公共事件 API、规则/Alert/Web 不在本任务内。

## 任务映射 - task_id: `T-015` - task_file: `docs/tasks/T-015.md` - deps: `T-014` - context_ref: `5b42f58f23255831067f44206849344909d74ee9` - claim_branch: `claims/T-015` - work_branch: `agent/codex/T-015` - claimed_by: `codex` ## 目标与结果 Bell 已建立 Go 事件域基础:候选事实不得自报平台 ID,Bell 生成 ULID 后执行冻结 v0.1 Schema 与六项代码断言;PostgreSQL 使用独立 `bell_runtime` 最小权限保存不可变事件及 append-only outcome。 - PR: #53 - commit: `236964d2423cb6223db03e16a18cb4a6ad82e8c0` - `./init.ps1`: 64 个 Python 测试、Sense/Bell 全部门禁通过 - PostgreSQL 17.10: 001~013 重放、Sense/Bell repository、权限与不可变性通过并清理 Brain transport、认证、公共事件 API、规则/Alert/Web 不在本任务内。
ila added the kind/task label 2026-08-10 23:36:40 +08:00
ila added the
type
code
status
todo
priority
p0
labels 2026-08-10 23:37:48 +08:00
ila self-assigned this 2026-08-10 23:38:19 +08:00
ila added
status
doing
and removed
status
todo
labels 2026-08-10 23:38:19 +08:00
Author
Owner

CLAIM
task: T-015
claimed_by: codex
allocated_by: ila
context_ref: 5b42f58f23
claim_branch: claims/T-015
work_branch: agent/codex/T-015
write_paths:

  • docs/tasks/T-015.md
  • Bell/
  • deploy/postgres/012_bell_events.sql
  • deploy/postgres/013_privileges_bell_events.sql
  • deploy/postgres/tests/assertions.sql
  • deploy/postgres/README.md
  • scripts/test_postgres.ps1
  • tests/test_bell_event_contract.py
  • docs/raw/contracts/README.md
  • docs/00-ai-start-here.md
  • docs/03-tech-stack.md
  • docs/04-architecture.md
  • docs/06-tasks.md
  • docs/api.md
  • docs/current-state.md
  • AGENTS.md
  • init.ps1
  • init.sh
    claimed_at: 2026-08-10T15:38:18.386Z
    lease_until: 2026-08-11T15:38:18.386Z
CLAIM task: T-015 claimed_by: codex allocated_by: ila context_ref: 5b42f58f23255831067f44206849344909d74ee9 claim_branch: claims/T-015 work_branch: agent/codex/T-015 write_paths: - docs/tasks/T-015.md - Bell/ - deploy/postgres/012_bell_events.sql - deploy/postgres/013_privileges_bell_events.sql - deploy/postgres/tests/assertions.sql - deploy/postgres/README.md - scripts/test_postgres.ps1 - tests/test_bell_event_contract.py - docs/raw/contracts/README.md - docs/00-ai-start-here.md - docs/03-tech-stack.md - docs/04-architecture.md - docs/06-tasks.md - docs/api.md - docs/current-state.md - AGENTS.md - init.ps1 - init.sh claimed_at: 2026-08-10T15:38:18.386Z lease_until: 2026-08-11T15:38:18.386Z
Author
Owner

CLAIM RENEWAL
task: T-015
claimed_by: codex
allocated_by: ila
context_ref: 5b42f58f23
claim_branch: claims/T-015
work_branch: agent/codex/T-015
write_paths:

  • docs/tasks/T-015.md
  • Bell/
  • deploy/postgres/012_bell_events.sql
  • deploy/postgres/013_privileges_bell_events.sql
  • deploy/postgres/tests/assertions.sql
  • deploy/postgres/README.md
  • scripts/test_postgres.ps1
  • tests/test_bell_event_contract.py
  • tests/test_postgres_contract.py
  • docs/raw/contracts/README.md
  • docs/00-ai-start-here.md
  • docs/03-tech-stack.md
  • docs/04-architecture.md
  • docs/06-tasks.md
  • docs/api.md
  • docs/current-state.md
  • AGENTS.md
  • init.ps1
  • init.sh
    claimed_at: 2026-08-10T15:46:36.546Z
    lease_until: 2026-08-11T15:46:36.546Z
CLAIM RENEWAL task: T-015 claimed_by: codex allocated_by: ila context_ref: 5b42f58f23255831067f44206849344909d74ee9 claim_branch: claims/T-015 work_branch: agent/codex/T-015 write_paths: - docs/tasks/T-015.md - Bell/ - deploy/postgres/012_bell_events.sql - deploy/postgres/013_privileges_bell_events.sql - deploy/postgres/tests/assertions.sql - deploy/postgres/README.md - scripts/test_postgres.ps1 - tests/test_bell_event_contract.py - tests/test_postgres_contract.py - docs/raw/contracts/README.md - docs/00-ai-start-here.md - docs/03-tech-stack.md - docs/04-architecture.md - docs/06-tasks.md - docs/api.md - docs/current-state.md - AGENTS.md - init.ps1 - init.sh claimed_at: 2026-08-10T15:46:36.546Z lease_until: 2026-08-11T15:46:36.546Z
ila added
status
review
and removed
status
doing
labels 2026-08-10 23:53:47 +08:00
ila closed this issue 2026-08-10 23:54:29 +08:00
ila added
status
done
and removed
status
review
labels 2026-08-10 23:54:47 +08:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: opc/yovision#51