Skip to content

The daily loop

Four commands cover almost everything you do after the initial setup.

CommandWhen you run it
agentsync applyAfter editing your source — push changes to agents.
agentsync status”What’s out of sync?” — a summary across all agents.
agentsync diff”Show me exactly what changed.” Secrets are redacted.
agentsync reconcileAn agent edited its config — merge or override the drift.

After an agent (or you) edited a native file out from under agentsync:

Terminal window
agentsync status # spot the drift
agentsync diff claude # inspect it (resolved secrets are masked)
agentsync reconcile # interactively resolve

For each drifting item, agentsync shows the source value, the on-disk value, and a menu:

~/.claude/settings.json#$.permissions.bash[2] (drift)
source: "Bash(git push:*)"
destination: "Bash(git push:*) Bash(npm publish:*)"
[w]rite-back [o]verride [s]kip [i]gnore [d]iff [q]uit
KeyAction
wAdopt the destination edit into your source (W = all).
oRe-impose the source, discarding the edit (O = all).
iStop tracking this path (adds it to ~/.agentsync/ignore.toml).
s / qSkip / quit.
dShow a full diff for this item.

For non-interactive runs (cron, CI, a update --apply), drive reconcile with flags instead of the menu:

FlagBehavior
--auto-writebackAdopt every destination edit.
--auto-overrideRe-impose source everywhere, discarding edits.
--auto-safeOnly auto-resolve changes that can’t lose work (converged, pending).
Terminal window
agentsync reconcile --auto-safe

--auto-safe is the conservative default for automation: it converges the no-risk cases and leaves anything that could discard work for a human.