Skip to content

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.

  • Minimal core: Keep ox-core small 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 on ox-core internals.
  • Shipped behavior only: Record only behavior, flags, schemas, and protocols that exist in the codebase. Add docs/reference/ pages and additional docs/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/ or reference/.
  • RFCs in GitHub Issues: Track design proposals and surveys as GitHub issues (rfc, design labels).