CODE-046: kv bad-key refusal is unreachable bad keys silently go YAML

Now
OPEN
Sev
LOW
Rep
///bee
Ask
gritzko
Rev
///bee#184fddf
See
BEE-024

Input

Context

index/kv.js:394:9B-399: yaml = f.yaml === true || codeOf(key) === null makes the following code === null throw impossible yamlCode never returns null. The user-facing "not a meta key pass yaml:true" refusal can never print, and a mistyped meta key silently switches to the YAML lane instead of being rejected (BEE-024 keyed lane). Found in the 2026-08-21 review.

Goals

Order the tests so an unknown key without yaml:true refuses again; unit repro asserting the refusal text.

WIP

TODOs

Outcome