Workspace Collaboration v2.1
Goal: Support collaboration with minimal state; read details on demand. Specific task assignments are at the user's discretion. Script paths are relative to this skill directory; workspace parameters use absolute paths. Compatible with Codex and DSH.
Entering or Resuming
Run node scripts/workspace.mjs context --workspace WORKSPACE --session SESSION.
SESSION uses the current conversation ID provided by the runtime environment; if unavailable, keep as unknown—do not guess identity or claim.
If the workspace is not enabled, continue with the user's original task; only execute init when the user explicitly designates a main conversation and enables management.
For a new context, fetch the full brief first; for subsequent contexts in the same conversation, use the last fully processed --since STAMP and read only changes.
scope=declared-metadata only checks registered information; it does not prove that source files have not changed or that unregistered conversations do not exist.
Execution
role=main: Aggregate registered tasks, process alerts, review conflicts and duplicate work; at phase end, generatesum.mdusingsummary.role=child: Only maintain own task records and artifacts; when context is needed, preferdetail --task ID.- When taking a task, changing status, or handing off results, use
task --file INPUT.jsonto register; see the Command Reference for fields and commands. Normal replies do not require ledger updates. - Before shared writes, register
writesfirst; if a claim conflict arises, serialize the handoff. Usecheckto verify registered paths, and re-read the target file before editing. sum.mdis generated by the main conversation script; child conversations update their own records. If content is unchanged, do not increase the task version.
When Information Is Insufficient
more=true uses the same --since and --offset NEXT to read all relevant pages, then saves the stamp.
Unknown states, incomplete scans, or parse errors are retained as issues; use check --offset N for detailed file inspection.
When scattered artifacts, unclear ownership, or unclaimed claims are found, read Claims and Consolidation.
Only read Forensic Commands when DSH logs are needed as clues; for enabling old workspaces, see Migration. In daily use, only read the brief.
Depend only on currently available state; use an explicit handoff to take over a main conversation. File timestamps do not indicate whether a conversation is running.
These records coordinate cooperation, do not replace tool permissions, and do not prevent external writes that do not follow the conventions.