@@ -535,7 +535,14 @@ describe("addCustomInstructions", () => {
535535 "global instructions" ,
536536 "/fake/path" ,
537537 "test-mode" ,
538- { settings : { maxConcurrentFileReads : 5 , todoListEnabled : true , useAgentRules : true } } ,
538+ {
539+ settings : {
540+ maxConcurrentFileReads : 5 ,
541+ todoListEnabled : true ,
542+ useAgentRules : true ,
543+ alwaysAllowFollowupQuestions : true ,
544+ } ,
545+ } ,
539546 )
540547
541548 expect ( result ) . toContain ( "# Agent Rules Standard (AGENTS.md):" )
@@ -560,7 +567,14 @@ describe("addCustomInstructions", () => {
560567 "global instructions" ,
561568 "/fake/path" ,
562569 "test-mode" ,
563- { settings : { maxConcurrentFileReads : 5 , todoListEnabled : true , useAgentRules : false } } ,
570+ {
571+ settings : {
572+ maxConcurrentFileReads : 5 ,
573+ todoListEnabled : true ,
574+ useAgentRules : false ,
575+ alwaysAllowFollowupQuestions : true ,
576+ } ,
577+ } ,
564578 )
565579
566580 expect ( result ) . not . toContain ( "# Agent Rules Standard (AGENTS.md):" )
@@ -614,7 +628,14 @@ describe("addCustomInstructions", () => {
614628 "global instructions" ,
615629 "/fake/path" ,
616630 "test-mode" ,
617- { settings : { maxConcurrentFileReads : 5 , todoListEnabled : true , useAgentRules : true } } ,
631+ {
632+ settings : {
633+ maxConcurrentFileReads : 5 ,
634+ todoListEnabled : true ,
635+ useAgentRules : true ,
636+ alwaysAllowFollowupQuestions : true ,
637+ } ,
638+ } ,
618639 )
619640
620641 expect ( result ) . toContain ( "Global Instructions:\nglobal instructions" )
@@ -653,7 +674,14 @@ describe("addCustomInstructions", () => {
653674 "global instructions" ,
654675 "/fake/path" ,
655676 "test-mode" ,
656- { settings : { maxConcurrentFileReads : 5 , todoListEnabled : true , useAgentRules : true } } ,
677+ {
678+ settings : {
679+ maxConcurrentFileReads : 5 ,
680+ todoListEnabled : true ,
681+ useAgentRules : true ,
682+ alwaysAllowFollowupQuestions : true ,
683+ } ,
684+ } ,
657685 )
658686
659687 // Should contain both AGENTS.md and .roorules content
@@ -714,7 +742,14 @@ describe("addCustomInstructions", () => {
714742 "global instructions" ,
715743 "/fake/path" ,
716744 "test-mode" ,
717- { settings : { maxConcurrentFileReads : 5 , todoListEnabled : true , useAgentRules : true } } ,
745+ {
746+ settings : {
747+ maxConcurrentFileReads : 5 ,
748+ todoListEnabled : true ,
749+ useAgentRules : true ,
750+ alwaysAllowFollowupQuestions : true ,
751+ } ,
752+ } ,
718753 )
719754
720755 expect ( result ) . toContain ( "# Agent Rules Standard (AGENTS.md):" )
@@ -759,7 +794,14 @@ describe("addCustomInstructions", () => {
759794 "global instructions" ,
760795 "/fake/path" ,
761796 "test-mode" ,
762- { settings : { maxConcurrentFileReads : 5 , todoListEnabled : true , useAgentRules : true } } ,
797+ {
798+ settings : {
799+ maxConcurrentFileReads : 5 ,
800+ todoListEnabled : true ,
801+ useAgentRules : true ,
802+ alwaysAllowFollowupQuestions : true ,
803+ } ,
804+ } ,
763805 )
764806
765807 expect ( result ) . toContain ( "# Agent Rules Standard (AGENTS.md):" )
0 commit comments