Conversation
- DiffResult構造体(added/modified/deleted/unchanged) - detect_changes関数(manifest vs ファイルシステム比較) - .cmindexignore対応、拡張子フィルタ(.md) - Manifest::load_or_default追加 - 13テスト追加(追加/変更/削除/未変更/混合/ラウンドトリップ等) Closes #25 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
feat: 差分検知エンジン実装
- incremental_update関数(diff→tantivy差分更新→manifest更新) - delete_by_path(pathフィールドのterm削除) - Manifest::remove_by_path, replace_entry追加 - UpdateSummary構造体(追加/変更/削除/未変更の件数・セクション数) - CLIのupdateコマンドスタブからincremental_update呼び出し - 統合テスト追加(tests/incremental_update.rs) - 170テスト全パス Closes #26 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
feat: tantivy インデックス差分更新実装
- state更新時のsaturating_subでアンダーフロー防止+警告ログ - compute_dir_sizeにfollow_links(false)追加 - 変更なし時のメッセージ改善 - updateコマンドのE2Eテスト拡充(8テスト) Closes #27 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
feat: updateコマンド実装
- ファイル追加後のupdate→search検証 - ファイル変更後のupdate→search検証 - ファイル削除後のupdate→search検証 - 変更なし時のupdateメッセージ検証 - インデックス未作成時のupdate→index自動フォールバック - update後のstatus件数検証 - .cmindexignore動的追加後のupdate検証 - 共有ヘルパー関数追加(run_index, run_update, run_search, run_status_json, parse_jsonl, run_search_jsonl) Closes #28 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
test: Phase 2 E2E統合テスト追加
- フォールバック(自動フルインデックス)を廃止 - IndexNotFound / SchemaVersionMismatch / IndexCorrupted エラーバリアント追加 - インデックス未作成時: "No index found. Run `commandindex index`..." (exit 1) - スキーマ不一致時: "Index schema version mismatch..." (exit 1) - インデックス破損時: "Failed to read index state..." (exit 1) - 関連テスト3件をエラー終了期待に修正 Co-Authored-By: Claude Opus 4.6 (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.
Summary
updateコマンド実装(インクリメンタル更新)含まれるIssue/PR
品質チェック
UAT結果
Test plan
🤖 Generated with Claude Code