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/domain/README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/domain/README.md') diff --git a/src/domain/README.md b/src/domain/README.md index 0d359af..a30039e 100644 --- a/src/domain/README.md +++ b/src/domain/README.md @@ -1,8 +1,11 @@ # Domain layer -This directory is reserved for the conversation-memory domain model and its -business rules. Conversation, message, retention, and search contracts will be -defined here only after the next design phase. +`message.h` defines immutable Message and metadata concepts, role/tier enums, +input limits, deep-copy ownership, and UTF-8 validation. This layer has no mcpc +or Win32 dependency. -The domain layer must not depend on mcpc or on a concrete storage engine. +`search.h` owns the ASCII-case-folded Unicode codepoint 2/3-gram inverted index, +collision verification, candidate selection, and deterministic relevance score. +`memory_tier` is descriptive in v1. Retention, summarization, and automatic tier +transitions are intentionally not domain behaviors yet. -- cgit v1.2.3