{"at":"2026-11-23T04:13:13.736Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T04:13:14.248Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T04:13:14.349Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T04:13:14.874Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{}},"protocolVersion":"2025-11-25","serverInfo":{"name":"kage-graph","version":"2.0.0"}}}}
{"at":"2026-11-23T04:13:14.874Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T04:13:14.874Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T04:13:14.876Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"description":"Primary kage entry point. Validates memory health, recalls relevant packets, and queries both the code graph and knowledge graph — all in one call. Call this at the start of every task instead of calling kage_validate, kage_recall, kage_code_graph, and kage_graph separately.","inputSchema":{"properties":{"changed_files":{"description":"Optional changed files for pre-edit or PR risk context","items":{"type":"string"},"type":"array"},"limit":{"description":"Max memory packets to return (default 5)","type":"number"},"project_dir":{"description":"Absolute path to the project root","type":"string"},"query":{"description":"The task or question — used for both memory recall and code graph search","type":"string"},"session_id":{"description":"Optional active agent session id for memory reconciliation","type":"string"},"targets":{"description":"Optional files the agent may edit or explain; used for risk context","items":{"type":"string"},"type":"array"}},"required":["project_dir","query"],"type":"object"},"name":"kage_context"},{"description":"Search the kage community knowledge graph for gotchas, patterns, configs, and architectural decisions across auth, database, payments, deployment, frontend, testing, and more. Returns node summaries ranked by relevance.","inputSchema":{"properties":{"domain":{"description":"Optional: restrict search to a specific domain. One of: auth, database, payments, deployment, frontend, testing, api-design, email, storage, ai-agents, security, performance, observability, infrastructure, mobile, tooling, data","type":"string"},"query":{"description":"What you are looking for, e.g. 'prisma serverless connection', 'stripe webhook signature', 'JWT refresh token'","type":"string"}},"required":["query"],"type":"object"},"name":"kage_search"},{"description":"Fetch the full content of a specific node from the kage knowledge graph. Use after kage_search to get the complete fix, pattern, or decision.","inputSchema":{"properties":{"domain":{"description":"The domain the node belongs to, e.g. 'database', 'auth', 'payments'","type":"string"},"node_id":{"description":"The node slug, e.g. 'prisma-serverless-connection-exhaustion'","type":"string"}},"required":["domain","node_id"],"type":"object"},"name":"kage_fetch"},{"description":"List all domains in the kage knowledge graph with their node counts and top tags. Use to orient before searching.","inputSchema":{"properties":{},"type":"object"},"name":"kage_list_domains"},{"description":"Recall repo-local Kage memory from .agent_memory packets. Returns an agent-ready context block plus ranked packet summaries.","inputSchema":{"properties":{"docs":{"description":"If true, append a Docs section (<=3 hits) drawn from this repo's own committed documentation.","type":"boolean"},"embeddings":{"type":"boolean"},"explain":{"type":"boolean"},"json":{"type":"boolean"},"limit":{"type":"number"},"max_context_tokens":{"type":"number"},"project_dir":{"type":"string"},"query":{"type":"string"},"structural_hops":{"description":"If >0, append a bounded N-hop code-graph blast radius seeded from the recalled memory's files.","type":"number"}},"required":["query","project_dir"],"type":"object"},"name":"kage_recall"},{"description":"Query the repo-local Kage knowledge graph. Returns typed, evidence-backed graph facts from entities, edges, and episodes.","inputSchema":{"properties":{"limit":{"type":"number"},"project_dir":{"type":"string"},"query":{"type":"string"}},"required":["project_dir","query"],"type":"object"},"name":"kage_graph"},{"description":"Build a signed graph-registry manifest for generated memory graph, code graph, indexes, metrics, audit, inbox, source packet IDs, packet hashes, and repo git state.","inputSchema":{"properties":{"full":{"description":"Force a full code graph rebuild instead of reusing unchanged graph artifacts.","type":"boolean"},"project_dir":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_graph_registry"},{"description":"Query the source-derived codebase graph: files, symbols, imports, calls, routes, tests, package scripts. This is generated from code, not learned memory.","inputSchema":{"properties":{"json":{"type":"boolean"},"limit":{"type":"number"},"project_dir":{"type":"string"},"query":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_code_graph"},{"description":"Assess modification risk for files using Kage's code graph plus local git history: dependents, impact surface, churn, ownership, co-change partners, and test gaps. Use before editing hotspot or shared files.","inputSchema":{"properties":{"changed_files":{"description":"Optional PR/branch changed files. If targets is omitted, these are assessed.","items":{"type":"string"},"type":"array"},"project_dir":{"type":"string"},"targets":{"description":"File paths to assess","items":{"type":"string"},"type":"array"}},"required":["project_dir"],"type":"object"},"name":"kage_risk"},{"description":"Find how two files are connected in Kage's source-derived code graph. Reports direct dependency direction, reverse impact direction, or undirected graph connection.","inputSchema":{"properties":{"from":{"description":"Source file path or unique suffix","type":"string"},"project_dir":{"type":"string"},"to":{"description":"Target file path or unique suffix","type":"string"}},"required":["project_dir","from","to"],"type":"object"},"name":"kage_dependency_path"},{"description":"Find conservative cleanup candidates from Kage's code graph. Reports unreferenced source files, unused exports, and internal-looking unused symbols with confidence and reasons; never auto-deletes.","inputSchema":{"properties":{"project_dir":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_cleanup_candidates"},{"description":"Suggest reviewers for target or changed files from local git authorship, recent edits, and code-graph co-change ownership. Does not contact GitHub or external services.","inputSchema":{"properties":{"changed_files":{"description":"Optional PR/branch changed files. If targets is omitted, these are used.","items":{"type":"string"},"type":"array"},"project_dir":{"type":"string"},"targets":{"description":"File paths to review","items":{"type":"string"},"type":"array"}},"required":["project_dir"],"type":"object"},"name":"kage_reviewers"},{"description":"Build local contributor profiles from git history: commits, recent activity, touched files, modules, ownership silos, hotspot ownership, and commit category mix.","inputSchema":{"properties":{"project_dir":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_contributors"},{"description":"Return a compact project profile for agent orientation: repo totals, languages, top code+memory concepts, key files, memory focus, run commands, and next actions.","inputSchema":{"properties":{"project_dir":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_profile"},{"description":"Return a first-use Repo X-Ray: code structure layers for entry points, core files, risk, tests, memory overlay, and knowledge gaps.","inputSchema":{"properties":{"project_dir":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_xray"},{"description":"Return an evidence-backed Kage memory-system capability audit across repo memory, collaboration/session proof, benchmarks, and dashboard/viewer readiness.","inputSchema":{"properties":{"project_dir":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_capabilities"},{"description":"List repo-local pinned context slots. Pinned slots are small, reviewable facts that Kage includes in recall/context before task-specific memory.","inputSchema":{"properties":{"project_dir":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_context_slots"},{"description":"Create or update a repo-local pinned context slot. Use for durable, high-signal repo guidance that should always be included without loading all memory.","inputSchema":{"properties":{"content":{"type":"string"},"description":{"type":"string"},"label":{"type":"string"},"paths":{"items":{"type":"string"},"type":"array"},"pinned":{"type":"boolean"},"project_dir":{"type":"string"},"size_limit":{"type":"number"},"tags":{"items":{"type":"string"},"type":"array"}},"required":["project_dir","label","content"],"type":"object"},"name":"kage_context_slot_set"},{"description":"Delete a repo-local context slot by label.","inputSchema":{"properties":{"label":{"type":"string"},"project_dir":{"type":"string"}},"required":["project_dir","label"],"type":"object"},"name":"kage_context_slot_delete"},{"description":"Summarize Kage why-memory for a repo: decisions, gotchas, runbooks, conventions, code explanations, path coverage, weak/stale memory, and important code paths that still lack decision memory.","inputSchema":{"properties":{"project_dir":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_decisions"},{"description":"Write external code index artifacts consumed by the code graph. Prefers SCIP when scip-typescript and scip are installed, then falls back to the built-in LSP-compatible symbol index.","inputSchema":{"properties":{"project_dir":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_code_index"},{"description":"Build the complete cache-backed structural index for large repos. This covers all supported source/config/doc files and writes .agent_memory/structural artifacts separate from learned memory.","inputSchema":{"properties":{"project_dir":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_structural_index"},{"description":"Search this repo's OWN committed documentation (README, docs/**, *.md, common doc dirs — including any framework/API docs checked into the repo). BM25 over heading-anchored chunks from .agent_memory/indexes/docs-index.json. Returns ranked doc hits with doc_path, heading, line, and snippet. This indexes only files on disk in the project, never the internet.","inputSchema":{"properties":{"limit":{"type":"number"},"project_dir":{"type":"string"},"query":{"type":"string"}},"required":["query","project_dir"],"type":"object"},"name":"kage_docs_search"},{"description":"Return concise Kage adoption and quality metrics: code graph counts, language/parser coverage, memory graph evidence coverage, pending/approved packets, validation state, and readiness score.","inputSchema":{"properties":{"project_dir":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_metrics"},{"description":"Report which repo-local memory packets have actually been recalled recently. This uses local ignored access telemetry and does not mutate shareable packet files.","inputSchema":{"properties":{"project_dir":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_memory_access"},{"description":"Return local module health scorecards from Kage's code graph, test signals, cleanup candidates, git churn, and ownership concentration.","inputSchema":{"properties":{"project_dir":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_module_health"},{"description":"Return deterministic code graph intelligence: central files, dependency cycles, import communities, and short entry flows. Use to orient agents before broad architectural edits.","inputSchema":{"properties":{"project_dir":{"description":"Absolute path to the project root","type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_graph_insights"},{"description":"Summarize a local multi-repo workspace: discovered git repos, Kage memory coverage, code graph counts, package dependencies, route contracts, topic/event contracts, and cross-repo co-change links between repos. Use when a task spans multiple sibling repos.","inputSchema":{"properties":{"project_dir":{"description":"Workspace root directory to scan for git repos","type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_workspace"},{"description":"Recall Kage memory across every indexed repo in a local workspace and rank the combined hits. Use for cross-repo teammate knowledge and shared context.","inputSchema":{"properties":{"limit":{"description":"Max combined hits to return (default 8)","type":"number"},"project_dir":{"description":"Workspace root directory to scan for git repos","type":"string"},"query":{"description":"Question or task to recall across repos","type":"string"}},"required":["project_dir","query"],"type":"object"},"name":"kage_workspace_recall"},{"description":"Audit whether repo memory and code intelligence are trustworthy: validation, memory inbox, structured context coverage, code graph precision, graph links, and concrete recommendations.","inputSchema":{"properties":{"project_dir":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_audit"},{"description":"Return an actionable memory review inbox: pending packets, stale packets, duplicates, missing structured context, validation issues, and recommended actions.","inputSchema":{"properties":{"project_dir":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_inbox"},{"description":"Rebuild repo indexes, code graph, memory graph, metrics, and stale-memory metadata. Agents should run this after meaningful file/content changes before PR checks; push-only or same-tree commits do not need another refresh. On non-default git branches metadata-only packet rewrites are skipped (quiet refresh) to avoid merge conflicts; pass force to persist them anyway.","inputSchema":{"properties":{"force":{"description":"Persist packet metadata rewrites even on a non-default branch","type":"boolean"},"project_dir":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_refresh"},{"description":"Kage memory workflow (this tool performs no action; it returns this loop). 1) Start every task with kage_context (project_dir + the task as query): it validates memory, recalls relevant packets, and queries the code and knowledge graphs in one call. 2) Do the work, preferring repo memory over public context. 3) Capture reusable learnings with kage_learn — bug causes and verified fixes, conventions, decisions, gotchas, run/test/build commands. Wrap anything that must never leave the repo in <private>...</private> tags; private spans are stripped before sharing. 4) After meaningful file changes, call kage_refresh so indexes, graphs, and stale-memory checks stay current. 5) Before finishing a branch, call kage_pr_summarize then kage_pr_check. Recall receipts show estimated tokens saved versus rediscovery; report memory quality with kage_feedback (helpful/wrong/stale).","inputSchema":{"properties":{},"required":[],"type":"object"},"name":"kage_workflow"},{"description":"Create a PR/branch memory summary from local git diff metadata and write repo-local change memory. Use when a branch is ready to hand off.","inputSchema":{"properties":{"project_dir":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_pr_summarize"},{"description":"Check whether repo memory, code graph, memory graph, and stale-memory state are ready for merge. Leads with a human summary of team memories invalidated by the current change — relay it to the developer.","inputSchema":{"properties":{"project_dir":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_pr_check"},{"description":"Return agent-owned memory reconciliation work when source files linked to existing memory changed. Agents must update, supersede, or mark stale memory before final handoff.","inputSchema":{"properties":{"limit":{"type":"number"},"project_dir":{"type":"string"},"session_id":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_memory_reconcile"},{"description":"Return memory quality metrics: useful memory ratio, duplicate burden, stale/wrong feedback, evidence coverage, path grounding, and review queue size.","inputSchema":{"properties":{"project_dir":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_quality"},{"description":"Return a repo-local memory lifecycle report: healthy, hot, cold, stale, disputed, ungrounded, pending, generated, and concrete review actions.","inputSchema":{"properties":{"project_dir":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_memory_lifecycle"},{"description":"Return recent repo-memory activity for teammate handoff: added, updated, pending, and deprecated packets with review actions.","inputSchema":{"properties":{"days":{"type":"number"},"project_dir":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_memory_timeline"},{"description":"Return memory supersession chains so agents can use current replacement packets and keep retired memory as audit history.","inputSchema":{"properties":{"project_dir":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_memory_lineage"},{"description":"Return the repo-local audit trail for explicit memory mutations: capture, feedback, review, supersede, deprecate, and delete.","inputSchema":{"properties":{"limit":{"type":"number"},"project_dir":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_memory_audit"},{"description":"Return a teammate/agent handoff queue by combining memory inbox, lifecycle, audit, timeline, and lineage into concrete next actions.","inputSchema":{"properties":{"project_dir":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_memory_handoff"},{"description":"Mark one repo-local memory packet as superseded by a replacement packet and write bidirectional lineage edges.","inputSchema":{"properties":{"packet_id":{"type":"string"},"project_dir":{"type":"string"},"reason":{"type":"string"},"replacement_packet_id":{"type":"string"}},"required":["project_dir","packet_id","replacement_packet_id"],"type":"object"},"name":"kage_supersede"},{"description":"List repo-local memory packet pairs that contradict each other (same cited path, same subject, opposing claim). Resolve each with kage_supersede, or keep both intentionally.","inputSchema":{"properties":{"project_dir":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_conflicts"},{"description":"Return Kage proof metrics, or set mode=memory_quality / memory_scale for synthetic memory retrieval benchmarks.","inputSchema":{"properties":{"mode":{"enum":["project","trust","memory_quality","memory_scale"],"type":"string"},"project_dir":{"type":"string"},"sizes":{"items":{"type":"number"},"type":"array"},"top_k":{"type":"number"}},"required":["project_dir"],"type":"object"},"name":"kage_benchmark"},{"description":"Compare the same task on the same repo with and without Kage. Reports estimated baseline discovery tokens/steps versus Kage recall/code-graph context, with evidence and caveats.","inputSchema":{"properties":{"project_dir":{"type":"string"},"task":{"type":"string"}},"required":["project_dir","task"],"type":"object"},"name":"kage_benchmark_compare"},{"description":"Generate MCP/setup instructions for Codex, Claude Code, Cursor, Windsurf, Gemini CLI, OpenCode, Cline, Goose, Roo Code, Kilo Code, Claude Desktop, Aider, or generic MCP.","inputSchema":{"properties":{"agent":{"enum":["codex","claude-code","cursor","windsurf","gemini-cli","opencode","cline","goose","roo-code","kilo-code","claude-desktop","aider","openclaw","copilot","hermes","generic-mcp"],"type":"string"},"project_dir":{"type":"string"},"write":{"type":"boolean"}},"required":["agent","project_dir"],"type":"object"},"name":"kage_setup_agent"},{"description":"Audit Kage setup across supported agents, including Claude Code ambient hook readiness when applicable.","inputSchema":{"properties":{"project_dir":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_setup_doctor"},{"description":"Verify that Kage is truly active for the current agent: config, repo policy, indexes, recall, code graph, and this live MCP tool reachability.","inputSchema":{"properties":{"agent":{"enum":["codex","claude-code","cursor","windsurf","gemini-cli","opencode","cline","goose","roo-code","kilo-code","claude-desktop","aider","openclaw","copilot","hermes","generic-mcp"],"type":"string"},"project_dir":{"type":"string"}},"required":["agent","project_dir"],"type":"object"},"name":"kage_verify_agent"},{"description":"Export the repo-local Kage knowledge graph as Mermaid flowchart text for visual inspection.","inputSchema":{"properties":{"limit":{"type":"number"},"project_dir":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_graph_visual"},{"description":"Build and return branch overlay metadata: branch, head, merge-base, changed files, and pending packet IDs.","inputSchema":{"properties":{"project_dir":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_branch_overlay"},{"description":"Capture an actual reusable learning from the current session as repo-local memory. Prefer this over diff proposal when the agent knows what was learned. Capture is rejected if every referenced path is missing from the repo; set allow_missing_paths to record anyway (e.g. a file you are about to create).","inputSchema":{"properties":{"allow_missing_paths":{"type":"boolean"},"discovery_tokens":{"description":"Approximate token cost of producing this knowledge (exploration + reasoning). Stored on the packet so recall receipts can report replay value; a conservative per-type default is estimated when omitted.","type":"number"},"evidence":{"type":"string"},"graph_nodes":{"items":{"type":"string"},"type":"array"},"learning":{"type":"string"},"paths":{"items":{"type":"string"},"type":"array"},"project_dir":{"type":"string"},"stack":{"items":{"type":"string"},"type":"array"},"tags":{"items":{"type":"string"},"type":"array"},"title":{"type":"string"},"type":{"type":"string"},"verified_by":{"type":"string"}},"required":["project_dir","learning"],"type":"object"},"name":"kage_learn"},{"description":"Create a repo-local Kage memory packet immediately. Org/global promotion still requires explicit human review. Capture is rejected if every referenced path is missing from the repo; set allow_missing_paths to record anyway.","inputSchema":{"properties":{"allow_missing_paths":{"type":"boolean"},"body":{"type":"string"},"graph_nodes":{"description":"Code-graph node references (symbol/route/file) this memory is about.","items":{"type":"string"},"type":"array"},"paths":{"items":{"type":"string"},"type":"array"},"project_dir":{"type":"string"},"stack":{"items":{"type":"string"},"type":"array"},"summary":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array"},"title":{"type":"string"},"type":{"type":"string"}},"required":["project_dir","title","body"],"type":"object"},"name":"kage_capture"},{"description":"Verify that a memory packet's cited file paths still exist and that the memory is not stale, before trusting it. Pass an id to check one packet, or omit to audit all approved repo memory. Returns grounding and staleness for each.","inputSchema":{"properties":{"id":{"type":"string"},"project_dir":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_verify_citations"},{"description":"Consolidate repo memory: prune dead citations, deprecate hard-stale packets, and surface near-duplicate clusters to merge (via kage_supersede). Defaults to a dry run; pass dry_run=false to apply pruning/deprecation. Duplicate merging stays an agent decision — no hosted LLM is used.","inputSchema":{"properties":{"dry_run":{"type":"boolean"},"project_dir":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_compact"},{"description":"Store an automatic local observation event from an agent session. Observations are privacy-scanned, deduplicated, and never published automatically.","inputSchema":{"properties":{"agent":{"type":"string"},"command":{"type":"string"},"exit_code":{"type":"number"},"metadata":{"type":"object"},"path":{"type":"string"},"project_dir":{"type":"string"},"session_id":{"type":"string"},"summary":{"type":"string"},"text":{"type":"string"},"timestamp":{"type":"string"},"tool":{"type":"string"},"type":{"enum":["session_start","user_prompt","tool_use","tool_result","file_change","command_result","test_result","session_end"],"type":"string"}},"required":["project_dir","type"],"type":"object"},"name":"kage_observe"},{"description":"Distill stored observations for one session into repo-local memory candidates. Org/global promotion still requires explicit human review.","inputSchema":{"properties":{"project_dir":{"type":"string"},"session_id":{"type":"string"}},"required":["project_dir","session_id"],"type":"object"},"name":"kage_distill"},{"description":"Summarize local agent observation sessions, durable capture candidates, and next distillation actions without exposing raw transcript replay.","inputSchema":{"properties":{"project_dir":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_sessions"},{"description":"Return an agent-facing ledger that classifies observed session events into save, ignore, needs-evidence, or already-distilled memory decisions.","inputSchema":{"properties":{"limit":{"type":"number"},"project_dir":{"type":"string"},"session_id":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_learning_ledger"},{"description":"Return a privacy-preserving replay digest for observed agent sessions: timeline, touched paths, commands, durable candidates, and distill actions without raw transcript text.","inputSchema":{"properties":{"limit":{"type":"number"},"project_dir":{"type":"string"},"session_id":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_session_replay"},{"description":"Record usefulness feedback on an approved repo-local memory packet: helpful, wrong, or stale.","inputSchema":{"properties":{"kind":{"enum":["helpful","wrong","stale"],"type":"string"},"packet_id":{"type":"string"},"project_dir":{"type":"string"}},"required":["project_dir","packet_id","kind"],"type":"object"},"name":"kage_feedback"},{"description":"Install or update the repo AGENTS.md policy that tells coding agents to use Kage automatically.","inputSchema":{"properties":{"project_dir":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_install_policy"},{"description":"Validate repo-local Kage memory packets, pending packets, generated indexes, and sensitive-content checks.","inputSchema":{"properties":{"project_dir":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_validate"},{"description":"Recommend documentation packs, skills, and optional MCPs for this repo based on its package metadata. Recommendations never install anything automatically.","inputSchema":{"properties":{"project_dir":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_registry_recommend"},{"description":"Create a Markdown review artifact summarizing pending memory packets for PR or human review.","inputSchema":{"properties":{"project_dir":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_review_artifact"},{"description":"Create or update a branch review summary and repo-local change-memory packet from local git status and diff metadata. Org/global promotion still requires explicit human review.","inputSchema":{"properties":{"project_dir":{"type":"string"}},"required":["project_dir"],"type":"object"},"name":"kage_propose_from_diff"}]}}}
