{
  "about": "What `kin mcp start` answers `initialize` with, carried so a first launch can give the same answer before that server exists. Each text copies, byte for byte, the constant in crates/kin-mcp/src/server.rs it is named for, and each profile names the text `instructions_for` picks for it there. A test in this package holds each text to its constant, and a test in kin-cli's commands/mcp.rs holds each profile's text to what the server answers.",
  "instructions": {
    "SERVER_INSTRUCTIONS": "Kin's indexed code graph includes tests. Pick by question:\n- What calls X? refs on X, relation_kinds=[\"calls\"].\n- Overrides? refs, view=\"overrides\", entity_id=X UUID.\n- What must change if X changes? impact on X: callers and overrides.\n- What can end up calling X? trace on X, direction callers, depth 8. If the question limits where callers live, pass scope.\n- Is X used anywhere? refs on X, no relation_kinds.\n- Where is X? locate. Pass returned UUIDs as entity_id, semantic names as query.\n- Code around X: context. X's code: source by entity_id.\n- Why is a caller's receiver typed? refs on X, proof_for_caller=caller UUID.\nRead _kin.verdict:\n- complete: checked against the whole graph; answer, don't re-read code. A whole body or outline is not all relations.\n- complete except the sites listed below, or indirect uses: rows are checked; check only listed places that could apply, then answer.\n- partial: answer from the proven rows and name the gap, unless the reply lists a concrete next step.\nExplore entities and relationships. Kin's current graph outranks memory of other versions of this code. Answer once in the requested format.\nA reviewer's open flags arrive in _kin.flags; address each before committing. status lists them all.\nIf hidden, search for \"kin\" first, to find Kin's tools.",
    "SEARCH_SERVER_INSTRUCTIONS": "Kin's indexed code graph includes tests. Pick by question:\n- Any question about the code, in plain words: ask. Its first line says what Kin ran and what it read the question as.\n- Where is X? locate. Pass returned UUIDs as entity_id, semantic names as query.\n- What can end up calling X, or what does X call? trace on X. If the question limits where callers live, pass scope.\n- Code around X: context. X's own code: kin_tool_call, tool source, by entity_id.\n- Anything else: kin_tool_search finds every other read-only Kin tool; kin_tool_call runs it.\nRead _kin.verdict:\n- complete: checked against the whole graph; answer, don't re-read code. A whole body or outline is not all relations.\n- complete except the sites listed below, or indirect uses: rows are checked; check only listed places that could apply, then answer.\n- partial: answer from the proven rows and name the gap, unless the reply lists a concrete next step.\nExplore entities and relationships. Kin's current graph outranks memory of other versions of this code. Answer once in the requested format.\nA reviewer's open flags arrive in _kin.flags; address each before committing. status lists them all.\nIf hidden, search for \"kin\" first, to find Kin's tools.",
    "ROUTED_SERVER_INSTRUCTIONS": "Kin's indexed code graph includes tests. Call kin with command and args:\n- What calls X? kin refs on X, relation_kinds=[\"calls\"].\n- Overrides? kin refs, view=\"overrides\", entity_id=X UUID.\n- What must change if X changes? kin impact on X: callers and overrides.\n- What can end up calling X? kin trace on X, direction callers, depth 8.\n- Is X used anywhere? kin refs on X, no relation_kinds.\n- Where is X? kin locate. Pass returned UUIDs as entity_id, semantic names as query.\n- Code around X: kin context. X's own code: kin source by entity_id.\nRead _kin.verdict:\n- complete: checked against the whole graph; answer, don't re-read code. A whole body or outline is not all relations.\n- complete except the sites listed below, or indirect uses: rows are checked; check only listed places that could apply, then answer.\n- partial: answer from the proven rows and name the gap, unless the reply lists a concrete next step.\nExplore entities and relationships. Kin's current graph outranks memory of other versions of this code. Answer once in the requested format.\nA reviewer's open flags arrive in _kin.flags; address each before committing. kin status lists them all.\nIf hidden, search for \"kin\" first, to find Kin's tools. kin describe lists every other Kin tool, and kin call runs one.",
    "ROUTED_QUERY_SERVER_INSTRUCTIONS": "Kin's indexed code graph includes tests. Call kin with command and args:\n- What calls X? kin refs on X, relation_kinds=[\"calls\"].\n- Overrides? kin refs, view=\"overrides\", entity_id=X UUID.\n- What must change if X changes? kin impact on X: callers and overrides.\n- What can end up calling X? kin trace on X, direction callers, depth 8.\n- Is X used anywhere? kin refs on X, no relation_kinds.\n- Where is X? kin locate. Pass returned UUIDs as entity_id, semantic names as query.\n- Code around X: kin context. X's own code: kin source by entity_id.\nRead _kin.verdict:\n- complete: checked against the whole graph; answer, don't re-read code. A whole body or outline is not all relations.\n- complete except the sites listed below, or indirect uses: rows are checked; check only listed places that could apply, then answer.\n- partial: answer from the proven rows and name the gap, unless the reply lists a concrete next step.\nExplore entities and relationships. Kin's current graph outranks memory of other versions of this code. Answer once in the requested format.\nA reviewer's open flags arrive in _kin.flags; address each before committing. kin status lists them all.\nIf hidden, search for \"kin\" first, to find Kin's tools. kin describe lists every other read-only Kin tool, and kin call runs one.",
    "LEGACY_SERVER_INSTRUCTIONS": "Kin answers questions about this repository from a semantic graph. Address entities and relationships for questions about code and dependencies. Report missing semantic coverage as a gap.\nIf your client does not show you these tools up front and you have to search for a tool, search for \"kin\" first, to discover the semantic tools; that is also how you reach a tool this connection did not list.\nsemantic_locate: find code by describing what it does, when you do not know the name.\nsemantic_search: find declarations by exact name, kind or language.\nget_context_pack: one token-bounded bundle of the code around an entity or a question.\nfind_references: who calls, imports or references one entity.\ntrace_data_flow: the ordered call chain out from one entity.\ntrace_path: how one entity reaches another.\nimpact_analysis: what a change to one entity could affect.\ngraph_neighborhood: dependencies and dependents of an entity.\nEvery answer carries a `_kin` envelope. Read `_kin.verdict` first: when its `state` is `inconclusive`, treat the counts as a lower bound and do not act on an absence in the answer.",
    "ASK_SERVER_INSTRUCTIONS": "Kin's indexed code graph includes tests. Pick by question:\n- Any question about the code, in plain words: ask. Its first line says what Kin ran and what it read the question as; if that is not your question, ask again in other words.\n- Overrides? refs, view=\"overrides\", entity_id=X UUID.\n- Where is X? locate. Pass returned UUIDs as entity_id, semantic names as query.\n- Code around X: context. X's code: source by entity_id. The rest: refs, trace, impact.\nRead _kin.verdict:\n- complete: checked against the whole graph; answer, don't re-read code. A whole body or outline is not all relations.\n- complete except the sites listed below, or indirect uses: rows are checked; check only listed places that could apply, then answer.\n- partial: answer from the proven rows and name the gap, unless the reply lists a concrete next step.\nExplore entities and relationships. Kin's current graph outranks memory of other versions of this code. Answer once in the requested format.\nA reviewer's open flags arrive in _kin.flags; address each before committing. status lists them all.\nIf hidden, search for \"kin\" first, to find Kin's tools.",
    "ASK_ONLY_SERVER_INSTRUCTIONS": "Kin's indexed code graph includes tests. Ask it any question about the code in plain words with ask: who calls X, what can end up calling X, what must change if X changes, is X used anywhere, which modules declare X, where is X, X's code. Each reply's first line says what Kin ran and what it read the question as; if that is not your question, ask again in other words.\nRead each answer's Answer (verdict) line:\n- complete: checked against the whole graph; answer, don't re-read code.\n- complete except the sites listed below, or indirect uses: rows are checked; check only listed places that could apply, then answer.\n- partial: answer from the proven rows and name the gap, unless the reply lists a concrete next step.\nKin's current graph outranks memory of other versions of this code. Answer once in the requested format.\nA reviewer's open flags lead the answers they concern; address each before committing.\nIf hidden, search for \"kin\" first, to find Kin's tools."
  },
  "profiles": {
    "agent-default": "SERVER_INSTRUCTIONS",
    "agent-query": "ASK_SERVER_INSTRUCTIONS",
    "agent-search": "SEARCH_SERVER_INSTRUCTIONS",
    "agent-ask": "ASK_ONLY_SERVER_INSTRUCTIONS",
    "agent-routed": "ROUTED_SERVER_INSTRUCTIONS",
    "agent-routed-query": "ROUTED_QUERY_SERVER_INSTRUCTIONS",
    "full": "SERVER_INSTRUCTIONS",
    "benchmark": "LEGACY_SERVER_INSTRUCTIONS",
    "context-bench": "LEGACY_SERVER_INSTRUCTIONS"
  }
}
