Resource addresses
A resource address combines a capability kind and a provider-chosen namespace:queue.fulfillment is a
kind mismatch rather than an implicit conversion.
Command envelope
The supervisor assigns the command identity and logical time before dispatch:Causality and idempotency
The metadata fields answer different questions:
Reusing an idempotency key for the same resource and command returns the original result with
replayed: true. Reusing it for different input fails with conflict; Stack never guesses which
command the caller intended.
Stable errors
Components return a small shared error vocabulary:conflict, invalid_command, invalid_value,
kind_mismatch, not_found, undeclared_resource, and unavailable. Human-readable messages add
context, but callers can branch on the stable code.
Component process surface
Eachsimile-* component process exposes the same lifecycle routes:
The process writes one JSON readiness record to stdout. Diagnostics go to stderr, which makes the
process safe to supervise and compose without parsing human log text.
persistent is true. Every state
transition is checkpointed beneath SIMILE_HOME before its result is returned, including
logical-time advances, resets, restores, and failed commands that append journal state. See
Persistence for path, restart, and compatibility semantics.