This workspace README is the master entry point for the handover pack used to build and evolve Codex Workspace.
It is intended to be given to Codex so it can:
- understand the overall architecture
- create the workspace structure correctly
- build the Workspace Hub application
- support local repo runtime and preview behaviour
- integrate with ServBay where useful
- avoid incorrect assumptions about shared dependencies or runtime models
This README is the single entry point for the pack.
The canonical handover Markdown now lives in tools/docs/.
The shared/ folder exposes linked copies for compatibility alongside workspace metadata.
Codex should read the files in this order:
Read first.
This explains the overall model, the main layers, the root path, and the relationship between Codex Workspace, Workspace Hub, ServBay, and repo-native runtimes.
Read second.
This defines the folder structure, shared caches, tooling layout, repo rules, and workspace-level conventions.
Read third.
This defines how repos should be discovered, launched, previewed, stopped, and optionally surfaced through ServBay.
Read fourth.
This is the implementation-oriented spec for the Workspace Hub app itself.
Read fifth.
This defines the preferred build order, milestones, acceptance criteria, and what should be considered out of scope for v1.
Read sixth.
This provides example data and references for manifests, repo metadata, and preview mode usage.
Read alongside the above files.
This provides behavioural rules and operating guidance for Codex while working in the workspace.
Read after the core pack if you are taking over an existing build.
This summarises current workspace state, recent doc moves, and recommended continuation points.
Use this for a compact record of workspace-level changes.
tools/docs/00-overview.mdtools/docs/01-codex-workspace-handover.mdtools/docs/02-local-runtime-handover.mdtools/docs/03-workspace-hub-build-spec.mdtools/docs/04-build-order-and-dod.mdtools/docs/05-examples-and-templates.mdtools/docs/HANDOVER.mdtools/docs/CHANGELOG.mdAGENTS.md
tools/templates/project-manifest.template.jsontools/templates/repo-index.sample.json
At a high level, Codex should produce:
At the folder named Codex Workspace/, wherever it lives on disk. For example:
~/Code/Codex Workspace/
~/Work/Codex Workspace/
Including:
repos/tools/cache/shared/
A separate application inside repos/ that can:
- scan sibling repos
- classify them
- launch and stop supported repos
- open previews
- capture repo cover screenshots and insert them into repo README files
- work with or without ServBay
Including:
- optional per-repo manifest files
- shared repo index support
- preview mode selection
Codex must preserve these core rules:
Do not create one shared node_modules or equivalent dependency directory across unrelated repos.
Share caches, not project installs.
Every repo must remain runnable independently.
ServBay is optional convenience, not a hard dependency for all repos.
Frontend/dev-server repos should usually prefer direct local runtime unless there is a tested reason to proxy them.
Condensed sequence:
- create workspace root and folders
- add shared docs and metadata placeholders
- scaffold
workspace-hub - implement repo discovery
- implement repo detection and manifest reading
- add open/start/stop flows
- add persisted metadata
- add ServBay-aware preview behaviour
- refine and harden
See tools/docs/04-build-order-and-dod.md for the detailed sequence.
This pack is designed to reduce ambiguity and avoid over-engineering.
The intended v1 outcome is:
- a well-structured desktop workspace
- a separate Hub app that is practically useful
- a mixed-runtime model that supports WordPress, static sites, Three.js, WebGL, and similar repos
- optional ServBay single-domain convenience
- clean foundations for future growth
This handover pack is successful when Codex can use it to build a system that is:
- understandable
- maintainable
- performant enough for daily local use
- flexible across mixed repo types
- not dependent on fragile shared dependency hacks
