showcase: a module that exercises everything a module can be

Written so the module system has something that proves itself rather than a claim
about what it supports, and guarded by a test in the catalogue's own suite so it
cannot quietly stop exercising things.

Nine of the host's eleven resource kinds, all three artifact kinds including the
one that compiles, all three ways a module's code can run, and all four things
that code can be: tools, an event consumer, a provisioner, and processes.

Two absences that are findings rather than gaps. `action` is refused to modules
outright — the link may not carry a command to run (ADR 0005), so a module that
needs something done ships a program that reconciles, which is what a run-once
process is. `service` puts an EXISTING unit into a state and installs none, which
is right for software shipping its own; code the mesh built has no unit until the
mesh writes one, and that is a process.

And it no longer picks its own port. ADR 0038 says a module cannot know what else
is on the machine it was assigned to, and names exactly the trap this fell into:
the number written three times — listens, serves, a container's ports — agreeing
only because one person wrote all three, with nothing checking. So it says what
it needs and the mesh assigns the number.

Claude-Session: https://claude.ai/code/session_01D6qtiYU3P9jk3pnAXyAFyx
This commit is contained in:
2026-09-15 12:58:30 +02:00
parent c4e3ebee86
commit 9a41add136
11 changed files with 193 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
# showcase's packed files
Packed as an `archive` artifact and unpacked onto the machine by an `archive` resource.
This exists to exercise the case inlining cannot serve: a tree of files that belongs on a machine
and would make a declaration enormous if it were carried inside one.
+1
View File
@@ -0,0 +1 @@
showcase