A codex is a set of rules that lives beside the code.
Names, module boundaries, error handling and the way decisions are recorded affect how confidently software can be changed. For code we develop or refactor, we agree practical coding rules and documentation. They should help people work rather than create a separate ritual around identical formatting.
A useful codex explains why as well as how: where a component boundary belongs, what counts as an error, how to add a check and where to find an example. Rules do not replace careful review. Their scope fits the project, and changes are recorded alongside the code. We do not claim certifications or a universal quality standard. The agreement needs to be understandable to the actual team and usable in the work it is intended to support.

Fewer unwritten rules
We agree naming, file structure, module boundaries and error handling for the code we write. A few explained rules with examples are more useful than a large document that contradicts the repository. Formatting can be automated; responsibility for meaning remains with people.
Explain significant decisions
A decision record contains context, the chosen option and its consequences. It helps avoid repeating a discussion when contributors change. When conditions change, the decision can be revised with a visible reason. This is development documentation, not a standalone IT consulting service.
Ready for another developer
Setup examples, configuration notes and test instructions need checking in the agreed environment. Examples must not contain secrets. Handover materials, licences and rights are agreed in project terms; providing documentation does not imply indefinite care or operation.
Move from a description to a task for code.
Describe the intended behaviour, known dependencies and questions still to resolve. Timing, fees and terms are agreed individually.
Discuss the code ↗