異體字落地替換 S9:文件收尾(API/openapi/CHANGELOG/計畫狀態) - #1279
Merged
Merged
Conversation
- `API.md`:v1 舊版 operations 通道補三條事實——`json` 的文本值先替換才存進 `resource_data`(`resource` 需精確拼寫,否則整包不替換);`resource_original` 是寫入前的既有列快照、刻意不替換(因此審核 diff 會多出字形被改寫那幾行); 眾包核准回填會再替換一次(舊提案可能早於本次上線,依 D8 幂等)。 - `docs/openapi/openapi.yaml`:原本完全沒有 `notices`。補 `Notices` schema 並掛到 `MutationSuccessResponse` 與 `ErrorResponse`(成功與 409/422 都會帶), `info.description` 補一段落地替換說明。example 用真實訊息格式,並註明一次請求 只有一則通知、不逐欄歸屬。 - `CHANGELOG.md`:記一則,**明確標為行為擴張而非修 bug**。含使用者最需要知道的三件事: 所有文本欄(含 `c_notes`)都會被改寫;不做回溯校正所以「兩形並存」是常態、精確比對 一律要兩形都探;以及 D9——搜尋端完全沒有歸一,新舊資料互相搜不到。 - 計畫文件補「執行狀態」表(S0~S9 的 commit)與**與原計畫的偏差**逐條記錄:D7 的份量 被低估、只在真的改鍵時檢查、稽核鏈字形一致性、表名要正規化兩次但外部入口刻意要求 精確拼寫、BIOG_MAIN 只替換本次真的改的欄位、複製功能需 per-table 去重、修復工具只 替換非主鍵欄、通知覆蓋到 409/422、S8 把關做得比原計畫重。 - 第二階段文件的「未涵蓋其他文本錄入入口」改為指向本階段(已完成),並標明其下三小點 記錄的是當時狀態。 review agent 與 codex 各一輪,修掉的錯誤陳述:`resource_original` 不是「使用者送出的 字形」而是既有列快照(且 `add` 不寫、部分 delete 分支寫 null)、核准回填其實會再替換 一次、拼音歸一是 `v`→`ü`、通知格式不含欄位名、排除清單與涵蓋路徑清單原本是不完整的 列舉卻寫得像完整。 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
這是什麼
docs/CHAR_VARIANT_MAP_TEXT_COLUMN_ROLLOUT_PLAN.md的 S9(最後一步):文件收尾。純文件,無程式碼改動。內容
API.md:v1 舊版 operations 通道補三條事實——json的文本值先替換才存進resource_data(resource需精確拼寫,否則整包不替換);resource_original是寫入前的既有列快照、刻意不替換(因此審核 diff 會多出「字形被改寫」那幾行,是預期現象);眾包核准回填會再替換一次(舊提案可能早於本次上線,依 D8 幂等)。docs/openapi/openapi.yaml:原本完全沒有notices。補Noticesschema 並掛到MutationSuccessResponse與ErrorResponse(成功與 409/422 都會帶),info.description補一段落地替換說明。example 用真實訊息格式,並註明一次請求只有一則通知、不逐欄歸屬。CHANGELOG.md:記一則,明確標為行為擴張而非修 bug。含使用者最需要知道的三件事:所有文本欄(含c_notes)都會被改寫;不做回溯校正所以「兩形並存」是常態、精確比對一律要兩形都探;以及 D9——搜尋端完全沒有歸一,新舊資料互相搜不到。驗證
resource_original不是「使用者送出的字形」而是既有列快照(且add不寫、部分 delete 分支寫null)、核准回填其實會再替換一次、拼音歸一是v→ü不是ue、通知格式不含欄位名、排除清單與涵蓋路徑清單原本是不完整的列舉卻寫得像完整。🤖 Generated with Claude Code