@@ -66,7 +66,7 @@ Please help with this task.
6666 }
6767
6868 // Run the binary
69- cmd = exec .Command (binaryPath , "-d " , contextDir , "-o" , outputDir , "test-task" )
69+ cmd = exec .Command (binaryPath , "-m " , memoriesDir , "-t" , tasksDir , "-o" , outputDir , "test-task" )
7070 cmd .Dir = tmpDir
7171 if output , err := cmd .CombinedOutput (); err != nil {
7272 t .Fatalf ("failed to run binary: %v\n %s" , err , output )
@@ -158,7 +158,7 @@ echo "Setting up Jira"
158158 }
159159
160160 // Run the binary
161- cmd = exec .Command (binaryPath , "-d " , contextDir , "-o" , outputDir , "test-task" )
161+ cmd = exec .Command (binaryPath , "-m " , memoriesDir , "-t" , tasksDir , "-o" , outputDir , "test-task" )
162162 cmd .Dir = tmpDir
163163 if output , err := cmd .CombinedOutput (); err != nil {
164164 t .Fatalf ("failed to run binary: %v\n %s" , err , output )
@@ -243,7 +243,7 @@ Please help with this task.
243243 }
244244
245245 // Run the binary
246- cmd = exec .Command (binaryPath , "-d " , contextDir , "-o" , outputDir , "test-task" )
246+ cmd = exec .Command (binaryPath , "-m " , memoriesDir , "-t" , tasksDir , "-o" , outputDir , "test-task" )
247247 cmd .Dir = tmpDir
248248 if output , err := cmd .CombinedOutput (); err != nil {
249249 t .Fatalf ("failed to run binary: %v\n %s" , err , output )
@@ -310,7 +310,7 @@ func TestMultipleBootstrapFiles(t *testing.T) {
310310 }
311311
312312 // Run the binary
313- cmd = exec .Command (binaryPath , "-d " , contextDir , "-o" , outputDir , "test-task" )
313+ cmd = exec .Command (binaryPath , "-m " , memoriesDir , "-t" , tasksDir , "-o" , outputDir , "test-task" )
314314 cmd .Dir = tmpDir
315315 if output , err := cmd .CombinedOutput (); err != nil {
316316 t .Fatalf ("failed to run binary: %v\n %s" , err , output )
@@ -370,7 +370,7 @@ func TestSelectorFiltering(t *testing.T) {
370370 }
371371
372372 // Test 1: Include by env=production
373- cmd = exec .Command (binaryPath , "-d " , contextDir , "-o" , outputDir , "-s" , "env=production" , "test-task" )
373+ cmd = exec .Command (binaryPath , "-m " , memoriesDir , "-t" , tasksDir , "-o" , outputDir , "-s" , "env=production" , "test-task" )
374374 cmd .Dir = tmpDir
375375 if output , err := cmd .CombinedOutput (); err != nil {
376376 t .Fatalf ("failed to run binary: %v\n %s" , err , output )
@@ -400,7 +400,7 @@ func TestSelectorFiltering(t *testing.T) {
400400 os .RemoveAll (outputDir )
401401
402402 // Test 2: Include by language=go (should include prod and test, and nofm)
403- cmd = exec .Command (binaryPath , "-d " , contextDir , "-o" , outputDir , "-s" , "language=go" , "test-task" )
403+ cmd = exec .Command (binaryPath , "-m " , memoriesDir , "-t" , tasksDir , "-o" , outputDir , "-s" , "language=go" , "test-task" )
404404 cmd .Dir = tmpDir
405405 if output , err := cmd .CombinedOutput (); err != nil {
406406 t .Fatalf ("failed to run binary: %v\n %s" , err , output )
@@ -428,7 +428,7 @@ func TestSelectorFiltering(t *testing.T) {
428428 os .RemoveAll (outputDir )
429429
430430 // Test 3: Exclude by env=production (should include dev and test, and nofm)
431- cmd = exec .Command (binaryPath , "-d " , contextDir , "-o" , outputDir , "-S" , "env=production" , "test-task" )
431+ cmd = exec .Command (binaryPath , "-m " , memoriesDir , "-t" , tasksDir , "-o" , outputDir , "-S" , "env=production" , "test-task" )
432432 cmd .Dir = tmpDir
433433 if output , err := cmd .CombinedOutput (); err != nil {
434434 t .Fatalf ("failed to run binary: %v\n %s" , err , output )
@@ -456,7 +456,7 @@ func TestSelectorFiltering(t *testing.T) {
456456 os .RemoveAll (outputDir )
457457
458458 // Test 4: Multiple includes env=production language=go (should include only prod and nofm)
459- cmd = exec .Command (binaryPath , "-d " , contextDir , "-o" , outputDir , "-s" , "env=production" , "-s" , "language=go" , "test-task" )
459+ cmd = exec .Command (binaryPath , "-m " , memoriesDir , "-t" , tasksDir , "-o" , outputDir , "-s" , "env=production" , "-s" , "language=go" , "test-task" )
460460 cmd .Dir = tmpDir
461461 if output , err := cmd .CombinedOutput (); err != nil {
462462 t .Fatalf ("failed to run binary: %v\n %s" , err , output )
@@ -484,7 +484,7 @@ func TestSelectorFiltering(t *testing.T) {
484484 os .RemoveAll (outputDir )
485485
486486 // Test 5: Mix of include and exclude -s env=production -S language=python (should include only prod with go)
487- cmd = exec .Command (binaryPath , "-d " , contextDir , "-o" , outputDir , "-s" , "env=production" , "-S" , "language=python" , "test-task" )
487+ cmd = exec .Command (binaryPath , "-m " , memoriesDir , "-t" , tasksDir , "-o" , outputDir , "-s" , "env=production" , "-S" , "language=python" , "test-task" )
488488 cmd .Dir = tmpDir
489489 if output , err := cmd .CombinedOutput (); err != nil {
490490 t .Fatalf ("failed to run binary: %v\n %s" , err , output )
@@ -543,7 +543,7 @@ The project is for $company.
543543
544544 // Run the binary with parameters
545545 cmd = exec .Command (binaryPath ,
546- "-d " , contextDir ,
546+ "-t " , tasksDir ,
547547 "-o" , outputDir ,
548548 "-p" , "taskName=AddAuth" ,
549549 "-p" , "feature=Authentication" ,
@@ -608,7 +608,7 @@ Missing var: ${missingVar}
608608
609609 // Run the binary with only one parameter
610610 cmd = exec .Command (binaryPath ,
611- "-d " , contextDir ,
611+ "-t " , tasksDir ,
612612 "-o" , outputDir ,
613613 "-p" , "providedVar=ProvidedValue" ,
614614 "test-missing" )
@@ -694,7 +694,7 @@ t.Fatalf("failed to write prompt file: %v", err)
694694}
695695
696696// Run the binary WITH the -b flag
697- cmd = exec .Command (binaryPath , "-d " , contextDir , "-o" , outputDir , "-b" , "test-task" )
697+ cmd = exec .Command (binaryPath , "-m " , memoriesDir , "-t" , tasksDir , "-o" , outputDir , "-b" , "test-task" )
698698cmd .Dir = tmpDir
699699if output , err := cmd .CombinedOutput (); err != nil {
700700t .Fatalf ("failed to run binary: %v\n %s" , err , output )
@@ -773,7 +773,7 @@ t.Fatalf("failed to write prompt file: %v", err)
773773}
774774
775775// Run the binary WITHOUT the -b flag
776- cmd = exec .Command (binaryPath , "-d " , contextDir , "-o" , outputDir , "test-task" )
776+ cmd = exec .Command (binaryPath , "-m " , memoriesDir , "-t" , tasksDir , "-o" , outputDir , "test-task" )
777777cmd .Dir = tmpDir
778778if output , err := cmd .CombinedOutput (); err != nil {
779779t .Fatalf ("failed to run binary: %v\n %s" , err , output )
@@ -842,7 +842,7 @@ t.Fatalf("failed to write prompt file: %v", err)
842842}
843843
844844// Run the binary WITH the -b flag and send interrupt signal
845- cmd = exec .Command (binaryPath , "-d " , contextDir , "-o" , outputDir , "-b" , "test-task" )
845+ cmd = exec .Command (binaryPath , "-m " , memoriesDir , "-t" , tasksDir , "-o" , outputDir , "-b" , "test-task" )
846846cmd .Dir = tmpDir
847847
848848// Start the command
0 commit comments