Expand description
Stateless apply engine — pure function that transforms artifacts.
apply(artifact?, envelope) → (Artifact, Handle)
Synthesize: creates artifact from body. Edit: applies ops to existing artifact. Both return the artifact and a handle envelope.
Structs§
- Text
Resolver - Text-based resolver using
<gap:target id="...">markers.
Traits§
- Resolve
- Content resolution — how to find and replace targeted regions.
Functions§
- apply
- Stateless apply:
f(artifact?, envelope) → (Artifact, Handle). - apply_
edit - Apply edit operations using the Resolve trait (ID-based targeting).