Files
digital-psychology/docs/PRODUCT_SPEC/ECR-013B-account-lifecycle.md
T
jackyu66gitandCursor e25cd94b0c feat(ECR-013B): AccountLifecycle Closed;启用 Loop 连续执行
UserStatus 迁移、DeviceAuth 拒绝非 active、admin-h5 CTA;
Reviewer Closed。Human 授权 LOOP_AUTHORIZATION(免逐闸确认)。

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

51 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# PRODUCT_SPEC — ECR-013B AccountLifecycle
对齐 Feature Spec`.ai/product/feature-spec/ops-account-lifecycle.md`
Parent: **WAVE0-FROZEN** (`27f27a1`) · Predecessor: **ECR-013A Closed**
Phase: **Implemented · review**
## Meta
| 字段 | 值 |
|------|-----|
| ECR | ECR-013B |
| Status | Approved |
| 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.md``Identity_Profile`owns UserStatus)。
## L2 Domain
`UserStatus` · `AccountStateTransition` — glossary 已登记;状态机见 Spec。
## L3 API
见 Spec §L3`docs/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+。