Entity: ADR-003

Brief: Custom Doxygen-style tags embedded in plain Markdown are the documentation protocol for all wiki files.

Context

The wiki needs a documentation standard that satisfies two audiences simultaneously: human developers reading Markdown files directly in editors or on GitHub, and LLM agents parsing files for structured information. Additionally, builder.py needs a machine-readable hook to apply custom rendering beyond standard Markdown.

Decision

Custom Doxygen-style tags (@entity, @brief, @snippet, @note, @warning, @param, @return) are embedded inline in standard Markdown files. These are not standard Doxygen — they are a lightweight convention unique to Ourobor OS.

builder.py uses regex substitution to convert tags into styled HTML before passing content to mistune for Markdown rendering.

Alternatives Considered

Trade-offs

Rationale

The tags need to be readable by a human skimming a file on GitHub and by an LLM processing context. They also need to provide a rendering hook for the web UI. Inline Markdown with lightweight tags is the only approach that satisfies all three without introducing external tooling or breaking standard Markdown rendering.