using ClaudeDo.Data;
using Xunit;

namespace ClaudeDo.Data.Tests;

public class SystemPromptTests
{
    [Fact]
    public void SystemDefault_mentions_SuggestImprovement_offload()
    {
        var prompt = PromptFiles.DefaultFor(PromptKind.System);
        Assert.Contains("Out-of-scope improvements", prompt);
        Assert.Contains("SuggestImprovement", prompt);
    }

    [Fact]
    public void ImprovementChildDefault_is_present_and_scopes_narrow()
    {
        var prompt = PromptFiles.DefaultFor(PromptKind.ImprovementChild);
        Assert.False(string.IsNullOrWhiteSpace(prompt));
        Assert.Contains("follow-up", prompt, StringComparison.OrdinalIgnoreCase);
        Assert.Contains("nothing more", prompt, StringComparison.OrdinalIgnoreCase);
    }
}
