|
| 1 | +# Contributing |
| 2 | + |
| 3 | +Thanks for contributing to Codex Workspace. |
| 4 | + |
| 5 | +This repository is primarily for: |
| 6 | + |
| 7 | +- workspace-level documentation |
| 8 | +- workspace structure, templates, and scripts |
| 9 | +- the vendored `repos/workspace-hub/` application |
| 10 | + |
| 11 | +Open an issue before starting broad structural changes, major runtime-policy changes, or large UI shifts in Workspace Hub. |
| 12 | + |
| 13 | +## Core rules |
| 14 | + |
| 15 | +- Keep unrelated repositories independent. |
| 16 | +- Share caches, not installs. |
| 17 | +- Do not make ServBay mandatory. |
| 18 | +- Put canonical workspace docs in `docs/`. |
| 19 | +- Keep repo-local docs with the repo they describe. |
| 20 | + |
| 21 | +## Local setup |
| 22 | + |
| 23 | +Clone the repository and review the main docs: |
| 24 | + |
| 25 | +```bash |
| 26 | +git clone https://github.com/RichardGeorgeDavis/Codex-Workspace.git |
| 27 | +cd Codex-Workspace |
| 28 | +``` |
| 29 | + |
| 30 | +For documentation, metadata, or script-only changes, no additional setup is required. |
| 31 | + |
| 32 | +For `workspace-hub` changes: |
| 33 | + |
| 34 | +```bash |
| 35 | +cd repos/workspace-hub |
| 36 | +pnpm install |
| 37 | +pnpm lint |
| 38 | +pnpm typecheck |
| 39 | +pnpm build |
| 40 | +``` |
| 41 | + |
| 42 | +## Pull requests |
| 43 | + |
| 44 | +Please keep pull requests focused. |
| 45 | + |
| 46 | +- Explain the problem and the change clearly. |
| 47 | +- Update docs when behaviour or conventions change. |
| 48 | +- Include verification steps for `workspace-hub` changes. |
| 49 | +- Avoid unrelated cleanup in the same PR. |
| 50 | + |
| 51 | +## Scope guidance |
| 52 | + |
| 53 | +Good contribution targets: |
| 54 | + |
| 55 | +- README and docs improvements |
| 56 | +- workspace templates and scripts |
| 57 | +- metadata conventions |
| 58 | +- Workspace Hub UX, runtime handling, and repo classification |
| 59 | + |
| 60 | +Avoid in this repo: |
| 61 | + |
| 62 | +- adding unrelated project code under the workspace root |
| 63 | +- introducing shared dependency installs across independent repos |
| 64 | +- hard-coding one runtime model for every stack |
| 65 | + |
| 66 | +## Questions |
| 67 | + |
| 68 | +- Review [README.md](../README.md) |
| 69 | +- Start with [docs/README.md](../docs/README.md) |
| 70 | +- Open an issue if the intended change affects workspace conventions |
| 71 | + |
| 72 | +By contributing, you agree that your contributions will be licensed under the [MIT License](../LICENSE). |
0 commit comments