From 4c6a831aa2a57e2bcc20aa3fc2f1b7172f5be285 Mon Sep 17 00:00:00 2001 From: tanaka takashi Date: Mon, 29 Jun 2026 02:36:40 +0900 Subject: feat: 会話メモリのプロトタイプを実装 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 6種類のMCPツールと入力検証を追加 - バイナリログ、スナップショット、復旧、圧縮処理を実装 - Unicode n-gram検索とドメインモデルを追加 - 単体テストと統合テストを追加 - アーキテクチャと実装状況を文書化 - Cコードの記述スタイルを統一 --- src/storage/README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/storage/README.md') diff --git a/src/storage/README.md b/src/storage/README.md index ceb8965..3c03dba 100644 --- a/src/storage/README.md +++ b/src/storage/README.md @@ -1,6 +1,9 @@ # Storage layer -This directory is reserved for persistence adapters. The storage engine and its -schema are intentionally undecided; SQLite or another dependency will be added -to `vcpkg.json` only after the storage contract is designed. +The storage adapter owns `active.log`, `snapshot.bin`, the data-directory lock, +in-memory live/deleted state, synchronous PUT/DEL writes, startup replay, and +compaction. It uses Win32 64-bit file APIs and `FlushFileBuffers`. +The binary format is private but versioned. Invalid complete records are never +skipped; only an incomplete EOF record is truncated. Snapshot generation must +match the active log before snapshot state is trusted. -- cgit v1.2.3