Simple KB

Pre-release. Simple KB's first release on PyPI is on its way: until it's out, installing it won't find it.

Notes, review and verification

Notes, review and verification

A person's note, an agent's proposal approved by a person, and a page verified. Recorded with Apache Commons Lang 3.17 API docs (Apache License 2.0).

Notes

A note adds what a base’s documents don’t say: a fix, a gotcha, an answer. Notes live apart from the pages built from documents, so a rebuild never touches them.

skb note handbook runbooks/standby-lag ./standby-lag.md -t "Standby lag before failover"

Proposals

An agent with a contributor token proposes a note over MCP with propose: add, edit or deprecate one note, with a reason and where it comes from. Nothing is written until a person approves it.

skb proposals handbook
skb approve <proposal-id>
skb reject <proposal-id> --reason "We don't run WAL archiving."

In the portal, it’s the base’s Review page. Only people approve: no token can, even one with the reviewer role, and nobody approves their own proposal. An approved note is its proposer’s, and unverified.

Verification

A person with the verifier role marks a page as checked:

skb verify handbook sources/docs/runbook.md

Nobody verifies what they wrote. A check stays while the page’s text is unchanged, through every rebuild, and shows as stale once that page changes. Search and fetch say whether each page is verified, stale or unverified.

Write policy

Each base has one, set by an admin: review (the default: agents propose, people approve), direct (agents’ notes are written at once, still logged, for scratch bases) or readonly.

skb write-policy handbook review