-
Notifications
You must be signed in to change notification settings - Fork 4
CLI Companion Wipe
Deletes the companion's entire memory: every episode, source, observation, belief, claim, fact, conversation, entity, hypothesis and the vault files behind them. The reasoner configuration, connector tokens and machine records survive, so the companion is empty but still set up.
Usage:
ed companion wipe [--yes] [--json] [--endpoint <url>]
| Name | Type / values | Default | What it does |
|---|---|---|---|
--yes |
flag | off | Apply the preview. Without it the command lists the targets and changes nothing. |
--json |
flag | off | Emit JSON on stdout. |
--endpoint |
URL | resolution order | Companion API base URL. |
Examples:
ed companion export ~/backups/companion --include-media
ed companion wipe --yes
Wiping cannot be undone. Without --yes, the command previews the memory records and
vault files it would delete without contacting the backend. Export first, inspect the
preview, then add --yes. This
differs from ed companion stack down --wipe --yes in what survives: confirmed
stack down --wipe destroys the containers and their volumes, models included, while
wipe empties the database and vault through the API and leaves the stack
running and configured. After a wipe, ed companion import of
an export brings the memory back.
The API requires the literal confirmation everything; the CLI sends it only
after --yes passes. A JSON preview returns
{action,targets,applied:false,changed:false}. A confirmed JSON result also includes
{episodesDropped,sourcesDropped,observationsDropped,conversationsDropped, beliefsDropped,vaultCleared} with applied:true. vaultCleared: false means at least one vault
directory could not be removed even though the database tables were already
truncated. Treat that result as a partial wipe and inspect the vault volume.
This command does not delete the export you made on this Mac. Verify that the
backup's mediaFailed array is empty before relying on it for recovery.
-
ed companion export, do this first -
ed companion import, the road back -
ed companion, the rest of this group - All
edcommands
Auto-generated from docs/, edit the docs in the repo, not the wiki.
CLI reference
Companion
- Deploy
- Concepts
- Concepts Memory
- Concepts Ingestion
- Concepts Search
- Concepts Chat
- Concepts Learning
- Concepts Brain
- Concepts Friend
- Hosts
- Stack
- Status
- Doctor
- Search
- Index
- Ingest
- Episodes
- Sync
- Observations
- Reflect
- Beliefs
- Ask
- Extract
- Claims
- Corroborate
- Runs
- Chat
- Conversations
- Forget
- Export
- Import
- Erase
- Wipe
- Episode
- Nightly
- Reason
- Personas
- Council
- Lenses
- Core
- Why
- Hypotheses
- Predictions
- Commitments
- Discrepancies
- Calibration
- Inquire
- Entities
- Eval
- Standup
- Machines
- Baselines
- Connectors
- Facts
- Correct
- Weekly
- Db
Guides