aether-colony 1.1.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/.aether/CONTEXT.md +160 -0
- package/.aether/QUEEN.md +84 -0
- package/.aether/aether-utils.sh +7749 -0
- package/.aether/docs/QUEEN-SYSTEM.md +211 -0
- package/.aether/docs/README.md +68 -0
- package/.aether/docs/caste-system.md +48 -0
- package/.aether/docs/disciplines/DISCIPLINES.md +93 -0
- package/.aether/docs/disciplines/coding-standards.md +197 -0
- package/.aether/docs/disciplines/debugging.md +207 -0
- package/.aether/docs/disciplines/learning.md +254 -0
- package/.aether/docs/disciplines/tdd.md +257 -0
- package/.aether/docs/disciplines/verification-loop.md +167 -0
- package/.aether/docs/disciplines/verification.md +116 -0
- package/.aether/docs/error-codes.md +268 -0
- package/.aether/docs/known-issues.md +233 -0
- package/.aether/docs/pheromones.md +205 -0
- package/.aether/docs/queen-commands.md +97 -0
- package/.aether/exchange/colony-registry.xml +11 -0
- package/.aether/exchange/pheromone-xml.sh +575 -0
- package/.aether/exchange/pheromones.xml +87 -0
- package/.aether/exchange/queen-wisdom.xml +14 -0
- package/.aether/exchange/registry-xml.sh +273 -0
- package/.aether/exchange/wisdom-xml.sh +319 -0
- package/.aether/midden/approach-changes.md +5 -0
- package/.aether/midden/build-failures.md +5 -0
- package/.aether/midden/test-failures.md +5 -0
- package/.aether/model-profiles.yaml +100 -0
- package/.aether/rules/aether-colony.md +134 -0
- package/.aether/schemas/aether-types.xsd +255 -0
- package/.aether/schemas/colony-registry.xsd +309 -0
- package/.aether/schemas/example-prompt-builder.xml +234 -0
- package/.aether/schemas/pheromone.xsd +163 -0
- package/.aether/schemas/prompt.xsd +416 -0
- package/.aether/schemas/queen-wisdom.xsd +325 -0
- package/.aether/schemas/worker-priming.xsd +276 -0
- package/.aether/templates/QUEEN.md.template +79 -0
- package/.aether/templates/colony-state-reset.jq.template +22 -0
- package/.aether/templates/colony-state.template.json +35 -0
- package/.aether/templates/constraints.template.json +9 -0
- package/.aether/templates/crowned-anthill.template.md +36 -0
- package/.aether/templates/handoff-build-error.template.md +30 -0
- package/.aether/templates/handoff-build-success.template.md +39 -0
- package/.aether/templates/handoff.template.md +40 -0
- package/.aether/templates/learning-observations.template.json +6 -0
- package/.aether/templates/midden.template.json +7 -0
- package/.aether/templates/pheromones.template.json +6 -0
- package/.aether/templates/session.template.json +9 -0
- package/.aether/utils/atomic-write.sh +219 -0
- package/.aether/utils/chamber-compare.sh +193 -0
- package/.aether/utils/chamber-utils.sh +297 -0
- package/.aether/utils/colorize-log.sh +132 -0
- package/.aether/utils/error-handler.sh +212 -0
- package/.aether/utils/file-lock.sh +158 -0
- package/.aether/utils/queen-to-md.xsl +395 -0
- package/.aether/utils/semantic-cli.sh +413 -0
- package/.aether/utils/spawn-tree.sh +428 -0
- package/.aether/utils/spawn-with-model.sh +56 -0
- package/.aether/utils/state-loader.sh +215 -0
- package/.aether/utils/swarm-display.sh +268 -0
- package/.aether/utils/watch-spawn-tree.sh +253 -0
- package/.aether/utils/xml-compose.sh +253 -0
- package/.aether/utils/xml-convert.sh +273 -0
- package/.aether/utils/xml-core.sh +186 -0
- package/.aether/utils/xml-query.sh +201 -0
- package/.aether/utils/xml-utils.sh +110 -0
- package/.aether/workers.md +765 -0
- package/.claude/agents/ant/aether-ambassador.md +264 -0
- package/.claude/agents/ant/aether-archaeologist.md +322 -0
- package/.claude/agents/ant/aether-auditor.md +266 -0
- package/.claude/agents/ant/aether-builder.md +187 -0
- package/.claude/agents/ant/aether-chaos.md +268 -0
- package/.claude/agents/ant/aether-chronicler.md +304 -0
- package/.claude/agents/ant/aether-gatekeeper.md +325 -0
- package/.claude/agents/ant/aether-includer.md +373 -0
- package/.claude/agents/ant/aether-keeper.md +271 -0
- package/.claude/agents/ant/aether-measurer.md +317 -0
- package/.claude/agents/ant/aether-probe.md +210 -0
- package/.claude/agents/ant/aether-queen.md +325 -0
- package/.claude/agents/ant/aether-route-setter.md +173 -0
- package/.claude/agents/ant/aether-sage.md +353 -0
- package/.claude/agents/ant/aether-scout.md +142 -0
- package/.claude/agents/ant/aether-surveyor-disciplines.md +416 -0
- package/.claude/agents/ant/aether-surveyor-nest.md +354 -0
- package/.claude/agents/ant/aether-surveyor-pathogens.md +288 -0
- package/.claude/agents/ant/aether-surveyor-provisions.md +359 -0
- package/.claude/agents/ant/aether-tracker.md +265 -0
- package/.claude/agents/ant/aether-watcher.md +244 -0
- package/.claude/agents/ant/aether-weaver.md +247 -0
- package/.claude/commands/ant/archaeology.md +341 -0
- package/.claude/commands/ant/build.md +1160 -0
- package/.claude/commands/ant/chaos.md +349 -0
- package/.claude/commands/ant/colonize.md +270 -0
- package/.claude/commands/ant/continue.md +1070 -0
- package/.claude/commands/ant/council.md +309 -0
- package/.claude/commands/ant/dream.md +265 -0
- package/.claude/commands/ant/entomb.md +487 -0
- package/.claude/commands/ant/feedback.md +78 -0
- package/.claude/commands/ant/flag.md +139 -0
- package/.claude/commands/ant/flags.md +155 -0
- package/.claude/commands/ant/focus.md +58 -0
- package/.claude/commands/ant/help.md +122 -0
- package/.claude/commands/ant/history.md +137 -0
- package/.claude/commands/ant/init.md +409 -0
- package/.claude/commands/ant/interpret.md +267 -0
- package/.claude/commands/ant/lay-eggs.md +201 -0
- package/.claude/commands/ant/maturity.md +102 -0
- package/.claude/commands/ant/memory-details.md +77 -0
- package/.claude/commands/ant/migrate-state.md +165 -0
- package/.claude/commands/ant/oracle.md +387 -0
- package/.claude/commands/ant/organize.md +227 -0
- package/.claude/commands/ant/pause-colony.md +247 -0
- package/.claude/commands/ant/phase.md +126 -0
- package/.claude/commands/ant/plan.md +544 -0
- package/.claude/commands/ant/redirect.md +58 -0
- package/.claude/commands/ant/resume-colony.md +182 -0
- package/.claude/commands/ant/resume.md +363 -0
- package/.claude/commands/ant/seal.md +306 -0
- package/.claude/commands/ant/status.md +272 -0
- package/.claude/commands/ant/swarm.md +361 -0
- package/.claude/commands/ant/tunnels.md +425 -0
- package/.claude/commands/ant/update.md +209 -0
- package/.claude/commands/ant/verify-castes.md +95 -0
- package/.claude/commands/ant/watch.md +238 -0
- package/.opencode/agents/aether-ambassador.md +140 -0
- package/.opencode/agents/aether-archaeologist.md +108 -0
- package/.opencode/agents/aether-auditor.md +144 -0
- package/.opencode/agents/aether-builder.md +184 -0
- package/.opencode/agents/aether-chaos.md +115 -0
- package/.opencode/agents/aether-chronicler.md +122 -0
- package/.opencode/agents/aether-gatekeeper.md +116 -0
- package/.opencode/agents/aether-includer.md +117 -0
- package/.opencode/agents/aether-keeper.md +177 -0
- package/.opencode/agents/aether-measurer.md +128 -0
- package/.opencode/agents/aether-probe.md +133 -0
- package/.opencode/agents/aether-queen.md +286 -0
- package/.opencode/agents/aether-route-setter.md +130 -0
- package/.opencode/agents/aether-sage.md +106 -0
- package/.opencode/agents/aether-scout.md +101 -0
- package/.opencode/agents/aether-surveyor-disciplines.md +386 -0
- package/.opencode/agents/aether-surveyor-nest.md +324 -0
- package/.opencode/agents/aether-surveyor-pathogens.md +259 -0
- package/.opencode/agents/aether-surveyor-provisions.md +329 -0
- package/.opencode/agents/aether-tracker.md +137 -0
- package/.opencode/agents/aether-watcher.md +174 -0
- package/.opencode/agents/aether-weaver.md +130 -0
- package/.opencode/commands/ant/archaeology.md +338 -0
- package/.opencode/commands/ant/build.md +1200 -0
- package/.opencode/commands/ant/chaos.md +346 -0
- package/.opencode/commands/ant/colonize.md +202 -0
- package/.opencode/commands/ant/continue.md +938 -0
- package/.opencode/commands/ant/council.md +305 -0
- package/.opencode/commands/ant/dream.md +262 -0
- package/.opencode/commands/ant/entomb.md +367 -0
- package/.opencode/commands/ant/feedback.md +80 -0
- package/.opencode/commands/ant/flag.md +137 -0
- package/.opencode/commands/ant/flags.md +153 -0
- package/.opencode/commands/ant/focus.md +56 -0
- package/.opencode/commands/ant/help.md +124 -0
- package/.opencode/commands/ant/history.md +127 -0
- package/.opencode/commands/ant/init.md +337 -0
- package/.opencode/commands/ant/interpret.md +256 -0
- package/.opencode/commands/ant/lay-eggs.md +141 -0
- package/.opencode/commands/ant/maturity.md +92 -0
- package/.opencode/commands/ant/memory-details.md +77 -0
- package/.opencode/commands/ant/migrate-state.md +153 -0
- package/.opencode/commands/ant/oracle.md +338 -0
- package/.opencode/commands/ant/organize.md +224 -0
- package/.opencode/commands/ant/pause-colony.md +220 -0
- package/.opencode/commands/ant/phase.md +123 -0
- package/.opencode/commands/ant/plan.md +531 -0
- package/.opencode/commands/ant/redirect.md +67 -0
- package/.opencode/commands/ant/resume-colony.md +178 -0
- package/.opencode/commands/ant/resume.md +363 -0
- package/.opencode/commands/ant/seal.md +247 -0
- package/.opencode/commands/ant/status.md +272 -0
- package/.opencode/commands/ant/swarm.md +357 -0
- package/.opencode/commands/ant/tunnels.md +406 -0
- package/.opencode/commands/ant/update.md +191 -0
- package/.opencode/commands/ant/verify-castes.md +85 -0
- package/.opencode/commands/ant/watch.md +220 -0
- package/.opencode/opencode.json +3 -0
- package/CHANGELOG.md +325 -0
- package/DISCLAIMER.md +74 -0
- package/LICENSE +21 -0
- package/README.md +258 -0
- package/bin/cli.js +2436 -0
- package/bin/generate-commands.sh +291 -0
- package/bin/lib/caste-colors.js +57 -0
- package/bin/lib/colors.js +76 -0
- package/bin/lib/errors.js +255 -0
- package/bin/lib/event-types.js +190 -0
- package/bin/lib/file-lock.js +695 -0
- package/bin/lib/init.js +454 -0
- package/bin/lib/logger.js +242 -0
- package/bin/lib/model-profiles.js +445 -0
- package/bin/lib/model-verify.js +288 -0
- package/bin/lib/nestmate-loader.js +130 -0
- package/bin/lib/proxy-health.js +253 -0
- package/bin/lib/spawn-logger.js +266 -0
- package/bin/lib/state-guard.js +602 -0
- package/bin/lib/state-sync.js +516 -0
- package/bin/lib/telemetry.js +441 -0
- package/bin/lib/update-transaction.js +1454 -0
- package/bin/npx-install.js +178 -0
- package/bin/sync-to-runtime.sh +6 -0
- package/bin/validate-package.sh +88 -0
- package/package.json +70 -0
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!--
|
|
3
|
+
Queen-Wisdom XML Schema (XSD)
|
|
4
|
+
|
|
5
|
+
Purpose: Define the eternal memory structure for Aether colony wisdom.
|
|
6
|
+
This schema enables structured storage of learned patterns,
|
|
7
|
+
philosophical principles, and evolution tracking across sessions.
|
|
8
|
+
|
|
9
|
+
Architecture: Hybrid JSON/XML - JSON for runtime efficiency, XML for
|
|
10
|
+
eternal memory with full validation and versioning support.
|
|
11
|
+
|
|
12
|
+
Version: 1.0.0
|
|
13
|
+
Namespace: http://aether.colony/schemas/queen-wisdom/1.0
|
|
14
|
+
-->
|
|
15
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
16
|
+
xmlns:qw="http://aether.colony/schemas/queen-wisdom/1.0"
|
|
17
|
+
elementFormDefault="unqualified"
|
|
18
|
+
attributeFormDefault="unqualified">
|
|
19
|
+
|
|
20
|
+
<!-- ============================================================ -->
|
|
21
|
+
<!-- Simple Types -->
|
|
22
|
+
<!-- ============================================================ -->
|
|
23
|
+
|
|
24
|
+
<!-- Confidence score: 0.0 to 1.0 -->
|
|
25
|
+
<xs:simpleType name="confidenceType">
|
|
26
|
+
<xs:restriction base="xs:decimal">
|
|
27
|
+
<xs:minInclusive value="0.0"/>
|
|
28
|
+
<xs:maxInclusive value="1.0"/>
|
|
29
|
+
<xs:fractionDigits value="2"/>
|
|
30
|
+
</xs:restriction>
|
|
31
|
+
</xs:simpleType>
|
|
32
|
+
|
|
33
|
+
<!-- ISO 8601 timestamp -->
|
|
34
|
+
<xs:simpleType name="timestampType">
|
|
35
|
+
<xs:restriction base="xs:dateTime">
|
|
36
|
+
<xs:pattern value="\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[+-]\d{2}:\d{2})?"/>
|
|
37
|
+
</xs:restriction>
|
|
38
|
+
</xs:simpleType>
|
|
39
|
+
|
|
40
|
+
<!-- Version string (semver format) -->
|
|
41
|
+
<xs:simpleType name="versionType">
|
|
42
|
+
<xs:restriction base="xs:string">
|
|
43
|
+
<xs:pattern value="\d+\.\d+\.\d+(-[a-zA-Z0-9]+)?"/>
|
|
44
|
+
</xs:restriction>
|
|
45
|
+
</xs:simpleType>
|
|
46
|
+
|
|
47
|
+
<!-- Domain classification -->
|
|
48
|
+
<xs:simpleType name="domainType">
|
|
49
|
+
<xs:restriction base="xs:string">
|
|
50
|
+
<xs:enumeration value="architecture"/>
|
|
51
|
+
<xs:enumeration value="testing"/>
|
|
52
|
+
<xs:enumeration value="security"/>
|
|
53
|
+
<xs:enumeration value="performance"/>
|
|
54
|
+
<xs:enumeration value="ux"/>
|
|
55
|
+
<xs:enumeration value="process"/>
|
|
56
|
+
<xs:enumeration value="communication"/>
|
|
57
|
+
<xs:enumeration value="debugging"/>
|
|
58
|
+
<xs:enumeration value="general"/>
|
|
59
|
+
</xs:restriction>
|
|
60
|
+
</xs:simpleType>
|
|
61
|
+
|
|
62
|
+
<!-- Source type -->
|
|
63
|
+
<xs:simpleType name="sourceType">
|
|
64
|
+
<xs:restriction base="xs:string">
|
|
65
|
+
<xs:enumeration value="queen"/>
|
|
66
|
+
<xs:enumeration value="user"/>
|
|
67
|
+
<xs:enumeration value="colony"/>
|
|
68
|
+
<xs:enumeration value="oracle"/>
|
|
69
|
+
<xs:enumeration value="observation"/>
|
|
70
|
+
</xs:restriction>
|
|
71
|
+
</xs:simpleType>
|
|
72
|
+
|
|
73
|
+
<!-- Priority level -->
|
|
74
|
+
<xs:simpleType name="priorityType">
|
|
75
|
+
<xs:restriction base="xs:string">
|
|
76
|
+
<xs:enumeration value="critical"/>
|
|
77
|
+
<xs:enumeration value="high"/>
|
|
78
|
+
<xs:enumeration value="normal"/>
|
|
79
|
+
<xs:enumeration value="low"/>
|
|
80
|
+
</xs:restriction>
|
|
81
|
+
</xs:simpleType>
|
|
82
|
+
|
|
83
|
+
<!-- Wisdom ID: kebab-case identifier -->
|
|
84
|
+
<xs:simpleType name="wisdomIdType">
|
|
85
|
+
<xs:restriction base="xs:string">
|
|
86
|
+
<xs:pattern value="[a-z][a-z0-9-]*"/>
|
|
87
|
+
<xs:minLength value="3"/>
|
|
88
|
+
<xs:maxLength value="64"/>
|
|
89
|
+
</xs:restriction>
|
|
90
|
+
</xs:simpleType>
|
|
91
|
+
|
|
92
|
+
<!-- ============================================================ -->
|
|
93
|
+
<!-- Complex Types -->
|
|
94
|
+
<!-- ============================================================ -->
|
|
95
|
+
|
|
96
|
+
<!-- Base wisdom entry type -->
|
|
97
|
+
<xs:complexType name="wisdomEntryType">
|
|
98
|
+
<xs:sequence>
|
|
99
|
+
<xs:element name="content" type="xs:string">
|
|
100
|
+
<xs:annotation>
|
|
101
|
+
<xs:documentation>The actual wisdom content - plain text or markdown</xs:documentation>
|
|
102
|
+
</xs:annotation>
|
|
103
|
+
</xs:element>
|
|
104
|
+
<xs:element name="context" type="xs:string" minOccurs="0">
|
|
105
|
+
<xs:annotation>
|
|
106
|
+
<xs:documentation>Optional context about when/where this wisdom applies</xs:documentation>
|
|
107
|
+
</xs:annotation>
|
|
108
|
+
</xs:element>
|
|
109
|
+
<xs:element name="examples" type="examplesType" minOccurs="0"/>
|
|
110
|
+
<xs:element name="related" type="relatedType" minOccurs="0"/>
|
|
111
|
+
<xs:element name="evolution" type="evolutionType" minOccurs="0"/>
|
|
112
|
+
</xs:sequence>
|
|
113
|
+
<xs:attribute name="id" type="wisdomIdType" use="required"/>
|
|
114
|
+
<xs:attribute name="confidence" type="confidenceType" use="required"/>
|
|
115
|
+
<xs:attribute name="domain" type="domainType" use="required"/>
|
|
116
|
+
<xs:attribute name="source" type="sourceType" use="required"/>
|
|
117
|
+
<xs:attribute name="created_at" type="timestampType" use="required"/>
|
|
118
|
+
<xs:attribute name="applied_count" type="xs:nonNegativeInteger" use="optional" default="0"/>
|
|
119
|
+
<xs:attribute name="last_applied" type="timestampType" use="optional"/>
|
|
120
|
+
<xs:attribute name="priority" type="priorityType" use="optional" default="normal"/>
|
|
121
|
+
</xs:complexType>
|
|
122
|
+
|
|
123
|
+
<!-- Examples container -->
|
|
124
|
+
<xs:complexType name="examplesType">
|
|
125
|
+
<xs:sequence>
|
|
126
|
+
<xs:element name="example" maxOccurs="unbounded">
|
|
127
|
+
<xs:complexType>
|
|
128
|
+
<xs:sequence>
|
|
129
|
+
<xs:element name="scenario" type="xs:string"/>
|
|
130
|
+
<xs:element name="application" type="xs:string"/>
|
|
131
|
+
<xs:element name="outcome" type="xs:string" minOccurs="0"/>
|
|
132
|
+
</xs:sequence>
|
|
133
|
+
</xs:complexType>
|
|
134
|
+
</xs:element>
|
|
135
|
+
</xs:sequence>
|
|
136
|
+
</xs:complexType>
|
|
137
|
+
|
|
138
|
+
<!-- Related wisdom references -->
|
|
139
|
+
<xs:complexType name="relatedType">
|
|
140
|
+
<xs:sequence>
|
|
141
|
+
<xs:element name="ref" maxOccurs="unbounded">
|
|
142
|
+
<xs:complexType>
|
|
143
|
+
<xs:attribute name="id" type="wisdomIdType" use="required"/>
|
|
144
|
+
<xs:attribute name="relationship" use="required">
|
|
145
|
+
<xs:simpleType>
|
|
146
|
+
<xs:restriction base="xs:string">
|
|
147
|
+
<xs:enumeration value="supersedes"/>
|
|
148
|
+
<xs:enumeration value="extends"/>
|
|
149
|
+
<xs:enumeration value="contradicts"/>
|
|
150
|
+
<xs:enumeration value="complements"/>
|
|
151
|
+
<xs:enumeration value="depends-on"/>
|
|
152
|
+
</xs:restriction>
|
|
153
|
+
</xs:simpleType>
|
|
154
|
+
</xs:attribute>
|
|
155
|
+
</xs:complexType>
|
|
156
|
+
</xs:element>
|
|
157
|
+
</xs:sequence>
|
|
158
|
+
</xs:complexType>
|
|
159
|
+
|
|
160
|
+
<!-- Evolution tracking -->
|
|
161
|
+
<xs:complexType name="evolutionType">
|
|
162
|
+
<xs:sequence>
|
|
163
|
+
<xs:element name="version" type="versionType"/>
|
|
164
|
+
<xs:element name="supersedes" type="wisdomIdType" minOccurs="0"/>
|
|
165
|
+
<xs:element name="changelog" type="xs:string" minOccurs="0"/>
|
|
166
|
+
<xs:element name="deprecated" type="xs:boolean" minOccurs="0" default="false"/>
|
|
167
|
+
<xs:element name="deprecated_reason" type="xs:string" minOccurs="0"/>
|
|
168
|
+
</xs:sequence>
|
|
169
|
+
</xs:complexType>
|
|
170
|
+
|
|
171
|
+
<!-- Philosophy entry (extends base) -->
|
|
172
|
+
<xs:complexType name="philosophyType">
|
|
173
|
+
<xs:complexContent>
|
|
174
|
+
<xs:extension base="wisdomEntryType">
|
|
175
|
+
<xs:sequence>
|
|
176
|
+
<xs:element name="principles" minOccurs="0">
|
|
177
|
+
<xs:complexType>
|
|
178
|
+
<xs:sequence>
|
|
179
|
+
<xs:element name="principle" type="xs:string" maxOccurs="unbounded"/>
|
|
180
|
+
</xs:sequence>
|
|
181
|
+
</xs:complexType>
|
|
182
|
+
</xs:element>
|
|
183
|
+
</xs:sequence>
|
|
184
|
+
</xs:extension>
|
|
185
|
+
</xs:complexContent>
|
|
186
|
+
</xs:complexType>
|
|
187
|
+
|
|
188
|
+
<!-- Pattern entry (extends base) -->
|
|
189
|
+
<xs:complexType name="patternType">
|
|
190
|
+
<xs:complexContent>
|
|
191
|
+
<xs:extension base="wisdomEntryType">
|
|
192
|
+
<xs:sequence>
|
|
193
|
+
<xs:element name="pattern_type" minOccurs="0">
|
|
194
|
+
<xs:simpleType>
|
|
195
|
+
<xs:restriction base="xs:string">
|
|
196
|
+
<xs:enumeration value="success"/>
|
|
197
|
+
<xs:enumeration value="failure"/>
|
|
198
|
+
<xs:enumeration value="anti-pattern"/>
|
|
199
|
+
<xs:enumeration value="emerging"/>
|
|
200
|
+
</xs:restriction>
|
|
201
|
+
</xs:simpleType>
|
|
202
|
+
</xs:element>
|
|
203
|
+
<xs:element name="detection_criteria" type="xs:string" minOccurs="0"/>
|
|
204
|
+
</xs:sequence>
|
|
205
|
+
</xs:extension>
|
|
206
|
+
</xs:complexContent>
|
|
207
|
+
</xs:complexType>
|
|
208
|
+
|
|
209
|
+
<!-- Redirect entry (hard constraints) -->
|
|
210
|
+
<xs:complexType name="redirectType">
|
|
211
|
+
<xs:complexContent>
|
|
212
|
+
<xs:extension base="wisdomEntryType">
|
|
213
|
+
<xs:sequence>
|
|
214
|
+
<xs:element name="constraint_type" minOccurs="0">
|
|
215
|
+
<xs:simpleType>
|
|
216
|
+
<xs:restriction base="xs:string">
|
|
217
|
+
<xs:enumeration value="must"/>
|
|
218
|
+
<xs:enumeration value="must-not"/>
|
|
219
|
+
<xs:enumeration value="avoid"/>
|
|
220
|
+
<xs:enumeration value="prefer"/>
|
|
221
|
+
</xs:restriction>
|
|
222
|
+
</xs:simpleType>
|
|
223
|
+
</xs:element>
|
|
224
|
+
<xs:element name="enforcement" type="xs:string" minOccurs="0"/>
|
|
225
|
+
</xs:sequence>
|
|
226
|
+
</xs:extension>
|
|
227
|
+
</xs:complexContent>
|
|
228
|
+
</xs:complexType>
|
|
229
|
+
|
|
230
|
+
<!-- Stack wisdom (technical learnings) -->
|
|
231
|
+
<xs:complexType name="stackWisdomType">
|
|
232
|
+
<xs:complexContent>
|
|
233
|
+
<xs:extension base="wisdomEntryType">
|
|
234
|
+
<xs:sequence>
|
|
235
|
+
<xs:element name="technology" type="xs:string" minOccurs="0"/>
|
|
236
|
+
<xs:element name="version_range" type="xs:string" minOccurs="0"/>
|
|
237
|
+
<xs:element name="workaround" type="xs:string" minOccurs="0"/>
|
|
238
|
+
</xs:sequence>
|
|
239
|
+
</xs:extension>
|
|
240
|
+
</xs:complexContent>
|
|
241
|
+
</xs:complexType>
|
|
242
|
+
|
|
243
|
+
<!-- Decree (authoritative directive) -->
|
|
244
|
+
<xs:complexType name="decreeType">
|
|
245
|
+
<xs:complexContent>
|
|
246
|
+
<xs:extension base="wisdomEntryType">
|
|
247
|
+
<xs:sequence>
|
|
248
|
+
<xs:element name="authority" type="xs:string" minOccurs="0"/>
|
|
249
|
+
<xs:element name="expiration" type="timestampType" minOccurs="0"/>
|
|
250
|
+
<xs:element name="scope" minOccurs="0">
|
|
251
|
+
<xs:simpleType>
|
|
252
|
+
<xs:restriction base="xs:string">
|
|
253
|
+
<xs:enumeration value="global"/>
|
|
254
|
+
<xs:enumeration value="project"/>
|
|
255
|
+
<xs:enumeration value="phase"/>
|
|
256
|
+
<xs:enumeration value="task"/>
|
|
257
|
+
</xs:restriction>
|
|
258
|
+
</xs:simpleType>
|
|
259
|
+
</xs:element>
|
|
260
|
+
</xs:sequence>
|
|
261
|
+
</xs:extension>
|
|
262
|
+
</xs:complexContent>
|
|
263
|
+
</xs:complexType>
|
|
264
|
+
|
|
265
|
+
<!-- Container types for each wisdom category -->
|
|
266
|
+
<xs:complexType name="philosophiesType">
|
|
267
|
+
<xs:sequence>
|
|
268
|
+
<xs:element name="philosophy" type="philosophyType" maxOccurs="unbounded"/>
|
|
269
|
+
</xs:sequence>
|
|
270
|
+
</xs:complexType>
|
|
271
|
+
|
|
272
|
+
<xs:complexType name="patternsType">
|
|
273
|
+
<xs:sequence>
|
|
274
|
+
<xs:element name="pattern" type="patternType" maxOccurs="unbounded"/>
|
|
275
|
+
</xs:sequence>
|
|
276
|
+
</xs:complexType>
|
|
277
|
+
|
|
278
|
+
<xs:complexType name="redirectsType">
|
|
279
|
+
<xs:sequence>
|
|
280
|
+
<xs:element name="redirect" type="redirectType" maxOccurs="unbounded"/>
|
|
281
|
+
</xs:sequence>
|
|
282
|
+
</xs:complexType>
|
|
283
|
+
|
|
284
|
+
<xs:complexType name="stackWisdomsType">
|
|
285
|
+
<xs:sequence>
|
|
286
|
+
<xs:element name="wisdom" type="stackWisdomType" maxOccurs="unbounded"/>
|
|
287
|
+
</xs:sequence>
|
|
288
|
+
</xs:complexType>
|
|
289
|
+
|
|
290
|
+
<xs:complexType name="decreesType">
|
|
291
|
+
<xs:sequence>
|
|
292
|
+
<xs:element name="decree" type="decreeType" maxOccurs="unbounded"/>
|
|
293
|
+
</xs:sequence>
|
|
294
|
+
</xs:complexType>
|
|
295
|
+
|
|
296
|
+
<!-- Metadata type -->
|
|
297
|
+
<xs:complexType name="metadataType">
|
|
298
|
+
<xs:sequence>
|
|
299
|
+
<xs:element name="version" type="versionType"/>
|
|
300
|
+
<xs:element name="created" type="timestampType"/>
|
|
301
|
+
<xs:element name="modified" type="timestampType"/>
|
|
302
|
+
<xs:element name="colony_id" type="xs:string"/>
|
|
303
|
+
<xs:element name="queen_signature" type="xs:string" minOccurs="0"/>
|
|
304
|
+
<xs:element name="checksum" type="xs:string" minOccurs="0"/>
|
|
305
|
+
</xs:sequence>
|
|
306
|
+
</xs:complexType>
|
|
307
|
+
|
|
308
|
+
<!-- ============================================================ -->
|
|
309
|
+
<!-- Root Element -->
|
|
310
|
+
<!-- ============================================================ -->
|
|
311
|
+
|
|
312
|
+
<xs:element name="queen-wisdom">
|
|
313
|
+
<xs:complexType>
|
|
314
|
+
<xs:sequence>
|
|
315
|
+
<xs:element name="metadata" type="metadataType"/>
|
|
316
|
+
<xs:element name="philosophies" type="philosophiesType"/>
|
|
317
|
+
<xs:element name="patterns" type="patternsType"/>
|
|
318
|
+
<xs:element name="redirects" type="redirectsType"/>
|
|
319
|
+
<xs:element name="stack-wisdom" type="stackWisdomsType"/>
|
|
320
|
+
<xs:element name="decrees" type="decreesType"/>
|
|
321
|
+
</xs:sequence>
|
|
322
|
+
</xs:complexType>
|
|
323
|
+
</xs:element>
|
|
324
|
+
|
|
325
|
+
</xs:schema>
|
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!--
|
|
3
|
+
Worker Priming XML Schema (XSD)
|
|
4
|
+
|
|
5
|
+
Purpose: Define modular configuration composition for worker initialization
|
|
6
|
+
using XInclude to compose queen-wisdom, active-trails, and stack-profiles.
|
|
7
|
+
|
|
8
|
+
Architecture: Declarative composition - workers are primed by including
|
|
9
|
+
multiple configuration sources into a unified document.
|
|
10
|
+
|
|
11
|
+
Version: 1.0.0
|
|
12
|
+
Namespace: http://aether.colony/schemas/worker-priming/1.0
|
|
13
|
+
-->
|
|
14
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
15
|
+
xmlns:wp="http://aether.colony/schemas/worker-priming/1.0"
|
|
16
|
+
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
17
|
+
targetNamespace="http://aether.colony/schemas/worker-priming/1.0"
|
|
18
|
+
elementFormDefault="qualified"
|
|
19
|
+
attributeFormDefault="unqualified">
|
|
20
|
+
|
|
21
|
+
<!-- Import XInclude namespace for composition support -->
|
|
22
|
+
<xs:import namespace="http://www.w3.org/2001/XInclude"
|
|
23
|
+
schemaLocation="http://www.w3.org/2001/XInclude.xsd"/>
|
|
24
|
+
|
|
25
|
+
<!-- ============================================================ -->
|
|
26
|
+
<!-- Simple Types -->
|
|
27
|
+
<!-- ============================================================ -->
|
|
28
|
+
|
|
29
|
+
<!-- Worker ID: kebab-case identifier -->
|
|
30
|
+
<xs:simpleType name="workerIdType">
|
|
31
|
+
<xs:restriction base="xs:string">
|
|
32
|
+
<xs:pattern value="[a-z][a-z0-9-]*"/>
|
|
33
|
+
<xs:minLength value="3"/>
|
|
34
|
+
<xs:maxLength value="64"/>
|
|
35
|
+
</xs:restriction>
|
|
36
|
+
</xs:simpleType>
|
|
37
|
+
|
|
38
|
+
<!-- Caste enumeration (matches pheromone.xsd) -->
|
|
39
|
+
<xs:simpleType name="casteType">
|
|
40
|
+
<xs:restriction base="xs:string">
|
|
41
|
+
<xs:enumeration value="builder"/>
|
|
42
|
+
<xs:enumeration value="watcher"/>
|
|
43
|
+
<xs:enumeration value="scout"/>
|
|
44
|
+
<xs:enumeration value="chaos"/>
|
|
45
|
+
<xs:enumeration value="oracle"/>
|
|
46
|
+
<xs:enumeration value="architect"/>
|
|
47
|
+
<xs:enumeration value="prime"/>
|
|
48
|
+
<xs:enumeration value="colonizer"/>
|
|
49
|
+
<xs:enumeration value="route_setter"/>
|
|
50
|
+
<xs:enumeration value="archaeologist"/>
|
|
51
|
+
<xs:enumeration value="ambassador"/>
|
|
52
|
+
<xs:enumeration value="auditor"/>
|
|
53
|
+
<xs:enumeration value="chronicler"/>
|
|
54
|
+
<xs:enumeration value="gatekeeper"/>
|
|
55
|
+
<xs:enumeration value="guardian"/>
|
|
56
|
+
<xs:enumeration value="includer"/>
|
|
57
|
+
<xs:enumeration value="keeper"/>
|
|
58
|
+
<xs:enumeration value="measurer"/>
|
|
59
|
+
<xs:enumeration value="probe"/>
|
|
60
|
+
<xs:enumeration value="sage"/>
|
|
61
|
+
<xs:enumeration value="tracker"/>
|
|
62
|
+
<xs:enumeration value="weaver"/>
|
|
63
|
+
</xs:restriction>
|
|
64
|
+
</xs:simpleType>
|
|
65
|
+
|
|
66
|
+
<!-- Priming mode: how the worker should be initialized -->
|
|
67
|
+
<xs:simpleType name="primingModeType">
|
|
68
|
+
<xs:restriction base="xs:string">
|
|
69
|
+
<xs:enumeration value="full"/>
|
|
70
|
+
<xs:enumeration value="minimal"/>
|
|
71
|
+
<xs:enumeration value="inherit"/>
|
|
72
|
+
<xs:enumeration value="override"/>
|
|
73
|
+
</xs:restriction>
|
|
74
|
+
</xs:simpleType>
|
|
75
|
+
|
|
76
|
+
<!-- Priority for configuration sources -->
|
|
77
|
+
<xs:simpleType name="sourcePriorityType">
|
|
78
|
+
<xs:restriction base="xs:string">
|
|
79
|
+
<xs:enumeration value="highest"/>
|
|
80
|
+
<xs:enumeration value="high"/>
|
|
81
|
+
<xs:enumeration value="normal"/>
|
|
82
|
+
<xs:enumeration value="low"/>
|
|
83
|
+
<xs:enumeration value="lowest"/>
|
|
84
|
+
</xs:restriction>
|
|
85
|
+
</xs:simpleType>
|
|
86
|
+
|
|
87
|
+
<!-- ISO 8601 timestamp -->
|
|
88
|
+
<xs:simpleType name="timestampType">
|
|
89
|
+
<xs:restriction base="xs:string">
|
|
90
|
+
<xs:pattern value="\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[+-]\d{2}:\d{2})?"/>
|
|
91
|
+
</xs:restriction>
|
|
92
|
+
</xs:simpleType>
|
|
93
|
+
|
|
94
|
+
<!-- Version string (semver format) -->
|
|
95
|
+
<xs:simpleType name="versionType">
|
|
96
|
+
<xs:restriction base="xs:string">
|
|
97
|
+
<xs:pattern value="\d+\.\d+\.\d+(-[a-zA-Z0-9]+)?"/>
|
|
98
|
+
</xs:restriction>
|
|
99
|
+
</xs:simpleType>
|
|
100
|
+
|
|
101
|
+
<!-- ============================================================ -->
|
|
102
|
+
<!-- Complex Types -->
|
|
103
|
+
<!-- ============================================================ -->
|
|
104
|
+
|
|
105
|
+
<!-- Worker identity -->
|
|
106
|
+
<xs:complexType name="workerIdentityType">
|
|
107
|
+
<xs:sequence>
|
|
108
|
+
<xs:element name="name" type="xs:string"/>
|
|
109
|
+
<xs:element name="caste" type="wp:casteType"/>
|
|
110
|
+
<xs:element name="generation" type="xs:positiveInteger" minOccurs="0"/>
|
|
111
|
+
<xs:element name="parent-colony" type="xs:string" minOccurs="0"/>
|
|
112
|
+
</xs:sequence>
|
|
113
|
+
<xs:attribute name="id" type="wp:workerIdType" use="required"/>
|
|
114
|
+
</xs:complexType>
|
|
115
|
+
|
|
116
|
+
<!-- Configuration source with XInclude support -->
|
|
117
|
+
<xs:complexType name="configSourceType">
|
|
118
|
+
<xs:sequence>
|
|
119
|
+
<!-- XInclude directive for external content -->
|
|
120
|
+
<xs:element ref="xi:include" minOccurs="0" maxOccurs="1"/>
|
|
121
|
+
<!-- Inline content (alternative to XInclude) -->
|
|
122
|
+
<xs:element name="inline" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
|
123
|
+
<!-- Source metadata -->
|
|
124
|
+
<xs:element name="source-info" type="wp:sourceInfoType" minOccurs="0"/>
|
|
125
|
+
</xs:sequence>
|
|
126
|
+
<xs:attribute name="name" type="xs:string" use="required"/>
|
|
127
|
+
<xs:attribute name="priority" type="wp:sourcePriorityType" use="optional" default="normal"/>
|
|
128
|
+
<xs:attribute name="required" type="xs:boolean" use="optional" default="true"/>
|
|
129
|
+
</xs:complexType>
|
|
130
|
+
|
|
131
|
+
<!-- Source metadata for traceability -->
|
|
132
|
+
<xs:complexType name="sourceInfoType">
|
|
133
|
+
<xs:sequence>
|
|
134
|
+
<xs:element name="origin" type="xs:string"/>
|
|
135
|
+
<xs:element name="version" type="wp:versionType" minOccurs="0"/>
|
|
136
|
+
<xs:element name="checksum" type="xs:string" minOccurs="0"/>
|
|
137
|
+
<xs:element name="loaded-at" type="wp:timestampType" minOccurs="0"/>
|
|
138
|
+
</xs:sequence>
|
|
139
|
+
</xs:complexType>
|
|
140
|
+
|
|
141
|
+
<!-- Queen wisdom section -->
|
|
142
|
+
<xs:complexType name="queenWisdomSectionType">
|
|
143
|
+
<xs:sequence>
|
|
144
|
+
<xs:element name="description" type="xs:string" minOccurs="0"/>
|
|
145
|
+
<xs:element name="wisdom-source" type="wp:configSourceType" minOccurs="0" maxOccurs="unbounded"/>
|
|
146
|
+
</xs:sequence>
|
|
147
|
+
<xs:attribute name="enabled" type="xs:boolean" use="optional" default="true"/>
|
|
148
|
+
</xs:complexType>
|
|
149
|
+
|
|
150
|
+
<!-- Active trails section (pheromones) -->
|
|
151
|
+
<xs:complexType name="activeTrailsSectionType">
|
|
152
|
+
<xs:sequence>
|
|
153
|
+
<xs:element name="description" type="xs:string" minOccurs="0"/>
|
|
154
|
+
<xs:element name="trail-source" type="wp:configSourceType" minOccurs="0" maxOccurs="unbounded"/>
|
|
155
|
+
</xs:sequence>
|
|
156
|
+
<xs:attribute name="enabled" type="xs:boolean" use="optional" default="true"/>
|
|
157
|
+
<xs:attribute name="inherit-from-parent" type="xs:boolean" use="optional" default="true"/>
|
|
158
|
+
</xs:complexType>
|
|
159
|
+
|
|
160
|
+
<!-- Stack profiles section -->
|
|
161
|
+
<xs:complexType name="stackProfilesSectionType">
|
|
162
|
+
<xs:sequence>
|
|
163
|
+
<xs:element name="description" type="xs:string" minOccurs="0"/>
|
|
164
|
+
<xs:element name="profile-source" type="wp:configSourceType" minOccurs="0" maxOccurs="unbounded"/>
|
|
165
|
+
<xs:element name="technology-filter" type="wp:technologyFilterType" minOccurs="0"/>
|
|
166
|
+
</xs:sequence>
|
|
167
|
+
<xs:attribute name="enabled" type="xs:boolean" use="optional" default="true"/>
|
|
168
|
+
</xs:complexType>
|
|
169
|
+
|
|
170
|
+
<!-- Technology filter for stack profiles -->
|
|
171
|
+
<xs:complexType name="technologyFilterType">
|
|
172
|
+
<xs:sequence>
|
|
173
|
+
<xs:element name="include" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
|
|
174
|
+
<xs:element name="exclude" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
|
|
175
|
+
</xs:sequence>
|
|
176
|
+
<xs:attribute name="match-mode" type="xs:string" use="optional" default="any"/>
|
|
177
|
+
</xs:complexType>
|
|
178
|
+
|
|
179
|
+
<!-- Override rules for configuration merging -->
|
|
180
|
+
<xs:complexType name="overrideRulesType">
|
|
181
|
+
<xs:sequence>
|
|
182
|
+
<xs:element name="rule" type="wp:overrideRuleType" minOccurs="0" maxOccurs="unbounded"/>
|
|
183
|
+
</xs:sequence>
|
|
184
|
+
</xs:complexType>
|
|
185
|
+
|
|
186
|
+
<!-- Individual override rule -->
|
|
187
|
+
<xs:complexType name="overrideRuleType">
|
|
188
|
+
<xs:sequence>
|
|
189
|
+
<xs:element name="target-path" type="xs:string"/>
|
|
190
|
+
<xs:element name="action" type="wp:overrideActionType"/>
|
|
191
|
+
<xs:element name="value" type="xs:string" minOccurs="0"/>
|
|
192
|
+
</xs:sequence>
|
|
193
|
+
<xs:attribute name="id" type="xs:string" use="required"/>
|
|
194
|
+
<xs:attribute name="priority" type="wp:sourcePriorityType" use="optional" default="normal"/>
|
|
195
|
+
</xs:complexType>
|
|
196
|
+
|
|
197
|
+
<!-- Override action enumeration -->
|
|
198
|
+
<xs:simpleType name="overrideActionType">
|
|
199
|
+
<xs:restriction base="xs:string">
|
|
200
|
+
<xs:enumeration value="replace"/>
|
|
201
|
+
<xs:enumeration value="merge"/>
|
|
202
|
+
<xs:enumeration value="append"/>
|
|
203
|
+
<xs:enumeration value="prepend"/>
|
|
204
|
+
<xs:enumeration value="remove"/>
|
|
205
|
+
</xs:restriction>
|
|
206
|
+
</xs:simpleType>
|
|
207
|
+
|
|
208
|
+
<!-- Priming metadata -->
|
|
209
|
+
<xs:complexType name="primingMetadataType">
|
|
210
|
+
<xs:sequence>
|
|
211
|
+
<xs:element name="version" type="wp:versionType"/>
|
|
212
|
+
<xs:element name="created" type="wp:timestampType"/>
|
|
213
|
+
<xs:element name="modified" type="wp:timestampType"/>
|
|
214
|
+
<xs:element name="colony-id" type="xs:string"/>
|
|
215
|
+
<xs:element name="template" type="xs:string" minOccurs="0"/>
|
|
216
|
+
<xs:element name="composition-checksum" type="xs:string" minOccurs="0"/>
|
|
217
|
+
</xs:sequence>
|
|
218
|
+
</xs:complexType>
|
|
219
|
+
|
|
220
|
+
<!-- Composition result (post-processing) -->
|
|
221
|
+
<xs:complexType name="compositionResultType">
|
|
222
|
+
<xs:sequence>
|
|
223
|
+
<xs:element name="resolved-at" type="wp:timestampType"/>
|
|
224
|
+
<xs:element name="sources-resolved" type="xs:nonNegativeInteger"/>
|
|
225
|
+
<xs:element name="sources-failed" type="xs:nonNegativeInteger"/>
|
|
226
|
+
<xs:element name="composition-size" type="xs:nonNegativeInteger"/>
|
|
227
|
+
<xs:element name="validation-status" type="xs:string"/>
|
|
228
|
+
</xs:sequence>
|
|
229
|
+
</xs:complexType>
|
|
230
|
+
|
|
231
|
+
<!-- ============================================================ -->
|
|
232
|
+
<!-- Root Element -->
|
|
233
|
+
<!-- ============================================================ -->
|
|
234
|
+
|
|
235
|
+
<xs:element name="worker-priming">
|
|
236
|
+
<xs:complexType>
|
|
237
|
+
<xs:sequence>
|
|
238
|
+
<!-- Metadata about this priming document -->
|
|
239
|
+
<xs:element name="metadata" type="wp:primingMetadataType"/>
|
|
240
|
+
|
|
241
|
+
<!-- Worker identity -->
|
|
242
|
+
<xs:element name="worker-identity" type="wp:workerIdentityType"/>
|
|
243
|
+
|
|
244
|
+
<!-- Priming mode configuration -->
|
|
245
|
+
<xs:element name="priming-config" minOccurs="0">
|
|
246
|
+
<xs:complexType>
|
|
247
|
+
<xs:sequence>
|
|
248
|
+
<xs:element name="mode" type="wp:primingModeType"/>
|
|
249
|
+
<xs:element name="inherit-from-parent" type="xs:boolean" minOccurs="0" default="true"/>
|
|
250
|
+
<xs:element name="apply-redirects" type="xs:boolean" minOccurs="0" default="true"/>
|
|
251
|
+
<xs:element name="load-pheromones" type="xs:boolean" minOccurs="0" default="true"/>
|
|
252
|
+
</xs:sequence>
|
|
253
|
+
</xs:complexType>
|
|
254
|
+
</xs:element>
|
|
255
|
+
|
|
256
|
+
<!--
|
|
257
|
+
Configuration Composition Sections
|
|
258
|
+
Each section can use XInclude to pull in external documents
|
|
259
|
+
-->
|
|
260
|
+
<xs:element name="queen-wisdom" type="wp:queenWisdomSectionType" minOccurs="0"/>
|
|
261
|
+
<xs:element name="active-trails" type="wp:activeTrailsSectionType" minOccurs="0"/>
|
|
262
|
+
<xs:element name="stack-profiles" type="wp:stackProfilesSectionType" minOccurs="0"/>
|
|
263
|
+
|
|
264
|
+
<!-- Override rules for merging -->
|
|
265
|
+
<xs:element name="override-rules" type="wp:overrideRulesType" minOccurs="0"/>
|
|
266
|
+
|
|
267
|
+
<!-- Composition result (populated after resolution) -->
|
|
268
|
+
<xs:element name="composition-result" type="wp:compositionResultType" minOccurs="0"/>
|
|
269
|
+
</xs:sequence>
|
|
270
|
+
|
|
271
|
+
<!-- Document version -->
|
|
272
|
+
<xs:attribute name="version" type="wp:versionType" use="required"/>
|
|
273
|
+
</xs:complexType>
|
|
274
|
+
</xs:element>
|
|
275
|
+
|
|
276
|
+
</xs:schema>
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# QUEEN.md — Colony Wisdom
|
|
2
|
+
|
|
3
|
+
> Last evolved: {TIMESTAMP}
|
|
4
|
+
> Colonies contributed: 0
|
|
5
|
+
> Wisdom version: 1.0.0
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## 📜 Philosophies
|
|
10
|
+
|
|
11
|
+
Core beliefs that guide all colony work. These are validated through repeated successful application across multiple colonies.
|
|
12
|
+
|
|
13
|
+
*No philosophies recorded yet. Philosophies are promoted from PHILOSOPHY pheromones after 5+ validations.*
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## 🧭 Patterns
|
|
18
|
+
|
|
19
|
+
Validated approaches that consistently work. These represent discovered best practices that have proven themselves in the field.
|
|
20
|
+
|
|
21
|
+
*No patterns recorded yet. Patterns are promoted from PATTERN pheromones after 3+ validations.*
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## ⚠️ Redirects
|
|
26
|
+
|
|
27
|
+
Anti-patterns to avoid. These represent approaches that have caused problems and should be redirected away from.
|
|
28
|
+
|
|
29
|
+
*No redirects recorded yet. Redirects are promoted from REDIRECT pheromones after 2+ triggers.*
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## 🔧 Stack Wisdom
|
|
34
|
+
|
|
35
|
+
Technology-specific insights and constraints detected through codebase analysis.
|
|
36
|
+
|
|
37
|
+
*No stack wisdom recorded yet. Stack wisdom is auto-populated by `/ant:colonize`.*
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## 🏛️ Decrees
|
|
42
|
+
|
|
43
|
+
User-mandated rules that override other guidance. These represent explicit directives from the Queen.
|
|
44
|
+
|
|
45
|
+
*No decrees recorded yet. Decrees are added via `/ant:decree "<rule>"`.*
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## 📊 Evolution Log
|
|
50
|
+
|
|
51
|
+
Track how wisdom has evolved over time.
|
|
52
|
+
|
|
53
|
+
| Date | Colony | Change | Details |
|
|
54
|
+
|------|--------|--------|---------|
|
|
55
|
+
| {TIMESTAMP} | system | initialized | QUEEN.md created from template |
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
<!-- METADATA
|
|
60
|
+
{
|
|
61
|
+
"version": "1.0.0",
|
|
62
|
+
"last_evolved": "{TIMESTAMP}",
|
|
63
|
+
"colonies_contributed": [],
|
|
64
|
+
"promotion_thresholds": {
|
|
65
|
+
"philosophy": 5,
|
|
66
|
+
"pattern": 3,
|
|
67
|
+
"redirect": 2,
|
|
68
|
+
"stack": 1,
|
|
69
|
+
"decree": 0
|
|
70
|
+
},
|
|
71
|
+
"stats": {
|
|
72
|
+
"total_philosophies": 0,
|
|
73
|
+
"total_patterns": 0,
|
|
74
|
+
"total_redirects": 0,
|
|
75
|
+
"total_stack_entries": 0,
|
|
76
|
+
"total_decrees": 0
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
-->
|