# growth-loop

| 欄位 | 值 |
|------|-----|
| **Goal** | 從「好用」到「非用不可」：成果歸因＋每週健檢優先；健康分＋邀請獎勵＋Workspace 其次 |
| **Phase** | `implemented`（P0–P2 已落地；見 GAPS.md） |
| **Frontend / Backend** | `apps/web` / `apps/backend` |
| **Updated** | 2026-07-20 |

## 文件

| 檔案 | 狀態 |
|------|------|
| [requirements.md](./requirements.md) | approved |
| [spec.md](./spec.md) | approved |
| [plan.md](./plan.md) | approved |
| [tasks/INDEX.md](./tasks/INDEX.md) | approved · 30 tasks **done** |
| [TESTING.md](./TESTING.md) | 測試指令 |
| [GAPS.md](./GAPS.md) | P2／訊號降級 |

## 交付摘要

| 能力 | 路徑 |
|------|------|
| Outcomes API | `/api/v1/outcomes/*` |
| Checkups API | `/api/v1/checkups/*`（不扣點） |
| Account health | `/api/v1/account-health/*` + 自動送出閘 |
| Workspaces | `/api/v1/workspaces/*` |
| Invite rewards | 擴充 `/api/v1/invite/me` + purchase hook |
| FE | Today 成果卡＋健檢；Usage 成本｜成果並列；growth live repo |

```bash
cd apps/backend && go test ./internal/module/growth/... -count=1 && make build
cd apps/web && npm run build
# indexes: make migrate-up  # 000013
```
