growth.write POST/PUT · migration 000057 · 无新 C 端 · Loop STOP Co-authored-by: Cursor <cursoragent@cursor.com>
71 lines
3.2 KiB
Markdown
71 lines
3.2 KiB
Markdown
# ECR-048 Candidate Review — GrowthInsights · ReportTemplate
|
||
|
||
> **RESOLVED 2026-08-13(Human: Candidate Review → Auth/Spec/开码 → Closed):**
|
||
> 首刀 = **ReportTemplate 薄写** · **Closed** · Loop **STOP** · 禁自动 ECR-049
|
||
|
||
**Date:** 2026-08-13
|
||
**Mode:** Candidate Review **Approved** · Spec **Closed** · Coding **Closed**
|
||
**Anchors:** Next=`ECR-049`(禁自动开)· Max Migration=`000057`
|
||
|
||
## 锁定现状
|
||
|
||
| 项 | 状态 |
|
||
|----|------|
|
||
| ECR-047 | FunnelDefinition **Closed · Authorized · Pushed** · Loop **STOP** |
|
||
| ECR-038 | ReportTemplate **只读** Closed |
|
||
| `admin.growth.write` | **已存在**(047 授予) |
|
||
| Continuous Loop | **STOP**(047 Auth 耗尽 · **不得继承**) |
|
||
| 硬 STOP | 支付 / UGC / soft-delete / Crisis·Handoff / Prompt / Knowledge / Chunk |
|
||
| ECR-008 Live Promote | **BLOCKED** |
|
||
|
||
## 八问(Candidate Review 强制)
|
||
|
||
| # | 问 | 答 |
|
||
|---|----|----|
|
||
| 1 | 做什么能力? | **ReportTemplate 薄写**(`code` / `title` / `scene` / `active`) |
|
||
| 2 | 为什么现在做? | GrowthInsights 只读目录写面剩 ReportTemplate;与 047 Funnel **同构**,可验证 `growth.write` 复用 |
|
||
| 3 | 是否属当前 Write-Wave? | **GrowthInsights 写面续刀**(非 CMS / 非 ExploreConfig / 非 AICore) |
|
||
| 4 | 风险等级? | **低–中**:目录/开关;无新 C 端路由;不改模型行为 |
|
||
| 5 | 是否需要新权限? | **否** · 复用 `admin.growth.write`(047 已授) |
|
||
| 6 | 是否需要 migration? | **是** · 占 **000057**(幂等确认 growth.write;与 053–055 同模式) |
|
||
| 7 | 是否触碰硬 STOP? | **否**(排除 Prompt/Knowledge/Chunk/支付/UGC/soft-delete/Crisis) |
|
||
| 8 | 是否值得继续? | **是** · 对称收口 GrowthInsights 两表写面;Closed 后仍须 STOP |
|
||
|
||
## 概念候选
|
||
|
||
| 优先 | 概念 | 备注 |
|
||
|------|------|------|
|
||
| **★ 决议首刀** | **ReportTemplate** | 表 `report_templates`;复用 growth.write |
|
||
| ✕ 排除 | Funnel 再写 | 047 Closed · 勿回流 |
|
||
| ✕ 排除 | SystemPrompt / Knowledge / Chunk | **硬 STOP** |
|
||
| ✕ 排除 | CMS / Explore / 题干 / Live Promote | 禁 |
|
||
|
||
## 决议
|
||
|
||
**ECR-048 = GrowthInsights · ReportTemplate 薄写面**
|
||
|
||
拟议(Spec 细化):
|
||
|
||
- 复用表 `report_templates`
|
||
- 复用 `admin.growth.write`
|
||
- Admin `POST/PUT /admin/growth/report-templates*`
|
||
- 字段仅 `code` · `title` · `scene` · `active`
|
||
- `system=true`:禁止改 `code` / 物理删
|
||
- 审计 `growth.report_template.create|update`
|
||
- **无**新 C 端路由
|
||
- Migration:编码时占 **000057**
|
||
- Continuous Loop:**仅**单独 Auth 且 **仅限 ECR-048**;Closed → STOP · **禁自动 ECR-049**
|
||
|
||
## 硬 STOP
|
||
|
||
Prompt / Knowledge / Chunk · 支付 · UGC · soft-delete · Crisis/Handoff · 题干 · Funnel 再写 · ECR-008 Live Promote 解禁 · 继承 047 Auth · 自动下一刀
|
||
|
||
## 下一步(仍不写码)
|
||
|
||
1. ~~ECR-048 Candidate Review approve~~ **Done · ReportTemplate**
|
||
2. Human:批准 **ECR-048 专用** Write Authorization(例:`批准 ECR-048 专用 Write Auth → Spec → 开码`)
|
||
3. Spec `ops-report-template-write` · ECR · BD
|
||
4. 开码口令后才改 `apps/`
|
||
|
||
**本回合交付 = Candidate Review RESOLVED;无 Spec · 无 Auth Loop · 无 `apps/`。**
|