Files
digital-psychology/docs/TRACEABILITY.md
T
jackyu66gitandCursor ad45d17dff chore(repo): 仓侧治理门禁 — ECR/migration 身份唯一
将编号与 schema 完整性留在 Repository Governance,不扩 ESS/Loop;TRACEABILITY 锚定 Next ECR=041、Max Migration=000050。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-13 14:26:30 +08:00

69 lines
6.4 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.
# TRACEABILITY — 愈心谷
## Repository anchors(仓侧治理 · 非 ESS Loop
| Anchor | Value | Rule |
|--------|-------|------|
| **Next ECR** | `ECR-041` | 开新 ECR 前占用此号;写入 `docs/ECR/` 后把本行改为下一空闲裸号(或 `python scripts/repo-governance-check.py --print-anchors` |
| **Max Migration** | `000050` | 新建 migration 必须读仓内实际 max 后 +1;禁止凭记忆;合入前 `repo-governance-check` PASS |
- ECR identity **全局唯一**(含已 Closed);禁止同号双义。分叉只用 `ECR-NNN-suffix` / `ECR-NNNA`
- Migration **6 位版本号唯一**。撞号修复见 `docs/MIGRATION_RENUMBER.md`
- 门禁:`python scripts/repo-governance-check.py`
| ID | Kind | Status | Links |
|----|------|--------|-------|
| — | product | P1 Complete | `.ai/product/feature-map.md` · `feature-spec/` · `p1-status.md` |
| ECR-001 | structural realignment | **Closed** | PRODUCT_SPEC · ENGINEERING_SPEC · HANDOFF · ADR-0007 · STATE |
| ECR-001-B | H5 Home/Synastry split | PASS | TEST_REPORT/ECR-001-phaseB.md · CODE_REVIEW |
| ECR-001-A/C/D/E | docs · membership · engines · outlook pkg | Closed | TEST_REPORT/ECR-001-phaseA-E.md |
| ECR-001-F/H5 | types/sdk + 8 超标页拆分 | Closed | TEST_REPORT · CODE_REVIEW/ECR-001-phaseF-h5.md |
| ECR-002 | fortune→outlook package | **Closed** | `docs/ECR/ECR-002-fortune-hygiene.md` |
| ECR-003 | outlook JSON hygiene(删 fortune / lucky→boost | review PASS | TEST_REPORT · CODE_REVIEW/ECR-003.md |
| ECR-004 | Synastry 再拆 · Scale 测 · Membership 守卫 · OpenAPI · CI | review PASS | TEST_REPORT · CODE_REVIEW/ECR-004.md |
| ECR-005 | Ask/Decode/Portrait 再拆 · composable 外提 · OpenAPI `$ref` | review PASS | TEST_REPORT · CODE_REVIEW/ECR-005.md |
| ECR-006 | 运营后台 Phase Aadmin API + admin-h5 | **Closed** | Spec ops-admin · BD-2026-006 · TEST_REPORT · CODE_REVIEW |
| ECR-007 | 运营行为分析 Ops-B(埋点 + 数据看板) | **Closed** | Spec Active · BD-2026-007 · TEST_REPORT · CODE_REVIEW |
| ECR-008 | 运营内容 Ops-C(首页宫格 + 测评上下架) | **Closed** | Spec Active · BD-2026-008 · TEST_REPORT · CODE_REVIEW |
| ECR-009 | 运营商业加深 Ops-D(订单筛选 · 展示价 · 退款只读) | **Closed/Implemented** | Spec ops-commerce · BD-2026-009 · LOOP-RUN-002 |
| ECR-010 | 运营系统 Ops-ERBAC · 封禁 · 推送占位) | **Closed/Implemented** | Spec ops-system · BD-2026-010 |
| ECR-011 | 昵称 · 首页贴士 · Self 唯一/合盘交叉校验 | **Closed** | TEST_REPORT · CODE_REVIEW · BD-2026-011 |
| ECR-012 | 用户文字输入合规 textsafe / 40060 | **Closed** | Spec input-compliance · BD-2026-012 · **identity 占用 ECR-012** |
| ECR-012-star | 星座对齐收口(星盘 · outlook · 合盘) | **Implemented** | Spec star-profile · 历史误用 ECR-012 → 已固定为 **ECR-012-star** |
| ECR-013 | 探索 curated 题库 A 集 · 结果回看 | **Closed** | Spec explore-test · BD-2026-013 |
| WAVE-0 | Ops Contract-First Foundation | **FROZEN** | `docs/WAVE0/` · HUMAN_REVIEW FREEZE |
| ECR-013A | Admin RBAC | **Closed** | Spec ops-rbac · BD-2026-013A · migration **000018**(原撞号 015,见 MIGRATION_RENUMBER |
| ECR-013B | AccountLifecycle | **Closed** | Spec ops-account-lifecycle · BD-2026-013B |
| ECR-014 | 时效刷新(时辰贴士 · star/rhythm 按日) | **Closed** | RETRO · BD-2026-014 · **identity 占用 ECR-014** |
| ECR-014-plan | MembershipPlan | **Closed** | Spec ops-membership-plan · 历史误用 ECR-014 → **ECR-014-plan** |
| ECR-015 | 账号头像上传与媒体读取 | **Closed** | RETRO · BD-2026-015 · **identity 占用 ECR-015** |
| ECR-015-code | RedemptionCode | **Closed** | Spec ops-redemption-code · 历史误用 ECR-015 → **ECR-015-code** |
| ECR-016 | MBTI OEJTS 标准/完整版 | **Closed** | RETRO · BD-2026-016 · **identity 占用 ECR-016** |
| ECR-016-insight | UserIntelligence | **Closed** | Spec ops-user-intelligence · 历史误用 ECR-016 → **ECR-016-insight** |
| ECR-017 | AskOperations | **Closed** | Spec ops-ask-operations · BD-2026-017 |
| ECR-018 | Entitlement | **Closed** | Spec ops-entitlement · BD-2026-018 |
| ECR-019 | ContentSafety | **Closed** | Spec ops-content-safety · BD-2026-019 |
| ECR-020 | QualityFeedback | **Closed** | Spec ops-quality-feedback · BD-2026-020 |
| ECR-021 | AICoreConfig | **Closed** | Spec ops-ai-core-config · BD-2026-021 |
| ECR-022 | CrisisCare | **Closed** | Spec ops-crisis-care · BD-2026-022 |
| ECR-023 | AICoreConfig · KnowledgeSource | **Closed** | Spec ops-knowledge-source · BD-2026-023 |
| ECR-024 | OpsCMS · Banner | **Closed** | Spec ops-banner · BD-2026-024 |
| ECR-025 | OpsCMS · FeedSlot | **Closed** | Spec ops-feed-slot.md · BD-2026-025 |
| ECR-026 | OpsCMS · ScheduledPublication | **Closed** | Spec ops-scheduled-publication.md · BD-2026-026 |
| ECR-027 | AICoreConfig · KnowledgeChunk | **Closed** | Spec ops-knowledge-chunk.md · BD-2026-027 |
| ECR-028 | AICoreConfig · ToolDefinition | **Closed** | Spec ops-tool-definition.md · BD-2026-028 |
| ECR-029 | ContentSafety · BlockPolicy | **Closed** | Spec ops-block-policy.md · BD-2026-029 |
| ECR-030 | ContentSafety · ModerationCase | **Closed** | Spec ops-moderation-case.md · BD-2026-030 |
| ECR-031 | CrisisCare · CrisisEvent | **Closed** | Spec ops-crisis-event.md · BD-2026-031 |
| ECR-032 | CrisisCare · InterventionOutcome | **Closed** | Spec ops-intervention-outcome.md · BD-2026-032 |
| ECR-033 | AskOperations · HandoffCase | **Closed** | Spec ops-handoff-case.md · BD-2026-033 |
| ECR-034 | AdminGovernance · PrivacyRequest | **Closed** | Spec ops-privacy-request.md · BD-2026-034 |
| ECR-035 | ExploreConfig · StarConfig | **Closed** | Spec ops-star-config.md · BD-2026-035 |
| ECR-036 | ExploreConfig · RhythmConfig | **Closed** | Spec ops-rhythm-config.md · BD-2026-036 |
| ECR-037 | ExploreConfig · ImageCardDeck | **Closed** | Spec ops-image-card-deck.md · BD-2026-037 |
| ECR-038 | GrowthInsights · ReportTemplate | **Closed** | Spec ops-report-template.md · BD-2026-038 |
| ECR-039 | GrowthInsights · FunnelDefinition | **Closed** | Spec ops-funnel-definition.md · BD-2026-039 |
| ECR-040 | ExploreConfig · ScaleDefinition | **Closed** | Spec ops-scale-definition.md · BD-2026-040 |
> **Migration** 合并后 `000015``000023` 曾撞号,已重编号至 `000050`。以 `apps/api/migrations/` 与 `docs/MIGRATION_RENUMBER.md` 为准(文档中旧号引用可能滞后)。