sinapse-ai 7.7.4 → 7.7.5
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/.codex/delegation-matrix.json +512 -0
- package/.codex/handoff-packet.schema.json +148 -0
- package/.codex/scripts/resolve-codex-delegation.js +205 -0
- package/.codex/tasks/route-sinapse-request.md +7 -5
- package/.sinapse-ai/data/entity-registry.yaml +783 -755
- package/.sinapse-ai/data/registry-update-log.jsonl +3 -0
- package/.sinapse-ai/infrastructure/scripts/validate-codex-delegation.js +292 -0
- package/.sinapse-ai/infrastructure/scripts/validate-codex-sync.js +3 -0
- package/.sinapse-ai/install-manifest.yaml +11 -7
- package/package.json +4 -1
- package/packages/installer/tests/unit/artifact-copy-pipeline/artifact-copy-pipeline.test.js +7 -2
|
@@ -0,0 +1,512 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"phase": "W5 / Delegation Matrix Parity",
|
|
4
|
+
"matrixMode": "codex-only",
|
|
5
|
+
"handoffSchema": ".codex/handoff-packet.schema.json",
|
|
6
|
+
"routingClasses": ["validator-backed", "codex-only-shim", "exploratory"],
|
|
7
|
+
"requestTypes": ["single-domain", "multi-domain", "framework-workflow"],
|
|
8
|
+
"orchestrators": {
|
|
9
|
+
"sinapse-orqx": {
|
|
10
|
+
"aliases": ["sinapse-orqx", "imperator"],
|
|
11
|
+
"sourceOfTruth": ".codex/agents/sinapse-orqx.md",
|
|
12
|
+
"approvedRoutes": [
|
|
13
|
+
"brand-discovery",
|
|
14
|
+
"content-funnel-alignment",
|
|
15
|
+
"growth-seo-audit",
|
|
16
|
+
"claude-project-setup",
|
|
17
|
+
"research-competitor-positioning",
|
|
18
|
+
"multi-domain-launch",
|
|
19
|
+
"framework-story-delivery"
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"animations-orqx": {
|
|
23
|
+
"aliases": ["animations-orqx", "animations"],
|
|
24
|
+
"sourceOfTruth": ".codex/agents/animations-orqx.md",
|
|
25
|
+
"squadDir": "squads/squad-animations",
|
|
26
|
+
"tasksDir": "squads/squad-animations/tasks",
|
|
27
|
+
"approvedRoutes": []
|
|
28
|
+
},
|
|
29
|
+
"brand-orqx": {
|
|
30
|
+
"aliases": ["brand-orqx", "brand"],
|
|
31
|
+
"sourceOfTruth": ".codex/agents/brand-orqx.md",
|
|
32
|
+
"squadDir": "squads/squad-brand",
|
|
33
|
+
"tasksDir": "squads/squad-brand/tasks",
|
|
34
|
+
"approvedRoutes": ["brand-discovery"]
|
|
35
|
+
},
|
|
36
|
+
"commercial-orqx": {
|
|
37
|
+
"aliases": ["commercial-orqx", "commercial"],
|
|
38
|
+
"sourceOfTruth": ".codex/agents/commercial-orqx.md",
|
|
39
|
+
"squadDir": "squads/squad-commercial",
|
|
40
|
+
"tasksDir": "squads/squad-commercial/tasks",
|
|
41
|
+
"approvedRoutes": []
|
|
42
|
+
},
|
|
43
|
+
"content-orqx": {
|
|
44
|
+
"aliases": ["content-orqx", "content"],
|
|
45
|
+
"sourceOfTruth": ".codex/agents/content-orqx.md",
|
|
46
|
+
"squadDir": "squads/squad-content",
|
|
47
|
+
"tasksDir": "squads/squad-content/tasks",
|
|
48
|
+
"approvedRoutes": ["content-funnel-alignment"]
|
|
49
|
+
},
|
|
50
|
+
"copy-orqx": {
|
|
51
|
+
"aliases": ["copy-orqx", "copy"],
|
|
52
|
+
"sourceOfTruth": ".codex/agents/copy-orqx.md",
|
|
53
|
+
"squadDir": "squads/squad-copy",
|
|
54
|
+
"tasksDir": "squads/squad-copy/tasks",
|
|
55
|
+
"approvedRoutes": ["multi-domain-launch"]
|
|
56
|
+
},
|
|
57
|
+
"design-orqx": {
|
|
58
|
+
"aliases": ["design-orqx", "design"],
|
|
59
|
+
"sourceOfTruth": ".codex/agents/design-orqx.md",
|
|
60
|
+
"squadDir": "squads/squad-design",
|
|
61
|
+
"tasksDir": "squads/squad-design/tasks",
|
|
62
|
+
"approvedRoutes": []
|
|
63
|
+
},
|
|
64
|
+
"finance-orqx": {
|
|
65
|
+
"aliases": ["finance-orqx", "finance"],
|
|
66
|
+
"sourceOfTruth": ".codex/agents/finance-orqx.md",
|
|
67
|
+
"squadDir": "squads/squad-finance",
|
|
68
|
+
"tasksDir": "squads/squad-finance/tasks",
|
|
69
|
+
"approvedRoutes": []
|
|
70
|
+
},
|
|
71
|
+
"growth-orqx": {
|
|
72
|
+
"aliases": ["growth-orqx", "growth"],
|
|
73
|
+
"sourceOfTruth": ".codex/agents/growth-orqx.md",
|
|
74
|
+
"squadDir": "squads/squad-growth",
|
|
75
|
+
"tasksDir": "squads/squad-growth/tasks",
|
|
76
|
+
"approvedRoutes": ["growth-seo-audit"]
|
|
77
|
+
},
|
|
78
|
+
"paidmedia-orqx": {
|
|
79
|
+
"aliases": ["paidmedia-orqx", "paidmedia"],
|
|
80
|
+
"sourceOfTruth": ".codex/agents/paidmedia-orqx.md",
|
|
81
|
+
"squadDir": "squads/squad-paidmedia",
|
|
82
|
+
"tasksDir": "squads/squad-paidmedia/tasks",
|
|
83
|
+
"approvedRoutes": ["multi-domain-launch"]
|
|
84
|
+
},
|
|
85
|
+
"product-orqx": {
|
|
86
|
+
"aliases": ["product-orqx", "product"],
|
|
87
|
+
"sourceOfTruth": ".codex/agents/product-orqx.md",
|
|
88
|
+
"squadDir": "squads/squad-product",
|
|
89
|
+
"tasksDir": "squads/squad-product/tasks",
|
|
90
|
+
"approvedRoutes": ["multi-domain-launch"]
|
|
91
|
+
},
|
|
92
|
+
"research-orqx": {
|
|
93
|
+
"aliases": ["research-orqx", "research"],
|
|
94
|
+
"sourceOfTruth": ".codex/agents/research-orqx.md",
|
|
95
|
+
"squadDir": "squads/squad-research",
|
|
96
|
+
"tasksDir": "squads/squad-research/tasks",
|
|
97
|
+
"approvedRoutes": ["research-competitor-positioning"]
|
|
98
|
+
},
|
|
99
|
+
"claude-orqx": {
|
|
100
|
+
"aliases": ["claude-orqx", "claude"],
|
|
101
|
+
"sourceOfTruth": ".codex/agents/claude-orqx.md",
|
|
102
|
+
"squadDir": "squads/squad-claude",
|
|
103
|
+
"tasksDir": "squads/squad-claude/tasks",
|
|
104
|
+
"approvedRoutes": ["claude-project-setup"]
|
|
105
|
+
},
|
|
106
|
+
"council-orqx": {
|
|
107
|
+
"aliases": ["council-orqx", "council"],
|
|
108
|
+
"sourceOfTruth": ".codex/agents/council-orqx.md",
|
|
109
|
+
"squadDir": "squads/squad-council",
|
|
110
|
+
"tasksDir": "squads/squad-council/tasks",
|
|
111
|
+
"approvedRoutes": []
|
|
112
|
+
},
|
|
113
|
+
"storytelling-orqx": {
|
|
114
|
+
"aliases": ["storytelling-orqx", "storytelling"],
|
|
115
|
+
"sourceOfTruth": ".codex/agents/storytelling-orqx.md",
|
|
116
|
+
"squadDir": "squads/squad-storytelling",
|
|
117
|
+
"tasksDir": "squads/squad-storytelling/tasks",
|
|
118
|
+
"approvedRoutes": []
|
|
119
|
+
},
|
|
120
|
+
"cyber-orqx": {
|
|
121
|
+
"aliases": ["cyber-orqx", "cyber"],
|
|
122
|
+
"sourceOfTruth": ".codex/agents/cyber-orqx.md",
|
|
123
|
+
"squadDir": "squads/squad-cybersecurity",
|
|
124
|
+
"tasksDir": "squads/squad-cybersecurity/tasks",
|
|
125
|
+
"approvedRoutes": []
|
|
126
|
+
},
|
|
127
|
+
"cloning-orqx": {
|
|
128
|
+
"aliases": ["cloning-orqx", "cloning"],
|
|
129
|
+
"sourceOfTruth": ".codex/agents/cloning-orqx.md",
|
|
130
|
+
"squadDir": "squads/squad-cloning",
|
|
131
|
+
"tasksDir": "squads/squad-cloning/tasks",
|
|
132
|
+
"approvedRoutes": []
|
|
133
|
+
},
|
|
134
|
+
"courses-orqx": {
|
|
135
|
+
"aliases": ["courses-orqx", "courses"],
|
|
136
|
+
"sourceOfTruth": ".codex/agents/courses-orqx.md",
|
|
137
|
+
"squadDir": "squads/squad-courses",
|
|
138
|
+
"tasksDir": "squads/squad-courses/tasks",
|
|
139
|
+
"approvedRoutes": []
|
|
140
|
+
},
|
|
141
|
+
"swarm-orqx": {
|
|
142
|
+
"aliases": ["swarm-orqx", "swarm"],
|
|
143
|
+
"sourceOfTruth": ".codex/agents/swarm-orqx.md",
|
|
144
|
+
"squadDir": "squads/claude-code-mastery",
|
|
145
|
+
"tasksDir": "squads/claude-code-mastery/tasks",
|
|
146
|
+
"approvedRoutes": []
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"frameworkAgents": {
|
|
150
|
+
"sinapse-pm": {
|
|
151
|
+
"aliases": ["sinapse-pm", "pm", "project-lead"],
|
|
152
|
+
"sourceOfTruth": ".codex/agents/pm.md",
|
|
153
|
+
"registryAgentId": "sinapse-pm"
|
|
154
|
+
},
|
|
155
|
+
"sinapse-po": {
|
|
156
|
+
"aliases": ["sinapse-po", "po", "product-lead"],
|
|
157
|
+
"sourceOfTruth": ".codex/agents/po.md",
|
|
158
|
+
"registryAgentId": "sinapse-po"
|
|
159
|
+
},
|
|
160
|
+
"sinapse-sm": {
|
|
161
|
+
"aliases": ["sinapse-sm", "sm", "sprint-lead"],
|
|
162
|
+
"sourceOfTruth": ".codex/agents/sm.md",
|
|
163
|
+
"registryAgentId": "sinapse-sm"
|
|
164
|
+
},
|
|
165
|
+
"sinapse-dev": {
|
|
166
|
+
"aliases": ["sinapse-dev", "dev", "developer"],
|
|
167
|
+
"sourceOfTruth": ".codex/agents/dev.md",
|
|
168
|
+
"registryAgentId": "sinapse-dev"
|
|
169
|
+
},
|
|
170
|
+
"sinapse-qa": {
|
|
171
|
+
"aliases": ["sinapse-qa", "qa", "quality-gate"],
|
|
172
|
+
"sourceOfTruth": ".codex/agents/qa.md",
|
|
173
|
+
"registryAgentId": "sinapse-qa"
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
"routes": {
|
|
177
|
+
"brand-discovery": {
|
|
178
|
+
"aliases": ["brand-strategy"],
|
|
179
|
+
"owner": "sinapse-orqx",
|
|
180
|
+
"requestType": "single-domain",
|
|
181
|
+
"classification": "validator-backed",
|
|
182
|
+
"mission": "Route brand strategy and discovery requests from the master orchestrator into the brand squad.",
|
|
183
|
+
"summary": "SINAPSE master orchestration into brand discovery.",
|
|
184
|
+
"inputs": ["request-brief", "brand-context", "constraints"],
|
|
185
|
+
"outputs": ["brand-discovery-brief"],
|
|
186
|
+
"validators": ["npm run validate:codex-delegation", "npm run validate:codex-sync"],
|
|
187
|
+
"sharedSurfaceRisk": "low",
|
|
188
|
+
"resources": [
|
|
189
|
+
".codex/agents/brand-orqx.md",
|
|
190
|
+
".codex/agents/brand-strategist.md",
|
|
191
|
+
"squads/squad-brand/tasks/conduct-brand-discovery.md"
|
|
192
|
+
],
|
|
193
|
+
"delegationChain": [
|
|
194
|
+
{
|
|
195
|
+
"from": "sinapse-orqx",
|
|
196
|
+
"fromType": "orqx",
|
|
197
|
+
"to": "brand-orqx",
|
|
198
|
+
"toType": "orqx",
|
|
199
|
+
"path": ".codex/agents/brand-orqx.md",
|
|
200
|
+
"handoff": "delegate-to-squad",
|
|
201
|
+
"reason": "Brand requests should enter the dedicated brand squad orchestrator."
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"from": "brand-orqx",
|
|
205
|
+
"fromType": "orqx",
|
|
206
|
+
"to": "brand-strategist",
|
|
207
|
+
"toType": "specialist",
|
|
208
|
+
"path": ".codex/agents/brand-strategist.md",
|
|
209
|
+
"task": "squads/squad-brand/tasks/conduct-brand-discovery.md",
|
|
210
|
+
"handoff": "execute-squad-task",
|
|
211
|
+
"reason": "Brand strategist owns the discovery workflow and outputs the handoff brief."
|
|
212
|
+
}
|
|
213
|
+
]
|
|
214
|
+
},
|
|
215
|
+
"content-funnel-alignment": {
|
|
216
|
+
"aliases": ["content-funnel", "editorial-funnel"],
|
|
217
|
+
"owner": "sinapse-orqx",
|
|
218
|
+
"requestType": "single-domain",
|
|
219
|
+
"classification": "validator-backed",
|
|
220
|
+
"mission": "Route editorial and funnel-alignment work into the content squad.",
|
|
221
|
+
"summary": "Master orchestration into content funnel alignment.",
|
|
222
|
+
"inputs": ["content-goal", "audience-context", "funnel-stage"],
|
|
223
|
+
"outputs": ["editorial-alignment-brief"],
|
|
224
|
+
"validators": ["npm run validate:codex-delegation", "npm run validate:codex-sync"],
|
|
225
|
+
"sharedSurfaceRisk": "low",
|
|
226
|
+
"resources": [
|
|
227
|
+
".codex/agents/content-orqx.md",
|
|
228
|
+
".codex/agents/editorial-strategist.md",
|
|
229
|
+
"squads/squad-content/tasks/align-content-to-funnel.md"
|
|
230
|
+
],
|
|
231
|
+
"delegationChain": [
|
|
232
|
+
{
|
|
233
|
+
"from": "sinapse-orqx",
|
|
234
|
+
"fromType": "orqx",
|
|
235
|
+
"to": "content-orqx",
|
|
236
|
+
"toType": "orqx",
|
|
237
|
+
"path": ".codex/agents/content-orqx.md",
|
|
238
|
+
"handoff": "delegate-to-squad",
|
|
239
|
+
"reason": "Content planning should be routed into the content squad orchestrator."
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"from": "content-orqx",
|
|
243
|
+
"fromType": "orqx",
|
|
244
|
+
"to": "editorial-strategist",
|
|
245
|
+
"toType": "specialist",
|
|
246
|
+
"path": ".codex/agents/editorial-strategist.md",
|
|
247
|
+
"task": "squads/squad-content/tasks/align-content-to-funnel.md",
|
|
248
|
+
"handoff": "execute-squad-task",
|
|
249
|
+
"reason": "Editorial strategist owns the funnel-alignment task in the content squad."
|
|
250
|
+
}
|
|
251
|
+
]
|
|
252
|
+
},
|
|
253
|
+
"growth-seo-audit": {
|
|
254
|
+
"aliases": ["seo-audit", "growth-seo"],
|
|
255
|
+
"owner": "sinapse-orqx",
|
|
256
|
+
"requestType": "single-domain",
|
|
257
|
+
"classification": "validator-backed",
|
|
258
|
+
"mission": "Route SEO and growth auditing work into the growth squad.",
|
|
259
|
+
"summary": "Master orchestration into growth SEO audit.",
|
|
260
|
+
"inputs": ["site-context", "growth-goal", "constraints"],
|
|
261
|
+
"outputs": ["seo-audit-brief"],
|
|
262
|
+
"validators": ["npm run validate:codex-delegation", "npm run validate:codex-sync"],
|
|
263
|
+
"sharedSurfaceRisk": "low",
|
|
264
|
+
"resources": [
|
|
265
|
+
".codex/agents/growth-orqx.md",
|
|
266
|
+
".codex/agents/ga-seo-strategist.md",
|
|
267
|
+
"squads/squad-growth/tasks/audit-sitemap-robots.md"
|
|
268
|
+
],
|
|
269
|
+
"delegationChain": [
|
|
270
|
+
{
|
|
271
|
+
"from": "sinapse-orqx",
|
|
272
|
+
"fromType": "orqx",
|
|
273
|
+
"to": "growth-orqx",
|
|
274
|
+
"toType": "orqx",
|
|
275
|
+
"path": ".codex/agents/growth-orqx.md",
|
|
276
|
+
"handoff": "delegate-to-squad",
|
|
277
|
+
"reason": "SEO requests should be routed into the growth squad orchestrator."
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"from": "growth-orqx",
|
|
281
|
+
"fromType": "orqx",
|
|
282
|
+
"to": "ga-seo-strategist",
|
|
283
|
+
"toType": "specialist",
|
|
284
|
+
"path": ".codex/agents/ga-seo-strategist.md",
|
|
285
|
+
"task": "squads/squad-growth/tasks/audit-sitemap-robots.md",
|
|
286
|
+
"handoff": "execute-squad-task",
|
|
287
|
+
"reason": "GA SEO strategist owns the sitemap and robots audit task."
|
|
288
|
+
}
|
|
289
|
+
]
|
|
290
|
+
},
|
|
291
|
+
"claude-project-setup": {
|
|
292
|
+
"aliases": ["claude-setup", "codex-claude-setup"],
|
|
293
|
+
"owner": "sinapse-orqx",
|
|
294
|
+
"requestType": "single-domain",
|
|
295
|
+
"classification": "validator-backed",
|
|
296
|
+
"mission": "Route Codex/Claude project setup work into the Claude integration squad.",
|
|
297
|
+
"summary": "Master orchestration into Claude setup parity work.",
|
|
298
|
+
"inputs": ["repo-context", "integration-goal", "constraints"],
|
|
299
|
+
"outputs": ["claude-setup-brief"],
|
|
300
|
+
"validators": ["npm run validate:codex-delegation", "npm run validate:codex-sync"],
|
|
301
|
+
"sharedSurfaceRisk": "medium",
|
|
302
|
+
"resources": [
|
|
303
|
+
".codex/agents/claude-orqx.md",
|
|
304
|
+
".codex/agents/project-integrator.md",
|
|
305
|
+
"squads/squad-claude/tasks/claude-code-project-setup.md"
|
|
306
|
+
],
|
|
307
|
+
"delegationChain": [
|
|
308
|
+
{
|
|
309
|
+
"from": "sinapse-orqx",
|
|
310
|
+
"fromType": "orqx",
|
|
311
|
+
"to": "claude-orqx",
|
|
312
|
+
"toType": "orqx",
|
|
313
|
+
"path": ".codex/agents/claude-orqx.md",
|
|
314
|
+
"handoff": "delegate-to-squad",
|
|
315
|
+
"reason": "Runtime and setup parity work belongs to the Claude mastery squad."
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"from": "claude-orqx",
|
|
319
|
+
"fromType": "orqx",
|
|
320
|
+
"to": "project-integrator",
|
|
321
|
+
"toType": "specialist",
|
|
322
|
+
"path": ".codex/agents/project-integrator.md",
|
|
323
|
+
"task": "squads/squad-claude/tasks/claude-code-project-setup.md",
|
|
324
|
+
"handoff": "execute-squad-task",
|
|
325
|
+
"reason": "Project integrator owns the setup implementation workflow for Codex/Claude integration."
|
|
326
|
+
}
|
|
327
|
+
]
|
|
328
|
+
},
|
|
329
|
+
"research-competitor-positioning": {
|
|
330
|
+
"aliases": ["competitor-positioning", "research-positioning"],
|
|
331
|
+
"owner": "sinapse-orqx",
|
|
332
|
+
"requestType": "single-domain",
|
|
333
|
+
"classification": "exploratory",
|
|
334
|
+
"mission": "Route competitor positioning analysis into the research squad with an explicit shared-surface review stop.",
|
|
335
|
+
"summary": "Exploratory route that touches shared Claude artifacts for advanced analysis.",
|
|
336
|
+
"inputs": ["research-brief", "market-context", "competitor-list"],
|
|
337
|
+
"outputs": ["competitive-positioning-brief"],
|
|
338
|
+
"validators": ["npm run validate:codex-delegation", "npm run validate:codex-sync"],
|
|
339
|
+
"sharedSurfaceRisk": "high",
|
|
340
|
+
"resources": [
|
|
341
|
+
".codex/agents/research-orqx.md",
|
|
342
|
+
".codex/agents/competitive-intelligence.md",
|
|
343
|
+
".claude/agents/data-chief.md",
|
|
344
|
+
"squads/squad-research/tasks/analyze-competitor-positioning.md"
|
|
345
|
+
],
|
|
346
|
+
"notes": [
|
|
347
|
+
"Exploratory means the path is documented and validated, but any change to shared Claude surfaces still requires explicit review."
|
|
348
|
+
],
|
|
349
|
+
"delegationChain": [
|
|
350
|
+
{
|
|
351
|
+
"from": "sinapse-orqx",
|
|
352
|
+
"fromType": "orqx",
|
|
353
|
+
"to": "research-orqx",
|
|
354
|
+
"toType": "orqx",
|
|
355
|
+
"path": ".codex/agents/research-orqx.md",
|
|
356
|
+
"handoff": "delegate-to-squad",
|
|
357
|
+
"reason": "Research requests should enter the research squad orchestrator."
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"from": "research-orqx",
|
|
361
|
+
"fromType": "orqx",
|
|
362
|
+
"to": "competitive-intelligence",
|
|
363
|
+
"toType": "specialist",
|
|
364
|
+
"path": ".codex/agents/competitive-intelligence.md",
|
|
365
|
+
"task": "squads/squad-research/tasks/analyze-competitor-positioning.md",
|
|
366
|
+
"handoff": "execute-squad-task",
|
|
367
|
+
"reason": "Competitive intelligence owns the positioning analysis workflow."
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"from": "competitive-intelligence",
|
|
371
|
+
"fromType": "specialist",
|
|
372
|
+
"to": "data-chief",
|
|
373
|
+
"toType": "specialist",
|
|
374
|
+
"path": ".claude/agents/data-chief.md",
|
|
375
|
+
"handoff": "shared-surface-review",
|
|
376
|
+
"reason": "This escalation exists only as an exploratory review stop because it touches shared Claude artifacts."
|
|
377
|
+
}
|
|
378
|
+
]
|
|
379
|
+
},
|
|
380
|
+
"multi-domain-launch": {
|
|
381
|
+
"aliases": ["launch", "cross-domain-launch"],
|
|
382
|
+
"owner": "sinapse-orqx",
|
|
383
|
+
"requestType": "multi-domain",
|
|
384
|
+
"classification": "codex-only-shim",
|
|
385
|
+
"mission": "Coordinate a multi-squad launch plan inside Codex without mutating shared Claude runtime surfaces.",
|
|
386
|
+
"summary": "Codex-only orchestration shim for cross-squad launch execution.",
|
|
387
|
+
"inputs": ["initiative-brief", "timeline", "launch-goal"],
|
|
388
|
+
"outputs": ["multi-domain-launch-plan"],
|
|
389
|
+
"validators": ["npm run validate:codex-delegation", "npm run validate:codex-sync"],
|
|
390
|
+
"sharedSurfaceRisk": "medium",
|
|
391
|
+
"notes": [
|
|
392
|
+
"This route is a Codex-only shim that preserves Cloud/Claude behavior by keeping orchestration logic local to Codex."
|
|
393
|
+
],
|
|
394
|
+
"resources": [
|
|
395
|
+
".codex/agents/product-orqx.md",
|
|
396
|
+
".codex/agents/copy-orqx.md",
|
|
397
|
+
".codex/agents/paidmedia-orqx.md",
|
|
398
|
+
"docs/codex-total-parity-orchestration-plan.md"
|
|
399
|
+
],
|
|
400
|
+
"delegationChain": [
|
|
401
|
+
{
|
|
402
|
+
"from": "sinapse-orqx",
|
|
403
|
+
"fromType": "orqx",
|
|
404
|
+
"to": "product-orqx",
|
|
405
|
+
"toType": "orqx",
|
|
406
|
+
"path": ".codex/agents/product-orqx.md",
|
|
407
|
+
"handoff": "scope-launch-workstream",
|
|
408
|
+
"reason": "Product orchestrates sequencing, scope, and initiative framing."
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"from": "sinapse-orqx",
|
|
412
|
+
"fromType": "orqx",
|
|
413
|
+
"to": "copy-orqx",
|
|
414
|
+
"toType": "orqx",
|
|
415
|
+
"path": ".codex/agents/copy-orqx.md",
|
|
416
|
+
"handoff": "shape-launch-messaging",
|
|
417
|
+
"reason": "Copy orchestrates campaign messaging and conversion assets."
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"from": "sinapse-orqx",
|
|
421
|
+
"fromType": "orqx",
|
|
422
|
+
"to": "paidmedia-orqx",
|
|
423
|
+
"toType": "orqx",
|
|
424
|
+
"path": ".codex/agents/paidmedia-orqx.md",
|
|
425
|
+
"handoff": "activate-launch-distribution",
|
|
426
|
+
"reason": "Paid media orchestrates channel activation and distribution planning."
|
|
427
|
+
}
|
|
428
|
+
]
|
|
429
|
+
},
|
|
430
|
+
"framework-story-delivery": {
|
|
431
|
+
"aliases": ["story-delivery", "framework-delivery"],
|
|
432
|
+
"owner": "sinapse-orqx",
|
|
433
|
+
"requestType": "framework-workflow",
|
|
434
|
+
"classification": "validator-backed",
|
|
435
|
+
"mission": "Run the canonical PM -> PO -> SM -> Dev -> QA delivery chain inside Codex with validator-backed command resolution.",
|
|
436
|
+
"summary": "Framework delivery route using the Codex command registry as the handoff resolver.",
|
|
437
|
+
"inputs": ["initiative-brief", "story-context", "quality-bar"],
|
|
438
|
+
"outputs": ["qa-gate-decision"],
|
|
439
|
+
"validators": [
|
|
440
|
+
"npm run validate:codex-commands",
|
|
441
|
+
"npm run validate:codex-delegation",
|
|
442
|
+
"npm run validate:codex-sync"
|
|
443
|
+
],
|
|
444
|
+
"sharedSurfaceRisk": "low",
|
|
445
|
+
"resources": [
|
|
446
|
+
".codex/command-registry.json",
|
|
447
|
+
".sinapse-ai/development/tasks/create-doc.md",
|
|
448
|
+
".sinapse-ai/development/tasks/validate-next-story.md",
|
|
449
|
+
".sinapse-ai/development/tasks/create-next-story.md",
|
|
450
|
+
".sinapse-ai/development/tasks/dev-develop-story.md",
|
|
451
|
+
".sinapse-ai/development/tasks/qa-gate.md"
|
|
452
|
+
],
|
|
453
|
+
"delegationChain": [
|
|
454
|
+
{
|
|
455
|
+
"from": "sinapse-orqx",
|
|
456
|
+
"fromType": "orqx",
|
|
457
|
+
"to": "sinapse-pm",
|
|
458
|
+
"toType": "framework-agent",
|
|
459
|
+
"path": ".codex/agents/pm.md",
|
|
460
|
+
"resolver": "command-registry",
|
|
461
|
+
"command": "create-prd",
|
|
462
|
+
"handoff": "define-scope",
|
|
463
|
+
"reason": "PM defines the delivery brief and product scope."
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"from": "sinapse-pm",
|
|
467
|
+
"fromType": "framework-agent",
|
|
468
|
+
"to": "sinapse-po",
|
|
469
|
+
"toType": "framework-agent",
|
|
470
|
+
"path": ".codex/agents/po.md",
|
|
471
|
+
"resolver": "command-registry",
|
|
472
|
+
"command": "validate-story",
|
|
473
|
+
"handoff": "validate-backlog-readiness",
|
|
474
|
+
"reason": "PO validates readiness and acceptance quality before drafting."
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"from": "sinapse-po",
|
|
478
|
+
"fromType": "framework-agent",
|
|
479
|
+
"to": "sinapse-sm",
|
|
480
|
+
"toType": "framework-agent",
|
|
481
|
+
"path": ".codex/agents/sm.md",
|
|
482
|
+
"resolver": "command-registry",
|
|
483
|
+
"command": "draft",
|
|
484
|
+
"handoff": "draft-implementation-story",
|
|
485
|
+
"reason": "SM drafts the executable story from validated requirements."
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
"from": "sinapse-sm",
|
|
489
|
+
"fromType": "framework-agent",
|
|
490
|
+
"to": "sinapse-dev",
|
|
491
|
+
"toType": "framework-agent",
|
|
492
|
+
"path": ".codex/agents/dev.md",
|
|
493
|
+
"resolver": "command-registry",
|
|
494
|
+
"command": "develop",
|
|
495
|
+
"handoff": "implement-story",
|
|
496
|
+
"reason": "Developer executes the implementation against the drafted story."
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
"from": "sinapse-dev",
|
|
500
|
+
"fromType": "framework-agent",
|
|
501
|
+
"to": "sinapse-qa",
|
|
502
|
+
"toType": "framework-agent",
|
|
503
|
+
"path": ".codex/agents/qa.md",
|
|
504
|
+
"resolver": "command-registry",
|
|
505
|
+
"command": "gate",
|
|
506
|
+
"handoff": "issue-quality-gate",
|
|
507
|
+
"reason": "QA closes the chain with the gate decision."
|
|
508
|
+
}
|
|
509
|
+
]
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "Codex Delegation Handoff Packet",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"additionalProperties": false,
|
|
6
|
+
"required": [
|
|
7
|
+
"mission",
|
|
8
|
+
"phase",
|
|
9
|
+
"owner",
|
|
10
|
+
"classification",
|
|
11
|
+
"inputs",
|
|
12
|
+
"outputs",
|
|
13
|
+
"validators",
|
|
14
|
+
"sharedSurfaceRisk",
|
|
15
|
+
"nextHandoff",
|
|
16
|
+
"delegationChain"
|
|
17
|
+
],
|
|
18
|
+
"properties": {
|
|
19
|
+
"routeId": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"minLength": 1
|
|
22
|
+
},
|
|
23
|
+
"mission": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"minLength": 1
|
|
26
|
+
},
|
|
27
|
+
"phase": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"minLength": 1
|
|
30
|
+
},
|
|
31
|
+
"owner": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"minLength": 1
|
|
34
|
+
},
|
|
35
|
+
"classification": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"enum": ["validator-backed", "codex-only-shim", "exploratory"]
|
|
38
|
+
},
|
|
39
|
+
"summary": {
|
|
40
|
+
"type": "string"
|
|
41
|
+
},
|
|
42
|
+
"inputs": {
|
|
43
|
+
"type": "array",
|
|
44
|
+
"items": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"minLength": 1
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"outputs": {
|
|
50
|
+
"type": "array",
|
|
51
|
+
"items": {
|
|
52
|
+
"type": "string",
|
|
53
|
+
"minLength": 1
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"validators": {
|
|
57
|
+
"type": "array",
|
|
58
|
+
"items": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"minLength": 1
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"sharedSurfaceRisk": {
|
|
64
|
+
"type": "string",
|
|
65
|
+
"enum": ["low", "medium", "high"]
|
|
66
|
+
},
|
|
67
|
+
"nextHandoff": {
|
|
68
|
+
"type": "object",
|
|
69
|
+
"additionalProperties": false,
|
|
70
|
+
"required": ["to", "artifact"],
|
|
71
|
+
"properties": {
|
|
72
|
+
"to": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"minLength": 1
|
|
75
|
+
},
|
|
76
|
+
"artifact": {
|
|
77
|
+
"type": "string",
|
|
78
|
+
"minLength": 1
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"delegationChain": {
|
|
83
|
+
"type": "array",
|
|
84
|
+
"minItems": 1,
|
|
85
|
+
"items": {
|
|
86
|
+
"type": "object",
|
|
87
|
+
"additionalProperties": false,
|
|
88
|
+
"required": ["from", "fromType", "to", "toType", "handoff", "reason"],
|
|
89
|
+
"properties": {
|
|
90
|
+
"from": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"minLength": 1
|
|
93
|
+
},
|
|
94
|
+
"fromType": {
|
|
95
|
+
"type": "string",
|
|
96
|
+
"enum": ["orqx", "framework-agent", "specialist"]
|
|
97
|
+
},
|
|
98
|
+
"to": {
|
|
99
|
+
"type": "string",
|
|
100
|
+
"minLength": 1
|
|
101
|
+
},
|
|
102
|
+
"toType": {
|
|
103
|
+
"type": "string",
|
|
104
|
+
"enum": ["orqx", "framework-agent", "specialist"]
|
|
105
|
+
},
|
|
106
|
+
"path": {
|
|
107
|
+
"type": "string",
|
|
108
|
+
"minLength": 1
|
|
109
|
+
},
|
|
110
|
+
"task": {
|
|
111
|
+
"type": "string",
|
|
112
|
+
"minLength": 1
|
|
113
|
+
},
|
|
114
|
+
"resolver": {
|
|
115
|
+
"type": "string",
|
|
116
|
+
"minLength": 1
|
|
117
|
+
},
|
|
118
|
+
"command": {
|
|
119
|
+
"type": "string",
|
|
120
|
+
"minLength": 1
|
|
121
|
+
},
|
|
122
|
+
"handoff": {
|
|
123
|
+
"type": "string",
|
|
124
|
+
"minLength": 1
|
|
125
|
+
},
|
|
126
|
+
"reason": {
|
|
127
|
+
"type": "string",
|
|
128
|
+
"minLength": 1
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"resources": {
|
|
134
|
+
"type": "array",
|
|
135
|
+
"items": {
|
|
136
|
+
"type": "string",
|
|
137
|
+
"minLength": 1
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"notes": {
|
|
141
|
+
"type": "array",
|
|
142
|
+
"items": {
|
|
143
|
+
"type": "string",
|
|
144
|
+
"minLength": 1
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|