Four tests pinned the behaviour #239 changed and went red on master after
v3.16.0. The shipped code is correct; the assertions were describing the old
contract.
- test_claude_plugin_operations: PostToolUse is "Write|Edit", not
"Write|Edit|Bash". PreToolUse keeps Bash and its assertion is untouched.
- test_codex_hooks: the adapter emits hookSpecificOutput.additionalContext with
"hookEventName": "PostToolUse". The test now also asserts systemMessage is
ABSENT, so a silent revert to the user-facing field fails here rather than
only in test_post_tool_nudge.py.
- test_codex_plugin_operations: PreToolUse and PostToolUse no longer share one
matcher, so the single WRITE_MATCHER constant becomes PRE_TOOL_MATCHER and
POST_TOOL_MATCHER behind an EVENT_MATCHERS map. The spaced-cached-root case
reads the new field too.
These were caught by the full local suite finishing after the tag was pushed,
which is on me: the release went out on the targeted suites alone.