← All projects
Project record1 mention
Originally shared on Hacker News

retcon

This tool is a middleman layer for Claude Code that lets the AI agent edit its own conversation history or rewind itself to a previous round. Named for the verb recontextualize, it flips the rewind model: instead of the user typing a /rewind command, the AI retcons its own past turns so earlier mistakes no longer fight the user's corrections.

Last shared
01 / The problem

What it addresses

When an AI misunderstands a request, users correct it by words, but the messed-up turn stays in context and the AI keeps fighting both the correction and its own past mistake.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. retcon

    This tool is a middleman layer for Claude Code that lets the AI agent edit its own conversation history or rewind itself to a previous round. Named for the verb recontextualize, it flips the rewind model: instead of the user typing a /rewind command, the AI retcons its own past turns so earlier mistakes no longer fight the user's corrections.

    Problem: When an AI misunderstands a request, users correct it by words, but the messed-up turn stays in context and the AI keeps fighting both the correction and its own past mistake.

    Posted by @cosimo-dw · Original source ↗

    Source text · @cosimo-dw · · Source ↗

    I am building retcon (https://github.com/WujiLabs/retcon), a Claude Code middleman layer allowing the AI agent to edit its own conversation history or rewind itself to a previous round.