zeroclaw/tests/integration
Nim G f812dbcb85
feat(channels): add message redaction API to Channel trait (#4458)
* feat(channels): add message redaction API to Channel trait

Add redact_message() method to Channel trait with default no-op implementation.
Implement for MatrixChannel using existing room.redact() SDK method.
Add comprehensive test coverage for trait default and Matrix implementation.

Changes:
- src/channels/traits.rs: Add redact_message() default method and test
- src/channels/matrix.rs: Implement redact_message() for MatrixChannel
- tests/integration/channel_matrix.rs: Add RedactMessage event, test channel impl, and lifecycle test

Tests added:
- default_redact_message_returns_success (trait default)
- redact_message_lifecycle (MatrixTestChannel)
- Updated minimal_channel_all_defaults_succeed

All tests pass. No breaking changes.

* test(channels): clarify redact_message test coverage

* fix(channels): use OwnedRoomId for matrix redact_message room lookup

RoomId is unsized (wraps str), so inlining .parse() in
get_room(&target_room.parse()?) fails to compile with the
channel-matrix feature. Use an intermediate OwnedRoomId binding,
matching the pattern used in send() and listen().
2026-03-24 01:43:41 -04:00
..
agent_robustness.rs test: restructure test suite into five-level taxonomy 2026-03-11 11:03:33 -04:00
agent.rs fix(agent): use Gregorian datetime and prioritize date context in prompts (#4369) 2026-03-23 14:14:56 -04:00
channel_matrix.rs feat(channels): add message redaction API to Channel trait (#4458) 2026-03-24 01:43:41 -04:00
channel_routing.rs feat(channels): add automatic media understanding pipeline (#4402) 2026-03-23 15:14:11 -04:00
hooks.rs test: restructure test suite into five-level taxonomy 2026-03-11 11:03:33 -04:00
memory_comparison.rs feat(memory): add time range filter to recall (since/until) 2026-03-21 07:46:34 -04:00
memory_restart.rs feat(memory): add time range filter to recall (since/until) 2026-03-21 07:46:34 -04:00
mod.rs fix(telegram): avoid duplicate finalize_draft messages (#3259) 2026-03-16 18:24:19 -04:00
telegram_attachment_fallback.rs test: restructure test suite into five-level taxonomy 2026-03-11 11:03:33 -04:00
telegram_finalize_draft.rs fix(telegram): avoid duplicate finalize_draft messages (#3259) 2026-03-16 18:24:19 -04:00