Repository navigation
chore: packages/ui(1272e81d 以降に足された分)の無駄なコメントを消す - #4405
Merged
Merged
Conversation
This was referenced Oct 10, 2026
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.
Refs #3710
packages/uiで、2026-10-09 の到達点の報告の時点(1272e81d)より後に足されたコメントを整理した。コメントだけの変更で、コードは変えていない。基準と、その根拠
#4401(core)・#4402(web)・#4403(cli)・#4404(daemon)と同じ。AGENTS.md の「情報の置き場所」に従い、コードのコメントには Why not(単純にすると壊れる理由)だけを残す。How はコードで、What は試験の名前で、Why はコミットログで表す。Issue 番号・経緯は消す。
オーナーの承認(クローンの手元の記録から):
f6e6bad8「この基準で全体に広げてよい」範囲
git diff 1272e81d origin/main -- packages/uiで足された、行頭がコメントの行(19行)packages/uiに触れていない)消したもの・残したもの
#4340・#4381)DaemonImages・match・ImageFallbackの doc のうち、名前と型を言い直していた行DaemonImagesを context で渡す理由(packages/uiはpackages/swrに依存しない)と、渡さない画面での振る舞いmatchが資格の判定の唯一の場所であることmarkdown.tsxの blob の後始末の理由chat-header.tsxの狭い画面の作りの理由確かめたこと
removeComments: trueで回し、origin/mainの版と比べた)npx prettier --check(変えた5ファイル)通過readFileSync/?rawで読む箇所は無かった確かめていないこと
Alteroid-Issue-Done: none