[T-011] 实现 Sense Control API v1 与 PostgreSQL 一致性边界 #39

Closed
opened 2026-08-07 20:12:06 +08:00 by ila · 2 comments
Owner

任务映射

  • task_id: T-011
  • task_file: docs/tasks/T-011.md
  • context_ref: 领取时填写
  • deps: T-010
  • write_paths: 以任务文件 frontmatter 为准

问题与方案

实现已冻结的 Sense Control API v1:外部静态 SHA-256 认证适配器、PostgreSQL 幂等/ETag/cursor/batch operation、7 个 endpoint、配置审计 v2 和停用精确 path 收敛。完整规格见 docs/tasks/T-011.md。

验收入口

./init.ps1;./scripts/test_postgres.ps1 -PgRoot D:\pgsql17;完整命令与证据回填任务文件。

协作状态

  • expected_claim_branch: claims/T-011
  • work_branch: 领取后填写
  • claimed_by: 领取后填写
  • lease_until: 领取后填写
## 任务映射 - task_id: `T-011` - task_file: `docs/tasks/T-011.md` - context_ref: `领取时填写` - deps: `T-010` - write_paths: 以任务文件 frontmatter 为准 ## 问题与方案 实现已冻结的 Sense Control API v1:外部静态 SHA-256 认证适配器、PostgreSQL 幂等/ETag/cursor/batch operation、7 个 endpoint、配置审计 v2 和停用精确 path 收敛。完整规格见 `docs/tasks/T-011.md`。 ## 验收入口 `./init.ps1`;`./scripts/test_postgres.ps1 -PgRoot D:\pgsql17`;完整命令与证据回填任务文件。 ## 协作状态 - expected_claim_branch: `claims/T-011` - work_branch: `领取后填写` - claimed_by: `领取后填写` - lease_until: `领取后填写`
ila added the kind/task label 2026-08-07 20:12:06 +08:00
ila added the
priority
p0
status
todo
type
code
labels 2026-08-07 20:13:07 +08:00
ila self-assigned this 2026-08-07 20:13:49 +08:00
ila added
status
doing
and removed
status
todo
labels 2026-08-07 20:13:49 +08:00
Author
Owner

CLAIM
task: T-011
claimed_by: codex
allocated_by: ila
context_ref: 6402d4384d
claim_branch: claims/T-011
work_branch: agent/codex/T-011
write_paths:

  • docs/tasks/T-011.md
  • docs/contracts/
  • deploy/postgres/
  • scripts/test_postgres.ps1
  • init.ps1
  • init.sh
  • Sense/api/
  • Sense/cmd/sense-api/
  • Sense/internal/auth/
  • Sense/internal/config/
  • Sense/internal/controlapi/
  • Sense/internal/device/
  • Sense/internal/mtx/
  • Sense/internal/reconcile/
  • Sense/internal/store/
  • Sense/README.md
  • docs/03-tech-stack.md
  • docs/04-architecture.md
  • docs/06-tasks.md
  • docs/api.md
  • docs/current-state.md
  • tests/test_postgres_contract.py
  • tests/test_sense_control_implementation.py
    claimed_at: 2026-08-07T12:13:50.1791684+00:00
    lease_until: 2026-08-08T00:13:50.1791684+00:00
CLAIM task: T-011 claimed_by: codex allocated_by: ila context_ref: 6402d4384d5c2b1c0f3852858c3cf0d63d948262 claim_branch: claims/T-011 work_branch: agent/codex/T-011 write_paths: - docs/tasks/T-011.md - docs/contracts/ - deploy/postgres/ - scripts/test_postgres.ps1 - init.ps1 - init.sh - Sense/api/ - Sense/cmd/sense-api/ - Sense/internal/auth/ - Sense/internal/config/ - Sense/internal/controlapi/ - Sense/internal/device/ - Sense/internal/mtx/ - Sense/internal/reconcile/ - Sense/internal/store/ - Sense/README.md - docs/03-tech-stack.md - docs/04-architecture.md - docs/06-tasks.md - docs/api.md - docs/current-state.md - tests/test_postgres_contract.py - tests/test_sense_control_implementation.py claimed_at: 2026-08-07T12:13:50.1791684+00:00 lease_until: 2026-08-08T00:13:50.1791684+00:00
Author
Owner

CLAIM RENEWAL
task: T-011
claimed_by: codex
allocated_by: ila
context_ref: 6402d4384d
claim_branch: claims/T-011
work_branch: agent/codex/T-011
write_paths:

  • docs/tasks/T-011.md
  • docs/contracts/
  • deploy/postgres/
  • scripts/test_postgres.ps1
  • init.ps1
  • init.sh
  • Sense/api/
  • Sense/cmd/sense-api/
  • Sense/internal/auth/
  • Sense/internal/config/
  • Sense/internal/controlapi/
  • Sense/internal/device/
  • Sense/internal/mtx/
  • Sense/internal/reconcile/
  • Sense/internal/store/
  • Sense/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
  • tests/test_postgres_contract.py
  • tests/test_sense_control_implementation.py
    claimed_at: 2026-08-07T12:39:58.7003582+00:00
    lease_until: 2026-08-08T00:39:58.7003582+00:00
CLAIM RENEWAL task: T-011 claimed_by: codex allocated_by: ila context_ref: 6402d4384d5c2b1c0f3852858c3cf0d63d948262 claim_branch: claims/T-011 work_branch: agent/codex/T-011 write_paths: - docs/tasks/T-011.md - docs/contracts/ - deploy/postgres/ - scripts/test_postgres.ps1 - init.ps1 - init.sh - Sense/api/ - Sense/cmd/sense-api/ - Sense/internal/auth/ - Sense/internal/config/ - Sense/internal/controlapi/ - Sense/internal/device/ - Sense/internal/mtx/ - Sense/internal/reconcile/ - Sense/internal/store/ - Sense/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 - tests/test_postgres_contract.py - tests/test_sense_control_implementation.py claimed_at: 2026-08-07T12:39:58.7003582+00:00 lease_until: 2026-08-08T00:39:58.7003582+00:00
ila added
status
review
and removed
status
doing
labels 2026-08-07 20:55:19 +08:00
ila closed this issue 2026-08-07 20:57:18 +08:00
ila added
status
done
and removed
status
review
labels 2026-08-07 20:57:38 +08:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: opc/yovision#39