@jaimevalasek/aioson 1.3.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/CHANGELOG.md +456 -0
- package/CODE_OF_CONDUCT.md +12 -0
- package/CONTRIBUTING.md +13 -0
- package/LICENSE +21 -0
- package/README.md +254 -0
- package/bin/aioson.js +4 -0
- package/docs/en/cli-reference.md +398 -0
- package/docs/en/i18n.md +52 -0
- package/docs/en/json-schemas.md +41 -0
- package/docs/en/mcp.md +56 -0
- package/docs/en/parallel.md +82 -0
- package/docs/en/qa-browser.md +339 -0
- package/docs/en/release-flow.md +22 -0
- package/docs/en/release-notes-template.md +41 -0
- package/docs/en/release.md +28 -0
- package/docs/en/schemas/agent-prompt.schema.json +17 -0
- package/docs/en/schemas/agents.schema.json +32 -0
- package/docs/en/schemas/context-validate.schema.json +36 -0
- package/docs/en/schemas/doctor.schema.json +89 -0
- package/docs/en/schemas/error.schema.json +24 -0
- package/docs/en/schemas/i18n-add.schema.json +15 -0
- package/docs/en/schemas/index.json +116 -0
- package/docs/en/schemas/info.schema.json +39 -0
- package/docs/en/schemas/init.schema.json +48 -0
- package/docs/en/schemas/install.schema.json +60 -0
- package/docs/en/schemas/locale-apply.schema.json +30 -0
- package/docs/en/schemas/mcp-doctor.schema.json +95 -0
- package/docs/en/schemas/mcp-init.schema.json +122 -0
- package/docs/en/schemas/package-test.schema.json +24 -0
- package/docs/en/schemas/parallel-assign.schema.json +57 -0
- package/docs/en/schemas/parallel-doctor.schema.json +86 -0
- package/docs/en/schemas/parallel-init.schema.json +53 -0
- package/docs/en/schemas/parallel-status.schema.json +94 -0
- package/docs/en/schemas/setup-context.schema.json +39 -0
- package/docs/en/schemas/smoke.schema.json +23 -0
- package/docs/en/schemas/update.schema.json +48 -0
- package/docs/en/schemas/workflow-plan.schema.json +30 -0
- package/docs/en/web3.md +54 -0
- package/docs/pt/README.md +46 -0
- package/docs/pt/advisor-spec.md +335 -0
- package/docs/pt/agentes.md +453 -0
- package/docs/pt/cenarios.md +1230 -0
- package/docs/pt/clientes-ai.md +224 -0
- package/docs/pt/comandos-cli.md +511 -0
- package/docs/pt/genome-3.0-spec.md +296 -0
- package/docs/pt/guia-engineer.md +226 -0
- package/docs/pt/inicio-rapido.md +138 -0
- package/docs/pt/profiler-system.md +214 -0
- package/docs/pt/runtime-observability.md +72 -0
- package/docs/pt/squad-genoma.md +777 -0
- package/docs/pt/web3.md +797 -0
- package/docs/testing/genome-2.0-manual-regression.md +23 -0
- package/docs/testing/genome-2.0-matrix.md +36 -0
- package/docs/testing/genome-2.0-rollout.md +184 -0
- package/package.json +50 -0
- package/src/agents.js +56 -0
- package/src/cli.js +497 -0
- package/src/commands/agents.js +142 -0
- package/src/commands/cloud.js +1767 -0
- package/src/commands/config.js +90 -0
- package/src/commands/context-validate.js +91 -0
- package/src/commands/doctor.js +123 -0
- package/src/commands/genome-doctor.js +41 -0
- package/src/commands/genome-migrate.js +49 -0
- package/src/commands/i18n-add.js +56 -0
- package/src/commands/info.js +41 -0
- package/src/commands/init.js +75 -0
- package/src/commands/install.js +68 -0
- package/src/commands/locale-apply.js +51 -0
- package/src/commands/locale-diff.js +126 -0
- package/src/commands/mcp-doctor.js +406 -0
- package/src/commands/mcp-init.js +379 -0
- package/src/commands/package-e2e.js +273 -0
- package/src/commands/parallel-assign.js +403 -0
- package/src/commands/parallel-doctor.js +437 -0
- package/src/commands/parallel-init.js +249 -0
- package/src/commands/parallel-status.js +290 -0
- package/src/commands/qa-doctor.js +185 -0
- package/src/commands/qa-init.js +161 -0
- package/src/commands/qa-report.js +58 -0
- package/src/commands/qa-run.js +873 -0
- package/src/commands/qa-scan.js +337 -0
- package/src/commands/runtime.js +948 -0
- package/src/commands/scan-project.js +1107 -0
- package/src/commands/setup-context.js +650 -0
- package/src/commands/smoke.js +426 -0
- package/src/commands/squad-doctor.js +358 -0
- package/src/commands/squad-export.js +46 -0
- package/src/commands/squad-pipeline.js +97 -0
- package/src/commands/squad-repair-genomes.js +39 -0
- package/src/commands/squad-status.js +424 -0
- package/src/commands/squad-validate.js +230 -0
- package/src/commands/test-agents.js +194 -0
- package/src/commands/update.js +55 -0
- package/src/commands/workflow-next.js +594 -0
- package/src/commands/workflow-plan.js +108 -0
- package/src/constants.js +314 -0
- package/src/context-parse-reason.js +22 -0
- package/src/context-writer.js +150 -0
- package/src/context.js +217 -0
- package/src/detector.js +261 -0
- package/src/doctor.js +289 -0
- package/src/execution-gateway.js +461 -0
- package/src/genome-files.js +198 -0
- package/src/genome-format.js +442 -0
- package/src/genome-schema.js +215 -0
- package/src/genomes/bindings.js +281 -0
- package/src/genomes.js +467 -0
- package/src/i18n/index.js +103 -0
- package/src/i18n/messages/en.js +784 -0
- package/src/i18n/messages/es.js +718 -0
- package/src/i18n/messages/fr.js +725 -0
- package/src/i18n/messages/pt-BR.js +818 -0
- package/src/i18n/scaffold.js +64 -0
- package/src/installer.js +232 -0
- package/src/lib/genomes/compat.js +206 -0
- package/src/lib/genomes/migrate.js +90 -0
- package/src/lib/squads/genome-repair.js +49 -0
- package/src/locales.js +84 -0
- package/src/onboarding.js +305 -0
- package/src/parser.js +53 -0
- package/src/prompt-tool.js +20 -0
- package/src/qa-html-report.js +472 -0
- package/src/runtime-store.js +1527 -0
- package/src/squads/apply-genome.js +21 -0
- package/src/squads/genome-binding-service.js +154 -0
- package/src/updater.js +32 -0
- package/src/utils.js +46 -0
- package/src/version.js +50 -0
- package/template/.aioson/advisors/.gitkeep +1 -0
- package/template/.aioson/agents/analyst.md +225 -0
- package/template/.aioson/agents/architect.md +221 -0
- package/template/.aioson/agents/dev.md +201 -0
- package/template/.aioson/agents/discovery-design-doc.md +196 -0
- package/template/.aioson/agents/genoma.md +300 -0
- package/template/.aioson/agents/orchestrator.md +107 -0
- package/template/.aioson/agents/pm.md +89 -0
- package/template/.aioson/agents/product.md +361 -0
- package/template/.aioson/agents/profiler-enricher.md +266 -0
- package/template/.aioson/agents/profiler-forge.md +188 -0
- package/template/.aioson/agents/profiler-researcher.md +245 -0
- package/template/.aioson/agents/qa.md +344 -0
- package/template/.aioson/agents/setup.md +381 -0
- package/template/.aioson/agents/squad.md +837 -0
- package/template/.aioson/agents/ux-ui.md +416 -0
- package/template/.aioson/config.md +56 -0
- package/template/.aioson/context/.gitkeep +0 -0
- package/template/.aioson/context/parallel/.gitkeep +0 -0
- package/template/.aioson/context/spec.md.template +37 -0
- package/template/.aioson/genomas/.gitkeep +0 -0
- package/template/.aioson/locales/en/agents/analyst.md +214 -0
- package/template/.aioson/locales/en/agents/architect.md +210 -0
- package/template/.aioson/locales/en/agents/dev.md +187 -0
- package/template/.aioson/locales/en/agents/discovery-design-doc.md +27 -0
- package/template/.aioson/locales/en/agents/genoma.md +212 -0
- package/template/.aioson/locales/en/agents/orchestrator.md +105 -0
- package/template/.aioson/locales/en/agents/pm.md +77 -0
- package/template/.aioson/locales/en/agents/product.md +310 -0
- package/template/.aioson/locales/en/agents/profiler-enricher.md +5 -0
- package/template/.aioson/locales/en/agents/profiler-forge.md +5 -0
- package/template/.aioson/locales/en/agents/profiler-researcher.md +5 -0
- package/template/.aioson/locales/en/agents/qa.md +214 -0
- package/template/.aioson/locales/en/agents/setup.md +342 -0
- package/template/.aioson/locales/en/agents/squad.md +247 -0
- package/template/.aioson/locales/en/agents/ux-ui.md +320 -0
- package/template/.aioson/locales/es/agents/analyst.md +203 -0
- package/template/.aioson/locales/es/agents/architect.md +208 -0
- package/template/.aioson/locales/es/agents/dev.md +183 -0
- package/template/.aioson/locales/es/agents/discovery-design-doc.md +19 -0
- package/template/.aioson/locales/es/agents/genoma.md +102 -0
- package/template/.aioson/locales/es/agents/orchestrator.md +108 -0
- package/template/.aioson/locales/es/agents/pm.md +81 -0
- package/template/.aioson/locales/es/agents/product.md +310 -0
- package/template/.aioson/locales/es/agents/profiler-enricher.md +5 -0
- package/template/.aioson/locales/es/agents/profiler-forge.md +5 -0
- package/template/.aioson/locales/es/agents/profiler-researcher.md +5 -0
- package/template/.aioson/locales/es/agents/qa.md +163 -0
- package/template/.aioson/locales/es/agents/setup.md +347 -0
- package/template/.aioson/locales/es/agents/squad.md +247 -0
- package/template/.aioson/locales/es/agents/ux-ui.md +201 -0
- package/template/.aioson/locales/fr/agents/analyst.md +203 -0
- package/template/.aioson/locales/fr/agents/architect.md +208 -0
- package/template/.aioson/locales/fr/agents/dev.md +183 -0
- package/template/.aioson/locales/fr/agents/discovery-design-doc.md +19 -0
- package/template/.aioson/locales/fr/agents/genoma.md +102 -0
- package/template/.aioson/locales/fr/agents/orchestrator.md +108 -0
- package/template/.aioson/locales/fr/agents/pm.md +81 -0
- package/template/.aioson/locales/fr/agents/product.md +310 -0
- package/template/.aioson/locales/fr/agents/profiler-enricher.md +5 -0
- package/template/.aioson/locales/fr/agents/profiler-forge.md +5 -0
- package/template/.aioson/locales/fr/agents/profiler-researcher.md +5 -0
- package/template/.aioson/locales/fr/agents/qa.md +163 -0
- package/template/.aioson/locales/fr/agents/setup.md +347 -0
- package/template/.aioson/locales/fr/agents/squad.md +247 -0
- package/template/.aioson/locales/fr/agents/ux-ui.md +201 -0
- package/template/.aioson/locales/pt-BR/agents/analyst.md +217 -0
- package/template/.aioson/locales/pt-BR/agents/architect.md +213 -0
- package/template/.aioson/locales/pt-BR/agents/dev.md +198 -0
- package/template/.aioson/locales/pt-BR/agents/discovery-design-doc.md +198 -0
- package/template/.aioson/locales/pt-BR/agents/genoma.md +297 -0
- package/template/.aioson/locales/pt-BR/agents/orchestrator.md +108 -0
- package/template/.aioson/locales/pt-BR/agents/pm.md +81 -0
- package/template/.aioson/locales/pt-BR/agents/product.md +316 -0
- package/template/.aioson/locales/pt-BR/agents/profiler-enricher.md +5 -0
- package/template/.aioson/locales/pt-BR/agents/profiler-forge.md +5 -0
- package/template/.aioson/locales/pt-BR/agents/profiler-researcher.md +5 -0
- package/template/.aioson/locales/pt-BR/agents/qa.md +217 -0
- package/template/.aioson/locales/pt-BR/agents/setup.md +371 -0
- package/template/.aioson/locales/pt-BR/agents/squad.md +772 -0
- package/template/.aioson/locales/pt-BR/agents/ux-ui.md +322 -0
- package/template/.aioson/mcp/servers.md +24 -0
- package/template/.aioson/profiler-reports/.gitkeep +1 -0
- package/template/.aioson/schemas/content-blueprint.schema.json +30 -0
- package/template/.aioson/schemas/genome-meta.schema.json +150 -0
- package/template/.aioson/schemas/genome.schema.json +115 -0
- package/template/.aioson/schemas/readiness.schema.json +27 -0
- package/template/.aioson/schemas/squad-blueprint.schema.json +172 -0
- package/template/.aioson/schemas/squad-manifest.schema.json +276 -0
- package/template/.aioson/skills/dynamic/README.md +30 -0
- package/template/.aioson/skills/dynamic/cardano-docs.md +16 -0
- package/template/.aioson/skills/dynamic/ethereum-docs.md +17 -0
- package/template/.aioson/skills/dynamic/flux-ui-docs.md +13 -0
- package/template/.aioson/skills/dynamic/laravel-docs.md +41 -0
- package/template/.aioson/skills/dynamic/npm-packages.md +16 -0
- package/template/.aioson/skills/dynamic/solana-docs.md +16 -0
- package/template/.aioson/skills/references/premium-command-center-ui/master-application-prompt.md +79 -0
- package/template/.aioson/skills/references/premium-command-center-ui/operational-ux-playbook.md +253 -0
- package/template/.aioson/skills/references/premium-command-center-ui/quality-validation-checklist.md +82 -0
- package/template/.aioson/skills/references/premium-command-center-ui/visual-system-and-component-patterns.md +270 -0
- package/template/.aioson/skills/static/django-patterns.md +342 -0
- package/template/.aioson/skills/static/fastapi-patterns.md +344 -0
- package/template/.aioson/skills/static/filament-patterns.md +267 -0
- package/template/.aioson/skills/static/flux-ui-components.md +262 -0
- package/template/.aioson/skills/static/git-conventions.md +227 -0
- package/template/.aioson/skills/static/interface-design.md +372 -0
- package/template/.aioson/skills/static/jetstream-setup.md +200 -0
- package/template/.aioson/skills/static/laravel-conventions.md +491 -0
- package/template/.aioson/skills/static/nextjs-patterns.md +321 -0
- package/template/.aioson/skills/static/node-express-patterns.md +317 -0
- package/template/.aioson/skills/static/node-typescript-patterns.md +282 -0
- package/template/.aioson/skills/static/premium-command-center-ui.md +190 -0
- package/template/.aioson/skills/static/rails-conventions.md +307 -0
- package/template/.aioson/skills/static/react-motion-patterns.md +577 -0
- package/template/.aioson/skills/static/static-html-patterns.md +1935 -0
- package/template/.aioson/skills/static/tall-stack-patterns.md +286 -0
- package/template/.aioson/skills/static/ui-ux-modern.md +75 -0
- package/template/.aioson/skills/static/web3-cardano-patterns.md +337 -0
- package/template/.aioson/skills/static/web3-ethereum-patterns.md +310 -0
- package/template/.aioson/skills/static/web3-security-checklist.md +284 -0
- package/template/.aioson/skills/static/web3-solana-patterns.md +324 -0
- package/template/.aioson/squads/.artisan/.gitkeep +0 -0
- package/template/.aioson/squads/.gitkeep +0 -0
- package/template/.aioson/squads/memory.md +5 -0
- package/template/.aioson/tasks/squad-analyze.md +83 -0
- package/template/.aioson/tasks/squad-create.md +99 -0
- package/template/.aioson/tasks/squad-design.md +100 -0
- package/template/.aioson/tasks/squad-export.md +20 -0
- package/template/.aioson/tasks/squad-extend.md +68 -0
- package/template/.aioson/tasks/squad-pipeline.md +122 -0
- package/template/.aioson/tasks/squad-repair.md +85 -0
- package/template/.aioson/tasks/squad-validate.md +58 -0
- package/template/.aioson/templates/squads/content-basic/template.json +21 -0
- package/template/.aioson/templates/squads/media-channel/template.json +24 -0
- package/template/.aioson/templates/squads/research-analysis/template.json +22 -0
- package/template/.aioson/templates/squads/software-delivery/template.json +21 -0
- package/template/.claude/commands/aioson/analyst.md +5 -0
- package/template/.claude/commands/aioson/architect.md +5 -0
- package/template/.claude/commands/aioson/dev.md +5 -0
- package/template/.claude/commands/aioson/orchestrator.md +5 -0
- package/template/.claude/commands/aioson/pm.md +5 -0
- package/template/.claude/commands/aioson/qa.md +5 -0
- package/template/.claude/commands/aioson/setup.md +5 -0
- package/template/.claude/commands/aioson/ux-ui.md +5 -0
- package/template/.gemini/GEMINI.md +10 -0
- package/template/.gemini/commands/aios-analyst.toml +4 -0
- package/template/.gemini/commands/aios-architect.toml +7 -0
- package/template/.gemini/commands/aios-dev.toml +8 -0
- package/template/.gemini/commands/aios-discovery-design-doc.toml +4 -0
- package/template/.gemini/commands/aios-orchestrator.toml +8 -0
- package/template/.gemini/commands/aios-pm.toml +8 -0
- package/template/.gemini/commands/aios-product.toml +4 -0
- package/template/.gemini/commands/aios-qa.toml +6 -0
- package/template/.gemini/commands/aios-setup.toml +3 -0
- package/template/.gemini/commands/aios-ux-ui.toml +8 -0
- package/template/AGENTS.md +67 -0
- package/template/CLAUDE.md +31 -0
- package/template/OPENCODE.md +24 -0
- package/template/aioson-models.json +40 -0
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://aiosforge.dev/schemas/squad-blueprint.schema.json",
|
|
4
|
+
"title": "AIOSON Squad Blueprint",
|
|
5
|
+
"description": "Schema para blueprints intermediários de design de squad",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": ["id", "slug", "name", "problem", "goal", "mode"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"id": { "type": "string", "description": "UUID do blueprint" },
|
|
10
|
+
"slug": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$",
|
|
13
|
+
"minLength": 2,
|
|
14
|
+
"maxLength": 50
|
|
15
|
+
},
|
|
16
|
+
"name": { "type": "string", "maxLength": 100 },
|
|
17
|
+
"problem": { "type": "string", "description": "Problema principal" },
|
|
18
|
+
"goal": { "type": "string", "description": "Objetivo prático" },
|
|
19
|
+
"scope": {
|
|
20
|
+
"type": "array",
|
|
21
|
+
"items": { "type": "string" },
|
|
22
|
+
"description": "O que está dentro do escopo"
|
|
23
|
+
},
|
|
24
|
+
"outOfScope": {
|
|
25
|
+
"type": "array",
|
|
26
|
+
"items": { "type": "string" },
|
|
27
|
+
"description": "O que está explicitamente fora"
|
|
28
|
+
},
|
|
29
|
+
"mode": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"enum": ["content", "software", "research", "mixed"]
|
|
32
|
+
},
|
|
33
|
+
"domain": { "type": "string" },
|
|
34
|
+
"executors": {
|
|
35
|
+
"type": "array",
|
|
36
|
+
"items": {
|
|
37
|
+
"type": "object",
|
|
38
|
+
"required": ["slug", "role"],
|
|
39
|
+
"properties": {
|
|
40
|
+
"slug": { "type": "string" },
|
|
41
|
+
"title": { "type": "string" },
|
|
42
|
+
"role": { "type": "string" },
|
|
43
|
+
"focus": { "type": "array", "items": { "type": "string" } },
|
|
44
|
+
"skills": { "type": "array", "items": { "type": "string" } },
|
|
45
|
+
"genomes": {
|
|
46
|
+
"type": "array",
|
|
47
|
+
"items": {
|
|
48
|
+
"oneOf": [
|
|
49
|
+
{ "type": "string" },
|
|
50
|
+
{
|
|
51
|
+
"type": "object",
|
|
52
|
+
"required": ["slug"],
|
|
53
|
+
"properties": {
|
|
54
|
+
"slug": { "type": "string" },
|
|
55
|
+
"type": { "type": "string" },
|
|
56
|
+
"mode": { "type": "string" },
|
|
57
|
+
"source": { "type": "string" },
|
|
58
|
+
"priority": { "type": "integer" },
|
|
59
|
+
"version": { "type": "string" },
|
|
60
|
+
"evidenceMode": { "type": "string" },
|
|
61
|
+
"notes": { "type": "string" }
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"skills": {
|
|
71
|
+
"type": "array",
|
|
72
|
+
"items": {
|
|
73
|
+
"type": "object",
|
|
74
|
+
"properties": {
|
|
75
|
+
"slug": { "type": "string" },
|
|
76
|
+
"title": { "type": "string" },
|
|
77
|
+
"description": { "type": "string" },
|
|
78
|
+
"source": { "type": "string", "enum": ["local", "inherited", "catalog"] }
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"mcps": { "type": "array", "items": { "type": "object" } },
|
|
83
|
+
"genomes": { "type": "array", "items": { "type": "object" } },
|
|
84
|
+
"genomeBindings": {
|
|
85
|
+
"type": "object",
|
|
86
|
+
"properties": {
|
|
87
|
+
"squad": {
|
|
88
|
+
"type": "array",
|
|
89
|
+
"items": {
|
|
90
|
+
"oneOf": [
|
|
91
|
+
{ "type": "string" },
|
|
92
|
+
{
|
|
93
|
+
"type": "object",
|
|
94
|
+
"required": ["slug"],
|
|
95
|
+
"properties": {
|
|
96
|
+
"slug": { "type": "string" },
|
|
97
|
+
"type": { "type": "string" },
|
|
98
|
+
"mode": { "type": "string" },
|
|
99
|
+
"source": { "type": "string" },
|
|
100
|
+
"priority": { "type": "integer" },
|
|
101
|
+
"version": { "type": "string" },
|
|
102
|
+
"evidenceMode": { "type": "string" },
|
|
103
|
+
"notes": { "type": "string" }
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"executors": {
|
|
110
|
+
"type": "object",
|
|
111
|
+
"additionalProperties": {
|
|
112
|
+
"type": "array",
|
|
113
|
+
"items": {
|
|
114
|
+
"oneOf": [
|
|
115
|
+
{ "type": "string" },
|
|
116
|
+
{
|
|
117
|
+
"type": "object",
|
|
118
|
+
"required": ["slug"],
|
|
119
|
+
"properties": {
|
|
120
|
+
"slug": { "type": "string" },
|
|
121
|
+
"type": { "type": "string" },
|
|
122
|
+
"mode": { "type": "string" },
|
|
123
|
+
"source": { "type": "string" },
|
|
124
|
+
"priority": { "type": "integer" },
|
|
125
|
+
"version": { "type": "string" },
|
|
126
|
+
"evidenceMode": { "type": "string" },
|
|
127
|
+
"notes": { "type": "string" }
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"contentBlueprints": { "type": "array", "items": { "type": "object" } },
|
|
137
|
+
"assumptions": {
|
|
138
|
+
"type": "array",
|
|
139
|
+
"items": { "type": "string" },
|
|
140
|
+
"description": "Suposições feitas durante o design"
|
|
141
|
+
},
|
|
142
|
+
"risks": {
|
|
143
|
+
"type": "array",
|
|
144
|
+
"items": {
|
|
145
|
+
"type": "object",
|
|
146
|
+
"properties": {
|
|
147
|
+
"description": { "type": "string" },
|
|
148
|
+
"probability": { "type": "string", "enum": ["low", "medium", "high"] },
|
|
149
|
+
"impact": { "type": "string", "enum": ["low", "medium", "high"] },
|
|
150
|
+
"mitigation": { "type": "string" }
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
"readiness": {
|
|
155
|
+
"type": "object",
|
|
156
|
+
"description": "Estado de prontidão (detalhado na Fase 2)"
|
|
157
|
+
},
|
|
158
|
+
"sourceDocs": {
|
|
159
|
+
"type": "array",
|
|
160
|
+
"items": { "type": "string" }
|
|
161
|
+
},
|
|
162
|
+
"confidence": {
|
|
163
|
+
"type": "number",
|
|
164
|
+
"minimum": 0,
|
|
165
|
+
"maximum": 1,
|
|
166
|
+
"description": "Score de confiança geral"
|
|
167
|
+
},
|
|
168
|
+
"createdAt": { "type": "string", "format": "date-time" },
|
|
169
|
+
"userAdjustments": { "type": "integer", "minimum": 0 }
|
|
170
|
+
},
|
|
171
|
+
"additionalProperties": true
|
|
172
|
+
}
|
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://aiosforge.dev/schemas/squad-manifest.schema.json",
|
|
4
|
+
"title": "AIOSON Squad Manifest",
|
|
5
|
+
"description": "Schema para squad.manifest.json",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": ["schemaVersion", "slug", "name", "mode", "mission", "goal"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schemaVersion": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"pattern": "^\\d+\\.\\d+\\.\\d+$",
|
|
12
|
+
"description": "Versão do schema (semver)"
|
|
13
|
+
},
|
|
14
|
+
"packageVersion": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"pattern": "^\\d+\\.\\d+\\.\\d+$"
|
|
17
|
+
},
|
|
18
|
+
"slug": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$",
|
|
21
|
+
"minLength": 2,
|
|
22
|
+
"maxLength": 50,
|
|
23
|
+
"description": "Identificador kebab-case do squad"
|
|
24
|
+
},
|
|
25
|
+
"name": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"maxLength": 100
|
|
28
|
+
},
|
|
29
|
+
"mode": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"enum": ["content", "software", "research", "mixed"],
|
|
32
|
+
"description": "Tipo principal do squad"
|
|
33
|
+
},
|
|
34
|
+
"mission": { "type": "string", "maxLength": 500 },
|
|
35
|
+
"goal": { "type": "string", "maxLength": 500 },
|
|
36
|
+
"visibility": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"enum": ["private", "public"],
|
|
39
|
+
"default": "private"
|
|
40
|
+
},
|
|
41
|
+
"aiosLiteCompatibility": { "type": "string" },
|
|
42
|
+
"storagePolicy": {
|
|
43
|
+
"type": "object",
|
|
44
|
+
"properties": {
|
|
45
|
+
"primary": { "type": "string", "enum": ["sqlite", "file"] },
|
|
46
|
+
"artifacts": { "type": "string" },
|
|
47
|
+
"exports": {
|
|
48
|
+
"type": "object",
|
|
49
|
+
"properties": {
|
|
50
|
+
"html": { "type": "boolean" },
|
|
51
|
+
"markdown": { "type": "boolean" },
|
|
52
|
+
"json": { "type": "boolean" }
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"package": {
|
|
58
|
+
"type": "object",
|
|
59
|
+
"properties": {
|
|
60
|
+
"rootDir": { "type": "string" },
|
|
61
|
+
"agentsDir": { "type": "string" },
|
|
62
|
+
"skillsDir": { "type": "string" },
|
|
63
|
+
"templatesDir": { "type": "string" },
|
|
64
|
+
"docsDir": { "type": "string" }
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"rules": {
|
|
68
|
+
"type": "object",
|
|
69
|
+
"properties": {
|
|
70
|
+
"outputsDir": { "type": "string" },
|
|
71
|
+
"logsDir": { "type": "string" },
|
|
72
|
+
"mediaDir": { "type": "string" },
|
|
73
|
+
"reviewPolicy": {
|
|
74
|
+
"type": "array",
|
|
75
|
+
"items": { "type": "string" }
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"executors": {
|
|
80
|
+
"type": "array",
|
|
81
|
+
"items": {
|
|
82
|
+
"type": "object",
|
|
83
|
+
"required": ["slug", "role", "file"],
|
|
84
|
+
"properties": {
|
|
85
|
+
"slug": { "type": "string", "pattern": "^[a-z0-9-]+$" },
|
|
86
|
+
"title": { "type": "string" },
|
|
87
|
+
"role": { "type": "string" },
|
|
88
|
+
"file": { "type": "string" },
|
|
89
|
+
"skills": { "type": "array", "items": { "type": "string" } },
|
|
90
|
+
"genomes": {
|
|
91
|
+
"type": "array",
|
|
92
|
+
"items": {
|
|
93
|
+
"oneOf": [
|
|
94
|
+
{ "type": "string" },
|
|
95
|
+
{
|
|
96
|
+
"type": "object",
|
|
97
|
+
"required": ["slug"],
|
|
98
|
+
"properties": {
|
|
99
|
+
"slug": { "type": "string" },
|
|
100
|
+
"type": { "type": "string" },
|
|
101
|
+
"mode": { "type": "string" },
|
|
102
|
+
"source": { "type": "string" },
|
|
103
|
+
"priority": { "type": "integer" },
|
|
104
|
+
"version": { "type": "string" },
|
|
105
|
+
"evidenceMode": { "type": "string" },
|
|
106
|
+
"notes": { "type": "string" }
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
]
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"skills": {
|
|
116
|
+
"type": "array",
|
|
117
|
+
"items": {
|
|
118
|
+
"type": "object",
|
|
119
|
+
"required": ["slug"],
|
|
120
|
+
"properties": {
|
|
121
|
+
"slug": { "type": "string" },
|
|
122
|
+
"title": { "type": "string" },
|
|
123
|
+
"description": { "type": "string" }
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"mcps": {
|
|
128
|
+
"type": "array",
|
|
129
|
+
"items": {
|
|
130
|
+
"type": "object",
|
|
131
|
+
"required": ["slug"],
|
|
132
|
+
"properties": {
|
|
133
|
+
"slug": { "type": "string" },
|
|
134
|
+
"required": { "type": "boolean" },
|
|
135
|
+
"purpose": { "type": "string" }
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"subagents": {
|
|
140
|
+
"type": "object",
|
|
141
|
+
"properties": {
|
|
142
|
+
"allowed": { "type": "boolean" },
|
|
143
|
+
"when": { "type": "array", "items": { "type": "string" } }
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"genomes": {
|
|
147
|
+
"oneOf": [
|
|
148
|
+
{
|
|
149
|
+
"type": "array",
|
|
150
|
+
"items": {
|
|
151
|
+
"oneOf": [
|
|
152
|
+
{ "type": "string" },
|
|
153
|
+
{ "type": "object" }
|
|
154
|
+
]
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"type": "object",
|
|
159
|
+
"properties": {
|
|
160
|
+
"squad": {
|
|
161
|
+
"type": "array",
|
|
162
|
+
"items": {
|
|
163
|
+
"oneOf": [
|
|
164
|
+
{ "type": "string" },
|
|
165
|
+
{
|
|
166
|
+
"type": "object",
|
|
167
|
+
"required": ["slug"],
|
|
168
|
+
"properties": {
|
|
169
|
+
"slug": { "type": "string" },
|
|
170
|
+
"type": { "type": "string" },
|
|
171
|
+
"mode": { "type": "string" },
|
|
172
|
+
"source": { "type": "string" },
|
|
173
|
+
"priority": { "type": "integer" },
|
|
174
|
+
"version": { "type": "string" },
|
|
175
|
+
"evidenceMode": { "type": "string" },
|
|
176
|
+
"notes": { "type": "string" }
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
]
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
"executors": {
|
|
183
|
+
"type": "object",
|
|
184
|
+
"additionalProperties": {
|
|
185
|
+
"type": "array",
|
|
186
|
+
"items": {
|
|
187
|
+
"oneOf": [
|
|
188
|
+
{ "type": "string" },
|
|
189
|
+
{
|
|
190
|
+
"type": "object",
|
|
191
|
+
"required": ["slug"],
|
|
192
|
+
"properties": {
|
|
193
|
+
"slug": { "type": "string" },
|
|
194
|
+
"type": { "type": "string" },
|
|
195
|
+
"mode": { "type": "string" },
|
|
196
|
+
"source": { "type": "string" },
|
|
197
|
+
"priority": { "type": "integer" },
|
|
198
|
+
"version": { "type": "string" },
|
|
199
|
+
"evidenceMode": { "type": "string" },
|
|
200
|
+
"notes": { "type": "string" }
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
]
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
]
|
|
210
|
+
},
|
|
211
|
+
"contentBlueprints": {
|
|
212
|
+
"type": "array",
|
|
213
|
+
"items": {
|
|
214
|
+
"type": "object",
|
|
215
|
+
"required": ["slug", "contentType", "layoutType"],
|
|
216
|
+
"properties": {
|
|
217
|
+
"slug": { "type": "string" },
|
|
218
|
+
"contentType": { "type": "string" },
|
|
219
|
+
"layoutType": {
|
|
220
|
+
"type": "string",
|
|
221
|
+
"enum": ["document", "tabs", "accordion", "stack", "mixed"]
|
|
222
|
+
},
|
|
223
|
+
"description": { "type": "string" },
|
|
224
|
+
"sections": {
|
|
225
|
+
"type": "array",
|
|
226
|
+
"items": {
|
|
227
|
+
"type": "object",
|
|
228
|
+
"required": ["key", "label"],
|
|
229
|
+
"properties": {
|
|
230
|
+
"key": { "type": "string" },
|
|
231
|
+
"label": { "type": "string" },
|
|
232
|
+
"blockTypes": {
|
|
233
|
+
"type": "array",
|
|
234
|
+
"items": { "type": "string" }
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
"ports": {
|
|
244
|
+
"type": "object",
|
|
245
|
+
"description": "Declaração de inputs e outputs para conexão inter-squad",
|
|
246
|
+
"properties": {
|
|
247
|
+
"inputs": {
|
|
248
|
+
"type": "array",
|
|
249
|
+
"items": {
|
|
250
|
+
"type": "object",
|
|
251
|
+
"required": ["key"],
|
|
252
|
+
"properties": {
|
|
253
|
+
"key": { "type": "string", "pattern": "^[a-z0-9-]+$" },
|
|
254
|
+
"dataType": { "type": "string", "enum": ["text", "json", "file", "file-list", "any"], "default": "any" },
|
|
255
|
+
"description": { "type": "string" },
|
|
256
|
+
"required": { "type": "boolean", "default": false }
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
"outputs": {
|
|
261
|
+
"type": "array",
|
|
262
|
+
"items": {
|
|
263
|
+
"type": "object",
|
|
264
|
+
"required": ["key"],
|
|
265
|
+
"properties": {
|
|
266
|
+
"key": { "type": "string", "pattern": "^[a-z0-9-]+$" },
|
|
267
|
+
"dataType": { "type": "string", "enum": ["text", "json", "file", "file-list", "any"], "default": "any" },
|
|
268
|
+
"description": { "type": "string" },
|
|
269
|
+
"contentBlueprintSlug": { "type": "string" }
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
"additionalProperties": true
|
|
276
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Dynamic Skills
|
|
2
|
+
|
|
3
|
+
Files in this folder are **live-reference stubs** — they tell the agent where and how to fetch current documentation rather than embedding static (potentially stale) content.
|
|
4
|
+
|
|
5
|
+
## Pattern
|
|
6
|
+
|
|
7
|
+
When an agent reads a file here, it receives:
|
|
8
|
+
1. What this skill covers
|
|
9
|
+
2. Which MCP tool or URL to fetch from
|
|
10
|
+
3. What to look for (focus area)
|
|
11
|
+
|
|
12
|
+
The agent then fetches the current docs at runtime, preventing outdated patterns in generated code.
|
|
13
|
+
|
|
14
|
+
## When to use these vs static skills
|
|
15
|
+
|
|
16
|
+
| Situation | Use |
|
|
17
|
+
|---|---|
|
|
18
|
+
| Framework conventions, project structure, best practices | `skills/static/` |
|
|
19
|
+
| Current API signatures, latest package versions, changelog entries | `skills/dynamic/` (this folder) |
|
|
20
|
+
|
|
21
|
+
## Available dynamic skills
|
|
22
|
+
|
|
23
|
+
| File | Covers | Source |
|
|
24
|
+
|---|---|---|
|
|
25
|
+
| `laravel-docs.md` | Current Laravel syntax, helpers, Eloquent methods | laravel.com/docs |
|
|
26
|
+
| `ethereum-docs.md` | EVM tooling, Solidity compiler notes, library changes | docs.soliditylang.org |
|
|
27
|
+
| `solana-docs.md` | Anchor account model, SDK changes | docs.solana.com |
|
|
28
|
+
| `cardano-docs.md` | UTXO/validator patterns, off-chain SDK | docs.cardano.org |
|
|
29
|
+
| `flux-ui-docs.md` | Flux UI component APIs | fluxui.dev/docs |
|
|
30
|
+
| `npm-packages.md` | Package compatibility, version stability | npmjs.com |
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Dynamic Skill: Cardano Docs
|
|
2
|
+
|
|
3
|
+
Use MCP or official Cardano references to verify UTXO/validator patterns, off-chain SDK details, and network-specific release constraints before implementation.
|
|
4
|
+
|
|
5
|
+
**Fetch from:**
|
|
6
|
+
- Cardano Docs: https://docs.cardano.org
|
|
7
|
+
- Aiken: https://aiken-lang.org/
|
|
8
|
+
- Lucid: https://lucid.spacebudz.io/docs/
|
|
9
|
+
|
|
10
|
+
**Focus areas:**
|
|
11
|
+
- eUTXO model constraints (datum, redeemer, script context)
|
|
12
|
+
- Current Aiken syntax (evolving fast — always verify)
|
|
13
|
+
- Lucid API version compatibility
|
|
14
|
+
- Network-specific epoch parameters
|
|
15
|
+
|
|
16
|
+
**MCP tool example:** `mcp_fetch url="https://aiken-lang.org/language-tour/validators" topic="validator types"`
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Dynamic Skill: Ethereum Docs
|
|
2
|
+
|
|
3
|
+
Use MCP or official sources to validate current EVM tooling, Solidity compiler notes, and client library changes before implementing or reviewing code.
|
|
4
|
+
|
|
5
|
+
**Fetch from:**
|
|
6
|
+
- Solidity: https://docs.soliditylang.org/en/latest/
|
|
7
|
+
- Ethers.js v6: https://docs.ethers.org/v6/
|
|
8
|
+
- Hardhat: https://hardhat.org/docs
|
|
9
|
+
- OpenZeppelin: https://docs.openzeppelin.com/contracts/
|
|
10
|
+
|
|
11
|
+
**Focus areas:**
|
|
12
|
+
- Solidity version-specific syntax (custom errors, named return values, etc.)
|
|
13
|
+
- ABI encoding edge cases
|
|
14
|
+
- Gas optimization patterns (SSTORE vs SLOAD costs)
|
|
15
|
+
- Current OpenZeppelin contract versions and breaking changes
|
|
16
|
+
|
|
17
|
+
**MCP tool example:** `mcp_fetch url="https://docs.soliditylang.org/en/latest/control-structures.html" topic="error handling"`
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Dynamic Skill: Flux UI Docs
|
|
2
|
+
|
|
3
|
+
Use MCP documentation tools to confirm current Flux UI component APIs and best practices before implementation.
|
|
4
|
+
|
|
5
|
+
**Fetch from:** https://fluxui.dev/docs
|
|
6
|
+
|
|
7
|
+
**Focus areas:**
|
|
8
|
+
- Component prop signatures (frequently updated)
|
|
9
|
+
- Dark mode token conventions
|
|
10
|
+
- Form components with validation integration
|
|
11
|
+
- Breaking changes between Flux versions
|
|
12
|
+
|
|
13
|
+
**MCP tool example:** `mcp_fetch url="https://fluxui.dev/docs/button" topic="variants"`
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# Dynamic Skill: Laravel Docs
|
|
2
|
+
|
|
3
|
+
Use MCP documentation tools or fetch directly from the official docs to get current Laravel references before suggesting syntax or patterns.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Installation paths
|
|
8
|
+
|
|
9
|
+
Before scaffolding a Laravel project, confirm which installation path was used — each ships different defaults:
|
|
10
|
+
|
|
11
|
+
| Path | URL | What it includes |
|
|
12
|
+
|---|---|---|
|
|
13
|
+
| **Standard (Herd / Installer)** | https://laravel.com/docs/12.x/installation | Bare Laravel, no auth scaffolding. Add Breeze/Jetstream manually. |
|
|
14
|
+
| **Sail (Docker)** | https://laravel.com/docs/10.x/installation#choosing-your-sail-services | Chooses services (MySQL, Redis, Meilisearch…) at creation. Works on all versions. |
|
|
15
|
+
| **Jetstream + Livewire** | https://jetstream.laravel.com/installation.html | Full auth (login, register, 2FA, teams, API tokens) + Livewire already installed. ⚠️ Must be chosen at project creation — late install is risky. |
|
|
16
|
+
|
|
17
|
+
**Jetstream detection signals:** presence of `laravel/jetstream` in `composer.json`, `app/Livewire/` folder, `resources/views/livewire/` folder, `JetstreamServiceProvider`.
|
|
18
|
+
|
|
19
|
+
**Sail detection signals:** `docker-compose.yml` in project root, `vendor/laravel/sail` in composer.
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## Fetch targets
|
|
24
|
+
|
|
25
|
+
**Fetch from:** https://laravel.com/docs (latest version)
|
|
26
|
+
|
|
27
|
+
**Focus areas:**
|
|
28
|
+
- Eloquent method signatures (especially new helpers added per version)
|
|
29
|
+
- Artisan command options
|
|
30
|
+
- Service container bindings
|
|
31
|
+
- Vite asset bundling changes
|
|
32
|
+
- Breaking changes in the current major version
|
|
33
|
+
- Livewire v3 component lifecycle (if Jetstream detected)
|
|
34
|
+
|
|
35
|
+
**MCP tool examples:**
|
|
36
|
+
```
|
|
37
|
+
mcp_fetch url="https://laravel.com/docs/eloquent" topic="relationships"
|
|
38
|
+
mcp_fetch url="https://laravel.com/docs/12.x/installation" topic="herd quick start"
|
|
39
|
+
mcp_fetch url="https://jetstream.laravel.com/installation.html" topic="livewire stack"
|
|
40
|
+
mcp_fetch url="https://livewire.laravel.com/docs/components" topic="lifecycle hooks"
|
|
41
|
+
```
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Dynamic Skill: npm Packages
|
|
2
|
+
|
|
3
|
+
Use trusted package metadata and changelogs to verify compatibility, version stability, and maintenance status before adding a dependency.
|
|
4
|
+
|
|
5
|
+
**Fetch from:**
|
|
6
|
+
- Registry: https://registry.npmjs.org/{package-name}
|
|
7
|
+
- Changelog: https://github.com/{owner}/{repo}/blob/main/CHANGELOG.md
|
|
8
|
+
|
|
9
|
+
**What to verify:**
|
|
10
|
+
- Weekly downloads (>10k/week = safe; <1k = risk)
|
|
11
|
+
- Last publish date (>1 year without update = maintenance risk)
|
|
12
|
+
- Open issues / CVEs (check https://snyk.io/vuln/)
|
|
13
|
+
- Peer dependency constraints (avoid major version conflicts)
|
|
14
|
+
- Bundle size: https://bundlephobia.com/package/{name}
|
|
15
|
+
|
|
16
|
+
**MCP tool example:** `mcp_fetch url="https://registry.npmjs.org/zod" topic="latest version and peer deps"`
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Dynamic Skill: Solana Docs
|
|
2
|
+
|
|
3
|
+
Use MCP or official Solana/Anchor references to confirm current account model constraints, program patterns, and SDK changes before coding.
|
|
4
|
+
|
|
5
|
+
**Fetch from:**
|
|
6
|
+
- Solana: https://docs.solana.com
|
|
7
|
+
- Anchor: https://www.anchor-lang.com/docs
|
|
8
|
+
- Solana Web3.js v2: https://solana-labs.github.io/solana-web3.js/
|
|
9
|
+
|
|
10
|
+
**Focus areas:**
|
|
11
|
+
- Anchor IDL changes across versions
|
|
12
|
+
- Account discriminator constraints
|
|
13
|
+
- PDA derivation patterns
|
|
14
|
+
- Current @solana/web3.js v2 API (breaking from v1)
|
|
15
|
+
|
|
16
|
+
**MCP tool example:** `mcp_fetch url="https://www.anchor-lang.com/docs/pdas" topic="PDA derivation"`
|