Index

Mechanoid makes domain workflows an explicit, typed state graph on ZIO: enums (or sealed traits) for states and events, a tailored DSL for transitions and composition, and assemblies validated at compile time. Keep writing ZIO for effects; add persistence, durable timeouts, and distributed coordination as optional layers when the domain needs them.

Every page here is a Specular DocSpec: examples assert under zio-test, and machines are rendered with mermoid so the picture cannot drift from the code.

Core

libraryDependencies += "rocks.earlyeffect" %% "mechanoid" % "0.3.2"
libraryDependencies += "dev.zio" %% "zio" % "2.1.26" // provided by mechanoid

PostgreSQL (optional)

libraryDependencies += "rocks.earlyeffect" %% "mechanoid-postgres" % "0.3.2"

Documentation

Continue with: