Coredence

Guide

How to learn your coding preferences from your own corrections

A correction is a direct record of what you want: the assistant did something and you said it was wrong. To use that record, read your session history for corrections, keep the ones that repeat, and write each as a specific instruction with its reason. In one person's 21,077 messages, 6.7% were flagged as corrections, and ten sessions held most of those in Claude Code.

Ahmet Karaca ·

Why start from corrections?

People tend to describe how they would like to work, which is not always how they do work. A correction is different, because it was made during real work, in response to a real result. It also shows the case in which the preference applies, which a general statement usually leaves out.

How do you do it by hand?

  • Save the sessions first. Claude Code deletes transcripts after 30 days by default, as the sessions guide explains, and /export writes a session as readable text.
  • Start with your longest sessions. In the data below, corrections were concentrated in a few of them.
  • Mark each message that pushes back on the reply before it. A message that only continues the work is not a correction.
  • Group the marked messages by the behaviour they object to, not by their wording.
  • Keep what appears in at least two separate sessions. A single correction may only describe that one task.
  • Write each as an instruction that can be verified, with the reason next to it, and add it to CLAUDE.md, AGENTS.md or the file your tool reads.

What counts as a correction?

The examples below are illustrative, and the instruction is what remains after several such corrections.

Message after a replyCorrection?Why
"Shorter. Just give me the command."YesObjects to how the answer was given
"Don't publish that yet, wait for the review."YesReverses a proposed action
"It still fails on the same line."SometimesMay be only a test result, unless the approach was wrong
"You're right, I gave you the wrong file."NoThe person is correcting themselves
"Good. Now do the next one."NoContinues the work

What did the data show?

These figures come from one database, read on 31 October 2026: that of the person who builds Coredence. They describe one person working mostly in Turkish, measured with this product's own detector, and nobody outside has audited them. They are an example of what such a record contains, not a benchmark.

MeasureResult
Messages to Claude Code, Claude chat, Codex and Gemini CLI21,077
Flagged as corrections1,402 (6.7%)
Flagged share in Claude Code738 of 5,629 (13.1%)
Flagged share in the Claude chat export587 of 14,820 (4.0%)
Claude Code sessions with 5 or more messages81 of 793
Claude Code corrections held by the top 10 sessions512 of 738 (69%)
Active memories citing at least one correction419 of 635 (66%)
Active memories with evidence from 2 or more sessions335 of 635 (53%)

The gap between Claude Code and chat cannot be read as a difference in behaviour. The two sources contain different kinds of work, and the detector may not perform equally on both. The share of memories citing a correction is also not independent evidence, because the engine reads flagged messages first and is more likely to cite them.

How reliable is automatic detection?

The detector combines a list of pushback phrases, applied to messages that follow an assistant reply, with messages the model marks while reading. To test it, Claude read two random samples of Claude Code messages once. Of 40 flagged messages, 33 were real corrections. Of 40 unflagged messages of 10 to 400 characters, 5 could reasonably be called corrections.

The samples are small and were judged by a model rather than a person, so these are rough figures. They still suggest two practical points: a flagged message should be read before it becomes an instruction, and a list of phrases alone misses corrections written politely or indirectly.

Do preferences stay the same?

Not always, which is why a written instruction needs review. In this record, 72 memories were replaced by a later version. Another 121 conflicts were raised where behaviour contradicted a memory, and 99 of those have been answered. An instruction that was true six months ago can be followed exactly and still be wrong, and the guide on ignored instructions covers what else makes a file stop working.

Sources, checked on

Where Coredence fits

Coredence does this reading for you. It collects your sessions, commits and notes, marks corrections with the detector described above, and consolidates what repeats into memories tied to the traces they grew from. When your behaviour contradicts a memory, it asks you which is right instead of overwriting it.

Coredence runs on macOS 14 or later (Apple silicon) and Windows 10 or later, with no Coredence account. Consolidation needs a model, and you choose it: your Claude Code subscription, your own API key, or a local model through Ollama. On those paths Coredence itself is free to use. It is not open source, and its own paid plans are not on sale yet.

Try it in your browser