Workspace CMS
The ScienceClaw workspace CMS is a lightweight, file-backed review layer for moving from private work to public documentation. It also provides the integrated workspace file manager at /files and the GitHub repository manager at /github. It does not replace MkDocs, JupyterLab, or the OpenClaw gateway, and it does not execute arbitrary commands. Its job is to help humans inspect files, record review status, manage selected project repositories, and promote approved artifacts.
Start it locally with:
docker compose up workspace-cms
Then open http://127.0.0.1:8090 for the review home page, http://127.0.0.1:8090/files?path=/workspace for the file manager, or http://127.0.0.1:8090/github for selected project repositories.
Every full CMS page includes header navigation back to the matching OpenClaw Control UI, plus links to CMS Home, Files, and GitHub. For spawned instances, OPENCLAW_GATEWAY_PORT or SCIENCECLAW_GATEWAY_URL tells the CMS which OpenClaw page the Back to OpenClaw button should open.
The CMS can browse configured roots:
/workspacefor private drafts, notes, notebooks, and agent outputs./data/outputsfor generated job artifacts./repo/docsfor the public MkDocs source./repo/examplesfor committed examples./repo/storagefor storage templates./external_storage/localfor optional large-data mounts.
The file manager can visually browse from /, while hiding sensitive paths and restricting writes to configured safe roots. See Workspace File Manager for the user-facing file workflow.
The GitHub manager only operates on explicitly authorized repositories cloned under /workspace/repos/. See GitHub Repository Manager for authentication, registry, branch, and pull-request workflow details.
Metadata
The CMS writes sidecar metadata files next to reviewed artifacts:
{
"status": "needs_review",
"visibility": "private",
"source_files": ["/workspace/analysis/example.ipynb"],
"outputs": ["/workspace/figures/example.png"],
"external_data": [
{
"store": "public_stac_demo",
"href": "https://earth-search.aws.element84.com/v1"
}
],
"publish_target": "docs/reports/example.md"
}
Use this metadata to preserve provenance from prompts, agents, notebooks, scripts, source data, and review decisions.
Promotion Workflow
- Agent or user creates draft output in
/workspaceor/data/outputs. - CMS displays the draft and any provenance metadata.
- User marks the artifact as
needs_revieworapproved. - Approved Markdown is promoted into
docs/reports/ordocs/dashboard/. - Small approved assets are copied into
docs/assets/cms/. - Large outputs stay in
/external_storageor remote stores and are represented by metadata and links. - MkDocs builds the public site from
docs/.
Public pages must not require a private workspace mount, local secrets, or private storage credentials.