@jaimevalasek/aioson 1.30.0 → 1.30.2

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.
Files changed (93) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/docs/design-previews/cognitive-core-ui-auth.html +95 -0
  3. package/docs/design-previews/cognitive-core-ui-kanban.html +231 -0
  4. package/docs/design-previews/cognitive-core-ui-list-detail.html +174 -0
  5. package/docs/design-previews/cognitive-core-ui-preview.css +1315 -0
  6. package/docs/design-previews/cognitive-core-ui-settings.html +142 -0
  7. package/docs/design-previews/cognitive-core-ui-website.html +190 -1009
  8. package/docs/design-previews/cognitive-core-ui.html +281 -463
  9. package/docs/design-previews/index.html +83 -31
  10. package/package.json +1 -1
  11. package/src/constants.js +578 -514
  12. package/template/.aioson/docs/integrations/dashboard-app-form-publish-mapping.md +183 -0
  13. package/template/.aioson/docs/play/README.md +74 -0
  14. package/template/.aioson/docs/play/agent-usage-guide.md +112 -0
  15. package/template/.aioson/docs/play/app-compatibility-guide.md +117 -0
  16. package/template/.aioson/docs/play/auth-services-and-testing.md +235 -0
  17. package/template/.aioson/docs/play/llm-data-and-bindings.md +238 -0
  18. package/template/.aioson/docs/play/manifest-and-runtime.md +267 -0
  19. package/template/.aioson/docs/play/source-map.md +104 -0
  20. package/template/.aioson/skills/design/aurora-command-ui/SKILL.md +266 -243
  21. package/template/.aioson/skills/design/aurora-command-ui/references/art-direction.md +293 -293
  22. package/template/.aioson/skills/design/aurora-command-ui/references/components.md +827 -827
  23. package/template/.aioson/skills/design/aurora-command-ui/references/dashboards.md +250 -250
  24. package/template/.aioson/skills/design/aurora-command-ui/references/design-tokens.md +585 -585
  25. package/template/.aioson/skills/design/aurora-command-ui/references/motion.md +365 -365
  26. package/template/.aioson/skills/design/aurora-command-ui/references/patterns.md +485 -482
  27. package/template/.aioson/skills/design/aurora-command-ui/references/websites.md +386 -387
  28. package/template/.aioson/skills/design/bold-editorial-ui/SKILL.md +228 -205
  29. package/template/.aioson/skills/design/bold-editorial-ui/references/art-direction.md +338 -338
  30. package/template/.aioson/skills/design/bold-editorial-ui/references/components.md +977 -977
  31. package/template/.aioson/skills/design/bold-editorial-ui/references/dashboards.md +218 -218
  32. package/template/.aioson/skills/design/bold-editorial-ui/references/design-tokens.md +326 -326
  33. package/template/.aioson/skills/design/bold-editorial-ui/references/motion.md +461 -461
  34. package/template/.aioson/skills/design/bold-editorial-ui/references/patterns.md +293 -293
  35. package/template/.aioson/skills/design/bold-editorial-ui/references/websites.md +352 -352
  36. package/template/.aioson/skills/design/clean-saas-ui/SKILL.md +233 -210
  37. package/template/.aioson/skills/design/clean-saas-ui/references/art-direction.md +319 -319
  38. package/template/.aioson/skills/design/clean-saas-ui/references/components.md +365 -365
  39. package/template/.aioson/skills/design/clean-saas-ui/references/dashboards.md +196 -196
  40. package/template/.aioson/skills/design/clean-saas-ui/references/design-tokens.md +244 -244
  41. package/template/.aioson/skills/design/clean-saas-ui/references/motion.md +235 -235
  42. package/template/.aioson/skills/design/clean-saas-ui/references/patterns.md +215 -215
  43. package/template/.aioson/skills/design/clean-saas-ui/references/websites.md +295 -295
  44. package/template/.aioson/skills/design/cognitive-core-ui/SKILL.md +239 -203
  45. package/template/.aioson/skills/design/cognitive-core-ui/references/art-direction.md +339 -339
  46. package/template/.aioson/skills/design/cognitive-core-ui/references/components.md +417 -407
  47. package/template/.aioson/skills/design/cognitive-core-ui/references/dashboards.md +289 -272
  48. package/template/.aioson/skills/design/cognitive-core-ui/references/design-tokens.md +525 -524
  49. package/template/.aioson/skills/design/cognitive-core-ui/references/motion.md +279 -279
  50. package/template/.aioson/skills/design/cognitive-core-ui/references/patterns.md +355 -289
  51. package/template/.aioson/skills/design/cognitive-core-ui/references/websites.md +443 -437
  52. package/template/.aioson/skills/design/glassmorphism-ui/SKILL.md +245 -222
  53. package/template/.aioson/skills/design/glassmorphism-ui/references/art-direction.md +159 -159
  54. package/template/.aioson/skills/design/glassmorphism-ui/references/components.md +498 -498
  55. package/template/.aioson/skills/design/glassmorphism-ui/references/dashboards.md +236 -236
  56. package/template/.aioson/skills/design/glassmorphism-ui/references/design-tokens.md +274 -274
  57. package/template/.aioson/skills/design/glassmorphism-ui/references/motion.md +355 -355
  58. package/template/.aioson/skills/design/glassmorphism-ui/references/patterns.md +198 -198
  59. package/template/.aioson/skills/design/glassmorphism-ui/references/websites.md +307 -307
  60. package/template/.aioson/skills/design/interface-design/SKILL.md +68 -47
  61. package/template/.aioson/skills/design/interface-design/references/components-and-states.md +105 -105
  62. package/template/.aioson/skills/design/interface-design/references/design-directions.md +101 -101
  63. package/template/.aioson/skills/design/interface-design/references/handoff-and-quality.md +92 -71
  64. package/template/.aioson/skills/design/interface-design/references/intent-and-domain.md +74 -74
  65. package/template/.aioson/skills/design/interface-design/references/tokens-and-depth.md +173 -173
  66. package/template/.aioson/skills/design/neo-brutalist-ui/SKILL.md +236 -213
  67. package/template/.aioson/skills/design/neo-brutalist-ui/references/art-direction.md +228 -228
  68. package/template/.aioson/skills/design/neo-brutalist-ui/references/components.md +855 -855
  69. package/template/.aioson/skills/design/neo-brutalist-ui/references/dashboards.md +334 -334
  70. package/template/.aioson/skills/design/neo-brutalist-ui/references/design-tokens.md +342 -342
  71. package/template/.aioson/skills/design/neo-brutalist-ui/references/motion.md +286 -286
  72. package/template/.aioson/skills/design/neo-brutalist-ui/references/patterns.md +458 -458
  73. package/template/.aioson/skills/design/neo-brutalist-ui/references/websites.md +723 -723
  74. package/template/.aioson/skills/design/premium-command-center-ui/SKILL.md +83 -62
  75. package/template/.aioson/skills/design/premium-command-center-ui/references/operations.md +74 -74
  76. package/template/.aioson/skills/design/premium-command-center-ui/references/patterns.md +116 -116
  77. package/template/.aioson/skills/design/premium-command-center-ui/references/validation.md +47 -47
  78. package/template/.aioson/skills/design/premium-command-center-ui/references/visual-system.md +215 -215
  79. package/template/.aioson/skills/design/pt.squarespace.com/.skill-meta.json +31 -31
  80. package/template/.aioson/skills/design/pt.squarespace.com/SKILL.md +94 -66
  81. package/template/.aioson/skills/design/pt.squarespace.com/references/components.md +366 -366
  82. package/template/.aioson/skills/design/pt.squarespace.com/references/design-tokens.md +150 -150
  83. package/template/.aioson/skills/design/pt.squarespace.com/references/motion.md +270 -270
  84. package/template/.aioson/skills/design/pt.squarespace.com/references/patterns.md +189 -189
  85. package/template/.aioson/skills/design/pt.squarespace.com/references/websites.md +161 -161
  86. package/template/.aioson/skills/design/warm-craft-ui/SKILL.md +232 -209
  87. package/template/.aioson/skills/design/warm-craft-ui/references/art-direction.md +324 -324
  88. package/template/.aioson/skills/design/warm-craft-ui/references/components.md +508 -508
  89. package/template/.aioson/skills/design/warm-craft-ui/references/dashboards.md +223 -223
  90. package/template/.aioson/skills/design/warm-craft-ui/references/design-tokens.md +374 -374
  91. package/template/.aioson/skills/design/warm-craft-ui/references/motion.md +356 -356
  92. package/template/.aioson/skills/design/warm-craft-ui/references/patterns.md +288 -288
  93. package/template/.aioson/skills/design/warm-craft-ui/references/websites.md +289 -289
