This folder is the canonical home for the Codex Workspace documentation set.
Use ../README.md as the public-facing project entrypoint, then use this folder for the detailed workspace and handover material.
For routine agent sessions, start with HANDOVER.md, the relevant repo README, and only the specific doc needed for the task. Use generated cache/context/**/entry.md packets before opening broader generated summaries, and keep docs/archive/, logs, artifacts, screenshots, and ref/ evidence as opt-in context.
For setup, start with 08-first-run-and-updates.md. It is now the concise quick path; the historical long setup note lives under docs/archive/08-first-run-and-updates-history-2026-04.md.
For token-sensitive routine repo work, prefer the safe-readonly MCP profile. Use heavier profiles such as default-full only when browser, GitHub, docs, or debugging tools are needed.
Reference these as needed:
00-overview.md01-codex-workspace-handover.md02-local-runtime-handover.md03-workspace-hub-build-spec.md04-build-order-and-dod.md05-examples-and-templates.md06-cross-agent-skills-and-mcp.md07-context-cache-and-retrieval.md08-first-run-and-updates.md09-new-repo-baseline.md10-release-readiness.md11-core-memory-and-reference-promotion.md12-maintainer-runbook.md13-contributor-roadmap.md14-git-and-github-workflow.md15-mcp-profiles-and-trust-levels.md16-mcp-profiles.md17-mcp-install-and-health-check.md18-mcp-server-catalog.md19-mcp-authoring-rules.md20-ai-context-side-load.md21-agent-token-budget.mdHANDOVER.mdCHANGELOG.md
00-overview.mdto05-examples-and-templates.mddefine the handover pack.06-cross-agent-skills-and-mcp.mddefines the cross-agent portability layout for skills and MCP.07-context-cache-and-retrieval.mddefines the layered context-cache model and retrieval visibility rules.08-first-run-and-updates.mddefines the concise Hub-first onboarding path, setup profiles, update flow, and token-sensitive tooling defaults.09-new-repo-baseline.mddefines the default repo-intake and repo-baseline contract.10-release-readiness.mddefines the stable contract, support matrix, migration note, and stable release gate.11-core-memory-and-reference-promotion.mddefines the workspace source taxonomy and how reviewed GitHub references can graduate into abilities, repo-level adoption, or core workspace services, with MemPalace as the current target.12-maintainer-runbook.mddefines the clean-clone maintainer path, optional GitHub auth, capability lifecycle commands, update flow, and rollback guidance.13-contributor-roadmap.mddefines the public contribution map, label taxonomy, and the current help-wanted starter issue queue.14-git-and-github-workflow.mddefines the workspace-default collaboration path for local-only, git-only, GitHub-backed, and fork-plus-upstream repos when a repo does not provide its own clearer workflow.15-mcp-profiles-and-trust-levels.mddefines the official MCP v1 support boundary, trust classes, and placement rules.16-mcp-profiles.mddefines the named MCP bundles such asdefault-fullandsafe-readonly.17-mcp-install-and-health-check.mddefines the workspace-owned Codex MCP install, verify, and downgrade path.18-mcp-server-catalog.mddefines the small approved MCP server catalog for v1.19-mcp-authoring-rules.mddefines the quality bar for adding future tracked MCP examples.20-ai-context-side-load.mddefines the concrete v1 side-load generator,entry.mdrouting packet, provenance contract, and Workspace Hub freshness semantics for generatedcache/context/summaries plus the thin-versus-deep search split.21-agent-token-budget.mddefines the default context-loading limits, opt-in evidence paths, and search defaults for reducing agent token usage.HANDOVER.mdis the short current-state handover; detailed historical logs live underdocs/archive/.CHANGELOG.mdrecords notable workspace-level changes.
tools/bin/holds small wrappers or launch helpers.tools/scripts/holds reusable workspace scripts.tools/local/commands/holds Finder-friendly local launch commands for specific workspace tools or repos.tools/templates/holds starter metadata templates.tools/manifests/holds source lists and supporting manifests for scripts.tools/github-rulesets/holds importable repository ruleset JSON for GitHub.docs/archive/holds historical handover, setup, and implementation logs that should be opened only for targeted archaeology.docs/wiki/holds starter content for the optional GitHub wiki surface.docs/plans/holds tracked implementation plans for multi-session work (for example docs closeout).repos/workspace-hub/docs/holds repo-local documentation for Workspace Hub itself.repos/workspace-hub/docs/memory-graph.mdrecords the adapter-first graph visualization feature for MemPalace data in Workspace Hub.
Useful maintenance scripts:
tools/scripts/bootstrap-workspace.shprepares safe cache/context folders and can installworkspace-hubdependencies without touching sibling repos.tools/bin/workspace-memoryis temporarily disabled while the MemPalace write-lock and corpus-size behavior is reviewed.tools/bin/mempalace-startandtools/bin/mempalace-syncare tracked MemPalace service wrappers, but do not run them during the current workspace-memory pause unless tracked docs explicitly lift the pause.tools/scripts/bootstrap-repo.shpreviews or runs repo-native install/setup using manifestinstallCommandfirst, then package-manager precedence such as env override, manifestpackageManager,package.json, and lockfiles.tools/scripts/doctor-workspace.shruns a non-destructive environment and readiness check for the workspace, Workspace Hub, mixed-stack tooling, and Codex-related setup.tools/scripts/cleanup-sync-noise.shpreviews macOS and sync-client noise cleanup by default; pass--runto remove.DS_Store,Icon\r, and._*, including broken-ref cases when they leak into.git/.tools/scripts/install-shared-playwright-browser.shinstalls Playwright browsers such as Chromium into the shared workspace cache so multiple repos can reuse them.tools/scripts/print-workspace-env.shprints the shared workspace environment exports, including the shared Playwright browser cache path.tools/scripts/install-mcp-profile.shgenerates and optionally applies the managed Codex Workspace MCP block for a named profile.tools/scripts/check-mcp-health.shverifies the managed MCP block, expected active servers, tracked examples, and wrapper-based browser runtime assumptions.tools/scripts/init-agent-job-bundle.shpreviews or creates a local cache/context bundle for longer-running agent jobs undercache/context/agents/jobs/.tools/scripts/generate-context-cache.shpreviews or writes workspace and repo side-load summaries undercache/context/workspace/andcache/context/repos/, including the generatedentry.mdpacket that now acts as the default Hub handoff surface.tools/scripts/release-readiness.shruns the stable release gate: workspace doctors,workspace-hubtest/lint/build, skill-sync dry run, and placeholder-surface checks.tools/scripts/run-with-workspace-env.shruns a command with the shared workspace environment, including the shared Playwright browser cache path.tools/scripts/setup-workspace-profile.shprovides a guided, non-destructive profile check forcore,hub,mixed-stack,wordpress,agent-enhanced,workflow-state,spec-driven, andui-previews.tools/scripts/manage-workspace-capabilities.shlists, installs, updates, enables, disables, or uninstalls tracked workspace abilities and core services, with dry-run mode by default.tools/scripts/design-md.shis the canonical repo-levelDESIGN.mdwrapper for starter-template init,@google/design.mdlint/diff, and example-catalog delegation.tools/scripts/update-github-refs.shremains the compatibility wrapper for update-only reviewed GitHub-ref flows and delegates to the capability lifecycle command.tools/scripts/capture-site-reference.shpreviews or runs anhttrackcapture for a public-site reference repo, using conservative same-domain defaults and writing capture notes under repo-localref/httrack/.tools/scripts/workspace-port-allocator.shcentralizes workspace launcher port reservations undercache/runtime/ports/, so concurrent launchers can keep127.0.0.1stable and step to the next open port without colliding.tools/scripts/use-design-md.shmirrors the managed VoltAgent exampleDESIGN.mdcatalog ability intocache/design-md/catalog/, lists available site ids, and can copy a selected exampleDESIGN.mdinto a repo root.tools/scripts/sync-reference-snapshots.shpreviews or refreshes ignored upstream reference snapshots undertools/ref/, with dry-run mode by default.tools/scripts/sync-codex-skills.shpreviews or syncs tracked workspace skill sources into repo.codex/skills/folders plus optional.agents/skills/compatibility mirrors, with dry-run mode by default.tools/scripts/sync-tomevault-skills.shpreviews or syncs the manifest-managed public.agents/skills/mirror used for TomeVault distribution, with dry-run mode by default.tools/scripts/trim-git-repos.shperforms intentional Git maintenance acrossrepos/by explicitly running.gitsync-noise cleanup, expiring older reflog entries, and runninggit gcwith a conservative prune window.tools/scripts/update-all.shcan now fast-forward all repos or only a named repo group from a JSON manifest via--group.
Local launch examples:
tools/local/commands/Run Workspace Hub.commandstarts the Hub and opens the browser once it responds.tools/local/commands/Run Knowledge Palace UI.commandstarts the Knowledge Palace web UI and opens it once the local API is ready.
Useful template locations:
tools/templates/skills/holds starter skill packs, execution-mode conventions, and a selective install-profile example.tools/templates/repo-docs/holds a starter repoREADME.mdtemplate plus a placeholder cover image for new repo intake.tools/templates/design-md/holds the canonical repo-levelDESIGN.mdstarter template and notes for UI-heavy repos that want tracked design-system context.tools/templates/codex/holds starter material for official repo-local.codex/setup.tools/templates/opencode/holds starter material for optional.opencode/setup plus mixed-tool agent presets.tools/templates/mcp/holds the official MCP v1 profile and server examples, env templates, genericread-onlyversusmutatingstarter examples, and stdio/logging hygiene notes.tools/templates/openspec/holds lightweight tracked spec and change templates for larger work.tools/templates/ui-previews/holds guidance for repo-local component preview tooling.tools/templates/artifacts/holds the local artifact-bundle convention for longer-running agent jobs.tools/templates/workflow-state/holds guidance for optional local workflow-state layers such as.cognetivy/.tools/templates/agents-md/holds guidance for optionalAGENTS.mdcomposition when plain single-file authoring stops scaling.
When a workspace-wide feature lands, update the user-visible surfaces in the same slice:
- root
README.md docs/README.mddocs/CHANGELOG.md- relevant repo-local docs such as
repos/workspace-hub/README.md - optional navigation pages under
docs/wiki/when public navigation should expose the feature
Recent examples include Workspace memory, in-app MemPalace retrieval search, target-scoped MemPalace graph builds, the capability lifecycle, the source taxonomy, Hub-visible layout or capability flows, and the new managed Codex MCP profile flow.
Contributor-facing surfaces now also include the root README funnel, .github/CONTRIBUTING.md, the issue-template chooser, 13-contributor-roadmap.md, and 14-git-and-github-workflow.md.
The shared/ folder is reserved for workspace-facing metadata such as shared/repo-index.json and shared/standards.md.
- Core:
git,gh,jq,rg,fd,tree - Node: a version manager plus
npm,pnpm, andyarnwhere legacy repos need it - Python:
python3,pip, optionaluv - PHP:
composer,wp, optional Local or similar WordPress tooling
gh is recommended for maintainers and contributors who manage forks, pull requests, or reviewed upstream mirrors. gh auth login is optional setup, not a baseline requirement for a clean clone or release verification.
- npm:
cache/npm - pnpm:
cache/pnpm-store - yarn:
cache/yarn - pip:
cache/pip - Playwright browsers:
cache/playwright-browsers - Homebrew downloads:
cache/homebrew
Map package-manager caches here where practical, but keep project installs inside each repo.