{{ message }}
Repository navigation
Conversation
Store multi-file restaurant skills in the existing versioned configuration and expose bounded search and source reads to the service agent. Preserve consent and tenant boundaries when searching older customer memories. Add an administrative file preview and editor, MCP configuration guidance, realistic bilingual Komorebi seed documents and retrieval evaluation cases.
This branch had an error being deployed
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.

変更内容
接客が店舗固有の質問へ答える資料取得経路と、直近の一覧にない顧客記憶の検索を追加する。複数ファイルのSkillを既存の店舗設定に保存し、MCPで下書きへ反映、人が公開した版を接客から検索・読取できる。管理画面はファイル一覧、Markdownプレビューと原文編集を備える。
こもれびseedの営業時間・アクセス資料を選び、日本語・英語の本文を管理画面の実部品で表示した。HTMLと外部画像は実行・取得しない。
cast.skillsへSKILL.mdと任意の参照テキストを原文保持する。最大8 Skill・各30ファイル・各32,000文字・合計256,000文字。相対パス、重複、必須ファイルと店舗境界を検証し、保存済み資料を省略する旧形式の更新を拒否する。全削除は空配列で明示する。searchStoreKnowledgeは最大5件の抜粋と出典位置、readStoreKnowledgeは最大4,000文字の原文と続きを返す。公開版を照合し、デモは取り込んだ設定版を読む。未公開下書きが通常接客へ混入しない。searchCustomerMemoriesは現在の対象と同意を最終SQLでも検証し、本文・出所・本人編集・更新日時を8件ずつ取得する。古い記憶、削除、撤回、同時失効を実D1で確認した。個人記憶の包括閲覧をMCPへ追加しない。web_searchを維持し、店舗資料・業務API・個人記憶・外部情報の使い分けをLiveと委任先のプロンプトへ追加する。資料内の命令・コードを実行せず、外部検索へ個人情報を送らない。意思決定と最小実装
既存configurationの下書き・差分・検証・明示公開・履歴、MCPの管理者認可とread/write scope、顧客文脈の失効、既存Markdown表示を再利用する。新しい資料テーブル・migration・外部索引の同期処理は不要。
店舗資料は導入済みFuse.jsで短い日英キーワードを検索し、必要な原文だけを取得する。embeddingによる意味検索は含めない。価格・在庫・食事対応・プランは現在の業務APIを正本とする。MCP JSON Schemaは同じリスト要素の定義を標準参照へまとめ、入力制約を変えず既存25,000文字予算内の24,613文字に収めた。
通常の再seedは既存の店舗設定を保つ。今回の資料追加を理由に既存の営業DBをリセットしない。
テスト戦略と確認結果
対象commit:
3878c4aa971ff60e78cb270da62d1df0ffded5a4。Bun 1.4.3、Vitest 5.0.5。通常の固定応答と隔離local D1で検証した。実モデル・実音声・実iPad・外部MCPクライアント・全構成E2E・公開配備は未実施。Storybookの公開previewはCI待ちで未配備、配備SHAとAccess認証は未確認。対象Story IDは
店舗-店舗資料--preview、店舗-店舗資料--editing、店舗-店舗資料--empty。関連Issue
Closes #452