Playbooks
A playbook holds the decisions for one subject. When a question comes up, the answer is in the playbook or the playbook has a gap. A gap is filled by deciding it once with the owner and writing it down. Then everyone builds the same way.
| Playbook | Decides |
|---|---|
| Data | Domains, standards, the canonical model, events as the record, what is not Mongo |
| Platform | Where code runs, Rust and wasmtime, releases, secrets, what must never break |
| API | The four gateways, contracts, errors, auth, limits, conventions |
| Open data | What we publish, in what form, with what privacy guarantee |
| Analytics | How we measure without surveilling |
| Releases | Branches, versions, the release app, the merge gate and the rules still in conflict |
| Web | Astro, Rust serving, PWA, link previews and discoverability |
| Identity | WorkOS, one canonical id, staff roles versus plans versus entity capabilities |
| Notifications | What is decided and built about push, and the owner steps left |
| Agents | How agents work here: issues, hygiene, progress reports, what needs the owner |
| Weather | The weather goal and its objectives. It follows the other playbooks |
| News | Mukoko News: vehicle not publisher, metering, open data, reads through the API |
Operations playbooks
Section titled “Operations playbooks”Procedures, not narrative: how the orchestrator, its sub agents and any human run the Nyuchi, Bundu and Mzizi estate. Written 2026-11-28 from procedures established the hard way. Every command was checked against a real repo; where a procedure depends on a repo-specific file, the file is named. Where a page here and a repo’s own AGENTS.md disagree, the repo wins. Rules that live elsewhere are linked, not copied: the Engineering guide, Contributing, Org settings and rulesets and, for the Mzizi build loops (authoring, change, progress, freshness), the Mzizi playbook.
No secret, token value, personal datum, private hostname or IP belongs in these pages or in any PR, issue or chat. Name a secret, never show it.
| Playbook | Decides |
|---|---|
| Roles and authority | Who does what, classifier denials, sandbox and rate limit, sub agent briefs |
| Trunk-based estate rules | main only, no staging, merge queue and merge rules |
| Release procedure | How tagging works, npm, crates.io, Homebrew and clean-directory verification |
| Making a repo public | The checks before a private repo goes public |
| Security triage | Code-scanning and secret-scanning alerts, never weakening a check |
| Incident response | What to do when something is down or exposed |
| Dependency policy | Minimum versions, caps, Dependabot |
| Naming, identity and where things live | Names, identities, secrets and where each thing is kept |
| Known sharp edges | Traps that have already cost time |
| Adopting lint | Turning on the org lint gate in a repository |
| Port a router to Rust | How an agent ports one Nyuchi API router to Rust, proves it against Python, and leaves the route flip to the owner |
Playbooks are how engineering is done with agents. Standards and reference documents (the Engineering guide, Contributing, the README standard, Org settings and rulesets) are in Engineering.
Adding a playbook
Section titled “Adding a playbook”All playbooks live in this section, one page per subject or procedure. To add one:
- Create
site/src/content/docs/playbooks/<slug>.md(or.mdx) withtitle,descriptionand, if the label should be shorter,sidebar.label. - Add the slug to the Playbooks group in
site/astro.config.mjs. - Add a row to the right table on this page.
- Add a
## [Unreleased]entry toCHANGELOG.md.
Do not start a new top-level section for a playbook.
Where the structure lives
Section titled “Where the structure lives”The playbooks say how we decide. The structure of the data and the standards we adopt and publish live in bundu-labs/bundu-standards: register/ for standards we adopt, standards/ for the ones we publish. The canonical model moves there too. A playbook links to a standard by its register id and never restates it.
Rules for the playbooks themselves
Section titled “Rules for the playbooks themselves”- A decision names its source (an owner message with its date, a repository file, an issue).
- “Decided, not built” is said wherever that is the case.
- No counts of live things in prose; they go stale. Say how to measure them.
- A playbook for a product (weather, news) follows these and does not restate them.
- Each playbook says when it was last reviewed. A review reads the repositories, the open pull requests and the live inventory again, and says what it could not verify.
- Where two written rules conflict, the playbook lists both under “Open for the owner” and does not choose.