codaph sync command is a legacy/compatibility command that combines push and pull operations.
Usage
Description
Thesync command provides compatibility with older Codaph workflows. It has evolved into separate pull and push commands for clarity.
Default Behavior
When run without arguments:- Checks for queued local uploads (fast path)
- Pulls cloud activity → local mirror
- Skips full agent history replay (use
codaph pushfor backfill)
Subcommands
codaph sync
Run sync workflow (push queue + pull):codaph pull in most cases.
codaph sync pull
codaph pull
Syncs cloud activity to local mirror.
codaph sync push
codaph push
Imports local agent history (Codex/Claude/Gemini) to Codaph + Mubit.
codaph sync status
codaph status
Displays sync and automation status.
codaph sync setup
codaph sync all
Flags
Working directory (defaults to current directory)
Output JSON for programmatic use
Disable Mubit cloud sync (local mirror only)Deprecated: Use
codaph push --local-only insteadComma-separated agent providers for push:
codex,claude-code,geminiSkip scanning git worktrees during push
Enable sync automation hooks
Accept defaults without prompting (for
sync setup)Reinstall hooks even if already enabled (for
sync setup)Migration Guide
Old Workflow
New Workflow
Automation Setup
Examples
Basic Sync
Push Agent History
Pull Only
Related Commands
- codaph pull - Cloud → local sync (daily)
- codaph push - Agent history import (backfill)
- codaph status - View sync status