init_project
Creates a new project workspace by copying the default template into the projects directory. Use for first-run initialization when shell access is unavailable.
Instructions
[PROJECT TOOLS] Creates a new Marrow project workspace by copying the built-in default template into TASKS_DIR/projects/{project}. Produces a ready-to-use artifact tree (session.md, spec.md, guidelines, role_profiles.yaml).
Primary use case: first-run initialization on Glama or any single-container deployment where shell access is unavailable. For docker-compose deployments, use the marrow-init service instead.
Do NOT use to list existing projects — call list_projects instead. Do NOT use to read session state — call get_session_context(project) after init.
Parameters: project : str — unique project name (must not already exist) template : str — scaffold template; only "default" is supported in this release
Returns: { project, files_created } where files_created lists every file path copied into the new workspace (relative to workspace root).
Raises: ValidationError if project already exists or template is unsupported.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | Unique project name to create | |
| template | No | Scaffold template name | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||