fix(api): Phase R-R2.2 首席架構師 72/100 P2 修復
P2-01 signal_worker.py: persisted_to_pg 改用 getattr 防 BrainIncident AttributeError P2-02 IIncidentEngine Protocol: update_incident_status → update_status 對齊 brain 實作 P2-03 config.py USE_NEW_ENGINE: 標記失效 + 回滾路徑更正 (git revert 而非 kubectl) ADR-046: Option B (IncidentConverter) 決策完成,待實作清單更新 ADR-024: 審查結論 + 正式回滾指令更新 Skill 02: v2.5 版本記錄 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -54,16 +54,12 @@ class Settings(BaseSettings):
|
||||
# ==========================================================================
|
||||
# Phase 16: leWOOOgo 積木化絞殺者模式 (Strangler Fig Pattern)
|
||||
# 2026-03-26 統帥批准立即執行
|
||||
#
|
||||
# 功能開關:
|
||||
# - False: 使用 apps/api 內嵌版本 (當前)
|
||||
# - True: 使用 lewooogo-brain/lewooogo-data 套件版本
|
||||
#
|
||||
# 回滾指令: kubectl set env deployment/awoooi-api USE_NEW_ENGINE=false
|
||||
# 2026-04-01 ogt: Phase R-R2 完成,內嵌版本已移除,此開關已失效 (ADR-046 P2-03)
|
||||
# 回滾方式: git revert c7b3f8f d17b67c + kubectl rollout restart deployment/awoooi-api
|
||||
# ==========================================================================
|
||||
USE_NEW_ENGINE: bool = Field(
|
||||
default=False,
|
||||
description="Phase 16: True=lewooogo packages, False=內嵌版本",
|
||||
default=True,
|
||||
description="[已失效] Phase R-R2 後內嵌版本已移除,此開關無消費者,僅保留供環境相容性",
|
||||
)
|
||||
|
||||
# ==========================================================================
|
||||
|
||||
Reference in New Issue
Block a user