style(validate): finish the language sweep (closes #90) - #93
Merged
CarlLee1983 merged 1 commit intoAug 16, 2026
Merged
Conversation
空殼 response 那筆是 validate/ 最後一筆英文訊息,改成繁體中文後整個套件不再有 同一份報告用兩種語言對 operator 說話的情形(掃過一次確認為零)。 判準寫進 AGENTS.md 的 Conventions:validation 的 issue 文字是產品輸出,與生成的 guide 同屬 zh-TW 那一側。原本只有 coverage.py 的 docstring 記著這件事,而這次的 不一致正是發生在另一個模組——規則寫在模組裡就只有讀那個模組的人看得到。
This was referenced Aug 16, 2026
Closed
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.
Closes #90。堆在 #91 之上(base 是
agent/issue-84-message-language),這樣「validate/沒有英文訊息」才是可驗證的終點狀態——單獨基於 main 的話coverage.py那筆還在。#91 併入 main 之後這張的 base 會自動回到 main。改了什麼
response_contract.py的空殼 response 警告是validate/最後一筆英文訊息:successful response has no usable schema contract→成功 response 沒有可用的 schema 契約Re-read the endpoint response envelope…→重讀這個端點的回應封包並記下它的 schema;若來源確實未載明,就讓這個交付缺口留在報告裡。掃過一次
loop_apidoc/validate/確認殘留為零。判準搬到 AGENTS.md
原本只有
coverage.py的 docstring 記著「validation 訊息用中文」,而這次的不一致正好發生在另一個模組——規則寫在模組裡,就只有讀那個模組的人看得到。改成寫進AGENTS.md的 Conventions:validation 的 issue 文字(evidence/suggested_fix/fix_once)是產品輸出,與生成的 guide 同屬 zh-TW 那一側。影響面
純措辭,無行為變更。字串在 repo 只有一處被斷言(
tests/validate/test_validator.py),已更新;skills/的修正循環參考文件描述的是行為而非訊息字串,不需同步(它本身是英文文件,依政策正確)。benchmark 的current_issue_classes只數code.severity,期望值未動。Test plan
uv run pytest2175 passeduv run ruff check ./npm run docs:checkPASS