AI Context Continuity Engine — MCP stdio server for context zone management, handoff persistence, and decision log re-injection across AI sessions. Local-private by design with no backend or telemetry.
Cairn has 4 tools with significant definition gaps. Tool names lack action verbs (host_status, context_status, decision_log are noun-heavy; only 'handoff' is verb-first). Descriptions exist but are domain-specific and assume deep context knowledge of Cairn's architecture (7-bucket briefs, zone classification, ADR references). Input schemas are partially visible: handoff has explicit schema in package.json, but host_status, context_status, and decision_log schemas are not visible in provided source, only file references. Output schemas are undocumented. Error handling and recovery guidance are absent. Parameter descriptions for handoff are present but terse. No enum constraints, no format specifications, no validation rules visible.
Check the current context zone (green/yellow/red) relative to the active surface window. Uses activeWindow() + zoneBoundaries() + classifyZone() to determine zone classification.
Re-inject prior decisions from the decision log on session resume. On resume, this re-injected state is the source of truth — do not re-read the whole repository.
Persist a host-produced 7-bucket brief (constraint/decision/verbatim/critical_context/number/open_decision/recency). In default account mode, makes no model call and requires no credentials. Selects summarizer model based on fidelity-first criteria (ADR-0002/0003/0004).
Retrieve host environment status (Claude Code / Codex surface window, active session metadata, zone classification)
Three of four tools (host_status, context_status, decision_log) have no visible input schemas in source code. Only file references provided; actual schema definitions not shown.
Tool names lack action verbs. 'host_status', 'context_status', 'decision_log' are noun-based and do not clearly signal what action the LLM should expect. Verb-first naming (e.g., 'get_host_status', 'check_context_zone', 'retrieve_decisions') would improve clarity and LLM tool selection.
Descriptions assume deep domain knowledge (7-bucket briefs, zone classification, ADR-0002/0003/0004, fidelity-first criteria). LLMs cannot infer when to call these tools without explicit WHEN/WHY guidance. Descriptions should state: What does it do? When should the LLM call it? What does it return?
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 36 | 2026-07-28+ | v2 |
No output schemas documented for any tool. LLMs cannot plan downstream calls or extract required fields without knowing the response structure. All tools must document return types and field names.
No error handling or recovery guidance visible. Tools provide no actionable error messages, retryability classification, or next-step suggestions. Agents cannot self-correct on failure.