# ed memory correct

> Retires a belief that is wrong, or rewrites it in your own words. This is non-negotiable rather than a convenience: if the system forms a wrong belief about…

- Canonical URL: https://getedith.pro/docs/cli/memory/correct
- Updated: 2026-12-02

Retires a belief that is wrong, or rewrites it in your own words. This is
non-negotiable rather than a convenience: if the system forms a wrong belief about
you and you cannot correct it, every later answer inherits the error and you stop
trusting the whole thing.

Usage:

```
ed memory correct <id> --retire [--json] [--endpoint <url>]
ed memory correct <id> --edit "<what it should say>" [--json] [--endpoint <url>]
```

`--retire` marks it retired. `--edit` writes a new belief carrying the same evidence,
marked as yours rather than the extractor's, and supersedes the old one with a
pointer back to it. Neither deletes anything: the append-only rule holds all the way
up, so `ed memory why` can still show what was believed and when it stopped being
believed.

Find the id with [`ed memory beliefs`](https://getedith.pro/docs/cli/memory/beliefs), and read the evidence behind
it with [`ed memory why`](https://getedith.pro/docs/cli/memory/why) before you decide. Sometimes the belief is
right and the surprise is the point.

At least one of `--retire` or `--edit` is required. An edit must contain more
than five non-whitespace characters because the backend embeds the replacement.
If both flags are passed with a valid edit, the edit takes precedence and the
old belief is superseded rather than retired. JSON output is
`{id,status,statement}`; for an edit, `id` is the new replacement belief.

## Where to go next

- [`ed memory beliefs`](https://getedith.pro/docs/cli/memory/beliefs), what it currently holds
- [`ed memory why`](https://getedith.pro/docs/cli/memory/why), the chain behind one of them
- [`ed memory`](https://getedith.pro/docs/cli/memory), the rest of this group
- [All `ed` commands](https://getedith.pro/docs/cli)

## Get Edith

Edith is a native Mac app for macOS 14 or later on Apple silicon with 100+ extensions, the `ed` command line and an MCP server. $35 once for one Mac, plus $7 for each additional Mac, with no subscription and a 30-day refund.

- [Buy Edith](https://getedith.pro/pricing): $35 once for one Mac, plus $7 for each additional Mac
- [Download Edith](https://getedith.pro/download): the installer, or Homebrew
