crewship consolidate
Trigger the Consolidate worker — the background process that compacts recent agent/crew journal activity into semantic rules appended to.memory/topics/learned-*.md. Normally runs on a 6h schedule; this command forces an immediate pass.
Subcommands
| Command | Description |
|---|---|
run | Force an immediate consolidation run. |
crewship consolidate run
| Flag | Type | Description |
|---|---|---|
--crew | string | Limit to a single crew (slug or ID; slugs are resolved automatically). Empty = every crew in the workspace. |
--since | string | Only consider journal entries newer than this window. Accepts Go durations (90m, 24h) plus d/w shorthand (7d, 2w). Default 24h. |
crewship consolidate run backend-team fails (unknown command).
Sample outputs:
Accepted (202) with a note means the consolidator is wired but lacks a summarizer client — set OLLAMA_HOST and install a chat model.
Requirements
- Auth:
OWNERorADMINrole (403 otherwise). - Ollama: The consolidator needs a summarizer LLM. In local dev, start Ollama with the external-SSD model path:
Errors
| Exit | Meaning |
|---|---|
| 401 | Not authenticated. |
| 403 | Logged in but not OWNER / ADMIN. |
| 404 | --crew points to a crew outside your workspace or soft-deleted. |
| 409 | A consolidation is already running for this workspace. |
| 503 | Server built without a consolidator instance (dev/test builds). |
Journal entries emitted
Even when skipped, the run emits bothsystem.consolidation_triggered and system.consolidation_completed so the audit trail captures the no-op. See the Consolidate guide for payload shapes.
Related
- Consolidate guide.
- Consolidate API.
- Episodic memory — indexer runs on the same schedule.