Files
rustybeds/wiki/Home.md
gramps f50396b390 Add structs/logging docs, wiki/07-notes with Spew architecture, fix Home index
- src/config/structs.rs: full file header + rustdoc on every struct and field
- src/logging.rs: full file header + rustdoc on init_from_config(), inline comments
- wiki/07-notes.md: design notes page — Spew/no-nazi-twitter concept documented
  (Justin Bieber fan-out problem, KWIC moderation gate, IPFS media storage,
   timeline assembly tradeoffs, open questions, architecture diagram)
- wiki/Home.md: corrected broken 07-broker-calls.md link; added notes section
- README.md: added wiki/07-notes.md to wiki index

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-04 20:48:21 -07:00

2.0 KiB

BEDS — Back End Data System

Developer Wiki

Welcome to the BEDS developer wiki. This is a living document. It grows with the codebase and should be updated whenever a design decision is made, a pattern is established, or a component is implemented.

If you are reading this as a new contributor, start here and read in order. The origin story is not fluff — it explains why BEDS is built the way it is, and understanding the why is the difference between extending the framework correctly and breaking it subtly.


Table of Contents

Foundation

Operations

Messaging

  • Queue Topology — AMQP exchanges, queues, routing keys, and the broker model

Notes

Data

  • Template System — REC and REL templates, the TLA convention, schema-as-contract
  • Event Lineage — Compound event IDs, parent/child relationships, depth tracking

Reference

  • Glossary — Terms, abbreviations, and conventions used throughout BEDS

Contributing to This Wiki

  • Write for the programmer who inherits this code after a two-week handoff with no knowledge transfer
  • Document decisions, not just mechanics — why matters more than what
  • Dated history entries belong in source code comments, not here — the wiki covers concepts, not changelogs
  • When you change the system, update the wiki in the same commit