Skip to content
Almena Network— version v2026-12-beta
Auto
English

Conventions

Rules for writing and maintaining the Almena specifications.

  • The canonical version of each specification is the English one, with a translation into Spanish.
  • Current phase: the specifications were first written in Spanish. The English version was generated from the Spanish one and has been the reference version since then. If the two differ, the English one prevails.
  • Each language has its own folder, with the same file names: src/content/docs/v2026-12-beta/framework/vision.md (English) and src/content/docs/es/v2026-12-beta/framework/vision.md (Spanish).
  • Folder and file names are always in English, even when the content is in Spanish.

The specifications use the keywords of RFC 2119 and RFC 8174, written in capitals and in English so that there is no ambiguity in either version:

Keyword Meaning
MUST / MUST NOT Mandatory. An implementation that does not comply is not conformant.
SHOULD / SHOULD NOT Recommended. It can only be ignored for a justified reason and understanding the consequences.
MAY Optional.

They only have normative value when they appear in capitals. The rest of the text is explanatory.

Type What it is for Normative?
Framework What is in framework/: vision, principles, network, conformance, glossary, use cases. Only its cross-cutting requirements written with MUST, MUST NOT, SHOULD or MAY, which apply to all components. The rest is explanatory.
Specification What an implementation must do to be conformant. Yes
Note Justifications, discarded alternatives, examples. No

Documents carry no header of their own: their status and version are those of the specification version they belong to (4.1). A specification version is in one of these states:

  • draft: under construction, may change completely.
  • proposal: complete and open for review.
  • stable: can be implemented. Incompatible changes require a new version.
  • obsolete: replaced by a later version, which is linked.
  • The specification as a whole is published in versions named after the year and month of publication: vYYYY-MM. Not every month has a version.
  • While a version is still a draft open to changes it carries the suffix -beta: vYYYY-MM-beta, for example v2026-12-beta. A beta version may change without notice; it drops the suffix when it is closed.
  • Each version is a complete, frozen set of documents. A new version copies the previous one and changes what is needed; earlier versions remain published.
  • latest always points to the most recent version.
  • The previous version is maintained for at least 12 months after a new one is published (governance, 2).
  • A document in client/ MUST NOT depend on a document in node/, and vice versa.
  • Everything both need to share goes in framework/ (cross-cutting requirements), cryptography/ (algorithms and keys), interface/ (node–client transport) or protocols/ (messages between participants).
  • The protocol between nodes goes in node/, because only nodes implement it.
  • If, when writing a specification, it is necessary to refer to the other side, it is a sign that something is missing in interface/ or in protocols/.
  • The specification says what a conformant component must do. How it is built, deployed or operated is implementation.
  • This repository contains only the specification. Implementation ideas and decisions (technology, platforms, deployment, the name of a particular implementation) do not go here: they belong to each implementation’s own project.
  • If an implementation idea becomes a requirement, it is written into the specification as a requirement, independent of any implementation.
  • Every timestamp in a message, record or example MUST follow RFC 3339 in UTC with the Z suffix, for example 2026-11-27T12:39:38Z. No time offsets or local times are used.
  • All code (field names, message types, credential types, error codes, statuses) is in English. Data values (for example, a person’s name) are never translated. Translation is the exclusive responsibility of each application’s presentation layer and is not specified in the protocols.
  • When a specification needs to refer to a language, it uses BCP 47 tags (for example en, es, pt-BR).
  • Markdown, one sentence or idea per short paragraph.
  • Terms defined in the glossary are written in italics the first time they appear in a document.
  • Unresolved questions are collected at the end of each document in an Open questions section.
  • Diagrams are written in Mermaid inside the Markdown, so they can be reviewed and translated like the text.
  • Each kind of resource always has the same colour, shape and icon, in every diagram and in both languages. Every diagram has a legend with the kinds it shows.
  • A new diagram marks each resource with its kind: in a flowchart, with the node’s shape and :::kind; in a sequence diagram, with a comment %% kinds: W=wallet E=entity, and a person is an actor.
  • A diagram that is too wide to read is split or drawn vertically.
Kinds of resource in the diagrams