A jw.inplace-link node deep-merges its sibling keys into the resolved
target. When the target resolves to a non-dict value, the merge is
skipped and the sibling keys are silently discarded, losing document
data without any warning.
Raise ValueError when the resolved target is not a mapping and the
node carries sibling keys, and add regression tests for scalar and
list targets.
Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v0.84.2
Signed-off-by: Jan Lindemann <jan@janware.com>