Documentation menu

Records

The .ktesio/ format and every record kind.

On this page

Each record is one file: Markdown with TOML front matter. Records are reviewed in PRs like code.

.ktesio/decisions/dec-06c2yb.md
+++
id = "dec-06c2yb"
kind = "decision"
title = "Hand-rolled synchronous MCP server, not rmcp"
created = "2026-11-26"
links = ["depends_on:int-4k2m9p"]   # rel: implements | depends_on | touches | verified_by
supersedes = ["asm-7q1x0d"]         # replaced records; they are never edited
paths = ["crates/ktesio-mcp/**"]    # code it applies to
subject = "mcp-server"              # one active decision per subject
+++

Body in Markdown.

Kinds

KindId prefixWhat it holds
intentintwhat to build, with acN: acceptance checks
decisiondeca choice and why it was made
contractconan interface others rely on
assumptionasma call made without asking. It needs confidence (0–1) and leash, the number of tasks that may build on it
questionqsta call waiting for a person
lessonleswhat to do differently next time
controlctla rule verify enforces, with check and severity

Ids are random, so records made on different branches never collide. A record is never edited once something depends on it. A new record supersedes it, and "superseded" is derived from that link. Recording a record with the same kind and title as an active one returns the existing id instead of a duplicate.

Fields

  • paths: the files or globs a record covers. Packs and drift checks use it.
  • tags: for example money, auth or public-api. They raise risk in routing and in the guard.
  • subject: two active decisions must not share one. A decision whose subject is named in a call settles that call.
  • ref: a tracker reference, such as an issue id. Verify adds it to commits when [trackers] is set.
  • source: where an imported record came from.

Generated files

  • .ktesio/cache/ is git-ignored and can be rebuilt with ktb sync --full.
  • .ktesio/learned/<member>.toml holds routing outcomes shared with teammates. See Learning.