Retcon for AI conversations. The AI recontextualizes its own past via MCP tools. Canonical Observer Actor instantiation of the Collaboration Protocol.
Retcon demonstrates solid tool design with clear, domain-specific naming (recall, rewind_to, bookmark, dump_to_file, submit_file, list_branches) and comprehensive descriptions (150-300 chars each). All 6 tools have explicit JSON Schema input definitions with required fields and additionalProperties constraints. However, parameter descriptions are minimal (10-30 chars), lacking actionable format/constraint guidance. Output schemas are undocumented, LLMs cannot predict return structure. Error handling is mentioned in descriptions (e.g., 'Rejects when no closed_forkable Revision exists') but recovery guidance is absent. Security-sensitive operations (rewind_to, submit_file) lack explicit confirmation/validation patterns in the schema itself.
Create a named bookmark at the current closed_forkable revision. Rejects when no closed_forkable Revision exists yet for this session (G10 guard).
Serialize the conversation history from a specific revision onward to a JSONL file in the retcon dumps directory. Hard cap on serialized output size (8 MiB).
List all available branches (bookmarks and revisions) in the current session with their metadata.
Walk back through session history to find a specific revision or bookmark. Returns structured metadata about the target turn and its context.
Rewind the conversation to a specific revision or bookmark, optionally with a new user message. Implements Decision #6 guardrail with opaque dual-secret + narrow regex confirmation tokens. First call without valid confirm token returns rules + freshly-generated token pair; AI must classify and send back matching token.
Load a JSONL dump file (previously created by dump_to_file) and splice its messages back into the conversation. Hard cap on input file size (8 MiB).
Output schemas undocumented. LLMs cannot predict return structure (fields, types, pagination). recall, rewind_to, bookmark, dump_to_file, submit_file, list_branches all lack documented return types.
Parameter descriptions are too brief (10-30 chars). 'target' in recall/rewind_to lacks format guidance (is it a UUID? alphanumeric?). 'label' in bookmark lacks length/charset constraints despite MAX_BOOKMARK_LABEL_BYTES=256 constant in code.
Error handling lacks recovery guidance. Descriptions mention rejection conditions (e.g., 'Rejects when no closed_forkable Revision exists') but do not tell LLM what to do next (e.g., 'Call bookmark() first to create one').
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 61 | <=2025-11-25 | v2 |
Confirmation/validation patterns not reflected in schema. rewind_to implements Decision #6 dual-secret guardrail (described in docstring) but 'confirm' parameter lacks enum or pattern constraint to guide LLM token classification.
File operations (dump_to_file, submit_file) lack pagination/limit guidance. MAX_DUMP_BYTES=8MiB cap is enforced in code but not surfaced in parameter descriptions or output schema.