aether-colony 3.1.5 → 3.1.16
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/.claude/commands/ant/archaeology.md +12 -0
- package/.claude/commands/ant/build.md +382 -319
- package/.claude/commands/ant/chaos.md +23 -1
- package/.claude/commands/ant/colonize.md +147 -87
- package/.claude/commands/ant/continue.md +213 -23
- package/.claude/commands/ant/council.md +22 -0
- package/.claude/commands/ant/dream.md +18 -0
- package/.claude/commands/ant/entomb.md +178 -6
- package/.claude/commands/ant/init.md +87 -13
- package/.claude/commands/ant/lay-eggs.md +45 -5
- package/.claude/commands/ant/oracle.md +82 -9
- package/.claude/commands/ant/organize.md +2 -2
- package/.claude/commands/ant/pause-colony.md +86 -28
- package/.claude/commands/ant/phase.md +26 -0
- package/.claude/commands/ant/plan.md +204 -111
- package/.claude/commands/ant/resume-colony.md +23 -1
- package/.claude/commands/ant/resume.md +159 -0
- package/.claude/commands/ant/seal.md +177 -3
- package/.claude/commands/ant/swarm.md +78 -97
- package/.claude/commands/ant/verify-castes.md +7 -7
- package/.claude/commands/ant/watch.md +17 -0
- package/.opencode/agents/aether-ambassador.md +97 -0
- package/.opencode/agents/aether-archaeologist.md +91 -0
- package/.opencode/agents/aether-architect.md +66 -0
- package/.opencode/agents/aether-auditor.md +111 -0
- package/.opencode/agents/aether-builder.md +28 -10
- package/.opencode/agents/aether-chaos.md +98 -0
- package/.opencode/agents/aether-chronicler.md +80 -0
- package/.opencode/agents/aether-gatekeeper.md +107 -0
- package/.opencode/agents/aether-guardian.md +107 -0
- package/.opencode/agents/aether-includer.md +108 -0
- package/.opencode/agents/aether-keeper.md +106 -0
- package/.opencode/agents/aether-measurer.md +119 -0
- package/.opencode/agents/aether-probe.md +91 -0
- package/.opencode/agents/aether-queen.md +72 -19
- package/.opencode/agents/aether-route-setter.md +85 -0
- package/.opencode/agents/aether-sage.md +98 -0
- package/.opencode/agents/aether-scout.md +33 -15
- package/.opencode/agents/aether-surveyor-disciplines.md +334 -0
- package/.opencode/agents/aether-surveyor-nest.md +272 -0
- package/.opencode/agents/aether-surveyor-pathogens.md +209 -0
- package/.opencode/agents/aether-surveyor-provisions.md +277 -0
- package/.opencode/agents/aether-tracker.md +91 -0
- package/.opencode/agents/aether-watcher.md +30 -12
- package/.opencode/agents/aether-weaver.md +87 -0
- package/.opencode/agents/workers.md +1034 -0
- package/.opencode/commands/ant/archaeology.md +44 -26
- package/.opencode/commands/ant/build.md +326 -294
- package/.opencode/commands/ant/chaos.md +32 -4
- package/.opencode/commands/ant/colonize.md +119 -93
- package/.opencode/commands/ant/continue.md +98 -10
- package/.opencode/commands/ant/council.md +28 -0
- package/.opencode/commands/ant/dream.md +24 -0
- package/.opencode/commands/ant/entomb.md +73 -1
- package/.opencode/commands/ant/feedback.md +8 -2
- package/.opencode/commands/ant/flag.md +9 -3
- package/.opencode/commands/ant/flags.md +8 -2
- package/.opencode/commands/ant/focus.md +8 -2
- package/.opencode/commands/ant/help.md +12 -0
- package/.opencode/commands/ant/init.md +49 -4
- package/.opencode/commands/ant/lay-eggs.md +30 -2
- package/.opencode/commands/ant/oracle.md +39 -7
- package/.opencode/commands/ant/organize.md +8 -2
- package/.opencode/commands/ant/pause-colony.md +54 -1
- package/.opencode/commands/ant/phase.md +36 -4
- package/.opencode/commands/ant/plan.md +224 -116
- package/.opencode/commands/ant/redirect.md +8 -2
- package/.opencode/commands/ant/resume-colony.md +51 -26
- package/.opencode/commands/ant/seal.md +76 -0
- package/.opencode/commands/ant/status.md +50 -20
- package/.opencode/commands/ant/swarm.md +108 -104
- package/.opencode/commands/ant/tunnels.md +107 -2
- package/CHANGELOG.md +16 -0
- package/README.md +199 -86
- package/bin/cli.js +142 -25
- package/bin/generate-commands.sh +100 -16
- package/bin/lib/caste-colors.js +5 -5
- package/bin/lib/errors.js +16 -0
- package/bin/lib/file-lock.js +279 -44
- package/bin/lib/state-sync.js +206 -23
- package/bin/lib/update-transaction.js +206 -24
- package/bin/sync-to-runtime.sh +138 -0
- package/package.json +2 -2
- package/runtime/CONTEXT.md +160 -0
- package/runtime/aether-utils.sh +1421 -55
- package/runtime/docs/AETHER-2.0-IMPLEMENTATION-PLAN.md +1343 -0
- package/runtime/docs/AETHER-PHEROMONE-SYSTEM-MASTER-SPEC.md +2642 -0
- package/runtime/docs/PHEROMONE-INJECTION.md +240 -0
- package/runtime/docs/PHEROMONE-INTEGRATION.md +192 -0
- package/runtime/docs/PHEROMONE-SYSTEM-DESIGN.md +426 -0
- package/runtime/docs/README.md +94 -0
- package/runtime/docs/VISUAL-OUTPUT-SPEC.md +219 -0
- package/runtime/docs/biological-reference.md +272 -0
- package/runtime/docs/codebase-review.md +399 -0
- package/runtime/docs/command-sync.md +164 -0
- package/runtime/docs/implementation-learnings.md +89 -0
- package/runtime/docs/known-issues.md +217 -0
- package/runtime/docs/namespace.md +148 -0
- package/runtime/docs/planning-discipline.md +159 -0
- package/runtime/exchange/pheromone-xml.sh +574 -0
- package/runtime/exchange/registry-xml.sh +269 -0
- package/runtime/exchange/wisdom-xml.sh +312 -0
- package/runtime/lib/queen-utils.sh +729 -0
- package/runtime/model-profiles.yaml +100 -0
- package/runtime/recover.sh +136 -0
- package/runtime/schemas/aether-types.xsd +255 -0
- package/runtime/schemas/colony-registry.xsd +309 -0
- package/runtime/schemas/pheromone.xsd +163 -0
- package/runtime/schemas/prompt.xsd +416 -0
- package/runtime/schemas/queen-wisdom.xsd +325 -0
- package/runtime/schemas/worker-priming.xsd +276 -0
- package/runtime/templates/QUEEN.md.template +79 -0
- package/runtime/utils/atomic-write.sh +5 -5
- package/runtime/utils/chamber-utils.sh +6 -3
- package/runtime/utils/error-handler.sh +200 -0
- package/runtime/utils/queen-to-md.xsl +395 -0
- package/runtime/utils/spawn-tree.sh +428 -0
- package/runtime/utils/spawn-with-model.sh +56 -0
- package/runtime/utils/state-loader.sh +215 -0
- package/runtime/utils/swarm-display.sh +5 -5
- package/runtime/utils/watch-spawn-tree.sh +90 -22
- package/runtime/utils/xml-compose.sh +247 -0
- package/runtime/utils/xml-core.sh +186 -0
- package/runtime/utils/xml-utils.sh +2196 -0
- package/runtime/verification-loop.md +1 -1
- package/runtime/workers-new-castes.md +516 -0
- package/runtime/workers.md +18 -6
- package/.aether/visualizations/anthill-stages/brood-stable.txt +0 -26
- package/.aether/visualizations/anthill-stages/crowned-anthill.txt +0 -30
- package/.aether/visualizations/anthill-stages/first-mound.txt +0 -18
- package/.aether/visualizations/anthill-stages/open-chambers.txt +0 -24
- package/.aether/visualizations/anthill-stages/sealed-chambers.txt +0 -28
- package/.aether/visualizations/anthill-stages/ventilated-nest.txt +0 -27
|
@@ -0,0 +1,416 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!--
|
|
3
|
+
Aether Prompt XML Schema (XSD)
|
|
4
|
+
|
|
5
|
+
Purpose: Define structured prompts for colony workers and commands.
|
|
6
|
+
XML-structured prompts are more reliable, parseable, and
|
|
7
|
+
self-documenting than free-form text.
|
|
8
|
+
|
|
9
|
+
Architecture: Replaces ad-hoc markdown prompts with semantic XML tags
|
|
10
|
+
that Claude parses more reliably.
|
|
11
|
+
|
|
12
|
+
Version: 1.0.0
|
|
13
|
+
Namespace: http://aether.colony/schemas/prompt/1.0
|
|
14
|
+
-->
|
|
15
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
16
|
+
xmlns:ap="http://aether.colony/schemas/prompt/1.0"
|
|
17
|
+
elementFormDefault="unqualified"
|
|
18
|
+
attributeFormDefault="unqualified">
|
|
19
|
+
|
|
20
|
+
<!-- ============================================================ -->
|
|
21
|
+
<!-- Simple Types -->
|
|
22
|
+
<!-- ============================================================ -->
|
|
23
|
+
|
|
24
|
+
<!-- Prompt type classification -->
|
|
25
|
+
<xs:simpleType name="promptType">
|
|
26
|
+
<xs:restriction base="xs:string">
|
|
27
|
+
<xs:enumeration value="worker"/>
|
|
28
|
+
<xs:enumeration value="command"/>
|
|
29
|
+
<xs:enumeration value="agent"/>
|
|
30
|
+
<xs:enumeration value="system"/>
|
|
31
|
+
</xs:restriction>
|
|
32
|
+
</xs:simpleType>
|
|
33
|
+
|
|
34
|
+
<!-- Caste assignment for worker prompts -->
|
|
35
|
+
<xs:simpleType name="casteType">
|
|
36
|
+
<xs:restriction base="xs:string">
|
|
37
|
+
<xs:enumeration value="builder"/>
|
|
38
|
+
<xs:enumeration value="watcher"/>
|
|
39
|
+
<xs:enumeration value="scout"/>
|
|
40
|
+
<xs:enumeration value="chaos"/>
|
|
41
|
+
<xs:enumeration value="oracle"/>
|
|
42
|
+
<xs:enumeration value="architect"/>
|
|
43
|
+
<xs:enumeration value="prime"/>
|
|
44
|
+
<xs:enumeration value="colonizer"/>
|
|
45
|
+
<xs:enumeration value="route_setter"/>
|
|
46
|
+
<xs:enumeration value="archaeologist"/>
|
|
47
|
+
<xs:enumeration value="chronicler"/>
|
|
48
|
+
<xs:enumeration value="guardian"/>
|
|
49
|
+
<xs:enumeration value="gatekeeper"/>
|
|
50
|
+
<xs:enumeration value="weaver"/>
|
|
51
|
+
<xs:enumeration value="probe"/>
|
|
52
|
+
<xs:enumeration value="sage"/>
|
|
53
|
+
<xs:enumeration value="measurer"/>
|
|
54
|
+
<xs:enumeration value="keeper"/>
|
|
55
|
+
<xs:enumeration value="tracker"/>
|
|
56
|
+
<xs:enumeration value="includer"/>
|
|
57
|
+
</xs:restriction>
|
|
58
|
+
</xs:simpleType>
|
|
59
|
+
|
|
60
|
+
<!-- Priority levels -->
|
|
61
|
+
<xs:simpleType name="priorityType">
|
|
62
|
+
<xs:restriction base="xs:string">
|
|
63
|
+
<xs:enumeration value="critical"/>
|
|
64
|
+
<xs:enumeration value="high"/>
|
|
65
|
+
<xs:enumeration value="normal"/>
|
|
66
|
+
<xs:enumeration value="low"/>
|
|
67
|
+
</xs:restriction>
|
|
68
|
+
</xs:simpleType>
|
|
69
|
+
|
|
70
|
+
<!-- Constraint strength -->
|
|
71
|
+
<xs:simpleType name="constraintStrengthType">
|
|
72
|
+
<xs:restriction base="xs:string">
|
|
73
|
+
<xs:enumeration value="must"/>
|
|
74
|
+
<xs:enumeration value="should"/>
|
|
75
|
+
<xs:enumeration value="may"/>
|
|
76
|
+
<xs:enumeration value="must-not"/>
|
|
77
|
+
<xs:enumeration value="should-not"/>
|
|
78
|
+
</xs:restriction>
|
|
79
|
+
</xs:simpleType>
|
|
80
|
+
|
|
81
|
+
<!-- Version string -->
|
|
82
|
+
<xs:simpleType name="versionType">
|
|
83
|
+
<xs:restriction base="xs:string">
|
|
84
|
+
<xs:pattern value="\d+\.\d+\.\d+(-[a-zA-Z0-9]+)?"/>
|
|
85
|
+
</xs:restriction>
|
|
86
|
+
</xs:simpleType>
|
|
87
|
+
|
|
88
|
+
<!-- ============================================================ -->
|
|
89
|
+
<!-- Complex Types -->
|
|
90
|
+
<!-- ============================================================ -->
|
|
91
|
+
|
|
92
|
+
<!-- Individual requirement item -->
|
|
93
|
+
<xs:complexType name="requirementType">
|
|
94
|
+
<xs:sequence>
|
|
95
|
+
<xs:element name="description" type="xs:string"/>
|
|
96
|
+
<xs:element name="rationale" type="xs:string" minOccurs="0"/>
|
|
97
|
+
</xs:sequence>
|
|
98
|
+
<xs:attribute name="id" type="xs:ID" use="optional"/>
|
|
99
|
+
<xs:attribute name="priority" type="priorityType" use="optional" default="normal"/>
|
|
100
|
+
</xs:complexType>
|
|
101
|
+
|
|
102
|
+
<!-- Requirements container -->
|
|
103
|
+
<xs:complexType name="requirementsType">
|
|
104
|
+
<xs:sequence>
|
|
105
|
+
<xs:element name="requirement" type="requirementType" maxOccurs="unbounded"/>
|
|
106
|
+
</xs:sequence>
|
|
107
|
+
</xs:complexType>
|
|
108
|
+
|
|
109
|
+
<!-- Constraint item -->
|
|
110
|
+
<xs:complexType name="constraintType">
|
|
111
|
+
<xs:sequence>
|
|
112
|
+
<xs:element name="rule" type="xs:string"/>
|
|
113
|
+
<xs:element name="exception" type="xs:string" minOccurs="0"/>
|
|
114
|
+
<xs:element name="enforcement" type="xs:string" minOccurs="0"/>
|
|
115
|
+
</xs:sequence>
|
|
116
|
+
<xs:attribute name="id" type="xs:ID" use="optional"/>
|
|
117
|
+
<xs:attribute name="strength" type="constraintStrengthType" use="optional" default="should"/>
|
|
118
|
+
</xs:complexType>
|
|
119
|
+
|
|
120
|
+
<!-- Constraints container -->
|
|
121
|
+
<xs:complexType name="constraintsType">
|
|
122
|
+
<xs:sequence>
|
|
123
|
+
<xs:element name="constraint" type="constraintType" maxOccurs="unbounded"/>
|
|
124
|
+
</xs:sequence>
|
|
125
|
+
</xs:complexType>
|
|
126
|
+
|
|
127
|
+
<!-- Expected output specification -->
|
|
128
|
+
<xs:complexType name="outputType">
|
|
129
|
+
<xs:sequence>
|
|
130
|
+
<xs:element name="format" type="xs:string">
|
|
131
|
+
<xs:annotation>
|
|
132
|
+
<xs:documentation>Expected output format (e.g., "JSON", "Markdown", "XML")</xs:documentation>
|
|
133
|
+
</xs:annotation>
|
|
134
|
+
</xs:element>
|
|
135
|
+
<xs:element name="structure" type="xs:string" minOccurs="0">
|
|
136
|
+
<xs:annotation>
|
|
137
|
+
<xs:documentation>Description of expected structure or schema</xs:documentation>
|
|
138
|
+
</xs:annotation>
|
|
139
|
+
</xs:element>
|
|
140
|
+
<xs:element name="example" type="xs:string" minOccurs="0">
|
|
141
|
+
<xs:annotation>
|
|
142
|
+
<xs:documentation>Example of expected output</xs:documentation>
|
|
143
|
+
</xs:annotation>
|
|
144
|
+
</xs:element>
|
|
145
|
+
</xs:sequence>
|
|
146
|
+
</xs:complexType>
|
|
147
|
+
|
|
148
|
+
<!-- Verification method -->
|
|
149
|
+
<xs:complexType name="verificationType">
|
|
150
|
+
<xs:sequence>
|
|
151
|
+
<xs:element name="method" type="xs:string">
|
|
152
|
+
<xs:annotation>
|
|
153
|
+
<xs:documentation>How to verify the output (e.g., "Run tests", "Validate against schema")</xs:documentation>
|
|
154
|
+
</xs:annotation>
|
|
155
|
+
</xs:element>
|
|
156
|
+
<xs:element name="steps" minOccurs="0">
|
|
157
|
+
<xs:complexType>
|
|
158
|
+
<xs:sequence>
|
|
159
|
+
<xs:element name="step" type="xs:string" maxOccurs="unbounded"/>
|
|
160
|
+
</xs:sequence>
|
|
161
|
+
</xs:complexType>
|
|
162
|
+
</xs:element>
|
|
163
|
+
<xs:element name="tools" minOccurs="0">
|
|
164
|
+
<xs:complexType>
|
|
165
|
+
<xs:sequence>
|
|
166
|
+
<xs:element name="tool" type="xs:string" maxOccurs="unbounded"/>
|
|
167
|
+
</xs:sequence>
|
|
168
|
+
</xs:complexType>
|
|
169
|
+
</xs:element>
|
|
170
|
+
</xs:sequence>
|
|
171
|
+
</xs:complexType>
|
|
172
|
+
|
|
173
|
+
<!-- Success criteria -->
|
|
174
|
+
<xs:complexType name="successCriteriaType">
|
|
175
|
+
<xs:sequence>
|
|
176
|
+
<xs:element name="criterion" maxOccurs="unbounded">
|
|
177
|
+
<xs:complexType>
|
|
178
|
+
<xs:sequence>
|
|
179
|
+
<xs:element name="description" type="xs:string"/>
|
|
180
|
+
<xs:element name="measure" type="xs:string" minOccurs="0">
|
|
181
|
+
<xs:annotation>
|
|
182
|
+
<xs:documentation>How to measure this criterion (e.g., "Code coverage > 80%")</xs:documentation>
|
|
183
|
+
</xs:annotation>
|
|
184
|
+
</xs:element>
|
|
185
|
+
</xs:sequence>
|
|
186
|
+
<xs:attribute name="id" type="xs:ID" use="optional"/>
|
|
187
|
+
<xs:attribute name="required" type="xs:boolean" use="optional" default="true"/>
|
|
188
|
+
</xs:complexType>
|
|
189
|
+
</xs:element>
|
|
190
|
+
</xs:sequence>
|
|
191
|
+
</xs:complexType>
|
|
192
|
+
|
|
193
|
+
<!-- Context information -->
|
|
194
|
+
<xs:complexType name="contextType">
|
|
195
|
+
<xs:sequence>
|
|
196
|
+
<xs:element name="background" type="xs:string" minOccurs="0">
|
|
197
|
+
<xs:annotation>
|
|
198
|
+
<xs:documentation>Background information the prompt executor should know</xs:documentation>
|
|
199
|
+
</xs:annotation>
|
|
200
|
+
</xs:element>
|
|
201
|
+
<xs:element name="assumptions" minOccurs="0">
|
|
202
|
+
<xs:complexType>
|
|
203
|
+
<xs:sequence>
|
|
204
|
+
<xs:element name="assumption" type="xs:string" maxOccurs="unbounded"/>
|
|
205
|
+
</xs:sequence>
|
|
206
|
+
</xs:complexType>
|
|
207
|
+
</xs:element>
|
|
208
|
+
<xs:element name="dependencies" minOccurs="0">
|
|
209
|
+
<xs:complexType>
|
|
210
|
+
<xs:sequence>
|
|
211
|
+
<xs:element name="dependency" maxOccurs="unbounded">
|
|
212
|
+
<xs:complexType>
|
|
213
|
+
<xs:simpleContent>
|
|
214
|
+
<xs:extension base="xs:string">
|
|
215
|
+
<xs:attribute name="type" use="optional">
|
|
216
|
+
<xs:simpleType>
|
|
217
|
+
<xs:restriction base="xs:string">
|
|
218
|
+
<xs:enumeration value="file"/>
|
|
219
|
+
<xs:enumeration value="command"/>
|
|
220
|
+
<xs:enumeration value="data"/>
|
|
221
|
+
<xs:enumeration value="service"/>
|
|
222
|
+
</xs:restriction>
|
|
223
|
+
</xs:simpleType>
|
|
224
|
+
</xs:attribute>
|
|
225
|
+
</xs:extension>
|
|
226
|
+
</xs:simpleContent>
|
|
227
|
+
</xs:complexType>
|
|
228
|
+
</xs:element>
|
|
229
|
+
</xs:sequence>
|
|
230
|
+
</xs:complexType>
|
|
231
|
+
</xs:element>
|
|
232
|
+
</xs:sequence>
|
|
233
|
+
</xs:complexType>
|
|
234
|
+
|
|
235
|
+
<!-- Tool specification -->
|
|
236
|
+
<xs:complexType name="toolsType">
|
|
237
|
+
<xs:sequence>
|
|
238
|
+
<xs:element name="tool" maxOccurs="unbounded">
|
|
239
|
+
<xs:complexType>
|
|
240
|
+
<xs:sequence>
|
|
241
|
+
<xs:element name="name" type="xs:string"/>
|
|
242
|
+
<xs:element name="purpose" type="xs:string"/>
|
|
243
|
+
<xs:element name="when_to_use" type="xs:string" minOccurs="0"/>
|
|
244
|
+
</xs:sequence>
|
|
245
|
+
<xs:attribute name="required" type="xs:boolean" use="optional" default="true"/>
|
|
246
|
+
</xs:complexType>
|
|
247
|
+
</xs:element>
|
|
248
|
+
</xs:sequence>
|
|
249
|
+
</xs:complexType>
|
|
250
|
+
|
|
251
|
+
<!-- Thought process guidance -->
|
|
252
|
+
<xs:complexType name="thinkingType">
|
|
253
|
+
<xs:sequence>
|
|
254
|
+
<xs:element name="approach" type="xs:string">
|
|
255
|
+
<xs:annotation>
|
|
256
|
+
<xs:documentation>How to approach the task (e.g., "Research first, then implement")</xs:documentation>
|
|
257
|
+
</xs:annotation>
|
|
258
|
+
</xs:element>
|
|
259
|
+
<xs:element name="steps" minOccurs="0">
|
|
260
|
+
<xs:complexType>
|
|
261
|
+
<xs:sequence>
|
|
262
|
+
<xs:element name="step" maxOccurs="unbounded">
|
|
263
|
+
<xs:complexType>
|
|
264
|
+
<xs:sequence>
|
|
265
|
+
<xs:element name="description" type="xs:string"/>
|
|
266
|
+
<xs:element name="checkpoint" type="xs:string" minOccurs="0">
|
|
267
|
+
<xs:annotation>
|
|
268
|
+
<xs:documentation>What to verify before proceeding</xs:documentation>
|
|
269
|
+
</xs:annotation>
|
|
270
|
+
</xs:element>
|
|
271
|
+
</xs:sequence>
|
|
272
|
+
<xs:attribute name="order" type="xs:positiveInteger" use="required"/>
|
|
273
|
+
<xs:attribute name="optional" type="xs:boolean" use="optional" default="false"/>
|
|
274
|
+
</xs:complexType>
|
|
275
|
+
</xs:element>
|
|
276
|
+
</xs:sequence>
|
|
277
|
+
</xs:complexType>
|
|
278
|
+
</xs:element>
|
|
279
|
+
<xs:element name="pitfalls" minOccurs="0">
|
|
280
|
+
<xs:complexType>
|
|
281
|
+
<xs:sequence>
|
|
282
|
+
<xs:element name="pitfall" type="xs:string" maxOccurs="unbounded"/>
|
|
283
|
+
</xs:sequence>
|
|
284
|
+
</xs:complexType>
|
|
285
|
+
</xs:element>
|
|
286
|
+
</xs:sequence>
|
|
287
|
+
</xs:complexType>
|
|
288
|
+
|
|
289
|
+
<!-- Error handling guidance -->
|
|
290
|
+
<xs:complexType name="errorHandlingType">
|
|
291
|
+
<xs:sequence>
|
|
292
|
+
<xs:element name="on_failure" type="xs:string">
|
|
293
|
+
<xs:annotation>
|
|
294
|
+
<xs:documentation>What to do when things go wrong</xs:documentation>
|
|
295
|
+
</xs:annotation>
|
|
296
|
+
</xs:element>
|
|
297
|
+
<xs:element name="escalation" type="xs:string" minOccurs="0">
|
|
298
|
+
<xs:annotation>
|
|
299
|
+
<xs:documentation>When and how to escalate to user or Queen</xs:documentation>
|
|
300
|
+
</xs:annotation>
|
|
301
|
+
</xs:element>
|
|
302
|
+
<xs:element name="recovery_steps" minOccurs="0">
|
|
303
|
+
<xs:complexType>
|
|
304
|
+
<xs:sequence>
|
|
305
|
+
<xs:element name="step" type="xs:string" maxOccurs="unbounded"/>
|
|
306
|
+
</xs:sequence>
|
|
307
|
+
</xs:complexType>
|
|
308
|
+
</xs:element>
|
|
309
|
+
</xs:sequence>
|
|
310
|
+
</xs:complexType>
|
|
311
|
+
|
|
312
|
+
<!-- Metadata -->
|
|
313
|
+
<xs:complexType name="metadataType">
|
|
314
|
+
<xs:sequence>
|
|
315
|
+
<xs:element name="version" type="versionType"/>
|
|
316
|
+
<xs:element name="author" type="xs:string" minOccurs="0"/>
|
|
317
|
+
<xs:element name="created" type="xs:dateTime" minOccurs="0"/>
|
|
318
|
+
<xs:element name="modified" type="xs:dateTime" minOccurs="0"/>
|
|
319
|
+
<xs:element name="tags" minOccurs="0">
|
|
320
|
+
<xs:complexType>
|
|
321
|
+
<xs:sequence>
|
|
322
|
+
<xs:element name="tag" type="xs:string" maxOccurs="unbounded"/>
|
|
323
|
+
</xs:sequence>
|
|
324
|
+
</xs:complexType>
|
|
325
|
+
</xs:element>
|
|
326
|
+
</xs:sequence>
|
|
327
|
+
</xs:complexType>
|
|
328
|
+
|
|
329
|
+
<!-- ============================================================ -->
|
|
330
|
+
<!-- Root Element: Aether Prompt -->
|
|
331
|
+
<!-- ============================================================ -->
|
|
332
|
+
|
|
333
|
+
<xs:element name="aether-prompt">
|
|
334
|
+
<xs:complexType>
|
|
335
|
+
<xs:sequence>
|
|
336
|
+
<!-- Metadata -->
|
|
337
|
+
<xs:element name="metadata" type="metadataType" minOccurs="0"/>
|
|
338
|
+
|
|
339
|
+
<!-- Identification -->
|
|
340
|
+
<xs:element name="name" type="xs:string">
|
|
341
|
+
<xs:annotation>
|
|
342
|
+
<xs:documentation>Unique name for this prompt</xs:documentation>
|
|
343
|
+
</xs:annotation>
|
|
344
|
+
</xs:element>
|
|
345
|
+
|
|
346
|
+
<xs:element name="type" type="promptType"/>
|
|
347
|
+
|
|
348
|
+
<xs:element name="caste" type="casteType" minOccurs="0">
|
|
349
|
+
<xs:annotation>
|
|
350
|
+
<xs:documentation>Required for worker-type prompts</xs:documentation>
|
|
351
|
+
</xs:annotation>
|
|
352
|
+
</xs:element>
|
|
353
|
+
|
|
354
|
+
<!-- Core Content -->
|
|
355
|
+
<xs:element name="objective" type="xs:string">
|
|
356
|
+
<xs:annotation>
|
|
357
|
+
<xs:documentation>What this prompt should accomplish</xs:documentation>
|
|
358
|
+
</xs:annotation>
|
|
359
|
+
</xs:element>
|
|
360
|
+
|
|
361
|
+
<xs:element name="context" type="contextType" minOccurs="0"/>
|
|
362
|
+
|
|
363
|
+
<xs:element name="requirements" type="requirementsType">
|
|
364
|
+
<xs:annotation>
|
|
365
|
+
<xs:documentation>What must be done to complete this prompt successfully</xs:documentation>
|
|
366
|
+
</xs:annotation>
|
|
367
|
+
</xs:element>
|
|
368
|
+
|
|
369
|
+
<xs:element name="constraints" type="constraintsType" minOccurs="0">
|
|
370
|
+
<xs:annotation>
|
|
371
|
+
<xs:documentation>Hard and soft constraints on execution</xs:documentation>
|
|
372
|
+
</xs:annotation>
|
|
373
|
+
</xs:element>
|
|
374
|
+
|
|
375
|
+
<xs:element name="thinking" type="thinkingType" minOccurs="0">
|
|
376
|
+
<xs:annotation>
|
|
377
|
+
<xs:documentation>Guidance on how to think about and approach the task</xs:documentation>
|
|
378
|
+
</xs:annotation>
|
|
379
|
+
</xs:element>
|
|
380
|
+
|
|
381
|
+
<xs:element name="tools" type="toolsType" minOccurs="0">
|
|
382
|
+
<xs:annotation>
|
|
383
|
+
<xs:documentation>Tools available and when to use them</xs:documentation>
|
|
384
|
+
</xs:annotation>
|
|
385
|
+
</xs:element>
|
|
386
|
+
|
|
387
|
+
<xs:element name="output" type="outputType">
|
|
388
|
+
<xs:annotation>
|
|
389
|
+
<xs:documentation>Expected output format and structure</xs:documentation>
|
|
390
|
+
</xs:annotation>
|
|
391
|
+
</xs:element>
|
|
392
|
+
|
|
393
|
+
<xs:element name="verification" type="verificationType">
|
|
394
|
+
<xs:annotation>
|
|
395
|
+
<xs:documentation>How to verify the output is correct</xs:documentation>
|
|
396
|
+
</xs:annotation>
|
|
397
|
+
</xs:element>
|
|
398
|
+
|
|
399
|
+
<xs:element name="success_criteria" type="successCriteriaType">
|
|
400
|
+
<xs:annotation>
|
|
401
|
+
<xs:documentation>What constitutes successful completion</xs:documentation>
|
|
402
|
+
</xs:annotation>
|
|
403
|
+
</xs:element>
|
|
404
|
+
|
|
405
|
+
<xs:element name="error_handling" type="errorHandlingType" minOccurs="0">
|
|
406
|
+
<xs:annotation>
|
|
407
|
+
<xs:documentation>How to handle errors and edge cases</xs:documentation>
|
|
408
|
+
</xs:annotation>
|
|
409
|
+
</xs:element>
|
|
410
|
+
</xs:sequence>
|
|
411
|
+
|
|
412
|
+
<xs:attribute name="version" type="versionType" use="optional" default="1.0.0"/>
|
|
413
|
+
</xs:complexType>
|
|
414
|
+
</xs:element>
|
|
415
|
+
|
|
416
|
+
</xs:schema>
|