← Home← ホーム / Storeストア
AI-Context-StoreAI コンテキストストア

Knowledge that survives the session. セッションを越えて残る知識。

Every decision, research note, and working state lives in a central store outside your repo. Banto injects it at the start of every session and saves it at the end, so a /clear or a compaction never costs you the thread. Once the store has grown enough — 1,471 documents in the current example — a fail-open search stack lets even the cheapest model find any of it in under a millisecond.

決定・調査・作業状態は、すべて repo の外の中央ストアに置く。Banto がセッション開始時に注入し、 終了時に保存するため、/clear や自動圧縮でも文脈を失わない。ストアが育つと(現在の実例で 1,471 文書)、0 件でも止まらない検索スタックが働き、いちばん安いモデルでも 1 ミリ秒未満で目当てのセクションに届く。

01

What accumulates — and how it comes back何が貯まるか — どう再注入されるか

An external memory, one per project. It accumulates decisions, research, and working state, and recalls them automatically at the next session start — the same store that saves also restores.プロジェクトごとの外部メモリ。決定・調査・作業状態を貯め、次のセッション開始時に自動で思い出す。保存するストアが、そのまま復元も担う。

Without a store, everything built up in a conversation vanishes on /clear or auto-compaction — next session, you explain it all again.ストアがなければ、会話で積み上げた内容は /clear や自動圧縮で消える。次のセッションで、同じ説明をまた繰り返す。

Before / after困りごとと解決

without a storeストアなし

The session ends — memory drops to zeroセッション終了 — 記憶はゼロ

  • why a decision was made is lost決定の理由が消える
  • the same research gets redone同じ調査をやり直す
  • the same explanation, every session毎セッション、同じ説明を繰り返す
with the storeストアあり

The store remembers — the next session continuesストアが覚えている — 次のセッションは続きから

  • decisions and research persist決定・調査が残る
  • restored automatically at session start開始時に自動で復元
  • no re-explaining説明のやり直しなし

How it comes backどう戻ってくるか

One store persists; sessions come and go. Session 1 works and clears, the store keeps everything, session 2 restores automatically.ストアは 1 つ、セッションは入れ替わる。セッション 1 が作業して /clear を実行し、ストアが保存、セッション 2 が自動で復元する。

The re-injection is not manual. Banto hooks into six lifecycle events (SessionStart among them), so save and restore never require a human step — the full mechanics are on the mechanism page.

この再注入は手動ではない。Banto は6 つのライフサイクルイベント(SessionStart など)に hook し、保存と復元に人の一手を挟まない。仕組みの詳細は mechanism ページに譲る。

What's inside中身

One folder per project, a fixed layout any tool can read. Shared knowledge is flat and author-tagged; personal state is namespaced per author.プロジェクトごとに 1 フォルダ・決まった構成。共有知識は階層を持たず、ファイル名に作成者名が入る。個人の状態は、作成者ごとの名前空間で分離する。

Folderフォルダ What goes in何が入るか When it's usedいつ使うか Scope区分
decisions/ design-decision log (one decision, one file)設計の決定ログ(1 決定 = 1 ファイル) when you ask "why is it this way" later「なぜこうなったか」を後から引くとき shared共有
docs/research/ external research findings外部調査の結果 searched first, so the same research never runs twice次の調査の前に検索し、同じ調査を繰り返さない shared共有
docs/knowledges/ promoted, durable knowledge昇格させた恒久ナレッジ fixed once, referenced every session何度も効く知見を固定し、毎セッション参照 shared共有
docs/specs/ specifications (output of the spec skill)仕様書(spec skill の出力) to settle the design before implementing, then referenced during the build実装前に設計を固め、実装中に参照 shared共有
workspaces/<author>/ per-workspace state and tasksワークスペースごとの状態とタスク switching work, resuming where you left off作業の切替・続きからの再開 personal個人
learnings/<author>/ personal lessons個人の教訓 injected automatically at session startセッション開始時に自動で注入 personal個人
sessions/ checkpoints (session-state snapshots)チェックポイント(セッション状態の要約) saved before /clear or compaction, read at the next start/clear・圧縮の前に保存し、次の開始時に取り込む ephemeral一時
meta/ notes for operating the store itselfストア運用のメタ情報 health checks and the folder map健康診断・フォルダ地図の確認 shared共有
shared共有flat, author-tagged (…_<github>.md) — the team shares it階層なし・ファイル名に作成者(…_<github>.md)— チームで共有 personal個人under <author>/ — working state never collides<author>/ 配下 — 作業状態が衝突しない ephemeral一時gitignored, never committed — this machine, this moment onlygitignore・コミットされない — このマシンのその場限り

Setup never gates the work. An unregistered project still works immediately — records land in a temporary local home (~/ai-context-local/<project>/, same layout) until bootstrap registers a private GitHub store and pulls the local content in, additive only.

準備で作業を止めない。未登録のプロジェクトも即座に動く。まず仮のローカル置き場(~/ai-context-local/<project>/・同じ構成)に記録し、bootstrap が非公開の GitHub ストアを登録した時点でローカル分を取り込む。移行は追加のみ。

03

Git and team scalegit と複数人運用

The rule is one line: the index is never committed.規律は 1 行:索引は絶対にコミットしない。

  1. Canonical vs. derived.正本と派生物。 Git manages markdown only. The index is a local cache with zero information value — delete it and lose nothing; the next session rebuilds it in 2.5 seconds.git が管理するのは markdown だけ。索引は情報価値ゼロのローカルキャッシュであり、消しても何も失わない。次のセッションが 2.5 秒で作り直す。
  2. No shared database.共有 db なし。 SQLite's classic weaknesses — concurrent writers, corruption on network filesystems — never arise: each machine builds its own index from the markdown it has, and the only writer is the local rebuild.sqlite の古典的弱点(同時書き込み・ネットワークファイルシステム上の破損)は構造上発生しない。各マシンが手元の markdown から自分の索引を作り、書き込むのはローカルの再生成だけ。
  3. Teammates never see it.メンバーは意識しない。 New members clone, open a session, and have their own index — no setup step, no shared infrastructure, no SQLite knowledge required.新メンバーは clone してセッションを開くだけで自分の索引を持つ。準備手順なし、共有インフラなし、sqlite の知識も不要。
  4. Access control stays in git.アクセス制御は git のまま。 Your index is built only from markdown you legitimately have — sharing granularity is decided by repository access, and the index can never widen it.索引は自分が正当に持つ markdown からしか作られない。共有の粒度はリポジトリのアクセス権が決め、索引がそれを広げることは決してない。

The harness holds the knowledge. You hold the vision.知識はハーネスが持つ。方針はあなたが持つ。

The store and its search are one of Banto's flagships, alongside the toolset that drives it and the deterministic mechanism underneath.ストアと横断検索は Banto の目玉の 1 つ。それを動かす道具一式、その下で働く決定論的な仕組みと並ぶ。

See all the evidence →実測を見る → The toolset →道具一式 → How the mechanism works →仕組みを見る →