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
| Kind | Id prefix | What it holds |
|---|---|---|
| intent | int | what to build, with acN: acceptance checks |
| decision | dec | a choice and why it was made |
| contract | con | an interface others rely on |
| assumption | asm | a call made without asking. It needs confidence (0–1) and leash, the number of tasks that may build on it |
| question | qst | a call waiting for a person |
| lesson | les | what to do differently next time |
| control | ctl | a 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 examplemoney,authorpublic-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 withktb sync --full..ktesio/learned/<member>.tomlholds routing outcomes shared with teammates. See Learning.