test(extproto): cover the extension wire contract and add a presence gate #33
Loading…
Reference in a new issue
No description provided.
Delete branch "clawdie/feat/test-presence-gate"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
extproto had no tests despite being the wire format both the host and the
extension SDK marshal. The new tests pin the invariants that break silently:
one frame per line, escaped payload newlines, omitted optional fields,
semantically intact extension JSON, loud marshal errors, and round trips.
scripts/test-presence.sh fails when a production package has no Test
functions. examples/ stay excluded (Go compiles them), and docs, embedded
assets, WASM wire types, and the shared conformance harness are allowlisted
with reasons; stale allowlist entries fail too. Wired into CI and make.