UserStatus 迁移、DeviceAuth 拒绝非 active、admin-h5 CTA; Reviewer Closed。Human 授权 LOOP_AUTHORIZATION(免逐闸确认)。 Co-authored-by: Cursor <cursoragent@cursor.com>
51 lines
1.3 KiB
Markdown
51 lines
1.3 KiB
Markdown
# 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-delete;Payment;Community;ECR-013C+。
|