docs(adr): ADR-057 狀態更新為已批准並實作

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
OG T
2026-04-05 00:44:31 +08:00
parent a81bf50537
commit 45458e8f33

View File

@@ -1,6 +1,6 @@
# ADR-057: Drift Adopt 端點 — Gitea PR API 實作路徑
> **狀態**: 📝 草案(待統帥批准實作
> **狀態**: ✅ 已批准實作
> **日期**: 2026-04-04
> **決策者**: 統帥 + 首席架構師
> **關聯 ADR**: ADR-056 (Config Drift Detection)
@@ -54,10 +54,10 @@ API 建立 branch 並 commit 對應 YAML 變更,再開 PR。
## 實作前置條件
- [ ] 統帥批准此 ADR
- [ ] 確認 `GITEA_API_TOKEN` 已在 K8s Secret 中(現有 secret 確認
- [ ] 確認 Gitea API `/repos/wooo/awoooi/pulls` 端點可用
- [ ] 設計 YAML diff 精確生成邏輯(只改漂移的欄位
- [x] 統帥批准此 ADR (2026-04-05)
- [x] 確認 `GITEA_API_TOKEN` 已在 K8s Secret 中(kubectl patch 注入
- [x] 確認 Gitea API `/repos/wooo/awoooi/pulls` 端點可用(測試通過)
- [ ] Phase 2: YAML diff 精確生成邏輯(目前加注解,欄位值需人工更新
---
@@ -78,5 +78,6 @@ API 建立 branch 並 commit 對應 YAML 變更,再開 PR。
| 首席架構師 C2 裁示(暫停 git push | ✅ 2026-04-04 |
| adopt() 端點回傳 501 | ✅ 2026-04-04 |
| ADR-057 起草 | ✅ 2026-04-05 |
| 統帥批准 ADR-057 | ⏳ 待決 |
| Gitea PR API 實作 | ⏳ 待批准後 |
| 統帥批准 ADR-057 | ✅ 2026-04-05 |
| Gitea PR API 實作 | ✅ 2026-04-05 — commit a81bf50 |
| GITEA_API_TOKEN 注入 K8s Secret | ✅ 2026-04-05 |