Skip to content

Commit ca257f4

Browse files
michaelmcneesclaude
andcommitted
docs: document mantle repos sync and the sync lifecycle
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent f76dcdc commit ca257f4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

CLAUDE.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ mantle repos add <name> --url <url> --credential <cred> # Register a GitOps sou
8484
mantle repos list # List registered repos with last-sync status
8585
mantle repos status <name> # Show detailed repo status
8686
mantle repos remove <name> -y # Unregister a repo (requires --yes)
87+
mantle repos sync <name> # Force an immediate sync of a registered repo
8788
mantle run <wf> --values f.yaml # Run with a values file (inputs + env overrides)
8889
mantle run <wf> --env <name> # Run against a stored named environment
8990
mantle plan <wf> --env <name> # Plan; appends resolved inputs/env with source
@@ -114,7 +115,7 @@ git_sync:
114115
115116
Credentials of type `git` accept `token` (for HTTPS), `ssh_key` (for SSH), and optional `username`. At least one of `token` or `ssh_key` is required.
116117

117-
> Plan A ships the repo registry and CLI only. The sync engine that consumes this block — pulling from the sidecar, validating, and applying workflow YAML — ships in the next milestone. Registering a repo today has no runtime effect yet beyond persistence.
118+
> Plan A shipped the repo registry and CLI. Plan B ships the sync engine — when `mantle serve` runs, it reconciles this block into `git_repos` rows and then polls each enabled `auto_apply: true` repo every `poll_interval`, applying any changed workflow YAML. Force an immediate sync with `mantle repos sync <name>`.
118119

119120
## License
120121

0 commit comments

Comments
 (0)