Context for your copilot
Retain selected decisions, task state, documents, and code. Find relevant memories by meaning and identifier.
MemKernel remembers what your copilot learns. Wiki-Studio helps turn that knowledge into pages people can review. Code Copilot Team can provide the coding workflow around them. Here is the memory-to-wiki happy path, one decision at a time.
CCT v2.1.0 · MemKernel v0.9.0 · Wiki-Studio v0.10.0 · Python 3.11–3.13 for the memory/wiki pair
CCT supplies project rules, research and build phases, and review. Add MemKernel’s MCP server when you want persistent context. CCT’s five wiki wrappers use pinned Wiki-Studio v0.9.0; keep its managed environment separate from the current pair below. Explore CCT’s interactive field guide and v2.1.0 release map.
Retain selected decisions, task state, documents, and code. Find relevant memories by meaning and identifier.
Propose page edits, inspect the result, validate the structure, and maintain a wiki with sources and an edit log.
The bridge is explicit, not a background sync. Each product also works on its own. With the wiki extra and governed mode, MemKernel exports through Wiki-Studio’s proposal and promotion gate. Import accepts approved revisions. Approval, import, and export remain explicit actions.
Example: your team chooses PostgreSQL for transactional order updates. Select a step to see what you do, what the tools do, and what to expect.
With Python 3.11 installed, create an environment outside your project on macOS or Linux. Install the wiki library inside MemKernel’s environment so the bridge can use its gate. These versions match this guide.
python3.11 -m venv "$HOME/.venvs/memkernel-wiki"
source "$HOME/.venvs/memkernel-wiki/bin/activate"
python -m pip install 'memkernel[wiki]==0.9.0' 'wiki-studio==0.10.0'
memkernel --version
wiki-studio --versionUse the full result of command -v memkernel in the setup builder so the host starts this environment’s executable. Activate this environment in terminals where you use Wiki-Studio. For both MCP servers, see the optional server installation.
.mcp.json for Claude Code or .kiro/settings/mcp.json for Kiro.Success: your client lists MemKernel and its nine tools.
Ask your connected copilot to remember one clear idea. A decision is long-term memory; temporary task state belongs in task.
Use MemKernel to retain this decision:
Use PostgreSQL for the orders service because
inventory updates and order writes must be atomic.
Then recall "database decision" and show me the
stored reference and preview.The agent calls retain(content=…, type="decision"), then recall(query="database decision"). Recall returns a reference and preview; get(ref_id=…) loads the full decision.
For code, retain a whole source-file snapshot with its relative path. consolidate(revalidate=true) checks whether that file changed. Decisions with source files can also be flagged for review, while remaining visible in recall. See code and decision review flags ↗
Success: the decision is retrievable from the project’s store.
Use the shared wiki path from the setup builder. In your project terminal, initialize the wiki, then ask your copilot to call MemKernel’s wiki_export().
wiki-studio init --title "Project knowledge"The export reports its draft pages and promotion receipt. Read each page with wiki-studio read --json before editing. Ask your copilot to prepare reviewed copies under wiki-edits/, preserving each wiki-relative path and required metadata. Record each original SHA-256 in wiki-edits/.base.json as a mapping from wiki-relative path to hash; promotion rejects a stale replacement. Check the source, complete the rationale, and set status: stable when ready. Then propose those copies:
wiki-studio propose --from wiki-edits --name reviewed-memory --by curatorInspect plan.json and preview/ in the returned proposal directory. Run wiki-studio promote with that directory and --dry-run; repeat without the flag only after review and successful validation. Read the stable page again, then approve its exact revision with wiki-studio approve, its wiki-relative path, --revision, and the SHA-256 you read. Fact-removal warnings remain advisory. See the complete guarded-update recipe (its tested install uses an older MemKernel release).
Skip the MemKernel export and ingest an existing project note with an installed, authenticated backend. Then review and promote the printed proposal directory as above.
wiki-studio ingest notes/database-decision.md --backend claudeKiro can prepare pages for propose directly. Wiki-Studio 0.10.0 does not have a kiro backend.
Success: a stable, approved decision revision is linked from the wiki index.
After curation and approval, ask your copilot to import the shared wiki and recall the decision. Governed import accepts only approved revisions. An edit after approval needs a new approval before it can become new imported knowledge.
Use MemKernel's wiki_import tool to index our approved wiki revisions.
Then recall "Why did we choose PostgreSQL?" and load
the relevant memory. Show its source before continuing.You can also find wiki pages directly. find needs no model; query uses your selected copilot backend to produce an answer with citations.
wiki-studio find "database decision"
wiki-studio query "Why PostgreSQL?" --backend claude
wiki-studio lint --health --proseRepeat import after reviewed wiki changes. Unchanged approved pages deduplicate; approved replacements supersede their earlier imported memory. Deleted tracked pages and approved deprecations withdraw answers while preserving their history. Add lifecycle hooks when you want your harness to recover checkpoints and context at session start.
Success: a new session can retrieve the rationale and its source.
Replace the example paths with absolute paths on your machine. This builder updates the snippets locally in your browser; it does not connect to your computer or run commands.
Merge this entry with existing servers. Reconnect the MCP server after changing its environment settings.
Enable JavaScript to generate your configuration, or use the examples in Documentation.Add the memory instructions to CLAUDE.md, approve the server, and check /mcp.
Run these exports in the terminal where you use Wiki-Studio. They configure that shell; MCP uses the separate JSON environment.
Enable JavaScript to generate shell settings, or use the Wiki-Studio quickstart.<project root>/knowledge/wikiProposals use <project root>/doc_internal/proposals.
Kiro is a MemKernel MCP client, not a Wiki-Studio backend in 0.10.0. Use propose --from for pages Kiro writes, or choose a supported backend above for ingestion and queries.
Adjust task retention and recall size above. Tune observation and episode retention through MemKernel settings. Instructions and lifecycle hooks determine when your agent remembers.
Add glossary terms and their avoid: aliases. To customize writing rules, copy the packaged ingest-rules.md, page-types.md, or citation-rules.md into <wiki-dir>/schema/, then edit the relevant rules. A local copy overrides packaged rules, so merge upstream improvements when upgrading.
Checked November 22, 2026 against MemKernel 0.9.0 and Wiki-Studio 0.10.0. CCT v2.1.0 supplies the optional coding workflow. Keep its pinned environment intact. This walkthrough uses the latest standalone memory/wiki pair; the upstream recorded composition test still uses MemKernel v0.6.0.