package mcp

import (
	"testing"

	"github.com/stretchr/testify/require"
)

func TestFormatSendMessageSuccess_AppendsContinuationReminder(t *testing.T) {
	got := formatSendMessageSuccess("Message sent.")

	require.Contains(t, got, "Message sent.")
	require.Contains(t, got, "accepted review feedback")
	require.Contains(t, got, "continue substantive work now")
	require.Contains(t, got, "The daemon will not wake you merely because you sent this message")
}

func TestFormatSendMessageSuccess_DefaultsWhenTextEmpty(t *testing.T) {
	got := formatSendMessageSuccess("   ")

	require.Contains(t, got, "Message sent.")
	require.Contains(t, got, "End only when complete or genuinely blocked.")
}
