feat(ECR-016): UserIntelligence 用户洞察只读切片并 Closed

聚合 GET /admin/users/:id/insight(报告类型/派生标签/行为快照),admin-h5 洞察 Tab;无 migration / 无 UGC / 无真支付。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
jackyu66git
2026-08-07 18:31:06 +08:00
co-authored by Cursor
parent 1afda1d389
commit 61ae3b0451
27 changed files with 807 additions and 115 deletions
@@ -0,0 +1,24 @@
# Backend Design: ECR-016 UserIntelligence
| ID | BD-2026-016 |
| Status | Approved |
| Coding | Loop authorized |
| Level | L2 |
| Migration | NO |
## Backend Change Boundary
```text
Domain: UserInsight read model (BehaviorSnapshot · PsychologicalTagSet derived)
App: AdminHandler → admin.Service → AdminRepo aggregates
API: GET /api/v1/admin/users/{id}/insight
Permission: admin.users.read
Migration: NO
UI: admin-h5 UserDetail「洞察」Tab
```
## Out of boundary
Write tags · new tables · Ask body edit · UGC · true payment
Rollback: remove route + UI tab(无 schema