OpenClaw Workspace Governance Installer
Ship safer OpenClaw operations from day one.
This installer gives you a repeatable governance path instead of ad-hoc prompt edits.
Why this is popular
- Prevents "edit first, verify later" mistakes.
- Gives one predictable setup/upgrade/audit flow.
- Makes changes traceable for review and handover.
- Works for both beginners and production workspaces.
60-second quick start
First-time install:
# 1) Install plugin (first time only)
openclaw plugins install @adamchanadam/openclaw-workspace-governance@latest
# 2) Enable plugin
openclaw plugins enable openclaw-workspace-governance
# 3) Verify skills
openclaw skills list --eligible
In OpenClaw chat:
/gov_help
/gov_setup quick
# if quick output says allowlist is not ready (for example plugins.allow needs alignment):
/gov_openclaw_json
/gov_setup quick
# manual fallback (step-by-step):
/gov_setup install
prompts/governance/OpenClaw_INIT_BOOTSTRAP_WORKSPACE_GOVERNANCE.md
# if this workspace was already active before first governance adoption:
/gov_migrate
/gov_audit
Already installed users (upgrade path):
# Do NOT run install again if plugin already exists
openclaw plugins update openclaw-workspace-governance
openclaw gateway restart
Then in OpenClaw chat:
/gov_setup quick
# if quick output says allowlist is not ready (for example plugins.allow needs alignment):
/gov_openclaw_json
/gov_setup quick
/gov_setup upgrade
/gov_migrate
/gov_audit
# manual fallback:
/gov_setup upgrade
/gov_migrate
/gov_audit
What you get
gov_help — see all commands and recommended entry points at a glance.
gov_setup quick|check|install|upgrade — deploy, upgrade, or verify governance in one step.
gov_migrate — align workspace behavior to the latest governance rules after install or upgrade.
gov_audit — verify 12 integrity checks and catch drift before declaring completion.
gov_uninstall quick|check|uninstall — clean removal with backup and restore evidence.
gov_openclaw_json — safely edit platform config (openclaw.json) with backup, validation, and rollback. Includes pre-modification config reference verification: scans local workspace docs before changes, falls back to official web docs, and degrades gracefully when neither is available.
gov_brain_audit — review and harden Brain Docs quality with preview-first approval and rollback.
gov_boot_audit — scan for recurring issues and generate upgrade proposals (read-only diagnostic).
gov_apply <NN> — apply a single BOOT upgrade proposal with explicit human approval (Experimental, controlled UAT only).
Feature maturity (important)
- GA flow for production rollout:
gov_setup -> gov_migrate -> gov_audit, plus gov_uninstall, gov_openclaw_json, gov_brain_audit, gov_boot_audit.
- Experimental flow:
gov_apply <NN> (BOOT controlled apply) is included in deterministic runtime regression baseline, but remains controlled-UAT scope.
- If you use
gov_apply <NN>, keep it in controlled UAT and always close with /gov_migrate then /gov_audit.
- All
/gov_* command outputs use branded format: 🐾 header, emoji status indicators (✅/⚠️/❌), structured bullets, and 👉 next-step guidance.
When to use which command (quick map)
- Need command list fast:
gov_help
- Daily default path:
gov_setup quick (one-click chain)
- Readiness decision first (manual path):
gov_setup check
- First deployment path (manual):
gov_setup install
- Existing deployment update (manual):
gov_setup upgrade
- Policy alignment after deploy/update:
gov_migrate
- Final verification before claiming done:
gov_audit
- Cleanup workspace governance artifacts safely:
gov_uninstall quick
- Edit OpenClaw platform config safely:
gov_openclaw_json
- Review/harden Brain Docs safely:
gov_brain_audit -> gov_brain_audit APPROVE: ... -> gov_brain_audit ROLLBACK (if needed)
- Scan for recurring issues and get upgrade proposals:
gov_boot_audit
- Apply approved BOOT menu item only (Experimental):
gov_apply <NN>
First-run status map
After /gov_setup quick:
- if output says allowlist is not ready -> run
/gov_openclaw_json, then rerun /gov_setup quick
- if output is
PASS -> lifecycle is aligned
- if output is
FAIL/BLOCKED -> follow returned next-step commands
- manual fallback remains available:
check -> install/upgrade -> migrate -> audit
Important update rule
If openclaw plugins install ... returns plugin already exists, use:
openclaw plugins update openclaw-workspace-governance
openclaw gateway restart
/gov_setup check (if needed, align allowlist via /gov_openclaw_json)
/gov_setup quick (or manual /gov_setup upgrade -> /gov_migrate -> /gov_audit)
- If
/gov_setup check says READY, that does not cancel an explicitly requested /gov_setup upgrade during update flow.
Version check (operator-side):
- Installed:
openclaw plugins info openclaw-workspace-governance
- Latest:
npm view @adamchanadam/openclaw-workspace-governance version
Runtime gate behavior (important)
- Read-only diagnostics/testing commands are allowed and should not be blocked.
- Normal writes (skills/, projects/, code): always advisory — write proceeds with a logged warning, never hard-blocked.
- High-risk writes (Brain Docs,
openclaw.json, _control/*, governance prompts): advisory on 1st-2nd attempt, hard block on 3rd+ without evidence.
- If blocked by runtime gate, this usually means governance guard worked (not a system crash). Include your plan and list of files read, then retry.
- If blocked 3+ times: use
/gov_brain_audit force-accept to clear all gates (with audit trail).
- All
gov_* responses use branded output: 🐾 header, emoji status prefix (✅ PASS/READY, ⚠️ WARNING, ❌ BLOCKED/FAIL), structured • bullets, 👉 next-step, and ───── dividers.
- Tool-exposure root-fix is enabled by default: governance plugin tools require explicit
/gov_* intent (or /skill gov_*) in the current turn window.
If slash routing is unstable
Use fallback commands:
/skill gov_setup check
/skill gov_setup install
/skill gov_setup upgrade
/skill gov_migrate
/skill gov_audit
/skill gov_uninstall quick
/skill gov_openclaw_json
/skill gov_brain_audit
/skill gov_brain_audit APPROVE: APPLY_ALL_SAFE
/skill gov_brain_audit ROLLBACK
/skill gov_boot_audit
# Experimental only:
/skill gov_apply 01
Or natural language:
Please use gov_setup in check mode (read-only) and return workspace root, status, and next action.
Who this is for
- New OpenClaw users who want a guided install path.
- Teams operating long-running workspaces.
- Users who need auditable, low-drift maintenance.
Learn more (GitHub docs)
- Main docs: https://github.com/Adamchanadam/OpenClaw-WORKSPACE-GOVERNANCE
- English README: https://github.com/Adamchanadam/OpenClaw-WORKSPACE-GOVERNANCE/blob/main/README.md
- 繁體中文版: https://github.com/Adamchanadam/OpenClaw-WORKSPACE-GOVERNANCE/blob/main/README.zh-HK.md
- Governance handbook (EN): https://github.com/Adamchanadam/OpenClaw-WORKSPACE-GOVERNANCE/blob/main/WORKSPACE_GOVERNANCE_README.en.md
- Governance handbook (繁中): https://github.com/Adamchanadam/OpenClaw-WORKSPACE-GOVERNANCE/blob/main/WORKSPACE_GOVERNANCE_README.md
- Positioning (EN): https://github.com/Adamchanadam/OpenClaw-WORKSPACE-GOVERNANCE/blob/main/VALUE_POSITIONING_AND_FACTORY_GAP.en.md
- Positioning (繁中): https://github.com/Adamchanadam/OpenClaw-WORKSPACE-GOVERNANCE/blob/main/VALUE_POSITIONING_AND_FACTORY_GAP.md
1---2name: openclaw-workspace-governance-installer3description: Install OpenClaw WORKSPACE_GOVERNANCE in minutes. Get guided setup, upgrade checks, migration, and audit for long-running workspaces.4---5# OpenClaw Workspace Governance Installer
6
7Ship safer OpenClaw operations from day one.
8This installer gives you a repeatable governance path instead of ad-hoc prompt edits.
9
10## Why this is popular
111. Prevents "edit first, verify later" mistakes.
122. Gives one predictable setup/upgrade/audit flow.
133. Makes changes traceable for review and handover.
144. Works for both beginners and production workspaces.
15
16## 60-second quick start
17First-time install:
18```bash
19# 1) Install plugin (first time only)
20openclaw plugins install @adamchanadam/openclaw-workspace-governance@latest
21
22# 2) Enable plugin
23openclaw plugins enable openclaw-workspace-governance
24
25# 3) Verify skills
26openclaw skills list --eligible
27```
28
29In OpenClaw chat:
30```text
31/gov_help
32/gov_setup quick
33# if quick output says allowlist is not ready (for example plugins.allow needs alignment):
34/gov_openclaw_json
35/gov_setup quick
36# manual fallback (step-by-step):
37/gov_setup install
38prompts/governance/OpenClaw_INIT_BOOTSTRAP_WORKSPACE_GOVERNANCE.md
39# if this workspace was already active before first governance adoption:
40/gov_migrate
41/gov_audit
42```
43
44Already installed users (upgrade path):
45```bash
46# Do NOT run install again if plugin already exists
47openclaw plugins update openclaw-workspace-governance
48openclaw gateway restart
49```
50
51Then in OpenClaw chat:
52```text
53/gov_setup quick
54# if quick output says allowlist is not ready (for example plugins.allow needs alignment):
55/gov_openclaw_json
56/gov_setup quick
57/gov_setup upgrade
58/gov_migrate
59/gov_audit
60# manual fallback:
61/gov_setup upgrade
62/gov_migrate
63/gov_audit
64```
65
66## What you get
671. `gov_help` — see all commands and recommended entry points at a glance.
682. `gov_setup quick|check|install|upgrade` — deploy, upgrade, or verify governance in one step.
693. `gov_migrate` — align workspace behavior to the latest governance rules after install or upgrade.
704. `gov_audit` — verify 12 integrity checks and catch drift before declaring completion.
715. `gov_uninstall quick|check|uninstall` — clean removal with backup and restore evidence.
726. `gov_openclaw_json` — safely edit platform config (`openclaw.json`) with backup, validation, and rollback. Includes pre-modification config reference verification: scans local workspace docs before changes, falls back to official web docs, and degrades gracefully when neither is available.
737. `gov_brain_audit` — review and harden Brain Docs quality with preview-first approval and rollback.
748. `gov_boot_audit` — scan for recurring issues and generate upgrade proposals (read-only diagnostic).
759. `gov_apply <NN>` — apply a single BOOT upgrade proposal with explicit human approval (**Experimental**, controlled UAT only).
76
77## Feature maturity (important)
781. GA flow for production rollout: `gov_setup -> gov_migrate -> gov_audit`, plus `gov_uninstall`, `gov_openclaw_json`, `gov_brain_audit`, `gov_boot_audit`.
792. Experimental flow: `gov_apply <NN>` (BOOT controlled apply) is included in deterministic runtime regression baseline, but remains controlled-UAT scope.
803. If you use `gov_apply <NN>`, keep it in controlled UAT and always close with `/gov_migrate` then `/gov_audit`.
814. All `/gov_*` command outputs use branded format: `🐾` header, emoji status indicators (✅/⚠️/❌), structured bullets, and `👉` next-step guidance.
82
83## When to use which command (quick map)
841. Need command list fast: `gov_help`
852. Daily default path: `gov_setup quick` (one-click chain)
863. Readiness decision first (manual path): `gov_setup check`
874. First deployment path (manual): `gov_setup install`
885. Existing deployment update (manual): `gov_setup upgrade`
896. Policy alignment after deploy/update: `gov_migrate`
907. Final verification before claiming done: `gov_audit`
918. Cleanup workspace governance artifacts safely: `gov_uninstall quick`
929. Edit OpenClaw platform config safely: `gov_openclaw_json`
9310. Review/harden Brain Docs safely: `gov_brain_audit -> gov_brain_audit APPROVE: ... -> gov_brain_audit ROLLBACK (if needed)`
9411. Scan for recurring issues and get upgrade proposals: `gov_boot_audit`
9512. Apply approved BOOT menu item only (Experimental): `gov_apply <NN>`
96
97## First-run status map
98After `/gov_setup quick`:
991. if output says allowlist is not ready -> run `/gov_openclaw_json`, then rerun `/gov_setup quick`
1002. if output is `PASS` -> lifecycle is aligned
1013. if output is `FAIL/BLOCKED` -> follow returned next-step commands
1024. manual fallback remains available: `check -> install/upgrade -> migrate -> audit`
103
104## Important update rule
105If `openclaw plugins install ...` returns `plugin already exists`, use:
1061. `openclaw plugins update openclaw-workspace-governance`
1072. `openclaw gateway restart`
1083. `/gov_setup check` (if needed, align allowlist via `/gov_openclaw_json`)
1094. `/gov_setup quick` (or manual `/gov_setup upgrade` -> `/gov_migrate` -> `/gov_audit`)
1105. If `/gov_setup check` says `READY`, that does not cancel an explicitly requested `/gov_setup upgrade` during update flow.
111
112Version check (operator-side):
1131. Installed: `openclaw plugins info openclaw-workspace-governance`
1142. Latest: `npm view @adamchanadam/openclaw-workspace-governance version`
115
116## Runtime gate behavior (important)
1171. Read-only diagnostics/testing commands are allowed and should not be blocked.
1182. **Normal writes** (skills/, projects/, code): always advisory — write proceeds with a logged warning, never hard-blocked.
1193. **High-risk writes** (Brain Docs, `openclaw.json`, `_control/*`, governance prompts): advisory on 1st-2nd attempt, hard block on 3rd+ without evidence.
1204. If blocked by runtime gate, this usually means governance guard worked (not a system crash). Include your plan and list of files read, then retry.
1215. If blocked 3+ times: use `/gov_brain_audit force-accept` to clear all gates (with audit trail).
1226. All `gov_*` responses use branded output: `🐾` header, emoji status prefix (✅ PASS/READY, ⚠️ WARNING, ❌ BLOCKED/FAIL), structured `•` bullets, `👉` next-step, and `─────` dividers.
1237. Tool-exposure root-fix is enabled by default: governance plugin tools require explicit `/gov_*` intent (or `/skill gov_*`) in the current turn window.
124
125## If slash routing is unstable
126Use fallback commands:
127```text
128/skill gov_setup check
129/skill gov_setup install
130/skill gov_setup upgrade
131/skill gov_migrate
132/skill gov_audit
133/skill gov_uninstall quick
134/skill gov_openclaw_json
135/skill gov_brain_audit
136/skill gov_brain_audit APPROVE: APPLY_ALL_SAFE
137/skill gov_brain_audit ROLLBACK
138/skill gov_boot_audit
139# Experimental only:
140/skill gov_apply 01
141```
142
143Or natural language:
144```text
145Please use gov_setup in check mode (read-only) and return workspace root, status, and next action.
146```
147
148## Who this is for
1491. New OpenClaw users who want a guided install path.
1502. Teams operating long-running workspaces.
1513. Users who need auditable, low-drift maintenance.
152
153## Learn more (GitHub docs)
1541. Main docs: https://github.com/Adamchanadam/OpenClaw-WORKSPACE-GOVERNANCE
1552. English README: https://github.com/Adamchanadam/OpenClaw-WORKSPACE-GOVERNANCE/blob/main/README.md
1563. 繁體中文版: https://github.com/Adamchanadam/OpenClaw-WORKSPACE-GOVERNANCE/blob/main/README.zh-HK.md
1574. Governance handbook (EN): https://github.com/Adamchanadam/OpenClaw-WORKSPACE-GOVERNANCE/blob/main/WORKSPACE_GOVERNANCE_README.en.md
1585. Governance handbook (繁中): https://github.com/Adamchanadam/OpenClaw-WORKSPACE-GOVERNANCE/blob/main/WORKSPACE_GOVERNANCE_README.md
1596. Positioning (EN): https://github.com/Adamchanadam/OpenClaw-WORKSPACE-GOVERNANCE/blob/main/VALUE_POSITIONING_AND_FACTORY_GAP.en.md
1607. Positioning (繁中): https://github.com/Adamchanadam/OpenClaw-WORKSPACE-GOVERNANCE/blob/main/VALUE_POSITIONING_AND_FACTORY_GAP.md