Skip to content

File and Directory Layout

This page maps where the engine reads and writes on disk. Knowing the layout helps with backups, troubleshooting, and version control.

$WAYLAND_HOME is the base for the engine’s per-machine data when it is set (it hermetically sandboxes every path the engine touches). The cron store and user agents fall back to ~/.wayland when $WAYLAND_HOME is unset.

PathContents
$WAYLAND_HOME/logs/wayland-core.logTrace log written while the full-screen TUI is running.
$WAYLAND_HOME/cron/jobs.json (else ~/.wayland/cron/jobs.json)Persisted scheduled jobs.
$WAYLAND_HOME/cron/history.jsonl (else ~/.wayland/cron/history.jsonl)Fire history for scheduled jobs.
$WAYLAND_HOME/evolved/Evolved system-prompt variants from online evolution.
~/.wayland/agents/ (or $WAYLAND_HOME/agents/)User-defined agent definitions, one TOML file each.

The global config file and the user-global skills live in the platform config directory under a wayland-core/ subdirectory. When $WAYLAND_HOME is set it replaces this base; otherwise the engine uses dirs::config_dir() (or $XDG_DATA_HOME) joined with wayland-core/. Run wayland-core --config-path to print the config path and wayland-core --skills-path to print the skill directories on your machine.

PlatformConfig base directory (before the wayland-core/ segment)
macOS~/Library/Application Support/
Linux~/.config/ (or $XDG_CONFIG_HOME / $XDG_DATA_HOME)
WindowsC:\Users\<user>\AppData\Roaming\

User-global skills sit under <config-dir>/wayland-core/skills/, and the global memory store under <config-dir>/wayland-core/memory/memory.db.

When you run the engine inside a project, it reads and writes a .wayland-core/ directory there. The engine loads .wayland-core.toml from the working directory (override with --project-dir).

PathContents
.wayland-core.tomlProject-level config that overrides the global file.
.wayland-core/skills/Project-local skills, checked in with the repo.
.wayland-core/commands/Legacy flat skill files (backward compatibility).
.wayland-core/sessions/Saved sessions, only if session.directory is set to this project path. By default sessions live at the per-user <config-dir>/wayland-core/sessions/.
.wayland-core/plans/Plan-mode output (default location).
.wayland-core/memory/memory.dbProject memory store.
.wayland/workflows/Saved RON ForgeFlows.

When two skills share a name, the first match wins, in this order:

  1. .wayland-core/skills/ (project)
  2. <config-dir>/wayland-core/skills/ (user-global)
  3. .wayland-core/commands/ (legacy)