Sync remembered history
sync_projectIngest new git, diff, shell, docs, and optional conversation/issue/PR history into NexusMem's local database. Pass pruneSource or pruneStaleShell to delete stale source nodes instead of syncing.
Instructions
Ingest new git, diff, shell, docs and (if enabled) conversation and github.com issue/PR history for a NexusMem-tracked repository into its local database. Pass pruneSource or pruneStaleShell instead to delete a dead source's nodes (e.g. the pre-hook shell scrape) rather than syncing -- dry-run unless yes is also true, since this is an irreversible full wipe of that source.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| yes | No | Confirms the delete. Without it, pruneSource/pruneStaleShell only report the matching count. | |
| projectRoot | Yes | Absolute path to the repository root | |
| pruneSource | No | Delete every node from this exact source (e.g. "shell:pwsh") instead of syncing | |
| pruneStaleShell | No | Shortcut for pruneSource on shell:pwsh, shell:bash and shell:zsh at once -- the dead pre-hook scrape sources |