-
-
Notifications
You must be signed in to change notification settings - Fork 205
Recipe Recover Missing History
Use when: known Claude Code or Codex sessions are absent or incomplete in CCAM.
-
Confirm filters, source, provider, date range, and project path.
-
Verify the provider's raw transcript files still exist and note their newest timestamps.
-
Export/backup CCAM before a large recovery import.
-
For the local default provider path:
npx ccam import rescan
-
For another directory:
npx ccam import path <absolute-directory>
-
For another machine, prefer Remote Data Sources or create a provider archive using the History Import guide.
-
Watch import progress and review imported, enriched, skipped, and failed counts.
-
Open one known session and verify metadata, events, transcript, agents, and token usage.
The importer is designed to be idempotent. It can enrich or extend known sessions while avoiding duplicate insertion of already processed events. Still, use a backup before large or unusual archives.
- hooks were installed after the session;
- dashboard was down during fail-open hook delivery;
- provider home or project path differs;
- file permissions prevent reading history;
- date/source filters hide imported rows;
- archive structure or provider selection is wrong;
- a remote source has not completed its provider sync.
Do not rename raw JSONL files or edit IDs to force import. Preserve originals and report a minimal failing archive with sensitive content removed.
Start Here · Localized product Wiki · Repository · Releases · Security · Report an issue
Guidance tracks the current master branch. For a deployed release, consult the repository documentation at that release tag before changing configuration.
CCAM Handbook
Use CCAM
- Read the dashboard
- Sessions and agents
- Kanban and tasks
- Tokens and costs
- Run agents
- Personal settings
Operate CCAM
- Deployment guide
- Hook health
- Security
- Backups and retention
- Prometheus and Grafana
- Remote machines
- Upgrades and rollback
- Incident runbooks
Automate and extend
- CLI patterns
- MCP workflows
- Alerts and webhooks
- Dynamic workflows
- Skills and plugins
- Safe config explorer
- Integration patterns
Help