thread-master/old/README.md

31 lines
1.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.

# 封存區Legacy Archive
此目錄為 **2026-07-09** 起封存的舊巡樓 monorepo 內容,**不再作為開發主線**。
新產品從 repo 根目錄 **從零重寫**,產物與決策見:
- `docs/product/haixun-console/`requirements / spec / plan / tasks
- 新前端目標:`apps/web`(建立中)
- 新後端目標:`services/` 或 `backend/`(建立中,以 product 文件為準)
## 內容大致對應
| 路徑 | 原角色 |
|------|--------|
| `old/backend/` | 舊 Go gateway、workers、web Console、Node workers |
| `old/deploy/`、`old/infra/`、`old/scripts/` | 部署與本機腳本 |
| `old/extension/` | Chrome 擴充 |
| `old/docs/` | 舊架構/計劃文件(非 product 流水線) |
| `old/AGENTS.md` | 舊 agent 規範(可當參考,根目錄有新版精簡規範) |
## 使用規則
1. **只讀參考**:搬模式、契約、演算法時可查,不要在 `old/` 上繼續開功能分支當主線。
2. **不要**把 `old/` 加回 CI 主 build除非明確做遷移工具
3. 需要對照舊 API 時優先看 `old/backend/generate/api/``old/backend/README.md`
4. 確認新系統穩定後,可另開 PR 決定是否從 git 歷史移除大目錄(目前僅搬移保留歷史)。
## 還原(不建議)
若誤搬,可用 git 還原該次 commit / checkout 路徑。正常開發請只改 repo 根下的新結構。