@dotdotgod/hermes 0.0.0-stage → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +94 -0
- package/README.md +126 -2
- package/__init__.py +48 -0
- package/mcp/bridge-entry.mjs +41 -0
- package/mcp/bridge.mjs +16217 -0
- package/mcp/cli.mjs +5842 -0
- package/mcp/server.mjs +23573 -0
- package/mcp/tools.json +749 -0
- package/package.json +37 -3
- package/plugin.yaml +18 -0
- package/policy.py +78 -0
- package/proxy.py +95 -0
- package/runtime.py +239 -0
- package/skills/document-clarify/SKILL.md +41 -0
- package/skills/impact-review/SKILL.md +31 -0
- package/skills/project-initializer/SKILL.md +37 -0
- package/skills/project-initializer/references/agent-docs.md +41 -0
- package/skills/project-initializer/scripts/init_project.sh +525 -0
- package/skills/project-initializer/templates/case-and-evidence.json +224 -0
- package/skills/project-initializer/templates/dotdotgod.config.json +239 -0
- package/skills/project-initializer/templates/policy.json +246 -0
- package/skills/project-initializer/templates/portfolio.json +260 -0
- package/skills/project-initializer/templates/publication.json +270 -0
- package/skills/project-initializer/templates/research.json +292 -0
- package/skills/project-initializer/templates/software.json +239 -0
- package/skills/project-load/SKILL.md +31 -0
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
{
|
|
2
|
+
"documentation": {
|
|
3
|
+
"root": "docs"
|
|
4
|
+
},
|
|
5
|
+
"memory": {
|
|
6
|
+
"areas": [
|
|
7
|
+
{
|
|
8
|
+
"id": "rules",
|
|
9
|
+
"label": "Agent Rules",
|
|
10
|
+
"paths": [
|
|
11
|
+
"AGENTS.md"
|
|
12
|
+
],
|
|
13
|
+
"excludePaths": [],
|
|
14
|
+
"scope": "shared",
|
|
15
|
+
"freshness": "fresh",
|
|
16
|
+
"role": "agent-working-rules",
|
|
17
|
+
"priority": 100,
|
|
18
|
+
"includeBodiesByDefault": true
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "agent-entrypoint",
|
|
22
|
+
"label": "Agent Entrypoints",
|
|
23
|
+
"paths": [
|
|
24
|
+
"CLAUDE.md",
|
|
25
|
+
"CODEX.md"
|
|
26
|
+
],
|
|
27
|
+
"excludePaths": [],
|
|
28
|
+
"scope": "shared",
|
|
29
|
+
"freshness": "fresh",
|
|
30
|
+
"role": "agent-specific-entrypoint",
|
|
31
|
+
"priority": 85,
|
|
32
|
+
"includeBodiesByDefault": true
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"id": "project-overview",
|
|
36
|
+
"label": "Project Overview",
|
|
37
|
+
"paths": [
|
|
38
|
+
"README.md"
|
|
39
|
+
],
|
|
40
|
+
"excludePaths": [],
|
|
41
|
+
"scope": "shared",
|
|
42
|
+
"freshness": "fresh",
|
|
43
|
+
"role": "project-map",
|
|
44
|
+
"priority": 85,
|
|
45
|
+
"includeBodiesByDefault": true
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"id": "docs-index",
|
|
49
|
+
"label": "Docs Index",
|
|
50
|
+
"paths": [
|
|
51
|
+
"docs/README.md"
|
|
52
|
+
],
|
|
53
|
+
"excludePaths": [],
|
|
54
|
+
"scope": "shared",
|
|
55
|
+
"freshness": "fresh",
|
|
56
|
+
"role": "documentation-routing-map",
|
|
57
|
+
"priority": 90,
|
|
58
|
+
"includeBodiesByDefault": true
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"id": "spec",
|
|
62
|
+
"label": "Research Specifications",
|
|
63
|
+
"paths": [
|
|
64
|
+
"docs/spec/**"
|
|
65
|
+
],
|
|
66
|
+
"excludePaths": [],
|
|
67
|
+
"scope": "shared",
|
|
68
|
+
"freshness": "fresh",
|
|
69
|
+
"role": "research-contract",
|
|
70
|
+
"priority": 85,
|
|
71
|
+
"includeBodiesByDefault": true
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"id": "architecture",
|
|
75
|
+
"label": "Architecture",
|
|
76
|
+
"paths": [
|
|
77
|
+
"docs/arch/**"
|
|
78
|
+
],
|
|
79
|
+
"excludePaths": [],
|
|
80
|
+
"scope": "shared",
|
|
81
|
+
"freshness": "fresh",
|
|
82
|
+
"role": "architecture-rationale",
|
|
83
|
+
"priority": 82,
|
|
84
|
+
"includeBodiesByDefault": true
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"id": "test",
|
|
88
|
+
"label": "Verification",
|
|
89
|
+
"paths": [
|
|
90
|
+
"docs/test/**"
|
|
91
|
+
],
|
|
92
|
+
"excludePaths": [],
|
|
93
|
+
"scope": "shared",
|
|
94
|
+
"freshness": "fresh",
|
|
95
|
+
"role": "test-strategy",
|
|
96
|
+
"priority": 78,
|
|
97
|
+
"includeBodiesByDefault": true
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"id": "research",
|
|
101
|
+
"label": "Research Notes",
|
|
102
|
+
"paths": [
|
|
103
|
+
"docs/research/**"
|
|
104
|
+
],
|
|
105
|
+
"excludePaths": [],
|
|
106
|
+
"scope": "shared",
|
|
107
|
+
"freshness": "fresh",
|
|
108
|
+
"role": "research-diary",
|
|
109
|
+
"priority": 70,
|
|
110
|
+
"includeBodiesByDefault": true
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"id": "record",
|
|
114
|
+
"label": "Research Records",
|
|
115
|
+
"paths": [
|
|
116
|
+
"docs/record/**"
|
|
117
|
+
],
|
|
118
|
+
"excludePaths": [],
|
|
119
|
+
"scope": "shared",
|
|
120
|
+
"freshness": "fresh",
|
|
121
|
+
"role": "research-record",
|
|
122
|
+
"priority": 68,
|
|
123
|
+
"includeBodiesByDefault": true
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"id": "report",
|
|
127
|
+
"label": "Reports",
|
|
128
|
+
"paths": [
|
|
129
|
+
"docs/report/**"
|
|
130
|
+
],
|
|
131
|
+
"excludePaths": [],
|
|
132
|
+
"scope": "shared",
|
|
133
|
+
"freshness": "stale",
|
|
134
|
+
"role": "report-background",
|
|
135
|
+
"priority": 60,
|
|
136
|
+
"includeBodiesByDefault": true
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"id": "artifacts",
|
|
140
|
+
"label": "Generated Artifacts",
|
|
141
|
+
"paths": [
|
|
142
|
+
"outputs/**"
|
|
143
|
+
],
|
|
144
|
+
"excludePaths": [],
|
|
145
|
+
"scope": "local",
|
|
146
|
+
"freshness": "stale",
|
|
147
|
+
"role": "artifact-body",
|
|
148
|
+
"priority": 10,
|
|
149
|
+
"includeBodiesByDefault": false
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"id": "active-plan",
|
|
153
|
+
"label": "Active Plans",
|
|
154
|
+
"paths": [
|
|
155
|
+
"docs/plan/**"
|
|
156
|
+
],
|
|
157
|
+
"excludePaths": [],
|
|
158
|
+
"scope": "local",
|
|
159
|
+
"freshness": "fresh",
|
|
160
|
+
"role": "active-task-intent",
|
|
161
|
+
"priority": 95,
|
|
162
|
+
"includeBodiesByDefault": true
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"id": "archive-map",
|
|
166
|
+
"label": "Archive Map",
|
|
167
|
+
"paths": [
|
|
168
|
+
"docs/archive/README.md"
|
|
169
|
+
],
|
|
170
|
+
"excludePaths": [],
|
|
171
|
+
"scope": "local",
|
|
172
|
+
"freshness": "stale",
|
|
173
|
+
"role": "historical-memory-map",
|
|
174
|
+
"priority": 65,
|
|
175
|
+
"includeBodiesByDefault": true
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"id": "archive-body",
|
|
179
|
+
"label": "Archive Body",
|
|
180
|
+
"paths": [
|
|
181
|
+
"docs/archive/**"
|
|
182
|
+
],
|
|
183
|
+
"excludePaths": [
|
|
184
|
+
"docs/archive/README.md"
|
|
185
|
+
],
|
|
186
|
+
"scope": "local",
|
|
187
|
+
"freshness": "stale",
|
|
188
|
+
"role": "historical-memory-body",
|
|
189
|
+
"priority": 20,
|
|
190
|
+
"includeBodiesByDefault": false
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"id": "docs",
|
|
194
|
+
"label": "Project Documentation",
|
|
195
|
+
"paths": [
|
|
196
|
+
"docs/**"
|
|
197
|
+
],
|
|
198
|
+
"excludePaths": [],
|
|
199
|
+
"scope": "shared",
|
|
200
|
+
"freshness": "fresh",
|
|
201
|
+
"role": "project-documentation",
|
|
202
|
+
"priority": 60,
|
|
203
|
+
"includeBodiesByDefault": true
|
|
204
|
+
}
|
|
205
|
+
]
|
|
206
|
+
},
|
|
207
|
+
"traceability": {
|
|
208
|
+
"required": [
|
|
209
|
+
"docs/spec/**",
|
|
210
|
+
"docs/report/**"
|
|
211
|
+
],
|
|
212
|
+
"exclude": [
|
|
213
|
+
"**/README.md"
|
|
214
|
+
],
|
|
215
|
+
"keys": [
|
|
216
|
+
{
|
|
217
|
+
"key": "informedBy",
|
|
218
|
+
"label": "Informed by",
|
|
219
|
+
"description": "Research sources or prior findings that justify the direction.",
|
|
220
|
+
"target": "path",
|
|
221
|
+
"relation": "informed_by",
|
|
222
|
+
"weight": 4
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"key": "assumptionsDefinedIn",
|
|
226
|
+
"label": "Assumptions defined in",
|
|
227
|
+
"description": "Documents defining assumptions that bound the claim.",
|
|
228
|
+
"target": "path",
|
|
229
|
+
"relation": "assumptions_defined_in",
|
|
230
|
+
"weight": 4
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"key": "evaluatedBy",
|
|
234
|
+
"label": "Evaluated by",
|
|
235
|
+
"description": "Evaluation protocols or measurement methods.",
|
|
236
|
+
"target": "path",
|
|
237
|
+
"relation": "evaluated_by",
|
|
238
|
+
"weight": 4
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"key": "evidenceRecordedIn",
|
|
242
|
+
"label": "Evidence recorded in",
|
|
243
|
+
"description": "Dated experiment, dataset, or validation records.",
|
|
244
|
+
"target": "path",
|
|
245
|
+
"relation": "evidence_recorded_in",
|
|
246
|
+
"weight": 4
|
|
247
|
+
}
|
|
248
|
+
]
|
|
249
|
+
},
|
|
250
|
+
"validation": {
|
|
251
|
+
"markdown": {
|
|
252
|
+
"maxLines": 200,
|
|
253
|
+
"maxChars": 10000,
|
|
254
|
+
"exclude": [],
|
|
255
|
+
"filename": {
|
|
256
|
+
"warnNumberedSeries": true,
|
|
257
|
+
"allow": []
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
"impactRanking": {
|
|
262
|
+
"semantic": {
|
|
263
|
+
"enabled": true,
|
|
264
|
+
"threshold": 0.5,
|
|
265
|
+
"topKPerFile": 5
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
"referenceExpansion": {
|
|
269
|
+
"fuzzy": {
|
|
270
|
+
"lowSignal": {
|
|
271
|
+
"add": [],
|
|
272
|
+
"remove": []
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
"load": {
|
|
277
|
+
"pinnedPaths": [],
|
|
278
|
+
"pinnedBodies": [],
|
|
279
|
+
"documentationSummary": {
|
|
280
|
+
"exclude": [
|
|
281
|
+
"docs/plan",
|
|
282
|
+
"docs/archive"
|
|
283
|
+
]
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
"planMode": {
|
|
287
|
+
"writablePaths": [
|
|
288
|
+
"docs/plan/**",
|
|
289
|
+
"docs/archive/**"
|
|
290
|
+
]
|
|
291
|
+
}
|
|
292
|
+
}
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
{
|
|
2
|
+
"documentation": {
|
|
3
|
+
"root": "docs"
|
|
4
|
+
},
|
|
5
|
+
"memory": {
|
|
6
|
+
"areas": [
|
|
7
|
+
{
|
|
8
|
+
"id": "rules",
|
|
9
|
+
"label": "Agent Rules",
|
|
10
|
+
"paths": [
|
|
11
|
+
"AGENTS.md"
|
|
12
|
+
],
|
|
13
|
+
"excludePaths": [],
|
|
14
|
+
"scope": "shared",
|
|
15
|
+
"freshness": "fresh",
|
|
16
|
+
"role": "agent-working-rules",
|
|
17
|
+
"priority": 100,
|
|
18
|
+
"includeBodiesByDefault": true
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "agent-entrypoint",
|
|
22
|
+
"label": "Agent Entrypoints",
|
|
23
|
+
"paths": [
|
|
24
|
+
"CLAUDE.md",
|
|
25
|
+
"CODEX.md"
|
|
26
|
+
],
|
|
27
|
+
"excludePaths": [],
|
|
28
|
+
"scope": "shared",
|
|
29
|
+
"freshness": "fresh",
|
|
30
|
+
"role": "agent-specific-entrypoint",
|
|
31
|
+
"priority": 85,
|
|
32
|
+
"includeBodiesByDefault": true
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"id": "project-overview",
|
|
36
|
+
"label": "Project Overview",
|
|
37
|
+
"paths": [
|
|
38
|
+
"README.md"
|
|
39
|
+
],
|
|
40
|
+
"excludePaths": [],
|
|
41
|
+
"scope": "shared",
|
|
42
|
+
"freshness": "fresh",
|
|
43
|
+
"role": "project-map",
|
|
44
|
+
"priority": 85,
|
|
45
|
+
"includeBodiesByDefault": true
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"id": "docs-index",
|
|
49
|
+
"label": "Docs Index",
|
|
50
|
+
"paths": [
|
|
51
|
+
"docs/README.md"
|
|
52
|
+
],
|
|
53
|
+
"excludePaths": [],
|
|
54
|
+
"scope": "shared",
|
|
55
|
+
"freshness": "fresh",
|
|
56
|
+
"role": "documentation-routing-map",
|
|
57
|
+
"priority": 90,
|
|
58
|
+
"includeBodiesByDefault": true
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"id": "spec",
|
|
62
|
+
"label": "Product Specs",
|
|
63
|
+
"paths": [
|
|
64
|
+
"docs/spec/**"
|
|
65
|
+
],
|
|
66
|
+
"excludePaths": [],
|
|
67
|
+
"scope": "shared",
|
|
68
|
+
"freshness": "fresh",
|
|
69
|
+
"role": "behavior-truth",
|
|
70
|
+
"priority": 80,
|
|
71
|
+
"includeBodiesByDefault": true
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"id": "architecture",
|
|
75
|
+
"label": "Architecture",
|
|
76
|
+
"paths": [
|
|
77
|
+
"docs/arch/**"
|
|
78
|
+
],
|
|
79
|
+
"excludePaths": [],
|
|
80
|
+
"scope": "shared",
|
|
81
|
+
"freshness": "fresh",
|
|
82
|
+
"role": "architecture-rationale",
|
|
83
|
+
"priority": 75,
|
|
84
|
+
"includeBodiesByDefault": true
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"id": "test",
|
|
88
|
+
"label": "Tests",
|
|
89
|
+
"paths": [
|
|
90
|
+
"docs/test/**"
|
|
91
|
+
],
|
|
92
|
+
"excludePaths": [],
|
|
93
|
+
"scope": "shared",
|
|
94
|
+
"freshness": "fresh",
|
|
95
|
+
"role": "verification-knowledge",
|
|
96
|
+
"priority": 70,
|
|
97
|
+
"includeBodiesByDefault": true
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"id": "active-plan",
|
|
101
|
+
"label": "Active Plans",
|
|
102
|
+
"paths": [
|
|
103
|
+
"docs/plan/**"
|
|
104
|
+
],
|
|
105
|
+
"excludePaths": [],
|
|
106
|
+
"scope": "local",
|
|
107
|
+
"freshness": "fresh",
|
|
108
|
+
"role": "active-task-intent",
|
|
109
|
+
"priority": 95,
|
|
110
|
+
"includeBodiesByDefault": true
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"id": "archive-map",
|
|
114
|
+
"label": "Archive Map",
|
|
115
|
+
"paths": [
|
|
116
|
+
"docs/archive/README.md"
|
|
117
|
+
],
|
|
118
|
+
"excludePaths": [],
|
|
119
|
+
"scope": "local",
|
|
120
|
+
"freshness": "stale",
|
|
121
|
+
"role": "historical-memory-map",
|
|
122
|
+
"priority": 65,
|
|
123
|
+
"includeBodiesByDefault": true
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"id": "archive-body",
|
|
127
|
+
"label": "Archive Body",
|
|
128
|
+
"paths": [
|
|
129
|
+
"docs/archive/**"
|
|
130
|
+
],
|
|
131
|
+
"excludePaths": [
|
|
132
|
+
"docs/archive/README.md"
|
|
133
|
+
],
|
|
134
|
+
"scope": "local",
|
|
135
|
+
"freshness": "stale",
|
|
136
|
+
"role": "historical-memory-body",
|
|
137
|
+
"priority": 20,
|
|
138
|
+
"includeBodiesByDefault": false
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"id": "docs",
|
|
142
|
+
"label": "Project Documentation",
|
|
143
|
+
"paths": [
|
|
144
|
+
"docs/**"
|
|
145
|
+
],
|
|
146
|
+
"excludePaths": [],
|
|
147
|
+
"scope": "shared",
|
|
148
|
+
"freshness": "fresh",
|
|
149
|
+
"role": "project-documentation",
|
|
150
|
+
"priority": 60,
|
|
151
|
+
"includeBodiesByDefault": true
|
|
152
|
+
}
|
|
153
|
+
]
|
|
154
|
+
},
|
|
155
|
+
"traceability": {
|
|
156
|
+
"required": [
|
|
157
|
+
"docs/spec/**"
|
|
158
|
+
],
|
|
159
|
+
"exclude": [
|
|
160
|
+
"**/README.md"
|
|
161
|
+
],
|
|
162
|
+
"keys": [
|
|
163
|
+
{
|
|
164
|
+
"key": "implementedBy",
|
|
165
|
+
"label": "Implemented by",
|
|
166
|
+
"description": "Files that implement the behavior.",
|
|
167
|
+
"target": "path",
|
|
168
|
+
"relation": "implemented_by",
|
|
169
|
+
"weight": 4
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"key": "verifiedBy",
|
|
173
|
+
"label": "Verified by",
|
|
174
|
+
"description": "Tests or maintained verification documents.",
|
|
175
|
+
"target": "path",
|
|
176
|
+
"relation": "verified_by",
|
|
177
|
+
"weight": 4
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"key": "relatedDocs",
|
|
181
|
+
"label": "Related docs",
|
|
182
|
+
"description": "Documents needed to interpret the behavior.",
|
|
183
|
+
"target": "path",
|
|
184
|
+
"relation": "related_doc",
|
|
185
|
+
"weight": 3
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"key": "designDecisions",
|
|
189
|
+
"label": "Design decisions",
|
|
190
|
+
"description": "Maintained architecture or design decision documents that constrain the behavior.",
|
|
191
|
+
"target": "path",
|
|
192
|
+
"relation": "design_decision",
|
|
193
|
+
"weight": 3
|
|
194
|
+
}
|
|
195
|
+
]
|
|
196
|
+
},
|
|
197
|
+
"validation": {
|
|
198
|
+
"markdown": {
|
|
199
|
+
"maxLines": 200,
|
|
200
|
+
"maxChars": 10000,
|
|
201
|
+
"exclude": [],
|
|
202
|
+
"filename": {
|
|
203
|
+
"warnNumberedSeries": true,
|
|
204
|
+
"allow": []
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
"impactRanking": {
|
|
209
|
+
"semantic": {
|
|
210
|
+
"enabled": true,
|
|
211
|
+
"threshold": 0.5,
|
|
212
|
+
"topKPerFile": 5
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
"referenceExpansion": {
|
|
216
|
+
"fuzzy": {
|
|
217
|
+
"lowSignal": {
|
|
218
|
+
"add": [],
|
|
219
|
+
"remove": []
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
"load": {
|
|
224
|
+
"pinnedPaths": [],
|
|
225
|
+
"pinnedBodies": [],
|
|
226
|
+
"documentationSummary": {
|
|
227
|
+
"exclude": [
|
|
228
|
+
"docs/plan",
|
|
229
|
+
"docs/archive"
|
|
230
|
+
]
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
"planMode": {
|
|
234
|
+
"writablePaths": [
|
|
235
|
+
"docs/plan/**",
|
|
236
|
+
"docs/archive/**"
|
|
237
|
+
]
|
|
238
|
+
}
|
|
239
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: project-load
|
|
3
|
+
description: Project Load for dotdotgod project memory in Hermes CLI and messaging gateway.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<!-- Generated from packages/shared resources by scripts/generate-adapters.mjs. Do not edit this file directly; edit the shared source and run `pnpm run generate`. -->
|
|
7
|
+
|
|
8
|
+
# Project Load
|
|
9
|
+
|
|
10
|
+
Use the operator-authorized selected repository. Prefer the native dotdotgod_project_initialize, dotdotgod_project_load and dotdotgod_project_impact tools for their respective workflows. Context tools use dotdotgod_ names; results contain content and structuredContent, not Pi codemode objects. Do not bypass host permissions or pending impact gates. Hermes native delegate_task handles delegation; this adapter has no Plan Mode.
|
|
11
|
+
|
|
12
|
+
## CLI Context
|
|
13
|
+
|
|
14
|
+
Run `dotdotgod map <root> --depth 5 --json` for a broad documentation map. With focus text, run `dotdotgod query <root> "<focus>" --limit 30 --json` and `dotdotgod map <root> --depth 3 --json`. The map command resolves the configured documentation root and exclusions. If the CLI is unavailable, continue from the documentation tree and README indexes.
|
|
15
|
+
|
|
16
|
+
## Goal
|
|
17
|
+
|
|
18
|
+
Load the repository's dotdotgod project memory without modifying maintained files. Treat free-form arguments as query text, not mode switches.
|
|
19
|
+
|
|
20
|
+
## Workflow
|
|
21
|
+
|
|
22
|
+
1. Identify the repository root. Expose `Help: dotdotgod --help` as optional CLI discovery guidance without checking or reporting installation status, and do not require Help execution for Load to continue.
|
|
23
|
+
2. When baseline context is missing, read `AGENTS.md`, the adapter entrypoint, `README.md`, and `docs/README.md` when present.
|
|
24
|
+
3. Without arguments, run `dotdotgod map <root> --depth 5 --json` and use its configured prefix-compressed documentation tree. The command owns `documentation.root`, `load.documentationSummary.exclude`, deterministic Markdown discovery, and boundary summaries.
|
|
25
|
+
4. With arguments, run `dotdotgod query <root> "<focus>" --limit 30 --json` for at most 30 distinct Markdown files and `dotdotgod map <root> --depth 3 --json` for the configured navigation tree.
|
|
26
|
+
5. If the CLI or shell execution is unavailable, preserve Load behavior by building the same tree from the configured documentation root when known, excluding local memory, and using README routing. At the depth boundary, list every direct Markdown file and immediate child directory, then summarize hidden descendants separately under each named child with exact recursive directory and Markdown-file counts.
|
|
27
|
+
6. Read bodies selectively from query results, explicit paths, and README indexes. Read relevant active plans only when needed, use `docs/archive/README.md` (or the configured archive `README.md` under an alternate documentation root) as the history map, and avoid broad generated, dependency, cache, or secret reads.
|
|
28
|
+
|
|
29
|
+
## Output
|
|
30
|
+
|
|
31
|
+
Report the project purpose, key rules, relevant documentation routes, and only the active-plan or next-read hints needed for the request. Keep compact loads to a brief refresh.
|