-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
1366 lines (1366 loc) · 55.4 KB
/
Copy pathpackage.json
File metadata and controls
1366 lines (1366 loc) · 55.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"name": "ralphdex",
"displayName": "Ralphdex",
"description": "VS Code extension for file-backed Ralphdex prompts, IDE handoff, and CLI exec loops.",
"version": "1.3.1",
"publisher": "s0l0m0n8und9",
"icon": "media/ralph-icon.png",
"homepage": "https://github.com/S0l0m0n8und9/RalphDex#readme",
"bugs": {
"url": "https://github.com/S0l0m0n8und9/RalphDex/issues"
},
"markdown": "github",
"galleryBanner": {
"color": "#111827",
"theme": "dark"
},
"keywords": [
"ai",
"agent",
"ralphdex",
"automation",
"codex",
"vscode",
"prompts",
"provenance",
"claude",
"task-runner",
"agentic"
],
"repository": {
"type": "git",
"url": "https://github.com/S0l0m0n8und9/RalphDex.git"
},
"license": "MIT",
"engines": {
"vscode": "^1.95.0",
"node": ">=22"
},
"categories": [
"AI",
"Other"
],
"capabilities": {
"untrustedWorkspaces": {
"supported": "limited",
"description": "Ralphdex supports status inspection in untrusted workspaces. Prompt generation, runtime state reset, IDE handoff, and CLI execution require workspace trust.",
"restrictedConfigurations": [
"ralphCodex.codexCommandPath",
"ralphCodex.claudeCommandPath",
"ralphCodex.copilotCommandPath",
"ralphCodex.geminiCommandPath",
"ralphCodex.copilotFoundry",
"ralphCodex.azureFoundry",
"ralphCodex.preferredHandoffMode",
"ralphCodex.agentId",
"ralphCodex.agentRole",
"ralphCodex.inspectionRootOverride",
"ralphCodex.ralphIterationCap",
"ralphCodex.verifierModes",
"ralphCodex.noProgressThreshold",
"ralphCodex.repeatedFailureThreshold",
"ralphCodex.artifactRetentionPath",
"ralphCodex.generatedArtifactRetentionCount",
"ralphCodex.provenanceBundleRetentionCount",
"ralphCodex.gitCheckpointMode",
"ralphCodex.scmStrategy",
"ralphCodex.scmPrOnParentDone",
"ralphCodex.watchdogStaleTtlMs",
"ralphCodex.validationCommandOverride",
"ralphCodex.stopOnHumanReviewNeeded",
"ralphCodex.autonomyMode",
"ralphCodex.autoReplenishBacklog",
"ralphCodex.autoApplyRemediation",
"ralphCodex.ralphTaskFilePath",
"ralphCodex.prdPath",
"ralphCodex.progressPath",
"ralphCodex.structureDefinitionPath",
"ralphCodex.promptTemplateDirectory",
"ralphCodex.promptIncludeVerifierFeedback",
"ralphCodex.promptPriorContextBudget",
"ralphCodex.promptBudgetProfile",
"ralphCodex.customPromptBudget",
"ralphCodex.clipboardAutoCopy",
"ralphCodex.model",
"ralphCodex.reasoningEffort",
"ralphCodex.approvalMode",
"ralphCodex.sandboxMode",
"ralphCodex.claudePermissionMode",
"ralphCodex.copilotApprovalMode",
"ralphCodex.openSidebarCommandId",
"ralphCodex.newChatCommandId",
"ralphCodex.agentCount",
"ralphCodex.promptCaching",
"ralphCodex.memoryStrategy",
"ralphCodex.memoryWindowSize",
"ralphCodex.memorySummaryThreshold",
"ralphCodex.prdGenerationTemplate"
]
},
"virtualWorkspaces": {
"supported": false,
"description": "Ralphdex requires a real local workspace because it reads and writes Ralph files and can run CLI backends."
}
},
"activationEvents": [
"onCommand:ralphCodex.addTask",
"onCommand:ralphCodex.seedTasksFromFeatureRequest",
"onCommand:ralphCodex.generatePrompt",
"onCommand:ralphCodex.openCodexAndCopyPrompt",
"onCommand:ralphCodex.runRalphIteration",
"onCommand:ralphCodex.runReviewAgent",
"onCommand:ralphCodex.runWatchdogAgent",
"onCommand:ralphCodex.runScmAgent",
"onCommand:ralphCodex.runRalphLoop",
"onCommand:ralphCodex.stopLoop",
"onCommand:ralphCodex.runMultiAgentLoop",
"onCommand:ralphCodex.showRalphStatus",
"onCommand:ralphCodex.openFailureDiagnosis",
"onCommand:ralphCodex.autoRecoverTask",
"onCommand:ralphCodex.skipTask",
"onCommand:ralphCodex.openLatestRalphSummary",
"onCommand:ralphCodex.openLatestProvenanceBundle",
"onCommand:ralphCodex.openLatestPromptEvidence",
"onCommand:ralphCodex.openLatestCliTranscript",
"onCommand:ralphCodex.applyLatestTaskDecompositionProposal",
"onCommand:ralphCodex.resolveStaleTaskClaim",
"onCommand:ralphCodex.revealLatestProvenanceBundleDirectory",
"onCommand:ralphCodex.cleanupRalphRuntimeArtifacts",
"onCommand:ralphCodex.resetRalphWorkspaceState",
"onCommand:ralphCodex.runPipeline",
"onCommand:ralphCodex.openLatestPipelineRun",
"onCommand:ralphCodex.openLatestDoctrineProposal",
"onCommand:ralphCodex.applyLatestDoctrineProposal",
"onCommand:ralphCodex.rejectLatestDoctrineProposal",
"onCommand:ralphCodex.initializeDoctrinePack",
"onCommand:ralphCodex.openDoctrineAgents",
"onCommand:ralphCodex.openDoctrineBoundaries",
"onCommand:ralphCodex.openDoctrineInvariants",
"onCommand:ralphCodex.openDoctrineFolder",
"onCommand:ralphCodex.openPrdWizard",
"onCommand:ralphCodex.regeneratePrd",
"onCommand:ralphCodex.requeueDeadLetterTask",
"onView:ralphCodex.dashboard",
"onCommand:ralphCodex.setProviderSecret",
"onCommand:ralphCodex.clearProviderSecret",
"onCommand:ralphCodex.openSettings",
"onCommand:ralphCodex.showSidebar",
"onCommand:ralphCodex.showTasks",
"onCommand:ralphCodex.showDashboard",
"onCommand:ralphCodex.openDashboard"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "ralphCodex.addTask",
"title": "Ralphdex: Add Task"
},
{
"command": "ralphCodex.seedTasksFromFeatureRequest",
"title": "Ralphdex: Seed Tasks from Feature Request"
},
{
"command": "ralphCodex.generatePrompt",
"title": "Ralphdex: Prepare IDE Prompt"
},
{
"command": "ralphCodex.initializeDoctrinePack",
"title": "Ralphdex: Initialize Doctrine Pack"
},
{
"command": "ralphCodex.openDoctrineFolder",
"title": "Ralphdex: Open Doctrine Folder"
},
{
"command": "ralphCodex.openDoctrineInvariants",
"title": "Ralphdex: Open Doctrine Invariants"
},
{
"command": "ralphCodex.openDoctrineBoundaries",
"title": "Ralphdex: Open Doctrine Boundaries"
},
{
"command": "ralphCodex.openDoctrineAgents",
"title": "Ralphdex: Open Doctrine Agents"
},
{
"command": "ralphCodex.openCodexAndCopyPrompt",
"title": "Ralphdex: Open Codex IDE"
},
{
"command": "ralphCodex.runRalphIteration",
"title": "Ralphdex: Run Single Iteration"
},
{
"command": "ralphCodex.runReviewAgent",
"title": "Ralphdex: Run Review Agent"
},
{
"command": "ralphCodex.runWatchdogAgent",
"title": "Ralphdex: Run Watchdog Agent"
},
{
"command": "ralphCodex.runScmAgent",
"title": "Ralphdex: Run SCM Agent"
},
{
"command": "ralphCodex.runRalphLoop",
"title": "Ralphdex: Run Loop"
},
{
"command": "ralphCodex.stopLoop",
"title": "Ralphdex: Stop Loop"
},
{
"command": "ralphCodex.runMultiAgentLoop",
"title": "Ralphdex: Run Multi-Agent Loop"
},
{
"command": "ralphCodex.showRalphStatus",
"title": "Ralphdex: Show Status"
},
{
"command": "ralphCodex.openFailureDiagnosis",
"title": "Ralphdex: Open Failure Diagnosis"
},
{
"command": "ralphCodex.autoRecoverTask",
"title": "Ralphdex: Auto-Recover Task"
},
{
"command": "ralphCodex.skipTask",
"title": "Ralphdex: Skip Task"
},
{
"command": "ralphCodex.openLatestRalphSummary",
"title": "Ralphdex: Open Latest Ralph Summary"
},
{
"command": "ralphCodex.openLatestProvenanceBundle",
"title": "Ralphdex: Open Latest Provenance Bundle"
},
{
"command": "ralphCodex.openLatestPromptEvidence",
"title": "Ralphdex: Open Latest Prompt Evidence"
},
{
"command": "ralphCodex.openLatestCliTranscript",
"title": "Ralphdex: Open Latest CLI Transcript"
},
{
"command": "ralphCodex.applyLatestTaskDecompositionProposal",
"title": "Ralphdex: Apply Latest Task Decomposition Proposal"
},
{
"command": "ralphCodex.resolveStaleTaskClaim",
"title": "Ralphdex: Resolve Stale Task Claim"
},
{
"command": "ralphCodex.revealLatestProvenanceBundleDirectory",
"title": "Ralphdex: Reveal Latest Provenance Bundle Directory"
},
{
"command": "ralphCodex.cleanupRalphRuntimeArtifacts",
"title": "Ralphdex: Clean Up Old Run Artifacts"
},
{
"command": "ralphCodex.resetRalphWorkspaceState",
"title": "Ralphdex: Reset Runtime State"
},
{
"command": "ralphCodex.showDashboard",
"title": "Ralphdex: Focus Dashboard"
},
{
"command": "ralphCodex.openDashboard",
"title": "Ralphdex: Open Dashboard"
},
{
"command": "ralphCodex.runPipeline",
"title": "Ralphdex: Run Full Workflow"
},
{
"command": "ralphCodex.openLatestPipelineRun",
"title": "Ralphdex: Open Latest Run Report"
},
{
"command": "ralphCodex.openLatestDoctrineProposal",
"title": "Ralphdex: Open Latest Doctrine Proposal"
},
{
"command": "ralphCodex.applyLatestDoctrineProposal",
"title": "Ralphdex: Apply Latest Doctrine Proposal"
},
{
"command": "ralphCodex.rejectLatestDoctrineProposal",
"title": "Ralphdex: Reject Latest Doctrine Proposal"
},
{
"command": "ralphCodex.openPrdWizard",
"title": "Ralphdex: Open PRD Wizard"
},
{
"command": "ralphCodex.regeneratePrd",
"title": "Ralphdex: Regenerate PRD"
},
{
"command": "ralphCodex.requeueDeadLetterTask",
"title": "Ralphdex: Requeue Recovery Task"
},
{
"command": "ralphCodex.showSidebar",
"title": "Ralphdex: Show Sidebar"
},
{
"command": "ralphCodex.setProviderSecret",
"title": "Ralphdex: Set Provider Secret"
},
{
"command": "ralphCodex.clearProviderSecret",
"title": "Ralphdex: Clear Provider Secret"
},
{
"command": "ralphCodex.showTasks",
"title": "Ralphdex: Show Tasks"
},
{
"command": "ralphCodex.openSettings",
"title": "Ralphdex: Open RalphDex Settings"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "ralphCodex",
"title": "Ralphdex",
"icon": "media/ralph-icon.svg"
}
]
},
"views": {
"ralphCodex": [
{
"type": "webview",
"id": "ralphCodex.dashboard",
"name": "Dashboard"
}
]
},
"walkthroughs": [
{
"id": "ralphdexGettingStarted",
"title": "Get started with Ralphdex",
"description": "Set up a durable, file-backed agentic coding loop in four steps.",
"steps": [
{
"id": "ralphdex.createPrd",
"title": "Create your PRD and task backlog",
"description": "Scaffold `.ralph/` with a product brief and a starter task backlog.\n[Open PRD Wizard](command:ralphCodex.openPrdWizard)",
"media": {
"markdown": "media/walkthrough/01-prd.md"
},
"completionEvents": [
"onCommand:ralphCodex.openPrdWizard"
]
},
{
"id": "ralphdex.checkProvider",
"title": "Confirm your AI provider",
"description": "Ralphdex runs iterations through a provider CLI or Azure endpoint. Confirm yours is ready in the First-Run Readiness card.\n[Show Status](command:ralphCodex.showRalphStatus)",
"media": {
"markdown": "media/walkthrough/02-provider.md"
},
"completionEvents": [
"onCommand:ralphCodex.showRalphStatus"
]
},
{
"id": "ralphdex.runIteration",
"title": "Run your first iteration",
"description": "Execute one deterministic Ralph cycle and inspect its stop reason.\n[Run Single Iteration](command:ralphCodex.runRalphIteration)",
"media": {
"markdown": "media/walkthrough/03-iterate.md"
},
"completionEvents": [
"onCommand:ralphCodex.runRalphIteration"
]
},
{
"id": "ralphdex.readDashboard",
"title": "Read the dashboard",
"description": "See what happened and why, with plain-language stop reasons and artifact links.\n[Show Status](command:ralphCodex.showRalphStatus)",
"media": {
"markdown": "media/walkthrough/04-dashboard.md"
}
}
]
}
],
"menus": {
"commandPalette": [
{
"command": "ralphCodex.openLatestRalphSummary",
"when": "false"
},
{
"command": "ralphCodex.openLatestProvenanceBundle",
"when": "false"
},
{
"command": "ralphCodex.openLatestPromptEvidence",
"when": "false"
},
{
"command": "ralphCodex.openLatestCliTranscript",
"when": "false"
},
{
"command": "ralphCodex.openLatestPipelineRun",
"when": "false"
},
{
"command": "ralphCodex.revealLatestProvenanceBundleDirectory",
"when": "false"
},
{
"command": "ralphCodex.openDoctrineFolder",
"when": "false"
},
{
"command": "ralphCodex.openDoctrineInvariants",
"when": "false"
},
{
"command": "ralphCodex.openDoctrineBoundaries",
"when": "false"
},
{
"command": "ralphCodex.openDoctrineAgents",
"when": "false"
},
{
"command": "ralphCodex.openLatestDoctrineProposal",
"when": "false"
},
{
"command": "ralphCodex.applyLatestDoctrineProposal",
"when": "false"
},
{
"command": "ralphCodex.rejectLatestDoctrineProposal",
"when": "false"
},
{
"command": "ralphCodex.applyLatestTaskDecompositionProposal",
"when": "false"
},
{
"command": "ralphCodex.showDashboard",
"when": "false"
},
{
"command": "ralphCodex.openDashboard",
"when": "false"
}
]
},
"configuration": {
"title": "Ralphdex",
"properties": {
"ralphCodex.cliProvider": {
"type": "string",
"enum": [
"codex",
"claude",
"copilot",
"copilot-byok",
"copilot-foundry",
"azure-foundry",
"gemini"
],
"default": "claude",
"description": "Which CLI backend to use for scripted iterations. 'codex' uses the OpenAI Codex CLI, 'claude' uses the Anthropic Claude CLI, 'copilot' uses the GitHub Copilot CLI, 'copilot-byok' uses the Copilot CLI with an external BYOK provider, 'copilot-foundry' is a preset alias for copilot-byok with providerType azure, 'azure-foundry' uses Azure AI Foundry directly, and 'gemini' uses the Google Gemini CLI."
},
"ralphCodex.codexCommandPath": {
"type": "string",
"default": "codex",
"description": "Path or command name for the Codex CLI executable."
},
"ralphCodex.claudeCommandPath": {
"type": "string",
"default": "claude",
"description": "Path or command name for the Claude CLI executable."
},
"ralphCodex.copilotCommandPath": {
"type": "string",
"default": "copilot",
"description": "Path or command name for the GitHub Copilot CLI executable."
},
"ralphCodex.geminiCommandPath": {
"type": "string",
"default": "gemini",
"description": "Path or command name for the Google Gemini CLI executable. Requires GEMINI_API_KEY to be set in the environment."
},
"ralphCodex.copilotFoundry": {
"type": "object",
"default": {
"commandPath": "copilot",
"providerType": "azure",
"baseUrlOverride": "",
"model": "",
"azure": {
"resourceName": "",
"deployment": ""
},
"offline": false,
"requiredApiKeyEnvVar": "COPILOT_PROVIDER_API_KEY",
"approvalMode": "allow-tools-only",
"maxAutopilotContinues": 200
},
"description": "Copilot CLI + BYOK provider settings (used by both copilot-byok and copilot-foundry). Auth credentials are inherited from the operator process environment — RalphDex never reads or stores API key values.",
"properties": {
"commandPath": {
"type": "string",
"default": "copilot",
"description": "Path or command name for the Copilot CLI executable."
},
"providerType": {
"type": "string",
"enum": [
"azure",
"openai",
"anthropic"
],
"default": "azure",
"description": "Target LLM provider type for BYOK routing. For copilot-foundry alias, this is always 'azure'."
},
"baseUrlOverride": {
"type": "string",
"default": "",
"description": "Full base URL override. Required for non-azure provider types. For azure, derived from azure.resourceName and azure.deployment if not set."
},
"model": {
"type": "string",
"default": "",
"description": "Model name passed as COPILOT_MODEL to the child process environment."
},
"azure": {
"type": "object",
"default": {
"resourceName": "",
"deployment": ""
},
"description": "Azure OpenAI resource and deployment settings. Used to derive the base URL when providerType is azure.",
"properties": {
"resourceName": {
"type": "string",
"default": "",
"description": "Azure OpenAI resource name. Derived base URL: https://<resourceName>.openai.azure.com/openai/deployments/<deployment>."
},
"deployment": {
"type": "string",
"default": "",
"description": "Azure deployment name, appended to the base URL path and used for COPILOT_MODEL if model is not set."
}
}
},
"offline": {
"type": "boolean",
"default": false,
"description": "When true, sets COPILOT_OFFLINE=true in the child process environment."
},
"requiredApiKeyEnvVar": {
"type": "string",
"default": "COPILOT_PROVIDER_API_KEY",
"description": "Name of the environment variable that must be set by the operator before launch. Used for preflight readiness checks only; secret values are never stored or logged by RalphDex."
},
"approvalMode": {
"type": "string",
"enum": [
"allow-all",
"allow-tools-only",
"interactive"
],
"default": "allow-tools-only",
"description": "Approval posture used by the Copilot CLI harness."
},
"maxAutopilotContinues": {
"type": "number",
"default": 200,
"minimum": 1,
"maximum": 500,
"description": "Maximum number of autopilot continuation turns per Copilot CLI invocation."
}
}
},
"ralphCodex.azureFoundry": {
"type": "object",
"default": {
"commandPath": "azure-foundry",
"endpointUrl": "",
"modelDeployment": "",
"apiVersion": "2024-12-01-preview",
"auth": {
"mode": "az-bearer",
"tenantId": "",
"subscriptionId": "",
"apiKeyEnvVar": "",
"secretStorageKey": ""
}
},
"description": "Grouped Azure AI Foundry direct-provider settings. Secrets are resolved externally and are not stored in settings.",
"properties": {
"commandPath": {
"type": "string",
"default": "azure-foundry",
"description": "Path or command name for the Azure AI Foundry CLI executable."
},
"endpointUrl": {
"type": "string",
"default": "",
"description": "Azure AI Foundry endpoint URL (e.g. https://<resource>.openai.azure.com/)."
},
"modelDeployment": {
"type": "string",
"default": "",
"description": "Azure AI Foundry model deployment name (e.g. gpt-4o)."
},
"apiVersion": {
"type": "string",
"default": "2024-12-01-preview",
"description": "Azure OpenAI API version to use with Azure AI Foundry."
},
"auth": {
"type": "object",
"default": {
"mode": "az-bearer",
"tenantId": "",
"subscriptionId": "",
"apiKeyEnvVar": "",
"secretStorageKey": ""
},
"description": "Azure auth source metadata. Secrets are resolved externally, not stored in settings.",
"properties": {
"mode": {
"type": "string",
"enum": [
"az-bearer",
"env-api-key",
"vscode-secret"
],
"default": "az-bearer",
"description": "How the provider resolves Azure credentials."
},
"tenantId": {
"type": "string",
"default": "",
"description": "Azure tenant identifier used for bearer-token auth."
},
"subscriptionId": {
"type": "string",
"default": "",
"description": "Azure subscription identifier used for readiness diagnostics."
},
"apiKeyEnvVar": {
"type": "string",
"default": "",
"description": "Environment variable name used when the API key is sourced externally."
},
"secretStorageKey": {
"type": "string",
"default": "",
"description": "SecretStorage key used when the API key is sourced from VS Code secrets."
}
}
}
}
},
"ralphCodex.claudeMaxTurns": {
"type": "number",
"default": 125,
"minimum": 1,
"maximum": 500,
"description": "Maximum number of agentic turns per Claude CLI invocation."
},
"ralphCodex.copilotMaxAutopilotContinues": {
"type": "number",
"default": 200,
"minimum": 1,
"maximum": 500,
"description": "Maximum number of autopilot continuation turns per Copilot CLI invocation. Maps to --max-autopilot-continues."
},
"ralphCodex.claudePermissionMode": {
"type": "string",
"enum": [
"dangerously-skip-permissions",
"default"
],
"default": "default",
"description": "Permission mode for Claude CLI runs. 'default' keeps Claude's standard permission checks. 'dangerously-skip-permissions' is a permissive override and should be enabled explicitly by the operator."
},
"ralphCodex.copilotApprovalMode": {
"type": "string",
"enum": [
"allow-all",
"allow-tools-only",
"interactive"
],
"default": "allow-tools-only",
"description": "Approval posture for GitHub Copilot CLI runs. 'allow-tools-only' is the safer default. 'interactive' is stricter, and 'allow-all' is permissive and should be selected explicitly by the operator."
},
"ralphCodex.agentId": {
"type": "string",
"default": "default",
"description": "Identity Ralph writes into claims and iteration artifacts. Set a unique value per concurrent loop instance so multiple agents do not share the same durable identity."
},
"ralphCodex.agentRole": {
"type": "string",
"enum": [
"implementer",
"planner",
"reviewer",
"build",
"review",
"watchdog",
"scm"
],
"enumDescriptions": [
"Performs implementation work on assigned tasks (default crew role).",
"Decomposes requirements into subtasks and sequences the crew's work plan.",
"Validates completed work against acceptance criteria and flags gaps.",
"Performs implementation work (legacy alias for implementer).",
"Performs review-only validation and gap analysis (internal system role).",
"Performs bounded claim/task recovery when agents stall (internal system role).",
"Performs source-control follow-through for branch-per-task flows (internal system role)."
],
"default": "implementer",
"description": "Role contract for the active Ralph agent. User-facing crew roles: 'implementer', 'planner', 'reviewer'. Internal system roles assigned automatically: 'build', 'review', 'watchdog', 'scm'."
},
"ralphCodex.preferredHandoffMode": {
"type": "string",
"enum": [
"ideCommand",
"clipboard",
"cliExec"
],
"default": "clipboard",
"description": "Preferred way to hand a generated prompt to Codex. IDE command mode uses documented VS Code commands plus clipboard, clipboard mode only copies the prompt, and cliExec is reserved for command-driven runs."
},
"ralphCodex.inspectionRootOverride": {
"type": "string",
"default": "",
"description": "Optional workspace-relative or absolute directory inside the workspace to inspect, execute, and verify from instead of using Ralph's shallow root-selection heuristics."
},
"ralphCodex.ralphIterationCap": {
"type": "number",
"default": 20,
"minimum": 1,
"maximum": 100,
"description": "Maximum number of CLI iterations to run for the Ralphdex loop command."
},
"ralphCodex.verifierModes": {
"type": "array",
"items": {
"type": "string",
"enum": [
"validationCommand",
"gitDiff",
"taskState"
]
},
"default": [
"validationCommand",
"gitDiff",
"taskState"
],
"description": "Verifier layers to run after each CLI iteration. validationCommand runs the selected validation command, gitDiff checks for relevant file changes, and taskState compares durable Ralph task/progress state."
},
"ralphCodex.noProgressThreshold": {
"type": "number",
"default": 2,
"minimum": 1,
"maximum": 20,
"description": "Number of consecutive no-progress Ralph iterations that stop the loop."
},
"ralphCodex.repeatedFailureThreshold": {
"type": "number",
"default": 2,
"minimum": 1,
"maximum": 20,
"description": "Number of consecutive identical blocked/failed/human-review classifications that stop the loop."
},
"ralphCodex.artifactRetentionPath": {
"type": "string",
"default": ".ralph/artifacts",
"description": "Workspace-relative or absolute directory used for per-iteration Ralph artifacts."
},
"ralphCodex.generatedArtifactRetentionCount": {
"type": "number",
"default": 25,
"minimum": 0,
"maximum": 500,
"description": "How many of the newest generated prompt files, transcript or last-message pairs, and iteration artifact directories to keep before adding any older state-linked or latest-pointer-protected references. Cleanup runs after Ralph persists prompt or iteration provenance, protection never evicts the newest retained entries, and 0 disables automatic cleanup."
},
"ralphCodex.provenanceBundleRetentionCount": {
"type": "number",
"default": 25,
"minimum": 0,
"maximum": 500,
"description": "How many of the newest provenance bundle directories to keep under .ralph/artifacts/runs/ before adding any older latest-pointer-protected bundles. Cleanup runs after bundle writes, protection never evicts the newest retained entries, and 0 disables automatic cleanup."
},
"ralphCodex.gitCheckpointMode": {
"type": "string",
"enum": [
"off",
"snapshot",
"snapshotAndDiff"
],
"default": "snapshotAndDiff",
"description": "Controls optional Git safety artifacts. snapshot records pre/post status when Git is available. snapshotAndDiff also records a working-tree diff summary."
},
"ralphCodex.scmStrategy": {
"type": "string",
"enum": [
"none",
"commit-on-done",
"branch-per-task"
],
"default": "none",
"description": "Controls optional SCM automation after Ralph reconciles task results. none disables SCM actions, commit-on-done creates a commit after a task is reconciled done, and branch-per-task commits task branches and merges completed child slices through the recorded integration branch flow."
},
"ralphCodex.scmPrOnParentDone": {
"type": "boolean",
"default": false,
"description": "When enabled with scmStrategy = branch-per-task, Ralph pushes ralph/integration/<parentId> and opens a GitHub pull request through gh when the final child completion auto-completes a parent task. Push or PR failures are reported as iteration warnings without rolling back completion."
},
"ralphCodex.watchdogStaleTtlMs": {
"type": "number",
"default": 86400000,
"minimum": 0,
"description": "Time-to-live in milliseconds for active claims before the watchdog considers them stale. Defaults to 86400000 (24 hours). Set to 0 to treat every active claim as immediately stale for testing purposes."
},
"ralphCodex.validationCommandOverride": {
"type": "string",
"default": "",
"description": "Optional shell command to use as the primary post-iteration validator instead of task hints or inferred workspace commands."
},
"ralphCodex.stopOnHumanReviewNeeded": {
"type": "boolean",
"default": true,
"description": "Stop the Ralph loop immediately when the task-state verifier classifies an iteration as needs_human_review."
},
"ralphCodex.autonomyMode": {
"type": "string",
"enum": [
"supervised",
"autonomous"
],
"default": "autonomous",
"description": "Shorthand for Ralph loop autonomy. 'supervised' leaves the individual autonomy settings untouched; 'autonomous' forces autoApplyRemediation to both decompose_task and mark_blocked, and autoReplenishBacklog on, while preserving hard stops such as blocked preflight, request_human_review, and manual PRD authorship."
},
"ralphCodex.autoReplenishBacklog": {
"type": "boolean",
"default": true,
"description": "Continue the Ralph loop into backlog replenishment when no actionable task remains and preflight found no ledger-drift safety errors."
},
"ralphCodex.autoApplyRemediation": {
"type": "array",
"items": {
"type": "string",
"enum": [
"decompose_task",
"mark_blocked"
]
},
"default": [
"decompose_task",
"mark_blocked"
],
"description": "Opt-in remediation actions Ralph may auto-apply after repeated-stop evidence. Leave this empty to preserve review-only behavior; set one or both of decompose_task and mark_blocked to allow only those actions."
},
"ralphCodex.ralphTaskFilePath": {
"type": "string",
"default": ".ralph/tasks.json",
"description": "Workspace-relative path to the durable Ralph task file."
},
"ralphCodex.prdPath": {
"type": "string",
"default": ".ralph/prd.md",
"description": "Workspace-relative path to the durable Ralph PRD or objective file."
},
"ralphCodex.progressPath": {
"type": "string",
"default": ".ralph/progress.md",
"description": "Workspace-relative path to the durable Ralph progress log."
},
"ralphCodex.structureDefinitionPath": {
"type": "string",
"default": ".ralph/structure.json",
"description": "Workspace-relative path to the repo structure definition file (structure.d). Describes directory roles, placement rules, naming conventions, and forbidden paths so Ralph respects the repo's existing layout."
},
"ralphCodex.promptTemplateDirectory": {
"type": "string",
"default": "",
"description": "Optional workspace-relative or absolute directory containing Ralph prompt templates. Leave empty to use the bundled templates."
},
"ralphCodex.promptIncludeVerifierFeedback": {
"type": "boolean",
"default": true,
"description": "Include compact prior iteration and verifier feedback when shaping the next prompt."
},
"ralphCodex.promptPriorContextBudget": {
"type": "number",
"default": 8,
"minimum": 1,
"maximum": 40,
"description": "Maximum number of concise prior-iteration bullet lines to carry into the next prompt."
},
"ralphCodex.promptBudgetProfile": {
"type": "string",
"enum": [
"codex",
"claude",
"custom"
],
"default": "codex",
"description": "Prompt-budget policy profile for Ralph prompt shaping. 'codex' uses the calibrated default matrix, 'claude' uses a higher-context deterministic matrix that must be calibrated before production use, and 'custom' reads per-policy targetTokens overrides from ralphCodex.customPromptBudget."
},
"ralphCodex.customPromptBudget": {
"type": "object",
"default": {},
"additionalProperties": {
"type": "number",
"minimum": 1
},
"description": "Optional targetTokens overrides used only when ralphCodex.promptBudgetProfile is 'custom'. Keys must match promptKind:promptTarget entries such as iteration:cliExec."
},
"ralphCodex.clipboardAutoCopy": {
"type": "boolean",
"default": true,
"description": "Automatically copy generated prompts to the clipboard when using Prepare IDE Prompt."
},
"ralphCodex.model": {
"type": "string",
"default": "claude-sonnet-4-6",
"description": "Default model for CLI runs. The configured provider decides which model IDs are valid."
},
"ralphCodex.reasoningEffort": {
"type": "string",
"enum": [
"",
"medium",
"high"
],
"default": "medium",
"description": "Reasoning effort to pass to Codex/Copilot scripted runs. Set to an empty string to omit explicit reasoning-effort flags (useful for non-reasoning models such as gpt-4.1)."
},
"ralphCodex.approvalMode": {
"type": "string",
"enum": [
"never",
"on-request",
"untrusted"
],
"default": "never",
"description": "Approval mode to pass to Codex CLI scripted runs. This setting is Codex-specific."
},
"ralphCodex.sandboxMode": {
"type": "string",
"enum": [
"read-only",
"workspace-write",
"danger-full-access"
],
"default": "workspace-write",
"description": "Sandbox mode to pass to Codex CLI scripted runs. This setting is Codex-specific."
},
"ralphCodex.openSidebarCommandId": {
"type": "string",
"default": "claude.openSidebar",
"description": "VS Code command id to use when attempting to reveal the active AI chat surface (e.g. chatgpt.openSidebar, claude.openSidebar, or none)."
},
"ralphCodex.newChatCommandId": {
"type": "string",
"default": "claude.newChat",
"description": "VS Code command id to use when attempting to start a new AI chat or agent session (e.g. chatgpt.newChat, claude.newChat, github.copilot.cli.newSession)."
},
"ralphCodex.claimTtlHours": {
"type": "number",
"default": 24,
"minimum": 1,
"description": "Hours before a task claim expires. Increase for long-running agents on slow machines."
},
"ralphCodex.staleLockThresholdMinutes": {
"type": "number",
"default": 5,
"minimum": 1,
"description": "Minutes before an orphaned lock file is treated as stale and automatically removed."
},
"ralphCodex.agentCount": {