Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Paths and files

See Environment variables for which process reads each override and for connection, logging, and runtime controls.

The application roots have these environment overrides and defaults:

Environment variableDefault directory
SLOPD_DATA~/.local/share/slopworld
SLOPD_CONFIG_ROOT~/.config/slopworld
SLOPD_CACHE~/.cache/slopworld

The defaults follow XDG_DATA_HOME, XDG_CONFIG_HOME, and XDG_CACHE_HOME when set to absolute paths. Settings and catalogs live under <CONFIG>; private session state lives under <DATA>/sessions. Endpoint discovery and launcher/game paths follow these roots unless their explicit overrides below select another path. File mode 0600 gives read and write access only to the owner.

Planner stores its backlog at <DATA>/TODO.txt and Markdown descriptions at <DATA>/planner/descriptions/<sw-id>.md. Description files remain after task deletion and use mode 0600. Task and Worker associations live in <DATA>/planner/links/<sw-id>.json, also mode 0600.

Daemon configuration

PathOverrideDescription
<CONFIG>/config.tomlunder SLOPD_CONFIG_ROOTMachine settings, seeded on first run.
<CONFIG>/endpoints/local.tomlSLOPD_ENDPOINTEffective local daemon URL and token while running. Mode 0600.
<CONFIG>/endpoints/<name>.toml--endpoint NAME, then SLOPD_ENDPOINTSaved peer URL and key, managed with slopworld connect. Mode 0600.
<CONFIG>/projects/<id>.tomlunder SLOPD_CONFIG_ROOTProject definitions.
<CONFIG>/prompts/<name>.tomlunder SLOPD_CONFIG_ROOTPersonal prompt library items, one definition per file.
<CONFIG>/file_actions/<name>.tomlunder SLOPD_CONFIG_ROOTPersonal file-action library items, one definition per file.
<CONFIG>/shell_scripts/<name>.tomlunder SLOPD_CONFIG_ROOTPersonal shell-script library items, one definition per file.
<CONFIG>/agent_templates/under SLOPD_CONFIG_ROOTPersonal agent templates; copy the entire directory for backup.
<CONFIG>/sandbox_presets/<name>.tomlunder SLOPD_CONFIG_ROOTUser sandbox definitions, one definition per file.
<CONFIG>/app_presets/<name>.tomlunder SLOPD_CONFIG_ROOTUser app definitions, one definition per file.
<CONFIG>/jukebox/<name>.tomlunder SLOPD_CONFIG_ROOTUser-defined radio stations. SlopWorld includes no stations.
<CACHE>/mounts/<project-id>/under SLOPD_CACHEShared managed cache data.

Launcher configuration

PathOverrideDescription
<CONFIG>/game.toml--game, then SLOPWORLD_GAMEDefault game directory, remembered after mod installation succeeds.

The file contains one path string. Installing the mod into the game’s Mods directory stores the canonical game directory path.

Data

PathOverrideDescription
<DATA>/agents/<state-id>.tomlunder SLOPD_DATADurable agent definitions.
<DATA>/host_shells/<id>.tomlunder SLOPD_DATAHost-shell definitions and remembered directories.
<DATA>/worktrees/<id>.tomlunder SLOPD_DATARegistered checkout records and phases.
<DATA>/tasks/<id>.tomlunder SLOPD_DATAComplete task records; no runtime task journal.
<DATA>/credentials.tomlunder SLOPD_DATAAgent identity credentials, mode 0600.
<DATA>/workspace.save-journalunder SLOPD_DATAPending transaction recovery; do not delete.
<DATA>/sessions/<state-id>/under SLOPD_DATAPer-agent private state. The daemon assigns the opaque state ID at creation.
<DATA>/sessions/.trash/under SLOPD_DATARecoverable private-state trash.
<project_path>/.worktrees/<worktree-name>/project.worktree_rootDefault managed checkout path. An explicit root uses <root>/<project-name>/<worktree-name>/.
<DATA>/jukebox.tomlunder SLOPD_DATAJukebox likes ([[like]] tables).
<DATA>/profiles/<name>--profile, then SLOPWORLD_PROFILEGame profile for the selected peer (default local): saves and Config/.

just run passes PROFILE as the launcher’s --profile. See Game profiles for initialization and Backup and recovery for backup scope.

Mod settings

PathDescription
<profile>/Config/SlopWorld.tomlMod settings.
<profile>/Config/ModsConfig.xmlMod list, seeded by the launcher when absent.

Logs

PathUsed byOverrideDescription
<CACHE>/Player.logLauncher and gameSLOPWORLD_GAME_LOGThe launcher captures game console output, including Harmony and mod exceptions.
journalctl --user -u slopdDaemonSLOPWORLD_DAEMON_UNIT for slopctl logsDaemon log when it runs as a systemd user service.

The launcher creates the log directory and captures game stdout and stderr in the selected file. It passes -NoFileLog to disable the game’s separate file logger. slopctl logs game and just logs use the same default and environment override. Each launch replaces the log.

tmux

The default named socket is slopworld. SLOPD_TMUX_SOCKET overrides the name; TMUX_TMPDIR changes the socket directory. See Attaching to tmux for commands to run on the daemon’s machine.

Sidecar host storage

Sidecar storage lives beneath the application roots listed above. slopworld --sidecar and slopctl --sidecar select sidecar defaults explicitly. Setting a profile or endpoint override does not select sidecar mode.

PathOverrideDescription
<CONFIG>/sidecar/under SLOPD_CONFIG_ROOTSidecar configuration, catalogs, and endpoints/local.toml.
<DATA>/sidecar/daemon/under SLOPD_DATAPersistent container daemon state.
<DATA>/sidecar/profiles/<name>/--profile, then SLOPWORLD_PROFILEHost game’s sidecar profile.
<CACHE>/sidecar/Player.logSLOPWORLD_GAME_LOGHost game’s sidecar log.

SLOPD_ENDPOINT overrides descriptor discovery for clients in either mode. The container writes its descriptor in the mounted sidecar configuration directory. slopcar paths endpoint prints that host location; paths config, data, cache, profile, and game-log print the other resolved host paths without starting Docker or creating directories. The launcher and slopctl offer the same paths command; add --sidecar to select these defaults.

The host config and daemon-data directories are mounted at /home/slop/.config/slopworld and /home/slop/.local/share/slopworld inside the container. Host root overrides select mount sources; they are not forwarded as container paths. Container cache is temporary and disappears with the container. The game profile and game log stay on the host.