This note defines the practical maintainer path for a clean clone of Codex Workspace.
Use it when you need to:
- prepare a fresh machine
- maintain reviewed upstream mirrors or forks
- install, update, disable, or uninstall workspace abilities and core services
- verify the workspace contract after changes
For a clean clone, the baseline expectation is still conservative:
- clone the workspace repo
- read
README.md,docs/README.md, anddocs/08-first-run-and-updates.md - run
tools/scripts/doctor-workspace.sh - run
tools/scripts/bootstrap-workspace.sh --runwhen you want the safe cache/context setup andworkspace-hubdependencies prepared
This baseline must work without:
- optional reverse-proxy or mapped-host tooling (only if you use that workflow)
- Local
gh auth login- optional abilities under
repos/abilities/
Recommended when you maintain forks, pull requests, or reviewed upstream mirrors:
- install
gh - run
gh auth login - install
codexif you want to use the managed MCP profile flow locally
This is a maintainer convenience, not a release-gate requirement.
If a repo does not define its own clearer workflow, use 14-git-and-github-workflow.md as the workspace baseline.
For maintenance work, the practical implication is simple:
- check first whether the target repo overrides the workspace baseline
- if it does not, follow
14-git-and-github-workflow.mdrather than copying a second workflow into repo-local notes ghremains recommended convenience tooling rather than a clean-clone requirement
Tracked installable workspace abilities and core services are declared in:
tools/manifests/workspace-capabilities.json
Lifecycle operations run through:
tools/scripts/manage-workspace-capabilities.sh list
tools/scripts/manage-workspace-capabilities.sh install
tools/scripts/manage-workspace-capabilities.sh update
tools/scripts/manage-workspace-capabilities.sh enable --run <capability-id>
tools/scripts/manage-workspace-capabilities.sh disable --run <capability-id>
tools/scripts/manage-workspace-capabilities.sh uninstall --run <capability-id>Rules:
- dry-run is the default
installandupdatetarget installable abilities and core services, not normal reposdisablekeeps the checkout but removes it from default update and Hub action flowsuninstallremoves the managed checkout and disposable cache paths, but does not remove tracked docs
Compatibility wrapper:
tools/scripts/update-github-refs.sh --list
tools/scripts/update-github-refs.sh --run <capability-id>Use this only when you specifically want the older update-only GitHub-ref flow.
Normal repos update through:
tools/scripts/update-all.sh
tools/scripts/update-all.sh --group coreInstallable abilities and core services update through:
tools/scripts/manage-workspace-capabilities.sh updateDo not mix the two flows.
Useful checks:
tools/bin/workspace-memory status
tools/bin/mempalace-start
tools/bin/mempalace-syncWorkspace Hub should surface MemPalace as a core service, but these commands remain the direct shell fallback.
The official workspace MCP v1 surface is intentionally small and documented in:
docs/15-mcp-profiles-and-trust-levels.mddocs/16-mcp-profiles.mddocs/17-mcp-install-and-health-check.md
Useful maintainer commands:
tools/scripts/install-mcp-profile.sh --list
tools/scripts/install-mcp-profile.sh default-full
tools/scripts/install-mcp-profile.sh --run default-full
tools/scripts/check-mcp-health.sh --profile default-fullIf you want the smallest supported profile instead:
tools/scripts/install-mcp-profile.sh --run safe-readonly
tools/scripts/check-mcp-health.sh --profile safe-readonlyRules:
- tracked examples stay in
tools/templates/mcp/and repo-local.workspace/mcp/ - generated overlays stay in ignored
tools/local/agents/codex/ - the installer manages only the Codex Workspace MCP block in the active Codex config
- real credentials stay local-only
Before handing off a workspace-maintenance slice:
tools/scripts/doctor-workspace.sh
tools/scripts/release-readiness.sh
tools/scripts/manage-workspace-capabilities.sh list
tools/scripts/update-all.sh --list-groups
pnpm --dir "repos/workspace-hub" typecheck
pnpm --dir "repos/workspace-hub" testAdd pnpm --dir "repos/workspace-hub" lint when frontend or server code changed.
If MCP scripts, templates, or docs changed, also run:
tools/scripts/install-mcp-profile.sh default-full
tools/scripts/check-mcp-health.sh --profile default-fullPublic-file review step:
- review the root
README.md,docs/README.md,docs/CHANGELOG.md, and any affected repo-local docs when a new feature lands - if the feature changes public navigation or public framing, also review the starter wiki pages under
docs/wiki/ - this is especially important for workspace-wide features such as Workspace memory, capability lifecycle changes, and Hub-visible operator flows
If a capability update or installation goes wrong:
- disable it first if the workspace should stop using it
- uninstall it if you need to remove the checkout and disposable cache paths
- re-run
doctor-workspace.sh - record the result in
docs/HANDOVER.mdif the issue affects future maintainers
If a repo depends on an ability, the repo must document that requirement explicitly in its own docs. Do not leave ability dependencies implicit.