Domain docs
- Where to start
Needs by profile
- Glossary
Integrations
Architecture
Reference
Card BR-AGT-05
When a Claude Code event has no session identifier, then it is refused with The hook event carries no session_id, the thread its values belong to.
Where the rule lives 1
Direct tests 11
The test, or a helper of its file, calls the rule's code.
- tests/integrations/test_claude_code_hooks.py::test_an_event_without_a_session_id_is_refused
- tests/integrations/test_claude_code_hooks.py::test_missing_field_is_a_no_op
- tests/integrations/test_claude_code_hooks.py::test_post_tool_use_anonymizes_grep_matching_lines
- tests/integrations/test_claude_code_hooks.py::test_post_tool_use_anonymizes_read_content_leaves_path
- tests/integrations/test_claude_code_hooks.py::test_post_tool_use_anonymizes_string_output
- tests/integrations/test_claude_code_hooks.py::test_post_tool_use_edit_anonymizes_text_leaves_metadata
- tests/integrations/test_claude_code_hooks.py::test_post_tool_use_leaves_grep_file_names_untouched
- tests/integrations/test_claude_code_hooks.py::test_post_tool_use_unknown_tool_is_passthrough
- tests/integrations/test_claude_code_hooks.py::test_pre_tool_use_deanonymizes_tool_input
- tests/integrations/test_claude_code_hooks.py::test_unknown_event_is_a_no_op
- tests/integrations/test_claude_code_hooks.py::test_user_prompt_submit_records_the_prompt_without_a_mutation
Indirect tests 0
The test builds its class or calls another function of its module, which leads to the rule.
No indirect test found.
Used by 2
Read from the code graph graphify builds, at the places the domain documentation gives.