mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-26 01:01:40 +00:00
* test: add unit tests for 8 untested modules (batch 3) New test files (143 tests total): - tools/debug_helpers.py: DebugSession enable/disable, log, save, session info - tools/skills_guard.py: scan_file, scan_skill, trust levels, install policy, structural checks - tools/skills_sync.py: manifest read/write, skill discovery, sync logic - gateway/sticker_cache.py: cache CRUD, sticker injection text builders - gateway/channel_directory.py: channel resolution, display formatting, session building - gateway/hooks.py: hook discovery, sync/async emit, wildcard matching - gateway/mirror.py: session lookup, JSONL append, mirror_to_session - honcho_integration/client.py: config from env/file, session name resolution, linked workspaces Also documents a gap in skills_guard: multi-word prompt injection variants like "ignore all prior instructions" bypass the regex scanner. * test: strengthen sticker injection tests with exact format assertions Replace loose "contains" checks with exact output matching for build_sticker_injection and build_animated_sticker_injection. Add edge cases: set_name without emoji, empty description, empty emoji. * test: remove skills_guard gap-documenting test to avoid conflict with fix PR |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_approval.py | ||
| test_clarify_tool.py | ||
| test_code_execution.py | ||
| test_cron_prompt_injection.py | ||
| test_cronjob_tools.py | ||
| test_debug_helpers.py | ||
| test_delegate.py | ||
| test_file_operations.py | ||
| test_file_tools.py | ||
| test_file_tools_live.py | ||
| test_fuzzy_match.py | ||
| test_interrupt.py | ||
| test_memory_tool.py | ||
| test_patch_parser.py | ||
| test_process_registry.py | ||
| test_registry.py | ||
| test_session_search.py | ||
| test_skills_guard.py | ||
| test_skills_sync.py | ||
| test_todo_tool.py | ||
| test_write_deny.py | ||