using ClawdDotNet.Tools.Taskboard; using Shouldly; namespace ClawdDotNet.Tools.Tests.Taskboard; /// #726: Agents hear of workflow proposals only in an instance that works with n8n. public sealed class AutomationHintTests { [Fact] public void The_hint_follows_the_n8n_switch() { var enabled = false; var tool = new EscalationTool { AutomationEnabled = () => enabled }; tool.Description.ShouldNotContain("automation_propose"); enabled = true; tool.Description.ShouldContain("automation_propose"); new EscalationTool().Description.ShouldNotContain("automation_propose", customMessage: "without the host saying so, nothing is proposed"); } }