No description
Find a file
2026-11-24 01:10:59 +01:00
architecture docs: rewrite all notes in our own words with sources 2026-09-29 15:05:47 +02:00
beam docs: rewrite all notes in our own words with sources 2026-09-29 15:05:47 +02:00
elixir docs: rewrite all notes in our own words with sources 2026-09-29 15:05:47 +02:00
erlang docs: rewrite all notes in our own words with sources 2026-09-29 15:05:47 +02:00
event-sourcing docs: reword borrowed phrases and tighten the process manager framing 2026-10-20 00:29:05 +02:00
testing docs: rewrite all notes in our own words with sources 2026-09-29 15:05:47 +02:00
GLOSSARY.md docs: three Greg Young patterns, process managers defined by their job 2026-10-20 00:23:29 +02:00
INDEX.md docs: three Greg Young patterns, process managers defined by their job 2026-10-20 00:23:29 +02:00
LICENSE Scaffold corpus: BEAM, OTP, event sourcing domains with index and glossary 2026-09-29 11:08:26 +02:00
README.md README: add the Buy Me a Coffee badge 2026-11-23 22:20:00 +00:00
SECURITY.md SECURITY.md: response times, attachment and identity rules, drills (macula-io/macula#174) 2026-10-31 02:59:05 +01:00

title layer audience stage
mcl-beam-corpus index
agent
human
stable

mcl-beam-corpus

Buy Me a Coffee

Knowledge corpus for BEAM languages (Erlang, Elixir), OTP, Event Sourcing / CQRS, and the architecture above them. Markdown only — this repo is ingested by mcl-rag, the mesh's shared memory.

This repository holds reference knowledge an agent on the Macula mesh can recall: how the BEAM works, how to structure OTP applications, how to build event-sourced systems, and how to test all of it. It contains no runtime code. It is one domain corpus of the mesh's federated retrieval.

mcl-rag ingestion notes. The sync loop fast-forwards this repo and re-embeds changed **/*.md files every 120 s. A commit is a deploy: the new knowledge is searchable within two minutes. Every note is chunked as written, so keep headings tight and paragraphs short.


Start here

You are Read
Agent, first recall INDEX.md → domain map
Human, first contact INDEX.md → read top-down
Looking for a term GLOSSARY.md
BEAM/OTP questions beam/
Elixir-specific questions elixir/
Erlang-specific questions erlang/
Event sourcing / CQRS questions event-sourcing/
Testing questions testing/

Layout

Domain Where Purpose
BEAM & OTP beam/ The virtual machine, applications, supervisors, fault tolerance, distribution
Elixir elixir/ The language: macros, protocols, structs, mix
Erlang erlang/ The language: modules, records, parse transforms
Event Sourcing & CQRS event-sourcing/ Events, projections, checkpoints, sagas, process managers
Testing testing/ ExUnit, property-based testing, fault injection
Architecture architecture/ Event-driven, layered, microservices — the system-level patterns

Conventions

  • Front-matter on every note: title, layer, audience, stage.
  • One pattern per note. Notes are lookup targets for RAG, not books. A note that covers two patterns is two notes.
  • Language-neutral where possible. Event-sourcing notes describe the pattern; code snippets show Elixir only when it adds clarity.
  • stage is draft, stable, or superseded. Superseded notes link to their replacement instead of being deleted, so old recalls still point somewhere.
  • License: MIT. Deposit only knowledge you may license as MIT.