test(browser): reject unmodeled CDP commands in protocol fixtures

This commit is contained in:
morluto
2026-10-09 03:13:53 +08:00
parent ffd9611308
commit 017297c40c
5 changed files with 71 additions and 10 deletions
+4
View File
@@ -30,6 +30,10 @@ one golden malformed-input case and a real filesystem lifecycle that proves
configure, update, readback, and removal; an add-only journey does not cover the
whole lifecycle.
Protocol fixtures must model the commands they support and their producer reply
shapes. Reject unmodeled commands instead of returning a generic success; an
empty result is appropriate only for a supported command with no result fields.
Keep transport-only in-memory MCP sessions in the MCP boundary lane and direct
filesystem workflows in the filesystem boundary lane. Real process-tree capture
belongs in the serial process boundary lane, including captures invoked through