test(e2e): phase 4 - compaction continuity tests#658
Merged
Conversation
Owner
Author
|
@copilot resolve the merge conflicts in this pull request |
Co-authored-by: sytone <1399443+sytone@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Phase 4 E2E tests covering compaction quality and continuity, grounded in real production failure modes observed in session history and informed by the Hermes agent framework (https://github.com/NousResearch/hermes-agent).
Closes / validates fix for #655.
What's tested
CompactionContinuityTests.cs— 7 tests:SlashCompact_NotificationBubble_HasSystemMessageStylingchat-system-messagetestid — NOT styled as assistant messageSlashCompact_NextTurn_AgentRespondsNormallyPostCompaction_NewMessage_RespondsToNewTopic_NotSummaryTask## Active Taskin summary (Hermes SUMMARY_PREFIX guardrail)PostCompaction_StopSignal_EndsInFlightWorkDoubleCompact_AgentContinuesAfterBothCyclesSlashCompact_NoCronConversationCreatedSlashCompact_NotificationAppearsBeforeNextResponseNew mock scripts
COMPACTION_TASK_SEED— seeds a "monitoring" task context for guardrail testsCOMPACTION_STOP_SIGNAL— returns a stop-acknowledged responseBackground
See issue #655 for the full analysis of Hermes's approach vs BotNexus's current compaction gaps. These tests will fail on the current codebase in places where the gaps exist — that is intentional. They document the expected behaviour and will go green as #655's fixes land.