HTTP
What gen emits for one
@Query action (illustrative; never hand-written in a service):
stackra gen check that every endpoint is one action, a rule file .agents/rules/http-conventions.md scoped to services/**, and a generated-client drift check (gen:client:check) in pnpm verify.
Events
Events are facts, not commands. A service publishes one when it needs another to react and does not need an answer now.
Envelope, defined once as
EventEnvelope in @stackra/contracts. The actor is the action pipeline’s Actor with its full onBehalfOf chain (0098):