Contributing
How to report a problem, pick up work and get a pull request merged.
Issues
All work starts from a GitHub issue.
| You want to | Do this |
|---|---|
| Report a bug | Open an issue with the bug label: what you ran, what you expected, what happened, and the ORC version (orc --version). |
| Ask for a feature | Open an issue with the enhancement label and the problem it solves. Add an area: label (area: sessions, area: mcp, area: flows, ...). |
| Pick something up | Comment on the issue before you start. good first issue and help wanted are open to anyone. |
| Report a security problem | Do not open an issue. Follow SECURITY.md. |
bash
gh issue list -R niradler/orc --label "good first issue"
gh issue create -R niradler/orc --label bug --title "..." --body "..."Pull requests
- Fork the repo, or branch from
masterif you have write access. Never commit tomaster. - Keep one PR per issue. Reference it in the body (
Fixes #123). - Run the pull-request checks. The pre-commit hook checks lint and formatting; the pre-push hook tests changed packages plus browser sanity, and those checks are the merge gate.
bun run ci:fullruns only before a release. - Update the docs page your change affects, in the same PR (see Docs).
- Open the PR:
bash
git switch -c fix/session-resume
git commit -m "Resume archived sessions from the Sessions page"
git push -u origin fix/session-resume
gh pr create --fillPRs are squash-merged, so the PR title becomes the commit message. Write it as what changes for the user.
Conventions
- Bun workspaces, TypeScript strict, ESM only, Biome for lint and format.
- Zod schemas are the contract for API routes, config and CLI arguments. Shared types live in
@orc/core/types; IDs come fromulid()in@orc/core/ids. - Import from the specific module; no barrel re-exports.
- Comments only for intent the code cannot show.
- UI work follows DESIGN.md; e2e selectors use
data-testid. - Every package shares one version. Releases bump them together; PRs don't.
AGENTS.md has the full rule set coding agents follow in this repo.
Docs
This site is built from docs/ with VitePress.
bash
bun run docs:dev # http://127.0.0.1:5173/orc/ with live reload
bun run docs:build # fails on dead links- A change to user-visible behavior, a CLI command, an MCP tool, a REST route, a config key or install steps updates the matching page in
docs/docs/. - A new page goes into the sidebar in
docs/.vitepress/config.ts. - Screenshots live in
docs/public/screens/. Capture them from a dev server with demo data, never from a real workspace.
After a docs change merges, a maintainer publishes it from an up-to-date master with bun run docs:deploy. It builds the site locally and pushes it to the gh-pages branch, which GitHub Pages serves.