-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject_config.json
More file actions
372 lines (372 loc) · 8.89 KB
/
project_config.json
File metadata and controls
372 lines (372 loc) · 8.89 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
{
"slug": "code-tutor-api",
"name": "Code Tutor Api",
"domain": "Education / Coding",
"target_user": "Domain operator, business owner, analyst, or team member who needs this workflow executed reliably.",
"core_job": "Student code → explanation, diagnosis, next exercise",
"deep_features": [
"mistake pattern detection",
"hint ladder",
"concept map",
"adaptive exercises",
"mastery score",
"LMS export",
"anti-cheat guidance"
],
"input_schema": [
{
"key": "student_code",
"label": "Student code",
"type": "text",
"required": true,
"help": "Affects input: Student code.",
"affects": [
"prompt",
"workflow"
],
"default": ""
},
{
"key": "work_brief",
"label": "Work brief / source text / URL / instructions",
"type": "textarea",
"required": true,
"default": "",
"help": "Paste the material, URL, description, or instruction needed for this project.",
"affects": [
"prompt",
"workflow"
]
}
],
"customization_schema": [
{
"key": "execution_mode",
"label": "Execution mode",
"type": "select",
"required": false,
"options": [
"Draft",
"Production",
"Audit / strict review",
"JSON/API output"
],
"default": "Production",
"help": "Controls strictness, depth, and output format for this project workflow.",
"affects": [
"workflow",
"validation",
"export"
]
},
{
"key": "programming_language",
"label": "programming language",
"type": "select",
"required": false,
"help": "Affects customization: programming language.",
"affects": [
"prompt",
"validation",
"workflow",
"export"
],
"options": [
"English",
"Arabic",
"Egyptian Arabic",
"French",
"German",
"Spanish"
],
"default": "English"
},
{
"key": "learner_level",
"label": "learner level",
"type": "select",
"required": false,
"help": "Affects customization: learner level.",
"affects": [
"prompt",
"validation",
"workflow",
"export"
],
"default": ""
},
{
"key": "curriculum",
"label": "curriculum",
"type": "text",
"required": false,
"help": "Affects customization: curriculum.",
"affects": [
"prompt",
"validation",
"workflow",
"export"
],
"default": ""
},
{
"key": "hint_style",
"label": "hint style",
"type": "select",
"required": false,
"help": "Affects customization: hint style.",
"affects": [
"prompt",
"validation",
"workflow",
"export"
],
"default": ""
},
{
"key": "rubric",
"label": "rubric",
"type": "text",
"required": false,
"help": "Affects customization: rubric.",
"affects": [
"prompt",
"validation",
"workflow",
"export"
],
"default": ""
},
{
"key": "explanation_depth",
"label": "explanation depth",
"type": "text",
"required": false,
"help": "Affects customization: explanation depth.",
"affects": [
"prompt",
"validation",
"workflow",
"export"
],
"default": ""
},
{
"key": "exercise_difficulty",
"label": "exercise difficulty",
"type": "text",
"required": false,
"help": "Affects customization: exercise difficulty.",
"affects": [
"prompt",
"validation",
"workflow",
"export"
],
"default": ""
},
{
"key": "output_format",
"label": "output format",
"type": "select",
"required": false,
"help": "Affects customization: output format.",
"affects": [
"prompt",
"validation",
"workflow",
"export"
],
"options": [
"Markdown",
"JSON",
"CSV",
"PDF",
"DOCX",
"XLSX"
],
"default": "Markdown"
},
{
"key": "language",
"label": "language",
"type": "select",
"required": false,
"help": "Affects customization: language.",
"affects": [
"prompt",
"validation",
"workflow",
"export"
],
"options": [
"English",
"Arabic",
"Egyptian Arabic",
"French",
"German",
"Spanish"
],
"default": "English"
},
{
"key": "privacy_mode",
"label": "privacy mode",
"type": "select",
"required": false,
"help": "Affects customization: privacy mode.",
"affects": [
"prompt",
"validation",
"workflow",
"export"
],
"options": [
"cloud allowed",
"local only",
"redact sensitive data"
],
"default": "cloud allowed"
},
{
"key": "confidence_threshold",
"label": "Confidence threshold",
"type": "slider",
"required": false,
"min": 0,
"max": 100,
"default": 75,
"help": "Items below this confidence are escalated to the human review queue.",
"affects": [
"validation",
"workflow",
"export"
]
}
],
"workflow_steps": [
"Student code",
"explanation, diagnosis, next exercise"
],
"ui_panels": [
"code editor",
"hints panel",
"concept map",
"exercise generator",
"progress dashboard"
],
"output_formats": [
"feedback JSON",
"exercises",
"LMS report",
"student summary"
],
"integrations": [
"File upload",
"REST API",
"Export download",
"Job history"
],
"guardrails": [
"Show uncertainty and confidence",
"Cite evidence from input when possible",
"Human review required for legal, medical, financial, hiring, or security decisions",
"Do not invent facts absent from input"
],
"recommended_models": {
"drafting": "fast cloud or local instruct model",
"reasoning": "strong reasoning model",
"private_documents": "local model via Ollama/LM Studio/vLLM",
"vision_or_pdf": "vision-capable model when image pages are used"
},
"suite": "Developer Productivity Suite",
"implementation_status": "real_local_engine_registered",
"analysis_modules": [
"code_inventory",
"learning_diagnosis",
"exercise_builder"
],
"output_sections": [
"Explanation",
"Mistake diagnosis",
"Next exercises",
"Rubric"
],
"field_validations": [
{
"field": "programming_language",
"rule": "Preserve requested language in final deliverable unless source text requires bilingual output."
},
{
"field": "language",
"rule": "Preserve requested language in final deliverable unless source text requires bilingual output."
}
],
"scorecards": [
"Correctness",
"Security risk",
"Maintainability",
"Test coverage",
"Deployment readiness"
],
"automation_hooks": [
{
"name": "save_job_snapshot",
"type": "internal",
"description": "Persist inputs, customization, uploads, output, and usage for audit/history."
},
{
"name": "export_pack",
"type": "internal",
"description": "Export Markdown, JSON, PDF, and DOCX from the completed job."
},
{
"name": "human_review_queue",
"type": "manual",
"description": "Flag low-confidence, legal/medical/finance/security/compliance-sensitive items for human review."
}
],
"ux_profile": {
"name": "Developer Workbench",
"accent": "#60a5fa",
"layout": "Code/schema/log intake → analysis → diff/tests/docs → implementation checklist",
"hero": "Engineering-grade UX with code-aware intake, API/schema panels, test results, diffs, and implementation outputs.",
"components": [
"Code/source panel",
"File tree summary",
"Diff and patch viewer",
"Test/result board",
"API/schema preview"
],
"metrics": [
"Coverage readiness",
"Risk/bug count",
"Implementation clarity",
"Docs completeness"
],
"quick_actions": [
"Analyze source",
"Generate patch/checklist",
"Create tests",
"Build docs/schema output"
],
"review_lanes": [
"Inspect",
"Analyze",
"Patch",
"Test",
"Ship"
],
"empty_state": "Paste code, schema, logs, or upload source files. Real repository actions require Git/CI connectors.",
"icon": "</>",
"project_slug": "code-tutor-api",
"domain": "Education / Coding"
},
"final_gui_status": {
"standalone_folder_gui": true,
"domain_specific_ux_profile": true,
"elegant_component_system": true,
"no_fake_live_data_policy": true,
"requires_real_connectors_for_external_actions": true
}
}