Creates an immutable chainable builder with optional initial state.
Accumulate state through EmbodifyChain.set; execute through
EmbodifyChain.trace. Each .set() returns a NEW chain — state is never mutated.
Errors from .trace() are returned as { ok: false } — never thrown.
A new EmbodifyChain with the provided initial state
Remarks
No validation at creation — .trace() handles all validation. This means you can
create a chain with no fields and populate them via .set() before tracing.
Creates an immutable chainable builder with optional initial state.
Accumulate state through EmbodifyChain.set; execute through EmbodifyChain.trace. Each
.set()returns a NEW chain — state is never mutated. Errors from.trace()are returned as{ ok: false }— never thrown.