Declare the merge behavior
The ruleset states the document family, owner selector, match key, read strategy, attachment strategy, and any optional surfaces or policies.
Process
StructuredMerge separates the declared contract from the engine that executes it. That separation is the point.
The ruleset states the document family, owner selector, match key, read strategy, attachment strategy, and any optional surfaces or policies.
Fixtures record expected behavior and diagnostic outcomes. They are used to compare engines without treating one engine as the standard.
The engine can use its own parser, data structures, and rendering path as long as the observable behavior matches the declared contract.
When a merge cannot safely finish, the result can expose unresolved cases with stable review identity and replay compatibility context.