Skip to content

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

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.

All playbooks live in this section, one page per subject or procedure. To add one:

  1. Create site/src/content/docs/playbooks/<slug>.md (or .mdx) with title, description and, if the label should be shorter, sidebar.label.
  2. Add the slug to the Playbooks group in site/astro.config.mjs.
  3. Add a row to the right table on this page.
  4. Add a ## [Unreleased] entry to CHANGELOG.md.

Do not start a new top-level section for a playbook.

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.

  1. A decision names its source (an owner message with its date, a repository file, an issue).
  2. “Decided, not built” is said wherever that is the case.
  3. No counts of live things in prose; they go stale. Say how to measure them.
  4. A playbook for a product (weather, news) follows these and does not restate them.
  5. 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.
  6. Where two written rules conflict, the playbook lists both under “Open for the owner” and does not choose.