Forge
csharpdeeb25a2
1using CascadeIDE.Services;
2using Xunit;
3
4namespace CascadeIDE.Tests;
5
6/// <summary>ADR 0150: канонический каталог без legacy requires_arg_tail.</summary>
7public sealed class IntentCatalogArgTailPolicyTests
8{
9 [Fact]
10 public void BundledIntentCatalog_HasNoLegacyRequiresArgTail()
11 {
12 var repoRoot = Path.GetFullPath(Path.Combine(AppContext.BaseDirectory, "..", "..", "..", "..", ".."));
13 var catalogPath = Path.Combine(repoRoot, IntentMelodyAliases.BundledRelativePath);
14 Assert.True(File.Exists(catalogPath), catalogPath);
15
16 var text = File.ReadAllText(catalogPath);
17 Assert.DoesNotContain("requires_arg_tail =", text, StringComparison.Ordinal);
18 }
19}
20
View only · write via MCP/CIDE