Agentic.Workspace.Service
(agentic v0.2.2)
Copy Markdown
Manages workspace file structure and policy.
Creates and maintains the workspace directory structure: workspace/ ├── AGENTS.md # Boot sequence & operating guidelines ├── TOOLS.md # Available tools & credentials ├── MEMORY.md # Curated long-term memory ├── HEARTBEAT.md # Periodic task config ├── CAPABILITIES.md # Skill registry ├── skills/ # Installed skills ├── memory/ │ └── YYYY-MM-DD.md # Daily logs ├── policy/ │ └── policy.yaml # Tool permissions ├── scratch/ # Scratch space (task workspaces) └── TASK.md # Task brief (task workspaces)
Identity files (SOUL.md, IDENTITY.md, USER.md) are created by the agent during the onboarding conversation, not scaffolded here.
Summary
Functions
Copy identity files (SOUL.md, IDENTITY.md, USER.md) from a source workspace to a destination workspace. AGENTS.md is intentionally excluded as it is workspace-specific and always scaffolded fresh.
Create a daily log file for today.
Create a new workspace with the full directory structure.
Ensure the workspace base directory exists.
Get the memory directory for a workspace.
Get the default workspace policy.
Get the allowed roots for a workspace.
Set the workspace policy.
Functions
Copy identity files (SOUL.md, IDENTITY.md, USER.md) from a source workspace to a destination workspace. AGENTS.md is intentionally excluded as it is workspace-specific and always scaffolded fresh.
Create a daily log file for today.
Create a new workspace with the full directory structure.
Options:
:workspace_type—:general,:personal,:admin,:team, or:task(default::general):workspace_template—:standard(default::standard):storage— a%Storage.Context{}(default: local backend for workspace_root)
Ensure the workspace base directory exists.
Get the memory directory for a workspace.
Get the default workspace policy.
Get the allowed roots for a workspace.
Set the workspace policy.