解耦修改器核心、存檔與兵種預設流程#7
Closed
nojackno2-ctrl wants to merge 1 commit into
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
變更內容
FeatureKey/FeatureRegistry統一功能識別與預設值,將 EXE、INI、objdef、team.dat、BCI 與安裝狀態偵測拆成目標專責 detector。PatchText.GameEncoding,移除測試順序依賴。AI_HANDOFF.md。原因與影響
原本核心協調器與 WinForms 同時承擔 patch 政策、檔案 I/O、rollback 與格式解析,造成責任集中、重複邏輯和難以隔離測試。這次重構保留既有功能行為,讓後續新增功能能依 target/service 擴充,並讓存檔還原與 preset 格式可用暫存 fixture 驗證。
驗證
dotnet test(隔離 artifacts path):186/186 通過git diff --check:cleanBackupInfrastructureTestsisolated focused run:5/5 通過