MCP server that carries what one session learned into the next. A per-project ledger written as things happen, scored per task by TypeSafe's Jev evaluation model via the Vercel AI Gateway.
Two well-documented tools with clear, domain-specific purposes. Both have detailed descriptions (200+ chars each) explaining WHAT, WHEN, and WHY. Input schemas are present with Zod validation and enum constraints. However, output schemas are not documented in the code, LLMs cannot predict return structure. Parameter descriptions are thorough but lack explicit format/constraint details (e.g., 'text' min length is enforced in code but not stated in description). Tool names are action verbs ('record', 'recall') but lack the verb_noun pattern (e.g., 'record_entry', 'recall_entries') that would improve clarity at scale. Error handling is present but recovery guidance is minimal.
Bring forward what earlier sessions recorded, scored against the task you are about to do. Call it once, at the start of a task, with the task in one sentence. Constraints and corrections come back in full every time. Everything else is scored for whether not knowing it would cause wrong or repeated work: high scores come back in full, middling ones as one line, the rest are omitted. Without a task it lists everything one line each. If scoring is unavailable it returns everything and says so — it never returns less than the ledger holds without telling you.
Append one fact to this project's ledger, at the moment it is produced. Call it right after: the user states a rule or a boundary (constraint); the user corrects something you did (correction); you choose between alternatives (decision — say why in text, and ref where it is recorded); a tool result yields a figure you will rely on (measurement — ref the command, refresh says whether it reproduces); work is parked, blocked, or handed to someone (thread — ref the branch, PR, or issue). Decisions, measurements and threads must carry a ref. Write text so it says WHAT the thing is before WHY: recall scores entries against a future task by their text, and an entry that only explains a reason will not be found by the task it belongs to. To retire an earlier entry pass its id in supersedes; the old entry stays on disk, marked replaced. Nothing here is ever deleted.
Output schemas not documented. LLMs cannot predict return structure (Brief type, fields, types). Agents must infer from trial-and-error.
Tool names lack verb_noun pattern. 'record' and 'recall' are verbs but omit the object (e.g., 'record_entry', 'recall_entries'). At scale with many tools, this reduces clarity.
Parameter 'text' enforces min(1) in code but description does not state length constraint. LLMs cannot read Zod validators, they rely on description text.
Error handling present but lacks recovery guidance. Errors do not tell LLM what to do next (retry, ask user, abort). Pattern:recovery-guide not applied.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 68 | 2026-07-28+ | v2 |
No confirmation step for 'record' tool (irreversible write). Agents can accidentally record wrong facts. Pattern:confirmation-request not applied.