diff --git a/AGENTS.md b/AGENTS.md index fb917e8..7a9c6d6 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,5 +1,34 @@ # Agents — Botsmann + + +## Org rules + +Read `bitbaum/fleet` `AGENTS.md`, `SHARED.md` and the registers it names before +inventing a host, a name, a page or a shared behaviour. Do not copy their facts +into this file. + +- **Packages first.** If a `@bitbaum/*` package (or `bip-kit`, `limitkit`, + `threadkit`, `ai-forms`) already does it, use it and fix a defect in the + package, not in this app. Every chat is `@bitbaum/chatkit`, every search box + `@bitbaum/searchkit`, every chart `@bitbaum/chartkit`, accounts + `@bitbaum/accountkit`, model calls `@bitbaum/ai-kit`. Review this product's + `package-plan.json` before building anything. +- **One shape per kind.** Things of the same kind look the same and sit in the + same place (fleet `AGENTS.md`, "One shape per kind"). +- **Finished work ships by itself.** Open a non-draft pull request; the fleet + auto-merge sweep is the only merge path. Never merge by hand, through the + merge API, with `--auto` or with an admin bypass, and never force-push a + shared branch. +- **Nothing made up.** A fact on a page or in a doc needs a source that was + opened; where there is none, the line is removed or softened. +- **Bitcoin orange is for Bitcoin and top-of-funnel actions only.** +- **No model identifier** in anything pushed to a repository. +- Before you finish, run `node /scripts/ci/docs-truth-audit.mjs --dir .`: + the same check the sweep runs on every pull request. + + + Organization rules and package ownership are maintained in [bitbaum/fleet AGENTS.md](https://github.com/bitbaum/fleet/blob/main/AGENTS.md). Use the owning shared package for reusable behavior; document justified exceptions. diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..395e54f --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,2 @@ +Read [AGENTS.md](AGENTS.md). It points at `bitbaum/fleet` `AGENTS.md`, which +every agent reads; nothing here restates either.