forked from cobusgreyling/loop-engineering
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathregistry.schema.json
More file actions
105 lines (105 loc) · 3.02 KB
/
Copy pathregistry.schema.json
File metadata and controls
105 lines (105 loc) · 3.02 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
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/cobusgreyling/loop-engineering/patterns/registry.schema.json",
"title": "Loop Pattern Registry",
"type": "object",
"required": ["patterns"],
"additionalProperties": false,
"properties": {
"patterns": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"required": [
"id",
"name",
"file",
"goal",
"cadence",
"risk",
"tools",
"skills",
"state",
"phases",
"human_gates"
],
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z][a-z0-9-]*$"
},
"name": { "type": "string", "minLength": 3 },
"file": {
"type": "string",
"pattern": "^[a-z0-9-]+\\.md$"
},
"goal": { "type": "string", "minLength": 10 },
"cadence": {
"type": "string",
"pattern": "^[0-9]+[mhd](-[0-9]+[mhd])?$"
},
"risk": {
"type": "string",
"enum": ["low", "medium", "high"]
},
"tools": {
"type": "array",
"minItems": 1,
"items": {
"type": "string",
"enum": ["grok", "claude-code", "codex", "github-actions", "cursor", "windsurf", "aider"]
}
},
"skills": {
"type": "array",
"minItems": 1,
"items": { "type": "string", "minLength": 2 }
},
"state": {
"type": "string",
"pattern": "^[A-Za-z0-9-]+\\.md$"
},
"phases": {
"type": "array",
"minItems": 2,
"items": { "type": "string", "minLength": 2 }
},
"human_gates": {
"type": "array",
"minItems": 1,
"items": { "type": "string", "minLength": 2 }
},
"starter": { "type": "string" },
"week_one_mode": {
"type": "string",
"enum": ["L1", "L2", "L3"]
},
"token_cost": {
"type": "string",
"enum": ["low", "medium", "high", "very-high"]
},
"cost": {
"type": "object",
"required": [
"tokens_noop",
"tokens_report",
"tokens_action",
"suggested_daily_cap",
"early_exit_required"
],
"additionalProperties": false,
"properties": {
"tokens_noop": { "type": "integer", "minimum": 1000 },
"tokens_report": { "type": "integer", "minimum": 1000 },
"tokens_action": { "type": "integer", "minimum": 1000 },
"suggested_daily_cap": { "type": "integer", "minimum": 10000 },
"early_exit_required": { "type": "boolean" }
}
}
}
}
}
}
}