plur_sync
Sync engrams via git and refresh the derived index from YAML. Handles repo init, commit, and push/pull; pass full=true to rebuild the index from YAML when it drifts.
Instructions
Sync engrams via git AND refresh the derived index from YAML. Initializes repo on first call, commits and pushes/pulls on subsequent calls. Provide a remote URL on first call to enable cross-device sync. Pass full=true to drop-and-rebuild the index from YAML (recovery path; YAML stays untouched).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | Full reindex: drop the derived index (PGLite/SQLite) and rebuild from YAML. YAML is never modified. Use to recover from an out-of-sync index. | |
| remote | No | Git remote URL (e.g. git@github.com:user/plur-engrams.git). Only needed on first call to set up remote. |