Knowledge Base Rules
- Markdown and Git are authoritative; rendered sites and indexes are derived.
- Search before creating a page. Prefer updating the established canonical page.
- Create a new page for a substantial topic with an independent lifecycle or when an existing page has become difficult to navigate.
- Record intent, authority boundaries, constraints, failure behavior, and non-obvious relationships—not facts trivially visible in one source file.
- Label verified behavior, decisions, hypotheses, experiments, deprecated material, and history accurately.
- Keep research separate from accepted architecture. Promote it only after verification or an explicit decision.
- Preserve important decisions with lightweight ADRs.
- Prefer links over duplicated explanations. Resolve contradictions instead of maintaining competing active descriptions.
- Do not paste raw chat transcripts. Distill durable knowledge and retain only necessary evidence.
- Never commit credentials, tokens, private player identifiers, or sensitive log content.
- Update relevant KB pages with implementation changes whenever practical. Cross-repository changes may use paired commits or pull requests.
- Reorganize incrementally with
git mv, updating links and known source references in the same change.