Files
digital-psychology/docs/PRODUCT_SPEC/ECR-013B-account-lifecycle.md
T
jackyu66gitandCursor f75b42397f docs(ECR-013B): 启动 AccountLifecycle 契约定义
Human Start Authorization:UserStatus 状态机 Spec/BD/contract_diff;
禁止 coding,待 Approve + coding Start Authorization。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 17:23:04 +08:00

1.3 KiB
Raw Blame History

PRODUCT_SPEC — ECR-013B AccountLifecycle

对齐 Feature Spec.ai/product/feature-spec/ops-account-lifecycle.md
Parent: WAVE0-FROZEN (27f27a1) · Predecessor: ECR-013A Closed
Phase: Contract DefinitionNo Coding

Meta

字段
ECR ECR-013B
Status Draft
Capability (L0) AccountLifecycle
Bounded Context (L1) Identity_Profile
Change Level L2

L0 Capability

字段 内容
Capability ID AccountLifecycle
Purpose 可审计的用户账户启停/封禁,并阻断 C 端会话
Why now status 字段无运营闭环;013A 已提供权限挂载点
Non-goals soft-delete · UGC · 真支付 · Admin 账号启停深化

L1 Bounded Context

.ai/domain/boundary-rules.mdIdentity_Profileowns UserStatus)。

L2 Domain

UserStatus · AccountStateTransition — glossary 已登记;状态机见 Spec。

L3 API

见 Spec §L3docs/CONTRACT_DIFF/ECR-013B.yaml

L4 AC

Spec AC-F / AC-S / AC-P / AC-O — 实现轮 TEST_REPORT 必须引用 ID。

Outcome(实现后)

  1. 运营可迁移 UserStatus
  2. 非 active C 端拒绝
  3. 迁移可审计(AuditLog + Transition

Out of scope

soft-deletePaymentCommunityECR-013C+。