Skip to content

Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.

docs: require conventional commit messages

leepokai0db41cb3fff6
diff --git a/AGENTS.md b/AGENTS.md
index 83cdb413..cdc3c36e 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -42,4 +42,11 @@ Use Swift Testing (`@Test`, `#expect`), Rust unit tests, and the relay’s Node
## Commit & Pull Request Guidelines
-History mixes descriptive subjects with scoped Conventional Commits, such as `feat(macos): ...`. Keep subjects concise and changes focused. PRs should explain behavior changes, link relevant issues, list validation performed, and include screenshots for UI changes. Update affected documentation in the same change.
+- Conventional Commits: `type(scope): subject`. Types: `feat`, `fix`, `refactor`, `perf`, `docs`, `test`, `build`, `ci`, `chore`. Scope is the area touched: `ios`, `macos`, `kit`, `host`, `linux`, `cloud`, `relay`, `web`, `docs`.
+- Subject: imperative mood ("add", not "added"), lowercase after the colon, no trailing period, at most 72 characters (aim for 50). Say what changes for the user, not which files moved.
+- Body (after a blank line, wrapped at 72 columns) when the change isn't obvious from the subject: what and why, not how. Bullets are fine.
+- One logical change per commit. Don't mix unrelated work, and stage only your own hunks when others have uncommitted changes in the tree.
+- Breaking changes: `!` after the type/scope, or a `BREAKING CHANGE:` footer.
+- English only; no `Co-Authored-By` or other AI attribution trailers (the commit-msg hook rejects them).
+
+PRs should explain behavior changes, link relevant issues, list validation performed, and include screenshots for UI changes. Update affected documentation in the same change.
diff --git a/CLAUDE.md b/CLAUDE.md
index 163cc25f..ae002a3f 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -76,6 +76,15 @@ Whenever you build and install/run a new build, stop the old copies so nothing s
Folder layout, file naming and shared terms: [docs/architecture/file-structure.md](docs/architecture/file-structure.md). Follow it when adding or moving files.
+## Commit messages
+
+- Conventional Commits: `type(scope): subject`. Types: `feat`, `fix`, `refactor`, `perf`, `docs`, `test`, `build`, `ci`, `chore`. Scope is the area touched: `ios`, `macos`, `kit`, `host`, `linux`, `cloud`, `relay`, `web`, `docs`.
+- Subject: imperative mood ("add", not "added"), lowercase after the colon, no trailing period, at most 72 characters (aim for 50). Say what changes for the user, not which files moved.
+- Body (after a blank line, wrapped at 72 columns) when the change isn't obvious from the subject: what and why, not how. Bullets are fine.
+- One logical change per commit. Don't mix unrelated work, and stage only your own hunks when others have uncommitted changes in the tree.
+- Breaking changes: `!` after the type/scope, or a `BREAKING CHANGE:` footer.
+- English only; no `Co-Authored-By` or other AI attribution trailers (the commit-msg hook rejects them).
+
## Keeping this file short
- CLAUDE.md holds only rules an agent needs on every task. Reference material (file structure, naming tables, API details, audits, how-tos) goes in `docs/` as its own file, with a one-line pointer here.