Repository navigation
Releases
Caveat 0.21.5
Fixes named GitHub account sync with real simple-git and command-scoped credential handling. The helper is enabled only for a validated githubUser and product-built credentials/HTTPS policy. Untrusted helper/protocol configuration and Git configuration environment injection are refused; an absent githubUser keeps the previous behavior.
Regression coverage passes through six real CLI/worker sync paths on Linux, macOS, and Windows. The same paths fail before this fix in 0.21.4. Fixed managed entry and runtime bytes remain unchanged.
Built from main 4955a6c. Main CI 40269676876: all five jobs successful.
Caveat 0.21.4
Known issue: named-account sync in 0.21.4 stops before the Git child because simple-git requires explicit policy opt-ins. Do not enable githubUser with 0.21.4. Configurations without githubUser retain their prior behavior. A fix is being prepared as a 0.21.5 source candidate.
Optional githubUser selects an existing GitHub account for Caveat private sync without changing the shared active account.
The scoped credential helper uses a stable gh entry, disables automatic token refresh and inherited token overrides, and reports typed failures without falling back to another account. Unconfigured installations retain their existing behavior.
PR and main CI passed on Linux, macOS and Windows.
Caveat 0.21.3
Caveat 0.21.3 adds bounded SDK and YAML input handling while preserving legacy numeric semantics and reads of existing entries. It also fixes Windows ACL transport and MCP command loading, updates Hono to 4.13.14, and checks SQLite FTS5/trigram capability before persistent writes.
A compatible node:sqlite build with FTS5 and trigram is required; the Node version alone does not guarantee those features. Engine declarations are unchanged. The three-OS main CI passed, and the final pack passed four-host read-only preflight and corpus compatibility checks (575 entries per host, no limit or scalar differences).
Caveat 0.21.0
Published npm package: https://www.npmjs.com/package/caveat-cli/v/0.21.0
Added
- Add explicitly managed native autosync schedules for the current user, with retained cycle results and bounded retry state. Normal initialization does not enable schedules.
Fixed
- Start the shipped CLI on the declared Node 22.5 SQLite floor while preserving explicit runtime options.
- Preserve the current Windows token identity and non-ASCII task XML bytes during schedule management. Persist owner-only ACL changes without copying audit sections.
- Preserve TOML table values and date forms when updating Codex/Grok registrations with smol-toml 1.9.1. Verify serialized values before backup/write and retain the independent readback check.
Dependencies and internal contracts
- Update ten dependency version families while retaining separate YAML 3/4 and Node adapter 1/2 paths. Keep SDK 1.29.0 and direct js-yaml 4.1.1 pinned pending acceptance of their changed input contracts.
- Include private evidence schemas and pure validation assets with no declared transports. Collection, native channels, and private runtime integration remain disabled and unsupported.
Caveat 0.20.3
同期の正常な取消や、失敗を表示して入力を保持できた通信断を、自動のアプリ修理対象へ上げないようにしました。通信失敗の原因と共有先の結果が未確定であることを表示し、再同期で共有先を照合します。rebaseの復旧に失敗した場合はhighで報告します。
実行時エラーの重大度は、1操作の失敗がwarn、機能が使えない状態・復旧失敗・書き込み結果未確認がhigh、確認したデータ喪失がfatalです。回数だけで引き上げず、未解決の重大な影響と過去の履歴は保持します。環境の障害とアプリの対処不良は、診断と実害の根拠を使って分けます。
collectorの送信JSON・署名・受領確認の契約は維持しています。送信失敗は診断へ残し、未受領の記録を保ちます。
検証: build・型検査・公開package gate・661テスト(既存skip3)、PR/mainのLinux・Mac・Windows CIが成功。公式npm版の隔離試験で通信失敗後の入力保持と無登録、復帰後の重複しない同期、実害別のwarn/highを確認しました。Claude・Codex・Grokの新規会話と4 AI MCP検索も成功しました。
main-server・rabbit・MacBook・Windowsへ公式npm版を導入し、二度の初期化、private同期、4 AI MCP検索、設定保持を確認しました。既存の実行時エラー原本・累計・時刻・受領位置は不変です。Composerは指定モデル不在、MacのClaude新規会話は認証なしのため未確認。取りやめ済みの実機試験は再開していません。
Caveat 0.20.2
hookとMCPが同じindexを更新したとき、短いDB競合で検索履歴の記録が直ちに失敗する問題を修正しました。SQLiteの各操作は最大1秒待ちます。長くlockが続いた場合は、失敗を記録します。
runtimeErrorsを有効にしている端末では、hookの失敗箇所と固定の原因分類を直近64件保存します。caveat runtime-errors hook-details --jsonで確認できます。会話や例外の本文、pathは保存せず、collectorへの送信項目は変わりません。
Linux・Mac・WindowsのCI、650件のテスト、公式npm版の隔離導入、4 AIのMCP接続・検索、利用可能なClaude・Codex・Grokの新規会話を確認しました。指定のGrok Composerモデルはカタログになく、未実施です。
Caveat 0.20.1
修正
- hookの入力の先頭にUTF-8のBOMが付いていても読めるようにしました。WindowsのCursor CLI(2026.10.01)はhookへ渡すJSONの先頭にBOMを付けるため、CursorからのCaveatのhook(Cursor用と、Cursorが読み込むClaude用)がJSONとして読めず、検索も通知もしないまま終わっていました。hook自体は終了0で、Cursorの動作は止めていませんでした。
確認
- 実機のCursor CLIから採取したバイト列の形で回帰試験を追加しました。
- PRとmainのLinux・macOS・Windows CIが成功しました。
v0.20.0
追加
- runtime errorを、自分で運用するcollectorへ送る明示opt-inの入口を追加しました。
~/.caveatrc.jsonでruntimeErrors: trueに加えてruntimeErrorReportCredentialFileへcredentialの絶対パスを書いた時だけ送ります。既定では通信せず、パッケージに宛先は入っていません。 - 報告はHMAC-SHA256で署名し、秘密は送信しません。本文は未受領の固定記録(fingerprint、error code、component、定型文、severity、status、回数、時刻、発生時の版)と解決記録だけです。
- 受領済みにするのは、
200・accepted: true・同じreport_id・受領署名の一致がそろった時だけです。redirectには従いません。 - 送信は切り離したworkerが行い、hookは通信を待ちません。
caveat runtime-errors report --jsonとcaveat runtime-errors report-status --jsonを追加しました。既存のsnapshot/diagnosticsの形は変えていません。
確認
- PR #41とmainのLinux・macOS・Windows CIが成功しました。WindowsのcredentialのACL検査もCIで実行しています。
- packしたtarballを隔離導入し、契約の文面だけから書いた受け口の代役へ送信して受領まで確認しました。届かない宛先、署名の無い200、鍵違い、本人以外が読めるcredentialでは受領済みになりません。
本物のcollectorへの実送信は、受け口の配備とcredentialの配置のあとに確認します。
Caveat 0.19.13
修正
- Claude・CodexのUserPromptSubmitでJevのHTTP判定後に自然終了し、Windowsのlibuv終了時assertionを防ぎます。
- 苦戦判定と知見提案の関連度の閾値は、ともに0.80を維持します。
確認
- PR #39とmainのLinux・macOS・Windows CIが成功しました。
- 公開npm版で3 OSの再初期化、private同期、Claude・Codex・Grok・CursorのMCP登録からの接続・検索を確認しました。
- Windowsでは公開版のClaude・Codex hookから実Jevの判定・同一ターンの再判定抑止・正常終了を確認しました。
実行可能なホストの新規セッション試験も実施しました。MCPの接続・検索と、モデルセッションの実行結果は分けて記録しています。
公開後の追加確認(2026-09-28)
- 再認証後、公開版を隔離導入したMac・WindowsでClaudeの新規セッションが成功しました(Haiku、UserPromptSubmit・Stop hook成功)。Linuxと合わせて3 OSで確認済みです。
- MacBookの常用0.19.13で、Cursorの対話セッションから
caveat_searchのMCP呼出しが成功し、beforeSubmitPrompt・postToolUse・stopの3 hookが終了0・stderrなしでした。Cursor CLIの-pではbeforeSubmitPromptとstopが発火しないため、hookは対話セッションで確認しています。 - Grok CLIの指定モデル
grok-composer-2.5-fastはcatalogに無く、Composerは未確認です。苦戦判定と知見提案の精度は未評価です。
Caveat 0.19.12
変更
- Jevの苦戦判定を、反復問題・明確な苦戦の両スコアが0.80以上の場合に変更しました。
- 保存済み会話による閾値比較を根拠に、従来の0.85から引き下げています。知見提案の関連度閾値は0.80を維持しています。
- 0.80で検索へ進み、片方でも0.79なら進まない境界値を検証し、観測記録への適用閾値の保存も確認しました。
検証
- Windows・Mac・LinuxのCI成功。
- npm公開版の新規導入、初期化の冪等性、Claude・Codex・Grok・CursorのMCP接続と検索を確認。
- このMacへの公開版導入、Claude・Codexの新規セッション、Jevによる保存済み会話の再判定と閾値0.80の記録を確認。