fix(TASK-028): pin global-template exclusion, tighten timeout boundary test, reword stale hint

This commit is contained in:
Dark-Alex-17 committed 2026-09-14 11:13:34 -06:00
1 parent 9a505f951a
commit 3339920377
4 files changed
+14 -2

No files matched your search

+1
View File
@@ -1341,6 +1341,7 @@ variables:
assert_eq!(config.max_concurrent_agents, 4);
assert_eq!(config.max_agent_depth, 3);
assert_eq!(config.max_auto_continues, 10);
assert_eq!(config.escalation_timeout, 0);
assert!(config.mcp_servers.is_empty());
assert!(config.global_tools.is_empty());
assert!(config.conversation_starters.is_empty());
+6
View File
@@ -1383,6 +1383,12 @@ clients:
assert_eq!(cfg.clients.len(), 1);
}
#[test]
fn config_template_does_not_carry_the_per_agent_escalation_timeout_key() {
// `escalation_timeout` is a per-agent setting; the global template must never grow it.
assert!(!CONFIG_TEMPLATE.contains("escalation_timeout"));
}
#[test]
fn config_enabled_macros_empty_string_is_some_empty() {
let cfg: Config = serde_yaml::from_str("enabled_macros: \"\"").unwrap();