package/src/constants.js CHANGED
@@ -1,514 +1,578 @@
1
- 'use strict';
2
-
3
- const MANAGED_FILES = [
4
- 'CLAUDE.md',
5
- 'AGENTS.md',
6
- 'OPENCODE.md',
7
- '.aioson/config.md',
8
- '.aioson/agents/setup.md',
9
- '.aioson/agents/discovery-design-doc.md',
10
- '.aioson/agents/discover.md',
11
- '.aioson/agents/analyst.md',
12
- '.aioson/agents/scope-check.md',
13
- '.aioson/agents/architect.md',
14
- '.aioson/agents/ux-ui.md',
15
- '.aioson/agents/product.md',
16
- '.aioson/agents/deyvin.md',
17
- '.aioson/agents/pair.md',
18
- '.aioson/agents/pm.md',
19
- '.aioson/agents/sheldon.md',
20
- '.aioson/agents/dev.md',
21
- '.aioson/agents/qa.md',
22
- '.aioson/agents/validator.md',
23
- '.aioson/agents/tester.md',
24
- '.aioson/agents/orchestrator.md',
25
- '.aioson/agents/pentester.md',
26
- '.aioson/agents/squad.md',
27
- '.aioson/agents/orache.md',
28
- '.aioson/agents/genome.md',
29
- '.aioson/agents/neo.md',
30
- '.aioson/agents/design-hybrid-forge.md',
31
- '.aioson/agents/site-forge.md',
32
- '.aioson/agents/profiler-researcher.md',
33
- '.aioson/agents/profiler-enricher.md',
34
- '.aioson/agents/profiler-forge.md',
35
- '.aioson/agents/committer.md',
36
- '.aioson/agents/copywriter.md',
37
- '.aioson/agents/briefing.md',
38
- '.aioson/agents/briefing-refiner.md',
39
- '.aioson/agents/forge-run.md',
40
- '.aioson/docs/squad/package-contract.md',
41
- '.aioson/docs/squad/creation-flow.md',
42
- '.aioson/docs/squad/research-loop.md',
43
- '.aioson/docs/squad/quality-lens.md',
44
- '.aioson/docs/squad/workflow-quality.md',
45
- '.aioson/docs/squad/content-output.md',
46
- '.aioson/docs/squad/session-operations.md',
47
- '.aioson/docs/squad/genome-bindings.md',
48
- '.aioson/docs/feature-expansion-taxonomy.md',
49
- '.aioson/docs/product/conversation-playbook.md',
50
- '.aioson/docs/product/research-loop.md',
51
- '.aioson/docs/product/quality-lens.md',
52
- '.aioson/docs/product/prd-contract.md',
53
- '.aioson/docs/deyvin/continuity-recovery.md',
54
- '.aioson/docs/deyvin/pair-execution.md',
55
- '.aioson/docs/deyvin/runtime-handoffs.md',
56
- '.aioson/docs/deyvin/debugging-escalation.md',
57
- '.aioson/docs/handoff-persistence.md',
58
- '.aioson/docs/sheldon/research-loop.md',
59
- '.aioson/docs/sheldon/web-intelligence.md',
60
- '.aioson/docs/sheldon/quality-lens.md',
61
- '.aioson/docs/sheldon/enrichment-paths.md',
62
- '.aioson/docs/sheldon/harness-contract.md',
63
- '.aioson/docs/dev/stack-conventions.md',
64
- '.aioson/docs/dev/execution-discipline.md',
65
- '.aioson/docs/dev/simple-plan-lane.md',
66
- '.aioson/docs/quality/code-health-analysis.md',
67
- '.aioson/skills/process/decision-presentation/SKILL.md',
68
- '.aioson/skills/process/decision-presentation/references/jargon-map.en.yaml',
69
- '.aioson/skills/process/decision-presentation/references/jargon-map.pt-BR.yaml',
70
- '.aioson/skills/process/prompt-sharpener/SKILL.md',
71
- '.aioson/skills/process/prompt-sharpener/references/prompt-diagnostics.md',
72
- '.aioson/skills/process/prompt-sharpener/agents/openai.yaml',
73
- '.aioson/skills/process/briefing-expansion-scout/SKILL.md',
74
- '.aioson/skills/process/product-scope-expansion/SKILL.md',
75
- '.aioson/skills/process/sheldon-expansion-audit/SKILL.md',
76
- '.aioson/skills/static/laravel-conventions.md',
77
- '.aioson/skills/static/tall-stack-patterns.md',
78
- '.aioson/skills/static/jetstream-setup.md',
79
- '.aioson/skills/static/rails-conventions.md',
80
- '.aioson/skills/static/node-express-patterns.md',
81
- '.aioson/skills/static/node-typescript-patterns.md',
82
- '.aioson/skills/static/nextjs-patterns.md',
83
- '.aioson/skills/static/ui-ux-modern.md',
84
- '.aioson/skills/static/landing-page-forge.md',
85
- '.aioson/skills/static/landing-page-deploy.md',
86
- '.aioson/skills/marketing/vsl-craft.md',
87
- '.aioson/skills/marketing/references/one-belief.md',
88
- '.aioson/skills/marketing/references/five-acts.md',
89
- '.aioson/skills/marketing/references/fascinations.md',
90
- '.aioson/skills/marketing/references/offer-structure.md',
91
- '.aioson/skills/marketing/references/pms-research.md',
92
- '.aioson/skills/marketing/references/patterns.md',
93
- '.aioson/skills/marketing/references/anti-patterns.md',
94
- '.aioson/skills/marketing/references/market-intelligence.md',
95
- '.aioson/genomes/copywriting.md',
96
- '.aioson/skills/static/web3-ethereum-patterns.md',
97
- '.aioson/skills/static/web3-solana-patterns.md',
98
- '.aioson/skills/static/web3-cardano-patterns.md',
99
- '.aioson/skills/static/web3-security-checklist.md',
100
- '.aioson/skills/static/git-conventions.md',
101
- '.aioson/skills/design/cognitive-core-ui/SKILL.md',
102
- '.aioson/skills/design/cognitive-core-ui/references/design-tokens.md',
103
- '.aioson/skills/design/cognitive-core-ui/references/components.md',
104
- '.aioson/skills/design/cognitive-core-ui/references/patterns.md',
105
- '.aioson/skills/design/cognitive-core-ui/references/motion.md',
106
- '.aioson/skills/design/cognitive-core-ui/references/dashboards.md',
107
- '.aioson/skills/design/cognitive-core-ui/references/websites.md',
108
- '.aioson/skills/design/premium-command-center-ui/SKILL.md',
109
- '.aioson/skills/design/premium-command-center-ui/references/visual-system.md',
110
- '.aioson/skills/design/premium-command-center-ui/references/patterns.md',
111
- '.aioson/skills/design/premium-command-center-ui/references/operations.md',
112
- '.aioson/skills/design/premium-command-center-ui/references/validation.md',
113
- '.aioson/skills/design/interface-design/SKILL.md',
114
- '.aioson/skills/design/interface-design/references/intent-and-domain.md',
115
- '.aioson/skills/design/interface-design/references/design-directions.md',
116
- '.aioson/skills/design/interface-design/references/tokens-and-depth.md',
117
- '.aioson/skills/design/interface-design/references/components-and-states.md',
118
- '.aioson/skills/design/interface-design/references/handoff-and-quality.md',
119
- '.aioson/skills/dynamic/laravel-docs.md',
120
- '.aioson/skills/dynamic/flux-ui-docs.md',
121
- '.aioson/skills/dynamic/npm-packages.md',
122
- '.aioson/skills/dynamic/ethereum-docs.md',
123
- '.aioson/skills/dynamic/solana-docs.md',
124
- '.aioson/skills/dynamic/cardano-docs.md',
125
- '.aioson/mcp/servers.md',
126
- '.aioson/schemas/genome.schema.json',
127
- '.aioson/schemas/genome-meta.schema.json',
128
- '.aioson/schemas/squad-manifest.schema.json',
129
- '.aioson/schemas/squad-blueprint.schema.json',
130
- '.aioson/schemas/readiness.schema.json',
131
- '.aioson/schemas/content-blueprint.schema.json',
132
- '.aioson/schemas/genome.schema.json',
133
- '.aioson/schemas/genome-meta.schema.json',
134
- '.aioson/tasks/squad-design.md',
135
- '.aioson/tasks/squad-create.md',
136
- '.aioson/tasks/squad-validate.md',
137
- '.aioson/tasks/squad-analyze.md',
138
- '.aioson/tasks/squad-extend.md',
139
- '.aioson/tasks/squad-export.md',
140
- '.aioson/tasks/squad-repair.md',
141
- '.aioson/tasks/squad-pipeline.md',
142
- '.aioson/tasks/squad-learning-review.md',
143
- '.aioson/profiler-reports/.gitkeep',
144
- '.aioson/advisors/.gitkeep'
145
- ];
146
-
147
- const REQUIRED_FILES = [
148
- 'CLAUDE.md',
149
- 'AGENTS.md',
150
- 'OPENCODE.md',
151
- '.claude/commands/aioson/agent/setup.md',
152
- '.claude/commands/aioson/agent/discover.md',
153
- '.claude/commands/aioson/agent/dev.md',
154
- '.claude/commands/aioson/agent/qa.md',
155
- '.aioson/config.md',
156
- '.aioson/agents/setup.md',
157
- '.aioson/agents/discovery-design-doc.md',
158
- '.aioson/agents/discover.md',
159
- '.aioson/agents/analyst.md',
160
- '.aioson/agents/ux-ui.md',
161
- '.aioson/agents/dev.md',
162
- '.aioson/context/.gitkeep'
163
- ];
164
-
165
- const CONTEXT_REQUIRED_FIELDS = [
166
- 'project_name',
167
- 'project_type',
168
- 'profile',
169
- 'framework',
170
- 'framework_installed',
171
- 'classification',
172
- 'conversation_language',
173
- 'aioson_version'
174
- ];
175
-
176
- const CONTEXT_ALLOWED_CLASSIFICATIONS = ['MICRO', 'SMALL', 'MEDIUM'];
177
- const CONTEXT_ALLOWED_PROJECT_TYPES = ['web_app', 'api', 'site', 'script', 'dapp', 'desktop_app'];
178
- const CONTEXT_ALLOWED_PROFILES = ['developer', 'creator', 'team'];
179
-
180
- const AGENT_DEFINITIONS = [
181
- {
182
- id: 'setup',
183
- displayName: 'Setup',
184
- description: 'Project onboarding and context setup',
185
- command: '@setup',
186
- path: '.aioson/agents/setup.md',
187
- dependsOn: [],
188
- output: '.aioson/context/project.context.md'
189
- },
190
- {
191
- id: 'discovery-design-doc',
192
- displayName: 'Discovery/Design Doc',
193
- description: 'Discovery and design doc generation',
194
- command: '@discovery-design-doc',
195
- path: '.aioson/agents/discovery-design-doc.md',
196
- dependsOn: ['.aioson/context/project.context.md'],
197
- output: '.aioson/context/design-doc*.md + .aioson/context/readiness*.md'
198
- },
199
- {
200
- id: 'discover',
201
- displayName: 'Discover',
202
- description: 'Semantic knowledge discovery and bootstrap cache generation',
203
- command: '@discover',
204
- path: '.aioson/agents/discover.md',
205
- dependsOn: ['.aioson/context/project.context.md'],
206
- output: '.aioson/context/bootstrap/what-is.md + .aioson/context/bootstrap/how-it-works.md + .aioson/context/bootstrap/what-it-does.md + .aioson/context/bootstrap/current-state.md'
207
- },
208
- {
209
- id: 'product',
210
- displayName: 'Product',
211
- description: 'Product vision, PRD and feature scoping',
212
- command: '@product',
213
- path: '.aioson/agents/product.md',
214
- dependsOn: ['.aioson/context/project.context.md'],
215
- output: '.aioson/context/prd.md or .aioson/context/prd-{slug}.md (PRD base)'
216
- },
217
- {
218
- id: 'deyvin',
219
- displayName: 'Deyvin',
220
- description: 'Pair programming partner for continuity sessions',
221
- command: '@deyvin',
222
- path: '.aioson/agents/deyvin.md',
223
- aliases: ['pair'],
224
- dependsOn: ['.aioson/context/project.context.md'],
225
- output: 'small code changes + continuity notes in spec.md + runtime logs/tasks'
226
- },
227
- {
228
- id: 'analyst',
229
- displayName: 'Analyst',
230
- description: 'Domain discovery and entity mapping (SMALL/MEDIUM)',
231
- command: '@analyst',
232
- path: '.aioson/agents/analyst.md',
233
- dependsOn: ['.aioson/context/project.context.md'],
234
- output: '.aioson/context/discovery.md or .aioson/context/requirements-{slug}.md + .aioson/context/spec-{slug}.md'
235
- },
236
- {
237
- id: 'scope-check',
238
- displayName: 'Scope Check',
239
- description: 'Scope alignment before development and optional post-dev drift checks',
240
- command: '@scope-check',
241
- path: '.aioson/agents/scope-check.md',
242
- dependsOn: [
243
- '.aioson/context/project.context.md',
244
- '.aioson/context/prd.md or .aioson/context/prd-{slug}.md',
245
- '.aioson/context/discovery.md or .aioson/context/requirements-{slug}.md + .aioson/context/spec-{slug}.md'
246
- ],
247
- output: '.aioson/context/scope-check.md or .aioson/context/scope-check-{slug}.md'
248
- },
249
- {
250
- id: 'architect',
251
- displayName: 'Architect',
252
- description: 'Project structure and technical decisions (SMALL/MEDIUM)',
253
- command: '@architect',
254
- path: '.aioson/agents/architect.md',
255
- dependsOn: [
256
- '.aioson/context/project.context.md',
257
- '.aioson/context/discovery.md or .aioson/context/requirements-{slug}.md + .aioson/context/spec-{slug}.md'
258
- ],
259
- output: '.aioson/context/architecture.md'
260
- },
261
- {
262
- id: 'ux-ui',
263
- displayName: 'UI/UX',
264
- description: 'UI/UX design system and component spec (SMALL/MEDIUM)',
265
- command: '@ux-ui',
266
- path: '.aioson/agents/ux-ui.md',
267
- dependsOn: [
268
- '.aioson/context/project.context.md',
269
- '.aioson/context/prd.md or .aioson/context/prd-{slug}.md',
270
- '.aioson/context/discovery.md',
271
- '.aioson/context/architecture.md'
272
- ],
273
- output: '.aioson/context/ui-spec-{slug}.md (project mode: .aioson/context/ui-spec.md) + Visual identity enrichment in prd.md or prd-{slug}.md'
274
- },
275
- {
276
- id: 'pm',
277
- displayName: 'PM',
278
- description: 'Backlog and user stories (MEDIUM only)',
279
- command: '@pm',
280
- path: '.aioson/agents/pm.md',
281
- dependsOn: [
282
- '.aioson/context/project.context.md',
283
- '.aioson/context/prd.md or .aioson/context/prd-{slug}.md',
284
- '.aioson/context/requirements-{slug}.md + .aioson/context/spec-{slug}.md (feature mode)',
285
- '.aioson/context/discovery.md',
286
- '.aioson/context/architecture.md',
287
- '.aioson/context/design-doc-{slug}.md + .aioson/context/readiness-{slug}.md (feature mode, when present)',
288
- '.aioson/context/ui-spec.md (when present)'
289
- ],
290
- output: '.aioson/context/prd.md or prd-{slug}.md (enriched with acceptance criteria) + .aioson/context/implementation-plan-{slug}.md for MEDIUM features'
291
- },
292
- {
293
- id: 'dev',
294
- displayName: 'Dev',
295
- description: 'Feature implementation (any stack)',
296
- command: '@dev',
297
- path: '.aioson/agents/dev.md',
298
- dependsOn: [
299
- '.aioson/context/project.context.md',
300
- '.aioson/context/discovery.md',
301
- '.aioson/context/architecture.md'
302
- ],
303
- output: 'code changes'
304
- },
305
- {
306
- id: 'pentester',
307
- displayName: 'Pentester',
308
- description: 'Adversarial security review and threat-surface mapping',
309
- command: '@pentester',
310
- path: '.aioson/agents/pentester.md',
311
- flags: [
312
- { name: 'mode', value: 'framework_target|app_target', description: 'Target mode for security review' },
313
- { name: 'feature', value: '<slug>', description: 'Feature slug (required for app_target)' },
314
- { name: 'scope', value: '<scope>', description: 'Target scope (required for app_target)' }
315
- ],
316
- dependsOn: [
317
- '.aioson/context/project.context.md',
318
- '.aioson/context/spec-{slug}.md (active feature)'
319
- ],
320
- output: '.aioson/context/security-findings-{slug}.json'
321
- },
322
- {
323
- id: 'qa',
324
- displayName: 'QA',
325
- description: 'Risk-first review and test generation (SMALL/MEDIUM)',
326
- command: '@qa',
327
- path: '.aioson/agents/qa.md',
328
- dependsOn: ['.aioson/context/discovery.md'],
329
- output: 'QA report'
330
- },
331
- {
332
- id: 'validator',
333
- displayName: 'Validator',
334
- description: 'Technical validation against success contract',
335
- command: '@validator',
336
- path: '.aioson/agents/validator.md',
337
- dependsOn: [
338
- '.aioson/plans/{slug}/harness-contract.json',
339
- '.aioson/plans/{slug}/progress.json'
340
- ],
341
- output: '.aioson/plans/{slug}/last-validator-output.json'
342
- },
343
- {
344
- id: 'tester',
345
- displayName: 'Tester',
346
- description: 'Systematic test engineering for implemented apps (all sizes)',
347
- command: '@tester',
348
- path: '.aioson/agents/tester.md',
349
- dependsOn: ['.aioson/context/project.context.md'],
350
- output: '.aioson/context/test-inventory-{slug}.md + .aioson/context/test-plan-{slug}.md (project mode: bare names)'
351
- },
352
- {
353
- id: 'orchestrator',
354
- displayName: 'Orchestrator',
355
- description: 'Session protocol and parallel execution (MEDIUM)',
356
- command: '@orchestrator',
357
- path: '.aioson/agents/orchestrator.md',
358
- dependsOn: [
359
- '.aioson/context/project.context.md',
360
- '.aioson/context/discovery.md',
361
- '.aioson/context/architecture.md',
362
- '.aioson/context/prd.md or .aioson/context/prd-{slug}.md',
363
- '.aioson/context/ui-spec.md (when present)',
364
- '.aioson/context/implementation-plan.md or implementation-plan-{slug}.md (when present)'
365
- ],
366
- output: '.aioson/context/parallel/*.status.md'
367
- },
368
- {
369
- id: 'squad',
370
- displayName: 'Squad',
371
- description: 'Squad assembly and management',
372
- command: '@squad',
373
- path: '.aioson/agents/squad.md',
374
- dependsOn: [],
375
- output:
376
- '.aioson/squads/{slug}/squad.manifest.json + .aioson/squads/{slug}/squad.md + .aioson/squads/{slug}/agents/ + .aioson/squads/{slug}/workers/ + .aioson/squads/{slug}/workflows/ + .aioson/squads/{slug}/checklists/ + .aioson/squads/{slug}/skills/ + .aioson/squads/{slug}/templates/ + .aioson/squads/{slug}/docs/ + output/{slug}/{session-id}.html + output/{slug}/{content-key}/content.json + output/{slug}/{content-key}/index.html + output/{slug}/latest.html + aioson-logs/{slug}/ + media/{slug}/'
377
- },
378
- {
379
- id: 'orache',
380
- displayName: 'Orache',
381
- description: 'Domain investigation and strategic research',
382
- command: '@orache',
383
- path: '.aioson/agents/orache.md',
384
- dependsOn: [],
385
- output: 'squad-searches/{squad-slug}/investigation-{date}.md or squad-searches/standalone/{domain-slug}-{date}.md'
386
- },
387
- {
388
- id: 'genome',
389
- displayName: 'Genome',
390
- description: 'Domain genome creation and application',
391
- command: '@genome',
392
- path: '.aioson/agents/genome.md',
393
- dependsOn: [],
394
- output: '.aioson/genomes/[slug].md + .aioson/genomes/[slug].meta.json + optional binding in .aioson/squads/{slug}/squad.md or .aioson/squads/{slug}/squad.manifest.json'
395
- },
396
- {
397
- id: 'design-hybrid-forge',
398
- displayName: 'Design Hybrid Forge',
399
- description: 'Generate hybrid design skill from two visual parents',
400
- command: '@design-hybrid-forge',
401
- path: '.aioson/agents/design-hybrid-forge.md',
402
- dependsOn: ['.aioson/context/project.context.md'],
403
- output: '.aioson/installed-skills/{hybrid-slug}/SKILL.md + .aioson/installed-skills/{hybrid-slug}/references/ + .aioson/installed-skills/{hybrid-slug}/previews/ + .aioson/installed-skills/{hybrid-slug}/.skill-meta.json'
404
- },
405
- {
406
- id: 'site-forge',
407
- displayName: 'Site Forge',
408
- description: 'Clone, extract, and forge sites and design skills from any URL',
409
- command: '@site-forge',
410
- path: '.aioson/agents/site-forge.md',
411
- dependsOn: ['.aioson/context/project.context.md'],
412
- output: 'src/components/*.tsx + src/app/page.tsx + docs/research/{hostname}/ + public/images/{hostname}/'
413
- },
414
- {
415
- id: 'forge-run',
416
- displayName: 'Forge Run',
417
- description: 'Compile and run the Lane B workflow harness for a MEDIUM feature',
418
- command: '@forge-run',
419
- path: '.aioson/agents/forge-run.md',
420
- dependsOn: ['.aioson/context/project.context.md'],
421
- output: '.aioson/plans/{slug}/forge-run.workflow.js + workflow run verdict (stops before feature:close)'
422
- },
423
- {
424
- id: 'neo',
425
- displayName: 'Neo',
426
- description: 'System router: see the full picture, get guided to the right agent',
427
- command: '@neo',
428
- path: '.aioson/agents/neo.md',
429
- dependsOn: ['.aioson/context/project.context.md'],
430
- output: 'routing decision + agent handoff'
431
- },
432
- {
433
- id: 'sheldon',
434
- displayName: 'Sheldon',
435
- description: 'PRD quality review and pre-implementation enrichment',
436
- command: '@sheldon',
437
- path: '.aioson/agents/sheldon.md',
438
- dependsOn: ['.aioson/context/project.context.md'],
439
- output: 'enriched PRD or phased execution plan (+ sheldon-validation-{slug}.md readiness gate on MEDIUM)'
440
- },
441
- {
442
- id: 'committer',
443
- displayName: 'Committer',
444
- description: 'Professional Git commit generation from changes and context',
445
- command: '@committer',
446
- path: '.aioson/agents/committer.md',
447
- dependsOn: [],
448
- output: 'git commit(s)'
449
- },
450
- {
451
- id: 'copywriter',
452
- displayName: 'Copywriter',
453
- description: 'Conversion-focused marketing copy',
454
- command: '@copywriter',
455
- path: '.aioson/agents/copywriter.md',
456
- dependsOn: [],
457
- output: 'marketing copy + content assets'
458
- },
459
- {
460
- id: 'briefing',
461
- displayName: 'Briefing',
462
- description: 'Pre-production briefings and planning',
463
- command: '@briefing',
464
- path: '.aioson/agents/briefing.md',
465
- dependsOn: ['.aioson/context/project.context.md'],
466
- output: '.aioson/briefings/{slug}/'
467
- },
468
- {
469
- id: 'briefing-refiner',
470
- displayName: 'Briefing Refiner',
471
- description: 'Interactive refinement of briefing artifacts before Product PRD generation',
472
- command: '@briefing-refiner',
473
- path: '.aioson/agents/briefing-refiner.md',
474
- dependsOn: ['.aioson/context/project.context.md', '.aioson/briefings/config.md'],
475
- output: '.aioson/briefings/{slug}/review.html + refinement-feedback.json + refinement-report.md'
476
- },
477
- {
478
- id: 'profiler-researcher',
479
- displayName: 'Profiler Researcher',
480
- description: 'Clone profiler: research phase',
481
- command: '@profiler-researcher',
482
- path: '.aioson/agents/profiler-researcher.md',
483
- dependsOn: [],
484
- output: '.aioson/profiler-reports/{person-slug}/research-report.md'
485
- },
486
- {
487
- id: 'profiler-enricher',
488
- displayName: 'Profiler Enricher',
489
- description: 'Clone profiler: enrichment phase',
490
- command: '@profiler-enricher',
491
- path: '.aioson/agents/profiler-enricher.md',
492
- dependsOn: ['.aioson/profiler-reports/{person-slug}/research-report.md'],
493
- output: '.aioson/profiler-reports/{person-slug}/enriched-profile.md'
494
- },
495
- {
496
- id: 'profiler-forge',
497
- displayName: 'Profiler Forge',
498
- description: 'Clone profiler: forge and validate',
499
- command: '@profiler-forge',
500
- path: '.aioson/agents/profiler-forge.md',
501
- dependsOn: ['.aioson/profiler-reports/{person-slug}/enriched-profile.md'],
502
- output: '.aioson/genomes/{person-slug}-{domain-slug}.md + .aioson/genomes/{person-slug}-{domain-slug}.meta.json + .aioson/advisors/{person-slug}-advisor.md'
503
- }
504
- ];
505
-
506
- module.exports = {
507
- MANAGED_FILES,
508
- REQUIRED_FILES,
509
- CONTEXT_REQUIRED_FIELDS,
510
- CONTEXT_ALLOWED_CLASSIFICATIONS,
511
- CONTEXT_ALLOWED_PROJECT_TYPES,
512
- CONTEXT_ALLOWED_PROFILES,
513
- AGENT_DEFINITIONS
514
- };
1
+ 'use strict';
2
+
3
+ const MANAGED_FILES = [
4
+ 'CLAUDE.md',
5
+ 'AGENTS.md',
6
+ 'OPENCODE.md',
7
+ '.aioson/config.md',
8
+ '.aioson/agents/setup.md',
9
+ '.aioson/agents/discovery-design-doc.md',
10
+ '.aioson/agents/discover.md',
11
+ '.aioson/agents/analyst.md',
12
+ '.aioson/agents/scope-check.md',
13
+ '.aioson/agents/architect.md',
14
+ '.aioson/agents/ux-ui.md',
15
+ '.aioson/agents/product.md',
16
+ '.aioson/agents/deyvin.md',
17
+ '.aioson/agents/pair.md',
18
+ '.aioson/agents/pm.md',
19
+ '.aioson/agents/sheldon.md',
20
+ '.aioson/agents/dev.md',
21
+ '.aioson/agents/qa.md',
22
+ '.aioson/agents/validator.md',
23
+ '.aioson/agents/tester.md',
24
+ '.aioson/agents/orchestrator.md',
25
+ '.aioson/agents/pentester.md',
26
+ '.aioson/agents/squad.md',
27
+ '.aioson/agents/orache.md',
28
+ '.aioson/agents/genome.md',
29
+ '.aioson/agents/neo.md',
30
+ '.aioson/agents/design-hybrid-forge.md',
31
+ '.aioson/agents/site-forge.md',
32
+ '.aioson/agents/profiler-researcher.md',
33
+ '.aioson/agents/profiler-enricher.md',
34
+ '.aioson/agents/profiler-forge.md',
35
+ '.aioson/agents/committer.md',
36
+ '.aioson/agents/copywriter.md',
37
+ '.aioson/agents/briefing.md',
38
+ '.aioson/agents/briefing-refiner.md',
39
+ '.aioson/agents/forge-run.md',
40
+ '.aioson/docs/squad/package-contract.md',
41
+ '.aioson/docs/squad/creation-flow.md',
42
+ '.aioson/docs/squad/research-loop.md',
43
+ '.aioson/docs/squad/quality-lens.md',
44
+ '.aioson/docs/squad/workflow-quality.md',
45
+ '.aioson/docs/squad/content-output.md',
46
+ '.aioson/docs/squad/session-operations.md',
47
+ '.aioson/docs/squad/genome-bindings.md',
48
+ '.aioson/docs/feature-expansion-taxonomy.md',
49
+ '.aioson/docs/product/conversation-playbook.md',
50
+ '.aioson/docs/product/research-loop.md',
51
+ '.aioson/docs/product/quality-lens.md',
52
+ '.aioson/docs/product/prd-contract.md',
53
+ '.aioson/docs/deyvin/continuity-recovery.md',
54
+ '.aioson/docs/deyvin/pair-execution.md',
55
+ '.aioson/docs/deyvin/runtime-handoffs.md',
56
+ '.aioson/docs/deyvin/debugging-escalation.md',
57
+ '.aioson/docs/handoff-persistence.md',
58
+ '.aioson/docs/integrations/dashboard-app-form-publish-mapping.md',
59
+ '.aioson/docs/play/README.md',
60
+ '.aioson/docs/play/agent-usage-guide.md',
61
+ '.aioson/docs/play/app-compatibility-guide.md',
62
+ '.aioson/docs/play/auth-services-and-testing.md',
63
+ '.aioson/docs/play/llm-data-and-bindings.md',
64
+ '.aioson/docs/play/manifest-and-runtime.md',
65
+ '.aioson/docs/play/source-map.md',
66
+ '.aioson/docs/sheldon/research-loop.md',
67
+ '.aioson/docs/sheldon/web-intelligence.md',
68
+ '.aioson/docs/sheldon/quality-lens.md',
69
+ '.aioson/docs/sheldon/enrichment-paths.md',
70
+ '.aioson/docs/sheldon/harness-contract.md',
71
+ '.aioson/docs/dev/stack-conventions.md',
72
+ '.aioson/docs/dev/execution-discipline.md',
73
+ '.aioson/docs/dev/simple-plan-lane.md',
74
+ '.aioson/docs/quality/code-health-analysis.md',
75
+ '.aioson/skills/process/decision-presentation/SKILL.md',
76
+ '.aioson/skills/process/decision-presentation/references/jargon-map.en.yaml',
77
+ '.aioson/skills/process/decision-presentation/references/jargon-map.pt-BR.yaml',
78
+ '.aioson/skills/process/prompt-sharpener/SKILL.md',
79
+ '.aioson/skills/process/prompt-sharpener/references/prompt-diagnostics.md',
80
+ '.aioson/skills/process/prompt-sharpener/agents/openai.yaml',
81
+ '.aioson/skills/process/briefing-expansion-scout/SKILL.md',
82
+ '.aioson/skills/process/product-scope-expansion/SKILL.md',
83
+ '.aioson/skills/process/sheldon-expansion-audit/SKILL.md',
84
+ '.aioson/skills/static/laravel-conventions.md',
85
+ '.aioson/skills/static/tall-stack-patterns.md',
86
+ '.aioson/skills/static/jetstream-setup.md',
87
+ '.aioson/skills/static/rails-conventions.md',
88
+ '.aioson/skills/static/node-express-patterns.md',
89
+ '.aioson/skills/static/node-typescript-patterns.md',
90
+ '.aioson/skills/static/nextjs-patterns.md',
91
+ '.aioson/skills/static/ui-ux-modern.md',
92
+ '.aioson/skills/static/landing-page-forge.md',
93
+ '.aioson/skills/static/landing-page-deploy.md',
94
+ '.aioson/skills/marketing/vsl-craft.md',
95
+ '.aioson/skills/marketing/references/one-belief.md',
96
+ '.aioson/skills/marketing/references/five-acts.md',
97
+ '.aioson/skills/marketing/references/fascinations.md',
98
+ '.aioson/skills/marketing/references/offer-structure.md',
99
+ '.aioson/skills/marketing/references/pms-research.md',
100
+ '.aioson/skills/marketing/references/patterns.md',
101
+ '.aioson/skills/marketing/references/anti-patterns.md',
102
+ '.aioson/skills/marketing/references/market-intelligence.md',
103
+ '.aioson/genomes/copywriting.md',
104
+ '.aioson/skills/static/web3-ethereum-patterns.md',
105
+ '.aioson/skills/static/web3-solana-patterns.md',
106
+ '.aioson/skills/static/web3-cardano-patterns.md',
107
+ '.aioson/skills/static/web3-security-checklist.md',
108
+ '.aioson/skills/static/git-conventions.md',
109
+ '.aioson/skills/design/aurora-command-ui/SKILL.md',
110
+ '.aioson/skills/design/aurora-command-ui/references/art-direction.md',
111
+ '.aioson/skills/design/aurora-command-ui/references/components.md',
112
+ '.aioson/skills/design/aurora-command-ui/references/dashboards.md',
113
+ '.aioson/skills/design/aurora-command-ui/references/design-tokens.md',
114
+ '.aioson/skills/design/aurora-command-ui/references/motion.md',
115
+ '.aioson/skills/design/aurora-command-ui/references/patterns.md',
116
+ '.aioson/skills/design/aurora-command-ui/references/websites.md',
117
+ '.aioson/skills/design/bold-editorial-ui/SKILL.md',
118
+ '.aioson/skills/design/bold-editorial-ui/references/art-direction.md',
119
+ '.aioson/skills/design/bold-editorial-ui/references/components.md',
120
+ '.aioson/skills/design/bold-editorial-ui/references/dashboards.md',
121
+ '.aioson/skills/design/bold-editorial-ui/references/design-tokens.md',
122
+ '.aioson/skills/design/bold-editorial-ui/references/motion.md',
123
+ '.aioson/skills/design/bold-editorial-ui/references/patterns.md',
124
+ '.aioson/skills/design/bold-editorial-ui/references/websites.md',
125
+ '.aioson/skills/design/clean-saas-ui/SKILL.md',
126
+ '.aioson/skills/design/clean-saas-ui/references/art-direction.md',
127
+ '.aioson/skills/design/clean-saas-ui/references/components.md',
128
+ '.aioson/skills/design/clean-saas-ui/references/dashboards.md',
129
+ '.aioson/skills/design/clean-saas-ui/references/design-tokens.md',
130
+ '.aioson/skills/design/clean-saas-ui/references/motion.md',
131
+ '.aioson/skills/design/clean-saas-ui/references/patterns.md',
132
+ '.aioson/skills/design/clean-saas-ui/references/websites.md',
133
+ '.aioson/skills/design/cognitive-core-ui/SKILL.md',
134
+ '.aioson/skills/design/cognitive-core-ui/references/art-direction.md',
135
+ '.aioson/skills/design/cognitive-core-ui/references/components.md',
136
+ '.aioson/skills/design/cognitive-core-ui/references/dashboards.md',
137
+ '.aioson/skills/design/cognitive-core-ui/references/design-tokens.md',
138
+ '.aioson/skills/design/cognitive-core-ui/references/motion.md',
139
+ '.aioson/skills/design/cognitive-core-ui/references/patterns.md',
140
+ '.aioson/skills/design/cognitive-core-ui/references/websites.md',
141
+ '.aioson/skills/design/glassmorphism-ui/SKILL.md',
142
+ '.aioson/skills/design/glassmorphism-ui/references/art-direction.md',
143
+ '.aioson/skills/design/glassmorphism-ui/references/components.md',
144
+ '.aioson/skills/design/glassmorphism-ui/references/dashboards.md',
145
+ '.aioson/skills/design/glassmorphism-ui/references/design-tokens.md',
146
+ '.aioson/skills/design/glassmorphism-ui/references/motion.md',
147
+ '.aioson/skills/design/glassmorphism-ui/references/patterns.md',
148
+ '.aioson/skills/design/glassmorphism-ui/references/websites.md',
149
+ '.aioson/skills/design/interface-design/SKILL.md',
150
+ '.aioson/skills/design/interface-design/references/components-and-states.md',
151
+ '.aioson/skills/design/interface-design/references/design-directions.md',
152
+ '.aioson/skills/design/interface-design/references/handoff-and-quality.md',
153
+ '.aioson/skills/design/interface-design/references/intent-and-domain.md',
154
+ '.aioson/skills/design/interface-design/references/tokens-and-depth.md',
155
+ '.aioson/skills/design/neo-brutalist-ui/SKILL.md',
156
+ '.aioson/skills/design/neo-brutalist-ui/references/art-direction.md',
157
+ '.aioson/skills/design/neo-brutalist-ui/references/components.md',
158
+ '.aioson/skills/design/neo-brutalist-ui/references/dashboards.md',
159
+ '.aioson/skills/design/neo-brutalist-ui/references/design-tokens.md',
160
+ '.aioson/skills/design/neo-brutalist-ui/references/motion.md',
161
+ '.aioson/skills/design/neo-brutalist-ui/references/patterns.md',
162
+ '.aioson/skills/design/neo-brutalist-ui/references/websites.md',
163
+ '.aioson/skills/design/premium-command-center-ui/SKILL.md',
164
+ '.aioson/skills/design/premium-command-center-ui/references/operations.md',
165
+ '.aioson/skills/design/premium-command-center-ui/references/patterns.md',
166
+ '.aioson/skills/design/premium-command-center-ui/references/validation.md',
167
+ '.aioson/skills/design/premium-command-center-ui/references/visual-system.md',
168
+ '.aioson/skills/design/pt.squarespace.com/.skill-meta.json',
169
+ '.aioson/skills/design/pt.squarespace.com/SKILL.md',
170
+ '.aioson/skills/design/pt.squarespace.com/references/components.md',
171
+ '.aioson/skills/design/pt.squarespace.com/references/design-tokens.md',
172
+ '.aioson/skills/design/pt.squarespace.com/references/motion.md',
173
+ '.aioson/skills/design/pt.squarespace.com/references/patterns.md',
174
+ '.aioson/skills/design/pt.squarespace.com/references/websites.md',
175
+ '.aioson/skills/design/warm-craft-ui/SKILL.md',
176
+ '.aioson/skills/design/warm-craft-ui/references/art-direction.md',
177
+ '.aioson/skills/design/warm-craft-ui/references/components.md',
178
+ '.aioson/skills/design/warm-craft-ui/references/dashboards.md',
179
+ '.aioson/skills/design/warm-craft-ui/references/design-tokens.md',
180
+ '.aioson/skills/design/warm-craft-ui/references/motion.md',
181
+ '.aioson/skills/design/warm-craft-ui/references/patterns.md',
182
+ '.aioson/skills/design/warm-craft-ui/references/websites.md',
183
+ '.aioson/skills/dynamic/laravel-docs.md',
184
+ '.aioson/skills/dynamic/flux-ui-docs.md',
185
+ '.aioson/skills/dynamic/npm-packages.md',
186
+ '.aioson/skills/dynamic/ethereum-docs.md',
187
+ '.aioson/skills/dynamic/solana-docs.md',
188
+ '.aioson/skills/dynamic/cardano-docs.md',
189
+ '.aioson/mcp/servers.md',
190
+ '.aioson/schemas/genome.schema.json',
191
+ '.aioson/schemas/genome-meta.schema.json',
192
+ '.aioson/schemas/squad-manifest.schema.json',
193
+ '.aioson/schemas/squad-blueprint.schema.json',
194
+ '.aioson/schemas/readiness.schema.json',
195
+ '.aioson/schemas/content-blueprint.schema.json',
196
+ '.aioson/schemas/genome.schema.json',
197
+ '.aioson/schemas/genome-meta.schema.json',
198
+ '.aioson/tasks/squad-design.md',
199
+ '.aioson/tasks/squad-create.md',
200
+ '.aioson/tasks/squad-validate.md',
201
+ '.aioson/tasks/squad-analyze.md',
202
+ '.aioson/tasks/squad-extend.md',
203
+ '.aioson/tasks/squad-export.md',
204
+ '.aioson/tasks/squad-repair.md',
205
+ '.aioson/tasks/squad-pipeline.md',
206
+ '.aioson/tasks/squad-learning-review.md',
207
+ '.aioson/profiler-reports/.gitkeep',
208
+ '.aioson/advisors/.gitkeep'
209
+ ];
210
+
211
+ const REQUIRED_FILES = [
212
+ 'CLAUDE.md',
213
+ 'AGENTS.md',
214
+ 'OPENCODE.md',
215
+ '.claude/commands/aioson/agent/setup.md',
216
+ '.claude/commands/aioson/agent/discover.md',
217
+ '.claude/commands/aioson/agent/dev.md',
218
+ '.claude/commands/aioson/agent/qa.md',
219
+ '.aioson/config.md',
220
+ '.aioson/agents/setup.md',
221
+ '.aioson/agents/discovery-design-doc.md',
222
+ '.aioson/agents/discover.md',
223
+ '.aioson/agents/analyst.md',
224
+ '.aioson/agents/ux-ui.md',
225
+ '.aioson/agents/dev.md',
226
+ '.aioson/context/.gitkeep'
227
+ ];
228
+
229
+ const CONTEXT_REQUIRED_FIELDS = [
230
+ 'project_name',
231
+ 'project_type',
232
+ 'profile',
233
+ 'framework',
234
+ 'framework_installed',
235
+ 'classification',
236
+ 'conversation_language',
237
+ 'aioson_version'
238
+ ];
239
+
240
+ const CONTEXT_ALLOWED_CLASSIFICATIONS = ['MICRO', 'SMALL', 'MEDIUM'];
241
+ const CONTEXT_ALLOWED_PROJECT_TYPES = ['web_app', 'api', 'site', 'script', 'dapp', 'desktop_app'];
242
+ const CONTEXT_ALLOWED_PROFILES = ['developer', 'creator', 'team'];
243
+
244
+ const AGENT_DEFINITIONS = [
245
+ {
246
+ id: 'setup',
247
+ displayName: 'Setup',
248
+ description: 'Project onboarding and context setup',
249
+ command: '@setup',
250
+ path: '.aioson/agents/setup.md',
251
+ dependsOn: [],
252
+ output: '.aioson/context/project.context.md'
253
+ },
254
+ {
255
+ id: 'discovery-design-doc',
256
+ displayName: 'Discovery/Design Doc',
257
+ description: 'Discovery and design doc generation',
258
+ command: '@discovery-design-doc',
259
+ path: '.aioson/agents/discovery-design-doc.md',
260
+ dependsOn: ['.aioson/context/project.context.md'],
261
+ output: '.aioson/context/design-doc*.md + .aioson/context/readiness*.md'
262
+ },
263
+ {
264
+ id: 'discover',
265
+ displayName: 'Discover',
266
+ description: 'Semantic knowledge discovery and bootstrap cache generation',
267
+ command: '@discover',
268
+ path: '.aioson/agents/discover.md',
269
+ dependsOn: ['.aioson/context/project.context.md'],
270
+ output: '.aioson/context/bootstrap/what-is.md + .aioson/context/bootstrap/how-it-works.md + .aioson/context/bootstrap/what-it-does.md + .aioson/context/bootstrap/current-state.md'
271
+ },
272
+ {
273
+ id: 'product',
274
+ displayName: 'Product',
275
+ description: 'Product vision, PRD and feature scoping',
276
+ command: '@product',
277
+ path: '.aioson/agents/product.md',
278
+ dependsOn: ['.aioson/context/project.context.md'],
279
+ output: '.aioson/context/prd.md or .aioson/context/prd-{slug}.md (PRD base)'
280
+ },
281
+ {
282
+ id: 'deyvin',
283
+ displayName: 'Deyvin',
284
+ description: 'Pair programming partner for continuity sessions',
285
+ command: '@deyvin',
286
+ path: '.aioson/agents/deyvin.md',
287
+ aliases: ['pair'],
288
+ dependsOn: ['.aioson/context/project.context.md'],
289
+ output: 'small code changes + continuity notes in spec.md + runtime logs/tasks'
290
+ },
291
+ {
292
+ id: 'analyst',
293
+ displayName: 'Analyst',
294
+ description: 'Domain discovery and entity mapping (SMALL/MEDIUM)',
295
+ command: '@analyst',
296
+ path: '.aioson/agents/analyst.md',
297
+ dependsOn: ['.aioson/context/project.context.md'],
298
+ output: '.aioson/context/discovery.md or .aioson/context/requirements-{slug}.md + .aioson/context/spec-{slug}.md'
299
+ },
300
+ {
301
+ id: 'scope-check',
302
+ displayName: 'Scope Check',
303
+ description: 'Scope alignment before development and optional post-dev drift checks',
304
+ command: '@scope-check',
305
+ path: '.aioson/agents/scope-check.md',
306
+ dependsOn: [
307
+ '.aioson/context/project.context.md',
308
+ '.aioson/context/prd.md or .aioson/context/prd-{slug}.md',
309
+ '.aioson/context/discovery.md or .aioson/context/requirements-{slug}.md + .aioson/context/spec-{slug}.md'
310
+ ],
311
+ output: '.aioson/context/scope-check.md or .aioson/context/scope-check-{slug}.md'
312
+ },
313
+ {
314
+ id: 'architect',
315
+ displayName: 'Architect',
316
+ description: 'Project structure and technical decisions (SMALL/MEDIUM)',
317
+ command: '@architect',
318
+ path: '.aioson/agents/architect.md',
319
+ dependsOn: [
320
+ '.aioson/context/project.context.md',
321
+ '.aioson/context/discovery.md or .aioson/context/requirements-{slug}.md + .aioson/context/spec-{slug}.md'
322
+ ],
323
+ output: '.aioson/context/architecture.md'
324
+ },
325
+ {
326
+ id: 'ux-ui',
327
+ displayName: 'UI/UX',
328
+ description: 'UI/UX design system and component spec (SMALL/MEDIUM)',
329
+ command: '@ux-ui',
330
+ path: '.aioson/agents/ux-ui.md',
331
+ dependsOn: [
332
+ '.aioson/context/project.context.md',
333
+ '.aioson/context/prd.md or .aioson/context/prd-{slug}.md',
334
+ '.aioson/context/discovery.md',
335
+ '.aioson/context/architecture.md'
336
+ ],
337
+ output: '.aioson/context/ui-spec-{slug}.md (project mode: .aioson/context/ui-spec.md) + Visual identity enrichment in prd.md or prd-{slug}.md'
338
+ },
339
+ {
340
+ id: 'pm',
341
+ displayName: 'PM',
342
+ description: 'Backlog and user stories (MEDIUM only)',
343
+ command: '@pm',
344
+ path: '.aioson/agents/pm.md',
345
+ dependsOn: [
346
+ '.aioson/context/project.context.md',
347
+ '.aioson/context/prd.md or .aioson/context/prd-{slug}.md',
348
+ '.aioson/context/requirements-{slug}.md + .aioson/context/spec-{slug}.md (feature mode)',
349
+ '.aioson/context/discovery.md',
350
+ '.aioson/context/architecture.md',
351
+ '.aioson/context/design-doc-{slug}.md + .aioson/context/readiness-{slug}.md (feature mode, when present)',
352
+ '.aioson/context/ui-spec.md (when present)'
353
+ ],
354
+ output: '.aioson/context/prd.md or prd-{slug}.md (enriched with acceptance criteria) + .aioson/context/implementation-plan-{slug}.md for MEDIUM features'
355
+ },
356
+ {
357
+ id: 'dev',
358
+ displayName: 'Dev',
359
+ description: 'Feature implementation (any stack)',
360
+ command: '@dev',
361
+ path: '.aioson/agents/dev.md',
362
+ dependsOn: [
363
+ '.aioson/context/project.context.md',
364
+ '.aioson/context/discovery.md',
365
+ '.aioson/context/architecture.md'
366
+ ],
367
+ output: 'code changes'
368
+ },
369
+ {
370
+ id: 'pentester',
371
+ displayName: 'Pentester',
372
+ description: 'Adversarial security review and threat-surface mapping',
373
+ command: '@pentester',
374
+ path: '.aioson/agents/pentester.md',
375
+ flags: [
376
+ { name: 'mode', value: 'framework_target|app_target', description: 'Target mode for security review' },
377
+ { name: 'feature', value: '<slug>', description: 'Feature slug (required for app_target)' },
378
+ { name: 'scope', value: '<scope>', description: 'Target scope (required for app_target)' }
379
+ ],
380
+ dependsOn: [
381
+ '.aioson/context/project.context.md',
382
+ '.aioson/context/spec-{slug}.md (active feature)'
383
+ ],
384
+ output: '.aioson/context/security-findings-{slug}.json'
385
+ },
386
+ {
387
+ id: 'qa',
388
+ displayName: 'QA',
389
+ description: 'Risk-first review and test generation (SMALL/MEDIUM)',
390
+ command: '@qa',
391
+ path: '.aioson/agents/qa.md',
392
+ dependsOn: ['.aioson/context/discovery.md'],
393
+ output: 'QA report'
394
+ },
395
+ {
396
+ id: 'validator',
397
+ displayName: 'Validator',
398
+ description: 'Technical validation against success contract',
399
+ command: '@validator',
400
+ path: '.aioson/agents/validator.md',
401
+ dependsOn: [
402
+ '.aioson/plans/{slug}/harness-contract.json',
403
+ '.aioson/plans/{slug}/progress.json'
404
+ ],
405
+ output: '.aioson/plans/{slug}/last-validator-output.json'
406
+ },
407
+ {
408
+ id: 'tester',
409
+ displayName: 'Tester',
410
+ description: 'Systematic test engineering for implemented apps (all sizes)',
411
+ command: '@tester',
412
+ path: '.aioson/agents/tester.md',
413
+ dependsOn: ['.aioson/context/project.context.md'],
414
+ output: '.aioson/context/test-inventory-{slug}.md + .aioson/context/test-plan-{slug}.md (project mode: bare names)'
415
+ },
416
+ {
417
+ id: 'orchestrator',
418
+ displayName: 'Orchestrator',
419
+ description: 'Session protocol and parallel execution (MEDIUM)',
420
+ command: '@orchestrator',
421
+ path: '.aioson/agents/orchestrator.md',
422
+ dependsOn: [
423
+ '.aioson/context/project.context.md',
424
+ '.aioson/context/discovery.md',
425
+ '.aioson/context/architecture.md',
426
+ '.aioson/context/prd.md or .aioson/context/prd-{slug}.md',
427
+ '.aioson/context/ui-spec.md (when present)',
428
+ '.aioson/context/implementation-plan.md or implementation-plan-{slug}.md (when present)'
429
+ ],
430
+ output: '.aioson/context/parallel/*.status.md'
431
+ },
432
+ {
433
+ id: 'squad',
434
+ displayName: 'Squad',
435
+ description: 'Squad assembly and management',
436
+ command: '@squad',
437
+ path: '.aioson/agents/squad.md',
438
+ dependsOn: [],
439
+ output:
440
+ '.aioson/squads/{slug}/squad.manifest.json + .aioson/squads/{slug}/squad.md + .aioson/squads/{slug}/agents/ + .aioson/squads/{slug}/workers/ + .aioson/squads/{slug}/workflows/ + .aioson/squads/{slug}/checklists/ + .aioson/squads/{slug}/skills/ + .aioson/squads/{slug}/templates/ + .aioson/squads/{slug}/docs/ + output/{slug}/{session-id}.html + output/{slug}/{content-key}/content.json + output/{slug}/{content-key}/index.html + output/{slug}/latest.html + aioson-logs/{slug}/ + media/{slug}/'
441
+ },
442
+ {
443
+ id: 'orache',
444
+ displayName: 'Orache',
445
+ description: 'Domain investigation and strategic research',
446
+ command: '@orache',
447
+ path: '.aioson/agents/orache.md',
448
+ dependsOn: [],
449
+ output: 'squad-searches/{squad-slug}/investigation-{date}.md or squad-searches/standalone/{domain-slug}-{date}.md'
450
+ },
451
+ {
452
+ id: 'genome',
453
+ displayName: 'Genome',
454
+ description: 'Domain genome creation and application',
455
+ command: '@genome',
456
+ path: '.aioson/agents/genome.md',
457
+ dependsOn: [],
458
+ output: '.aioson/genomes/[slug].md + .aioson/genomes/[slug].meta.json + optional binding in .aioson/squads/{slug}/squad.md or .aioson/squads/{slug}/squad.manifest.json'
459
+ },
460
+ {
461
+ id: 'design-hybrid-forge',
462
+ displayName: 'Design Hybrid Forge',
463
+ description: 'Generate hybrid design skill from two visual parents',
464
+ command: '@design-hybrid-forge',
465
+ path: '.aioson/agents/design-hybrid-forge.md',
466
+ dependsOn: ['.aioson/context/project.context.md'],
467
+ output: '.aioson/installed-skills/{hybrid-slug}/SKILL.md + .aioson/installed-skills/{hybrid-slug}/references/ + .aioson/installed-skills/{hybrid-slug}/previews/ + .aioson/installed-skills/{hybrid-slug}/.skill-meta.json'
468
+ },
469
+ {
470
+ id: 'site-forge',
471
+ displayName: 'Site Forge',
472
+ description: 'Clone, extract, and forge sites and design skills from any URL',
473
+ command: '@site-forge',
474
+ path: '.aioson/agents/site-forge.md',
475
+ dependsOn: ['.aioson/context/project.context.md'],
476
+ output: 'src/components/*.tsx + src/app/page.tsx + docs/research/{hostname}/ + public/images/{hostname}/'
477
+ },
478
+ {
479
+ id: 'forge-run',
480
+ displayName: 'Forge Run',
481
+ description: 'Compile and run the Lane B workflow harness for a MEDIUM feature',
482
+ command: '@forge-run',
483
+ path: '.aioson/agents/forge-run.md',
484
+ dependsOn: ['.aioson/context/project.context.md'],
485
+ output: '.aioson/plans/{slug}/forge-run.workflow.js + workflow run verdict (stops before feature:close)'
486
+ },
487
+ {
488
+ id: 'neo',
489
+ displayName: 'Neo',
490
+ description: 'System router: see the full picture, get guided to the right agent',
491
+ command: '@neo',
492
+ path: '.aioson/agents/neo.md',
493
+ dependsOn: ['.aioson/context/project.context.md'],
494
+ output: 'routing decision + agent handoff'
495
+ },
496
+ {
497
+ id: 'sheldon',
498
+ displayName: 'Sheldon',
499
+ description: 'PRD quality review and pre-implementation enrichment',
500
+ command: '@sheldon',
501
+ path: '.aioson/agents/sheldon.md',
502
+ dependsOn: ['.aioson/context/project.context.md'],
503
+ output: 'enriched PRD or phased execution plan (+ sheldon-validation-{slug}.md readiness gate on MEDIUM)'
504
+ },
505
+ {
506
+ id: 'committer',
507
+ displayName: 'Committer',
508
+ description: 'Professional Git commit generation from changes and context',
509
+ command: '@committer',
510
+ path: '.aioson/agents/committer.md',
511
+ dependsOn: [],
512
+ output: 'git commit(s)'
513
+ },
514
+ {
515
+ id: 'copywriter',
516
+ displayName: 'Copywriter',
517
+ description: 'Conversion-focused marketing copy',
518
+ command: '@copywriter',
519
+ path: '.aioson/agents/copywriter.md',
520
+ dependsOn: [],
521
+ output: 'marketing copy + content assets'
522
+ },
523
+ {
524
+ id: 'briefing',
525
+ displayName: 'Briefing',
526
+ description: 'Pre-production briefings and planning',
527
+ command: '@briefing',
528
+ path: '.aioson/agents/briefing.md',
529
+ dependsOn: ['.aioson/context/project.context.md'],
530
+ output: '.aioson/briefings/{slug}/'
531
+ },
532
+ {
533
+ id: 'briefing-refiner',
534
+ displayName: 'Briefing Refiner',
535
+ description: 'Interactive refinement of briefing artifacts before Product PRD generation',
536
+ command: '@briefing-refiner',
537
+ path: '.aioson/agents/briefing-refiner.md',
538
+ dependsOn: ['.aioson/context/project.context.md', '.aioson/briefings/config.md'],
539
+ output: '.aioson/briefings/{slug}/review.html + refinement-feedback.json + refinement-report.md'
540
+ },
541
+ {
542
+ id: 'profiler-researcher',
543
+ displayName: 'Profiler Researcher',
544
+ description: 'Clone profiler: research phase',
545
+ command: '@profiler-researcher',
546
+ path: '.aioson/agents/profiler-researcher.md',
547
+ dependsOn: [],
548
+ output: '.aioson/profiler-reports/{person-slug}/research-report.md'
549
+ },
550
+ {
551
+ id: 'profiler-enricher',
552
+ displayName: 'Profiler Enricher',
553
+ description: 'Clone profiler: enrichment phase',
554
+ command: '@profiler-enricher',
555
+ path: '.aioson/agents/profiler-enricher.md',
556
+ dependsOn: ['.aioson/profiler-reports/{person-slug}/research-report.md'],
557
+ output: '.aioson/profiler-reports/{person-slug}/enriched-profile.md'
558
+ },
559
+ {
560
+ id: 'profiler-forge',
561
+ displayName: 'Profiler Forge',
562
+ description: 'Clone profiler: forge and validate',
563
+ command: '@profiler-forge',
564
+ path: '.aioson/agents/profiler-forge.md',
565
+ dependsOn: ['.aioson/profiler-reports/{person-slug}/enriched-profile.md'],
566
+ output: '.aioson/genomes/{person-slug}-{domain-slug}.md + .aioson/genomes/{person-slug}-{domain-slug}.meta.json + .aioson/advisors/{person-slug}-advisor.md'
567
+ }
568
+ ];
569
+
570
+ module.exports = {
571
+ MANAGED_FILES,
572
+ REQUIRED_FILES,
573
+ CONTEXT_REQUIRED_FIELDS,
574
+ CONTEXT_ALLOWED_CLASSIFICATIONS,
575
+ CONTEXT_ALLOWED_PROJECT_TYPES,
576
+ CONTEXT_ALLOWED_PROFILES,
577
+ AGENT_DEFINITIONS
578
+ };