Gentle-AI sync refreshes managed agent configuration. Engram sync exports/imports memory. Cloud sync is not implemented in this source tree.
| Flow | Command surface | Owner | What changes |
|---|---|---|---|
| Gentle-AI config sync | gentle-ai sync |
internal/cli/sync.go, components, adapters |
Agent prompts, skills, MCP configs, SDD profiles, GGA assets. |
| Engram git-friendly sync | engram sync, engram sync --import |
External Engram runtime | .engram/ memory export/import for team sharing. |
| Cloud sync | Not present in Gentle-AI source | External or future Engram capability | Do not document implementation here without source. |
| Autosync | Not present in Gentle-AI source | External or future Engram capability | Do not imply background sync exists in this repo. |
gentle-ai sync
-> parse sync flags
-> discover installed agents from ~/.gentle-ai/state.json or explicit flags
-> build managed selection
-> run component injectors
-> verify readiness
-> report files changed or no-op
Important behavior from internal/cli/sync.go:
- Default sync scope includes SDD, Engram, Context7, GGA, and skills.
- Persona, permissions, and theme are user-adjacent and not included by default.
- OpenCode SDD profile flags preserve and update profile model assignments.
- Idempotency matters:
FilesChanged == 0means managed assets were already current.
Engram team sharing is documented in Engram Commands. The important maintainer distinction: engram sync exports memory to .engram/; gentle-ai sync refreshes agent configuration.
No remote transport implementation is present in this repository beyond update/download logic for external binaries and releases. Do not describe an Engram cloud transport, cloud server, or cloud store split as Gentle-AI code unless that code is added here.
This repository does not contain cloud server or cloud store packages. If future Engram cloud docs are added, document them as an external Engram responsibility and keep this page focused on how Gentle-AI discovers, installs, or configures that capability.
- Use
gentle-ai syncfor managed config, not memory export/import. - Use
engram syncdocs for memory sharing behavior. - Keep sync changes idempotent and test
FilesChangedexpectations. - Do not touch untracked local
.engram/cloud.jsonor.engram/engram.dbduring docs or sync work.
Previous: Interfaces | Next: Dashboard