chap.workspace.create
chap.workspace.createSet up a collaborative workspace that groups participants, tasks, and an audit log, and returns a workspace id for subsequent operations.
Instructions
Create a workspace: the container for the participants, tasks and audit log of one piece of collaborative work. Returns the workspace id, which every later call carries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Default mode for tasks created here. Under modes/1.0 a trial-mode task has review_required set to true whatever the caller passes. 'shadow' and 'production' are recorded on the task and carry no further behaviour in this implementation. | trial |
| profiles | No | Profile identifiers to enable, e.g. ['core/1.0', 'review/1.0']. Recorded on the workspace. Two profiles change behaviour by being present: modes/1.0, under which a trial-mode task requires review, and audit-scitt/1.0, which turns on the hash-linked chain. | |
| workspace | No | Workspace id to create. If omitted, one is generated. | |
| mode_ceiling | No | Highest mode a task in this workspace may request. A task.create above the ceiling is refused with -32040. The ceiling can be changed afterwards with chap.control.set_mode_ceiling. | production |