Auto-Sync <instructions Mode Detection EXECUTE using Bash tool (args: ): Parse output: . If exit code non-zero → report error, EXIT. | Mode | Trigger | Scope | |------|---------|-------| | STATUS | | Report INDEX state → EXIT | | INIT | | Tag file + add to INDEX → EXIT | | GLOBAL | | (excludes managed dirs) | | PROJECT | empty | (excludes managed dirs) | | FILE | file path | Single file | | FOLDER | folder path | All .md in folder | Managed directories (excluded from auto-scan, explicit path required): - — sync via - — sync via - — sync via INDEX Format | Field | Description | |-------|------…