-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.prrrc.example.js
More file actions
86 lines (86 loc) · 3.14 KB
/
.prrrc.example.js
File metadata and controls
86 lines (86 loc) · 3.14 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
module.exports = {
provider: 'nvidia-free',
endpoint: 'https://integrate.api.nvidia.com/v1',
apiKeyEnv: 'NVIDIA_API_KEY',
contextMode: 'diff',
contextMaxChars: 10000,
executionMode: 'sequential',
reviewSharing: false,
timeoutMs: 120000,
reviewers: [
{
name: 'Security Audit',
provider: 'nvidia-free',
endpoint: 'https://integrate.api.nvidia.com/v1',
apiKeyEnv: 'NVIDIA_API_KEY',
model: 'meta/llama-3.3-70b-instruct',
mode: 'defects',
prompt: 'Find concrete security vulnerabilities, trust-boundary mistakes, and edge-case failures. Cite files and line numbers.',
useTools: true,
maxToolRounds: 8
},
{
name: 'OpenAI Final Check',
provider: 'openai',
endpoint: 'https://api.openai.com/v1',
apiKeyEnv: 'OPENAI_API_KEY',
timeoutMs: 120000,
mode: 'defects',
structuredOutputMode: 'json_schema',
// For GPT-5 models, omit maxOutputTokens unless you need a cap.
// OpenAI counts reasoning tokens inside max_completion_tokens.
model: 'gpt-5-mini',
prompt: 'Triage the changed code for correctness, regressions, and weak assumptions. Prefer concrete bugs over style.',
useTools: true,
maxToolRounds: 6
},
{
name: 'Optional Brainstorm',
provider: 'openai',
endpoint: 'https://api.openai.com/v1',
apiKeyEnv: 'OPENAI_API_KEY',
timeoutMs: 120000,
mode: 'suggestions',
structuredOutputMode: 'json_schema',
allowSuggestions: true,
maxSuggestions: 2,
// If you do set maxOutputTokens on GPT-5, keep it well above the visible output target.
model: 'gpt-5-mini',
prompt: 'Suggest at most 2 grounded follow-up improvements. Do not repeat defects. Avoid rewrites and generic wishlist items. Every suggestion must have a clear benefit and tradeoff.',
useTools: true,
maxToolRounds: 4
}
],
brainstormers: [
{
name: 'Scope Challenger',
provider: 'nvidia-free',
endpoint: 'https://integrate.api.nvidia.com/v1',
apiKeyEnv: 'NVIDIA_API_KEY',
model: 'meta/llama-3.1-70b-instruct',
structuredOutputMode: 'json_object',
prompt: 'Challenge the concept scope and identify missing constraints, hidden assumptions, and where the MVP should be narrower.',
useTools: false
},
{
name: 'Validation Planner',
provider: 'nvidia-free',
endpoint: 'https://integrate.api.nvidia.com/v1',
apiKeyEnv: 'NVIDIA_API_KEY',
model: 'meta/llama-3.1-405b-instruct',
structuredOutputMode: 'json_object',
prompt: 'Turn the concept into validation work: experiments, acceptance checks, and success criteria before implementation starts.',
useTools: false
}
],
brainstormSynthesis: {
name: 'Core Coder',
provider: 'nvidia-free',
endpoint: 'https://integrate.api.nvidia.com/v1',
apiKeyEnv: 'NVIDIA_API_KEY',
model: 'meta/llama-3.1-405b-instruct',
structuredOutputMode: 'json_object',
prompt: 'Synthesize the brainstorm panel into a grounded recommendation, a short priority list, open questions, deferred ideas, and a revised next brief.',
useTools: false
}
};