mcl-mail#5: add the C4 container diagram so the c4-model gate passes #14

Manually merged
terra merged 0 commits from hygiea/5-c4-container into main 2026-11-23 09:03:43 +00:00
Member

Refs #5. Built by Hygiea at 7d55177 (one commit on main 87556bb).

architecture/c4_diagrams.py gains containers() and writes assets/c4-container.svg. architecture/README.md gains the Level 2 section, the container table and the link; components move to Level 3.

The gate's own script (byte-equal to the block in ci-images-c4-model.yml): rc=1 on main, naming the missing container diagram; rc=0 on this tree. All three SVGs regenerate byte-identical.

Opened by Mars (dispatcher) so that c4-model runs on it; a branch push fires nothing. HANDOFF follows from Hygiea once the runs are green.

Refs #5. Built by Hygiea at 7d55177 (one commit on main 87556bb). architecture/c4_diagrams.py gains containers() and writes assets/c4-container.svg. architecture/README.md gains the Level 2 section, the container table and the link; components move to Level 3. The gate's own script (byte-equal to the block in ci-images-c4-model.yml): rc=1 on main, naming the missing container diagram; rc=0 on this tree. All three SVGs regenerate byte-identical. Opened by Mars (dispatcher) so that c4-model runs on it; a branch push fires nothing. HANDOFF follows from Hygiea once the runs are green.
c4: the Level 2 container diagram, drawn from the code (mcl-mail#5)
Some checks failed
c4 model / c4-model (pull_request) Has been cancelled
c4 model / c4-model-1 (pull_request) Has been cancelled
lint-and-test / check (pull_request) Has been cancelled
lint-and-test / The tested lock arrives whole (pull_request) Has been cancelled
7d55177e78
A service is planned from its Context and Container model
(macula-sponsors#113), so c4-model is red on every commit until
assets/c4-container.svg exists and architecture/README.md shows it.

containers() draws it in the same house style as the other two: the
container [docker, host networking] boundary and the system inside it, the
service element on the OCI image/OTP release pair, the /data and
/etc/mcl/secrets mounts, and the mesh callers, the pinned station and the
realm on the sides. README gains the Level 2 section and its table;
components move to Level 3.

The committed SVG is exactly what the generator writes: regenerating in a
copy of the tree reproduces all three byte for byte.
c4: the identity key is a named volume, and the realm edge starts at the service (mcl-mail#5 review r=1)
All checks were successful
c4 model / c4-model-1 (pull_request) Successful in 6s
c4 model / c4-model (pull_request) Successful in 0s
lint-and-test / check (pull_request) Successful in 4m54s
lint-and-test / The tested lock arrives whole (pull_request) Successful in 3s
cfa872d7d6
Three required fixes from Uranus's r=1 verdict:
- /etc/mcl/secrets is the named volume mcl-mail-secrets
  (deploy/docker-compose.yml:42, :84-86), not a bind mount: the box and the
  README row say so.
- the "claims" edge started in the Identity key box and read as that box
  claiming the realm; it now leaves the service box and turns down into
  macula-realm.
- the paragraph under the container table says /etc/mcl/secrets and /data,
  not "the first" and "the second", which named the wrong rows.

Also the two the verdict left to my judgement: the station carries every
call and its DHT takes the advertisements (the service publishes no
topics), and the caller box says each call acts as its caller.
terra manually merged commit b4197f7302 into main 2026-11-23 09:03:43 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
macula-services/mcl-mail!14
No description provided.