Skip to content

Clarify Caveat remote-mismatch diagnostic wording - #4

Merged
quolu merged 1 commit into
mainfrom
review/caveat-producer-20261018
Oct 18, 2026
Merged

quolu merged 1 commit into
mainfrom
review/caveat-producer-20261018

Conversation

@quolu

@quolu quolu commented Oct 18, 2026 •

Copy link
Copy Markdown
Collaborator

Caveatの同期診断がremote_mismatchを返した時、現在の文面「caveat sync failed」は同期操作そのものの失敗とも読めます。製品がCaveat、部品がsync、理由がremote_mismatchの時だけ、共有先HEADと端末HEADの不一致を観測したことと、同期操作の成否・原因・実害が未確認であることを表示します。

checkのstatus、fingerprint、severity、reason、count、時刻を保持し、他条件の文面も維持します。共通projectionを使うv5〜v9の将来reportに届きます。

検証: 隔離HOME/PATHと偽runCommandによるfocused試験20件成功。v5〜v9 × 3模擬platform × 7条件の105ケースを各wire validatorへ通しました。変更ファイルの構文、通常make lint-js、差分空白検査も成功。通常PR CI 39105660698(attempt 1)はLinux・macOS・Windowsのmake ciと最終gateがすべて成功。各OSのログで新規回帰試験7件の成功を確認しました。PR検査用merge commitと候補HEADのtreeも一致しています。

実同期欠陥・実害・修理要否は未確定です。host導入・実利用受入・private診断保存機能は後続の別工程です。

Keep the existing check identity, severity and state while clarifying that
the diagnostic does not establish sync operation success, cause or impact.
Cover unchanged cases and v5-v9 projections with an in-memory command runner.
@quolu
quolu merged commit 36452b5 into main Oct 18, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant