-
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 | Actually wipe. Without it the command refuses and nothing happens. |
--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, which is why --yes is mandatory and why the refusal
names ed companion export as the step to take first. This
differs from ed companion stack down --wipe in what survives: 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. --json is
{episodesDropped,sourcesDropped,observationsDropped,conversationsDropped, beliefsDropped,vaultCleared}. 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