Conventions
Shared rules live upstream so they stay consistent across repositories:
| Area | Source |
|---|---|
| CI, GitHub, Nix, and releases | hakulab/devkit |
| Writing, code design, testing, and delegation | hakulab/agents.nix |
| Rust, spelling, and Git workflow skills | hakulab/plugins |
This page records only the rules specific to oxide-code.
Architecture and Boundaries
Section titled “Architecture and Boundaries”- Minimal core: Keep
ox-coresmall and free of terminal UI dependencies. Follow the one-way dependency graph in Architecture Overview. - Out-of-process extensions: Official plugins under
plugins/are standalone executables with no Rust crate dependency onox-coreinternals.
Documentation
Section titled “Documentation”- Shipped behavior only: Record only behavior, flags, schemas, and protocols that exist in the codebase. Add
docs/reference/pages and additionaldocs/architecture/pages in the PR that ships the feature, and update affected docs in the same PR as behavior changes. - Focused pages: Keep each document under ~300 lines. When a topic outgrows its page, split it into a focused sibling page under
architecture/orreference/. - RFCs in GitHub Issues: Track design proposals and surveys as GitHub issues (
rfc,designlabels).