Skip to content

Project Workspace

In DotCraft, a workspace is the project folder you open. Its .craft/ directory keeps project-specific instructions, settings, memory, capabilities, and conversation history beside the code they belong to.

How a DotCraft workspace keeps project files and Agent context together

What the workspace keeps

ContentWhat it is for
InstructionsProject rules and preferences the Agent should follow
MemoryLong-lived context that remains useful across conversations
Skills and pluginsReusable capabilities installed for this project
Workspace settingsProject-specific model, automation, and security choices
ConversationsHistory and supporting files used to continue previous work

Desktop, CLI, editors, channels, and automations can use the same workspace. A conversation started from one entry point can be continued from another while they connect to the same workspace.

Share a baseline with Git

Use Git when teammates need the same instructions, memory, skills, plugins, and workspace settings:

  1. Review the files under .craft/ and decide what is safe to share.
  2. Commit only the project context your team should receive.
  3. Ask teammates to open the cloned project as their DotCraft workspace.

The generated .craft/.gitignore excludes local runtime data such as databases, terminal captures, large tool results, and attachment files. A Git clone therefore contains only tracked files; it is not a complete backup of the workspace.

CAUTION

.gitignore is not a privacy boundary. Conversation history and project memory can contain sensitive information. Review changes before you commit them, or ignore the entire .craft/ directory from the repository root when the workspace should remain private.

Back up and restore the complete workspace

To preserve local conversation data and supporting files for a backup or same-path restore:

  1. Close DotCraft and stop any DotCraft server that has the workspace open. Wait for them to exit so all pending writes finish.
  2. Copy the entire project folder, including hidden and Git-ignored files under .craft/.
  3. Restore the copied folder to the same absolute path before opening it as a workspace.

Saved conversations retain the workspace's absolute path. Opening the copy at a different path is not currently a supported session migration workflow.

Provider credentials and personal preferences normally live in the global ~/.craft/config.json. They are not included when you copy only the project, so you may need to configure or reconnect them on the destination machine.

Start a workspace

  1. Open a project folder in Desktop, or run dotcraft setup from that folder.
  2. Complete the setup prompts.
  3. Start a conversation and describe the project task.

For the full setup walkthrough, see Getting started.