@jaimevalasek/aioson 1.6.0 → 1.7.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 (275) hide show
  1. package/CHANGELOG.md +74 -0
  2. package/README.md +729 -232
  3. package/docs/design-previews/pt.squarespace.com-homepage.html +889 -0
  4. package/docs/integrations/sdlc-genius-boundary.md +76 -0
  5. package/docs/integrations/sdlc-genius-eval-matrix.md +75 -0
  6. package/docs/integrations/sdlc-genius-install-checklist.md +93 -0
  7. package/docs/integrations/sdlc-genius-review-samples.md +86 -0
  8. package/docs/pt/README.md +3 -0
  9. package/docs/pt/agentes.md +1 -0
  10. package/docs/pt/comandos-cli.md +888 -2
  11. package/docs/pt/design-hybrid-forge.md +255 -6
  12. package/docs/pt/devlog-pipeline.md +270 -0
  13. package/docs/pt/fluxo-artefatos.md +178 -0
  14. package/docs/pt/hooks-session-guard.md +454 -0
  15. package/docs/pt/monitor-de-contexto.md +59 -5
  16. package/docs/pt/sdd-automation-scripts.md +557 -0
  17. package/docs/pt/site-forge.md +309 -0
  18. package/docs/pt/spec-learnings-pipeline.md +265 -0
  19. package/package.json +1 -1
  20. package/src/a2a/client.js +165 -0
  21. package/src/a2a/server.js +223 -0
  22. package/src/cli.js +235 -1
  23. package/src/commands/agent-audit.js +397 -0
  24. package/src/commands/agent-export-skill.js +229 -0
  25. package/src/commands/artifact-validate.js +189 -0
  26. package/src/commands/brief-gen.js +405 -0
  27. package/src/commands/brief-validate.js +65 -0
  28. package/src/commands/classify.js +256 -0
  29. package/src/commands/context-compact.js +49 -0
  30. package/src/commands/context-health.js +175 -0
  31. package/src/commands/context-monitor.js +71 -0
  32. package/src/commands/context-trim.js +177 -0
  33. package/src/commands/detect-test-runner.js +55 -0
  34. package/src/commands/devlog-export-brains.js +27 -0
  35. package/src/commands/devlog-process.js +292 -0
  36. package/src/commands/devlog-watch.js +131 -0
  37. package/src/commands/feature-close.js +165 -0
  38. package/src/commands/gate-check.js +228 -0
  39. package/src/commands/hooks-emit.js +253 -0
  40. package/src/commands/hooks-install.js +347 -0
  41. package/src/commands/learning-auto-promote.js +195 -0
  42. package/src/commands/learning-evolve.js +18 -9
  43. package/src/commands/learning-export.js +103 -0
  44. package/src/commands/learning-rollback.js +164 -0
  45. package/src/commands/live.js +25 -1
  46. package/src/commands/pattern-detect.js +33 -0
  47. package/src/commands/preflight-context.js +30 -0
  48. package/src/commands/preflight.js +208 -0
  49. package/src/commands/pulse-update.js +130 -0
  50. package/src/commands/runner-daemon.js +274 -0
  51. package/src/commands/runner-plan.js +70 -0
  52. package/src/commands/runner-queue-from-plan.js +166 -0
  53. package/src/commands/runner-queue.js +189 -0
  54. package/src/commands/runner-run.js +129 -0
  55. package/src/commands/runtime.js +47 -1
  56. package/src/commands/self-implement-loop.js +256 -0
  57. package/src/commands/session-guard.js +218 -0
  58. package/src/commands/sizing.js +165 -0
  59. package/src/commands/skill.js +65 -0
  60. package/src/commands/spec-checkpoint.js +177 -0
  61. package/src/commands/spec-status.js +79 -0
  62. package/src/commands/spec-sync.js +190 -0
  63. package/src/commands/spec-tasks.js +288 -0
  64. package/src/commands/squad-autorun.js +1220 -0
  65. package/src/commands/squad-bus.js +217 -0
  66. package/src/commands/squad-card.js +149 -0
  67. package/src/commands/squad-daemon.js +134 -0
  68. package/src/commands/squad-dependency-graph.js +164 -0
  69. package/src/commands/squad-review.js +106 -0
  70. package/src/commands/squad-scaffold.js +55 -0
  71. package/src/commands/squad-tool-register.js +157 -0
  72. package/src/commands/state-save.js +122 -0
  73. package/src/commands/update.js +2 -0
  74. package/src/commands/verify-gate.js +572 -0
  75. package/src/commands/workflow-execute.js +241 -0
  76. package/src/constants.js +22 -0
  77. package/src/install-profile.js +2 -2
  78. package/src/install-wizard.js +3 -2
  79. package/src/installer.js +6 -0
  80. package/src/lib/health-check.js +158 -0
  81. package/src/lib/hook-protocol.js +76 -0
  82. package/src/mcp/apps/squad-dashboard/app.js +163 -0
  83. package/src/mcp/apps/squad-dashboard/index.html +261 -0
  84. package/src/mcp/apps/squad-dashboard/mcp-manifest.json +23 -0
  85. package/src/mcp/resources/squad-state.js +130 -0
  86. package/src/preflight-engine.js +443 -0
  87. package/src/runner/cascade.js +97 -0
  88. package/src/runner/cli-launcher.js +109 -0
  89. package/src/runner/plan-importer.js +63 -0
  90. package/src/runner/queue-store.js +159 -0
  91. package/src/runtime-store.js +61 -3
  92. package/src/squad/agent-teams-adapter.js +264 -0
  93. package/src/squad/brief-validator.js +350 -0
  94. package/src/squad/bus-bridge.js +140 -0
  95. package/src/squad/context-compactor.js +265 -0
  96. package/src/squad/cross-ai-synthesizer.js +250 -0
  97. package/src/squad/hooks-generator.js +196 -0
  98. package/src/squad/inter-squad-events.js +175 -0
  99. package/src/squad/intra-bus.js +345 -0
  100. package/src/squad/learning-extractor.js +213 -0
  101. package/src/squad/pattern-detector.js +365 -0
  102. package/src/squad/preflight-context.js +296 -0
  103. package/src/squad/recovery-context.js +242 -71
  104. package/src/squad/reflection.js +365 -0
  105. package/src/squad/squad-scaffold.js +177 -0
  106. package/src/squad/state-manager.js +310 -0
  107. package/src/squad/task-decomposer.js +652 -0
  108. package/src/squad/verify-gate.js +303 -0
  109. package/src/updater.js +4 -5
  110. package/src/worker-runner.js +186 -1
  111. package/template/.aioson/agents/analyst.md +62 -1
  112. package/template/.aioson/agents/architect.md +61 -1
  113. package/template/.aioson/agents/copywriter.md +463 -0
  114. package/template/.aioson/agents/design-hybrid-forge.md +14 -0
  115. package/template/.aioson/agents/dev.md +271 -25
  116. package/template/.aioson/agents/deyvin.md +67 -8
  117. package/template/.aioson/agents/discovery-design-doc.md +44 -0
  118. package/template/.aioson/agents/genome.md +14 -0
  119. package/template/.aioson/agents/neo.md +83 -2
  120. package/template/.aioson/agents/orache.md +50 -4
  121. package/template/.aioson/agents/orchestrator.md +197 -1
  122. package/template/.aioson/agents/pm.md +35 -0
  123. package/template/.aioson/agents/product.md +50 -5
  124. package/template/.aioson/agents/profiler-enricher.md +14 -0
  125. package/template/.aioson/agents/profiler-forge.md +14 -0
  126. package/template/.aioson/agents/profiler-researcher.md +14 -0
  127. package/template/.aioson/agents/qa.md +273 -21
  128. package/template/.aioson/agents/setup.md +96 -10
  129. package/template/.aioson/agents/sheldon.md +131 -6
  130. package/template/.aioson/agents/site-forge.md +1753 -0
  131. package/template/.aioson/agents/squad.md +352 -0
  132. package/template/.aioson/agents/tester.md +53 -0
  133. package/template/.aioson/agents/ux-ui.md +203 -4
  134. package/template/.aioson/brains/README.md +128 -0
  135. package/template/.aioson/brains/_index.json +16 -0
  136. package/template/.aioson/brains/scripts/query.js +103 -0
  137. package/template/.aioson/brains/site-forge/visual-patterns.brain.json +205 -0
  138. package/template/.aioson/config.md +143 -13
  139. package/template/.aioson/constitution.md +33 -0
  140. package/template/.aioson/context/project-pulse.md +34 -0
  141. package/template/.aioson/docs/LAYERS.md +79 -0
  142. package/template/.aioson/docs/README.md +76 -0
  143. package/template/.aioson/docs/example-external-api-context.md +72 -0
  144. package/template/.aioson/genomes/copywriting.md +204 -0
  145. package/template/.aioson/locales/en/agents/architect.md +17 -0
  146. package/template/.aioson/locales/en/agents/dev.md +79 -13
  147. package/template/.aioson/locales/en/agents/orache.md +6 -0
  148. package/template/.aioson/locales/en/agents/orchestrator.md +24 -0
  149. package/template/.aioson/locales/en/agents/product.md +50 -0
  150. package/template/.aioson/locales/en/agents/sheldon.md +115 -0
  151. package/template/.aioson/locales/en/agents/squad.md +14 -0
  152. package/template/.aioson/locales/en/agents/tester.md +6 -0
  153. package/template/.aioson/locales/es/agents/analyst.md +2 -0
  154. package/template/.aioson/locales/es/agents/architect.md +19 -0
  155. package/template/.aioson/locales/es/agents/dev.md +64 -4
  156. package/template/.aioson/locales/es/agents/deyvin.md +2 -0
  157. package/template/.aioson/locales/es/agents/discovery-design-doc.md +2 -0
  158. package/template/.aioson/locales/es/agents/genome.md +2 -0
  159. package/template/.aioson/locales/es/agents/neo.md +2 -0
  160. package/template/.aioson/locales/es/agents/orache.md +2 -0
  161. package/template/.aioson/locales/es/agents/orchestrator.md +26 -0
  162. package/template/.aioson/locales/es/agents/pair.md +2 -0
  163. package/template/.aioson/locales/es/agents/pm.md +2 -0
  164. package/template/.aioson/locales/es/agents/product.md +52 -0
  165. package/template/.aioson/locales/es/agents/profiler-enricher.md +2 -0
  166. package/template/.aioson/locales/es/agents/profiler-forge.md +2 -0
  167. package/template/.aioson/locales/es/agents/profiler-researcher.md +2 -0
  168. package/template/.aioson/locales/es/agents/qa.md +2 -0
  169. package/template/.aioson/locales/es/agents/setup.md +2 -0
  170. package/template/.aioson/locales/es/agents/sheldon.md +117 -0
  171. package/template/.aioson/locales/es/agents/squad.md +16 -0
  172. package/template/.aioson/locales/es/agents/tester.md +9 -0
  173. package/template/.aioson/locales/es/agents/ux-ui.md +2 -0
  174. package/template/.aioson/locales/fr/agents/analyst.md +2 -0
  175. package/template/.aioson/locales/fr/agents/architect.md +19 -0
  176. package/template/.aioson/locales/fr/agents/dev.md +64 -4
  177. package/template/.aioson/locales/fr/agents/deyvin.md +2 -0
  178. package/template/.aioson/locales/fr/agents/discovery-design-doc.md +2 -0
  179. package/template/.aioson/locales/fr/agents/genome.md +2 -0
  180. package/template/.aioson/locales/fr/agents/neo.md +2 -0
  181. package/template/.aioson/locales/fr/agents/orache.md +2 -0
  182. package/template/.aioson/locales/fr/agents/orchestrator.md +26 -0
  183. package/template/.aioson/locales/fr/agents/pair.md +2 -0
  184. package/template/.aioson/locales/fr/agents/pm.md +2 -0
  185. package/template/.aioson/locales/fr/agents/product.md +52 -0
  186. package/template/.aioson/locales/fr/agents/profiler-enricher.md +2 -0
  187. package/template/.aioson/locales/fr/agents/profiler-forge.md +2 -0
  188. package/template/.aioson/locales/fr/agents/profiler-researcher.md +2 -0
  189. package/template/.aioson/locales/fr/agents/qa.md +2 -0
  190. package/template/.aioson/locales/fr/agents/setup.md +2 -0
  191. package/template/.aioson/locales/fr/agents/sheldon.md +117 -0
  192. package/template/.aioson/locales/fr/agents/squad.md +16 -0
  193. package/template/.aioson/locales/fr/agents/tester.md +9 -0
  194. package/template/.aioson/locales/fr/agents/ux-ui.md +2 -0
  195. package/template/.aioson/locales/pt-BR/agents/analyst.md +64 -3
  196. package/template/.aioson/locales/pt-BR/agents/architect.md +42 -0
  197. package/template/.aioson/locales/pt-BR/agents/dev.md +147 -14
  198. package/template/.aioson/locales/pt-BR/agents/deyvin.md +47 -0
  199. package/template/.aioson/locales/pt-BR/agents/neo.md +62 -1
  200. package/template/.aioson/locales/pt-BR/agents/orchestrator.md +158 -2
  201. package/template/.aioson/locales/pt-BR/agents/pm.md +95 -1
  202. package/template/.aioson/locales/pt-BR/agents/product.md +145 -18
  203. package/template/.aioson/locales/pt-BR/agents/qa.md +16 -0
  204. package/template/.aioson/locales/pt-BR/agents/setup.md +101 -18
  205. package/template/.aioson/locales/pt-BR/agents/sheldon.md +132 -1
  206. package/template/.aioson/locales/pt-BR/agents/squad.md +14 -0
  207. package/template/.aioson/locales/pt-BR/agents/tester.md +449 -0
  208. package/template/.aioson/rules/README.md +69 -0
  209. package/template/.aioson/rules/data-format-convention.md +136 -0
  210. package/template/.aioson/rules/example-monetary-values.md +30 -0
  211. package/template/.aioson/schemas/squad-manifest.schema.json +124 -3
  212. package/template/.aioson/skills/design/cognitive-core-ui/references/motion.md +2 -0
  213. package/template/.aioson/skills/design/pt.squarespace.com/.skill-meta.json +31 -0
  214. package/template/.aioson/skills/design/pt.squarespace.com/SKILL.md +66 -0
  215. package/template/.aioson/skills/design/pt.squarespace.com/references/components.md +368 -0
  216. package/template/.aioson/skills/design/pt.squarespace.com/references/design-tokens.md +150 -0
  217. package/template/.aioson/skills/design/pt.squarespace.com/references/motion.md +270 -0
  218. package/template/.aioson/skills/design/pt.squarespace.com/references/patterns.md +189 -0
  219. package/template/.aioson/skills/design/pt.squarespace.com/references/websites.md +165 -0
  220. package/template/.aioson/skills/marketing/references/anti-patterns.md +254 -0
  221. package/template/.aioson/skills/marketing/references/fascinations.md +192 -0
  222. package/template/.aioson/skills/marketing/references/five-acts.md +248 -0
  223. package/template/.aioson/skills/marketing/references/market-intelligence.md +198 -0
  224. package/template/.aioson/skills/marketing/references/offer-structure.md +203 -0
  225. package/template/.aioson/skills/marketing/references/one-belief.md +149 -0
  226. package/template/.aioson/skills/marketing/references/patterns.md +218 -0
  227. package/template/.aioson/skills/marketing/references/pms-research.md +193 -0
  228. package/template/.aioson/skills/marketing/vsl-craft.md +385 -0
  229. package/template/.aioson/skills/process/aioson-spec-driven/SKILL.md +1 -0
  230. package/template/.aioson/skills/process/aioson-spec-driven/references/analyst.md +30 -0
  231. package/template/.aioson/skills/process/aioson-spec-driven/references/architect.md +23 -0
  232. package/template/.aioson/skills/process/aioson-spec-driven/references/dev.md +47 -0
  233. package/template/.aioson/skills/process/aioson-spec-driven/references/deyvin.md +27 -0
  234. package/template/.aioson/skills/process/aioson-spec-driven/references/maintenance-and-state.md +35 -0
  235. package/template/.aioson/skills/process/aioson-spec-driven/references/product.md +25 -0
  236. package/template/.aioson/skills/process/aioson-spec-driven/references/qa.md +30 -0
  237. package/template/.aioson/skills/process/aioson-spec-driven/references/sheldon.md +25 -0
  238. package/template/.aioson/skills/process/design-hybrid-forge/SKILL.md +4 -1
  239. package/template/.aioson/skills/process/design-hybrid-forge/references/output-contract.md +15 -0
  240. package/template/.aioson/skills/process/design-hybrid-forge/references/pair-compatibility.md +32 -0
  241. package/template/.aioson/skills/process/design-hybrid-forge/references/quality-gates.md +20 -0
  242. package/template/.aioson/skills/process/simplify/SKILL.md +173 -0
  243. package/template/.aioson/skills/static/context-budget-guide.md +46 -0
  244. package/template/.aioson/skills/static/harness-sensors.md +74 -0
  245. package/template/.aioson/skills/static/landing-page-deploy.md +192 -0
  246. package/template/.aioson/skills/static/landing-page-forge.md +730 -0
  247. package/template/.aioson/skills/static/multi-agent-patterns.md +43 -0
  248. package/template/.aioson/skills/static/react-motion-patterns.md +22 -0
  249. package/template/.aioson/skills/static/static-html-patterns/checklists.md +43 -0
  250. package/template/.aioson/skills/static/static-html-patterns/css-tokens.md +609 -0
  251. package/template/.aioson/skills/static/static-html-patterns/motion.md +193 -0
  252. package/template/.aioson/skills/static/static-html-patterns/premium.md +711 -0
  253. package/template/.aioson/skills/static/static-html-patterns/structure.md +209 -0
  254. package/template/.aioson/skills/static/static-html-patterns/utilities.md +190 -0
  255. package/template/.aioson/skills/static/static-html-patterns.md +58 -1913
  256. package/template/.aioson/skills/static/threejs-patterns.md +929 -0
  257. package/template/.aioson/skills/static/ui-ux-modern.md +1 -0
  258. package/template/.aioson/skills/static/web-research-cache.md +112 -0
  259. package/template/.aioson/tasks/implementation-plan.md +21 -1
  260. package/template/.aioson/tasks/squad-create.md +22 -0
  261. package/template/.aioson/tasks/squad-design.md +30 -0
  262. package/template/.aioson/templates/squads/digital-marketing-agency/template.json +96 -0
  263. package/template/.claude/commands/aioson/agent/design-hybrid-forge.md +5 -0
  264. package/template/.claude/commands/aioson/agent/orache.md +5 -0
  265. package/template/.claude/commands/aioson/agent/sheldon.md +5 -0
  266. package/template/.claude/commands/aioson/agent/site-forge.md +5 -0
  267. package/template/AGENTS.md +55 -3
  268. package/template/CLAUDE.md +31 -0
  269. package/template/OPENCODE.md +4 -0
  270. package/template/researchs/.gitkeep +0 -0
  271. package/template/.aioson/skills/design-system/components/SKILL.md:Zone.Identifier +0 -0
  272. package/template/.aioson/skills/design-system/dashboards/SKILL.md:Zone.Identifier +0 -0
  273. package/template/.aioson/skills/design-system/foundations/SKILL.md:Zone.Identifier +0 -0
  274. package/template/.aioson/skills/design-system/motion/SKILL.md:Zone.Identifier +0 -0
  275. package/template/.aioson/skills/design-system/patterns/SKILL.md:Zone.Identifier +0 -0
@@ -0,0 +1,136 @@
1
+ ---
2
+ name: data-format-convention
3
+ description: Which file format to use when producing or consuming structured data — YAML for agent-readable reference data, Markdown for narrative, JSON for machine-consumed data
4
+ priority: 8
5
+ version: 1.0.0
6
+ ---
7
+
8
+ # Data Format Convention
9
+
10
+ Use the right format for the right consumer. The same data structure reads very differently depending on who (or what) will consume it next.
11
+
12
+ ## The three formats and their consumers
13
+
14
+ ### YAML — structured data consumed by agents
15
+
16
+ Use `.yaml` when the output is structured reference data that **another agent or squad executor will read field-by-field** to make decisions or produce content.
17
+
18
+ LLMs read YAML more accurately than JSON for structured reference data because YAML allows comments, avoids excessive punctuation, and mirrors natural document structure.
19
+
20
+ **Use YAML for:**
21
+ - ICP definitions, persona profiles, audience segments
22
+ - Offer sheets, product definitions, pricing structures
23
+ - Brand guidelines (structured parts: tone, values, vocabulary, positioning)
24
+ - Competitive analysis snapshots (structured fields)
25
+ - Briefing data that a copy squad or design squad will consume
26
+ - Entity catalogs referenced across multiple sessions
27
+
28
+ **Naming:** `{slug}.yaml` in the relevant squad output or context directory.
29
+
30
+ **Example — ICP profile (`icp-primary.yaml`):**
31
+ ```yaml
32
+ # ICP — Primary Audience
33
+ # Created by: @research-squad | Updated: 2026-04-02
34
+
35
+ profile:
36
+ name: "Empreendedor Refém"
37
+ description: "Dono de negócio que depende de agências ou devs externos"
38
+
39
+ pain_points:
40
+ - Perda de controle sobre o produto
41
+ - Atrasos e custos imprevisíveis
42
+ - Não consegue validar qualidade do que recebe
43
+
44
+ desired_outcome: "Autonomia e velocidade — entregar sem depender de terceiros"
45
+
46
+ buying_trigger: "Prazo vencendo ou fatura chegando de dev que atrasou"
47
+
48
+ messaging:
49
+ primary: "Retome o controle do seu produto"
50
+ objection_1: "Não preciso saber programar?"
51
+ objection_1_answer: "Não. Você vai orquestrar, não digitar código."
52
+
53
+ channels: [instagram, linkedin, youtube]
54
+ ```
55
+
56
+ ---
57
+
58
+ ### Markdown — narrative content consumed by humans and agents linearly
59
+
60
+ Use `.md` when the output is narrative — content that flows as text and benefits from headers, lists, and prose.
61
+
62
+ **Use Markdown for:**
63
+ - Reports, analyses, article drafts
64
+ - Scripts, hooks, copy blocks
65
+ - Agent instructions and rules (this file is an example)
66
+ - Specs, PRDs, discovery documents
67
+ - Any output meant to be read from top to bottom
68
+
69
+ **Never use YAML or JSON for:** articles, scripts, agent instructions, PRDs, analysis narratives, README files.
70
+
71
+ ---
72
+
73
+ ### JSON — structured data consumed by machines
74
+
75
+ Use `.json` when the output is consumed by code — CLIs, APIs, webhooks, dashboards, or configuration parsers.
76
+
77
+ **Use JSON for:**
78
+ - `squad.manifest.json` — consumed by the AIOSON CLI and dashboard
79
+ - `content.json` — consumed by the webhook server and dashboard
80
+ - API payloads and webhook responses
81
+ - CLI configuration files
82
+ - Any file that `JSON.parse()` will read programmatically
83
+
84
+ **Never change to YAML:** `squad.manifest.json`, `content.json`, `squad.json`, `aioson-models.json`. These are machine-consumed and must stay JSON for CLI compatibility.
85
+
86
+ ---
87
+
88
+ ## Decision rule (apply in this order)
89
+
90
+ ```
91
+ Will a machine (CLI, API, webhook, dashboard) consume this file?
92
+ YES → JSON
93
+
94
+ Will a human or agent read this top-to-bottom as narrative?
95
+ YES → Markdown
96
+
97
+ Will an agent reference specific fields to make decisions or produce content?
98
+ YES → YAML
99
+ ```
100
+
101
+ If uncertain: prefer Markdown. Only use YAML when the structured fields are the point — not the prose.
102
+
103
+ ---
104
+
105
+ ## Squad executor guidance
106
+
107
+ When a squad executor produces output, choose the format based on what happens next:
108
+
109
+ | Output type | Format | Example |
110
+ |---|---|---|
111
+ | Report, article, script | `.md` | `output/content-squad/ep-001/script.md` |
112
+ | ICP, persona, audience profile | `.yaml` | `output/research-squad/icp-primary.yaml` |
113
+ | Brand data, offer sheet | `.yaml` | `output/brand-squad/offer-advanced.yaml` |
114
+ | Competitive analysis (structured) | `.yaml` | `output/research-squad/competitors.yaml` |
115
+ | Competitive analysis (narrative) | `.md` | `output/research-squad/market-report.md` |
116
+ | Webhook payload, API response | `.json` | handled by `content.json` convention |
117
+ | Squad manifest, config | `.json` | `squad.manifest.json` (do not change) |
118
+
119
+ **Cross-squad consumption:** when Squad A produces data that Squad B will consume, prefer YAML for structured reference data. The receiving squad's executor can reference `output/squad-a/{file}.yaml` directly and access fields with precision — more reliable than parsing a Markdown table.
120
+
121
+ ---
122
+
123
+ ## What NOT to change
124
+
125
+ - Files with `.json` extension consumed by the AIOSON CLI or dashboard
126
+ - Agent instruction files (`agents/*.md`) — narrative, not data
127
+ - Existing specs and context files (`spec-*.md`, `discovery.md`, `architecture.md`) — mixed narrative + structure, Markdown is correct
128
+ - YAML frontmatter inside `.md` files — this is already the right pattern for metadata
129
+
130
+ ---
131
+
132
+ ## Why this matters
133
+
134
+ The same structured content stored as JSON or Markdown loses precision when an agent reads it. A JSON blob requires the agent to mentally parse brackets and quotes while tracking field relationships. A Markdown table requires the agent to infer column semantics from headers. A YAML document makes field names, nesting, and relationships immediately legible — the LLM spends its attention on the content, not the syntax.
135
+
136
+ For squads that pass structured data between executors across sessions, this compounds: each session starts fresh, and a YAML profile loads faster and more accurately into working context than an equivalent JSON or Markdown representation.
@@ -0,0 +1,30 @@
1
+ ---
2
+ name: monetary-values
3
+ description: All monetary values must be stored as integer cents, never as floats
4
+ agents: [dev, architect, qa]
5
+ priority: 5
6
+ version: 1.0.0
7
+ ---
8
+
9
+ # Monetary Values Convention
10
+
11
+ All monetary values in this project MUST be stored and calculated as integer cents.
12
+
13
+ ## Rule
14
+
15
+ - NEVER use float or decimal types for money fields
16
+ - Store as integer: `1000` = R$ 10,00 or USD $10.00
17
+ - Display formatting is a UI concern only — format at the presentation layer, never in persistence or business logic
18
+ - This applies to: database columns, API payloads, internal calculations, test fixtures
19
+
20
+ ## Rationale
21
+
22
+ Float arithmetic produces rounding errors in financial calculations.
23
+ Example: `0.1 + 0.2 === 0.30000000000000004` in most languages.
24
+ Using integer cents eliminates this class of bug entirely.
25
+
26
+ ## Applies to
27
+
28
+ - Database migrations: column type must be integer or bigint, not decimal/float
29
+ - API contracts: monetary fields must be documented as integer cents
30
+ - @qa: test fixtures must use integer cents; any float in a money field is a bug
@@ -98,9 +98,9 @@
98
98
  "title": { "type": "string" },
99
99
  "type": {
100
100
  "type": "string",
101
- "enum": ["worker", "agent", "clone", "assistant", "human-gate"],
101
+ "enum": ["worker", "agent", "clone", "assistant", "human-gate", "research", "reviewer", "skill"],
102
102
  "default": "agent",
103
- "description": "Executor type: worker (deterministic script, no LLM), agent (LLM with defined role), clone (cognitive replica of real person), assistant (domain specialist with behavioral profile), human-gate (human approval checkpoint)"
103
+ "description": "Executor type: worker (deterministic script, no LLM), agent (LLM with defined role), clone (cognitive replica of real person), assistant (domain specialist with behavioral profile), human-gate (human approval checkpoint), research (web research with cache, no LLM), reviewer (cross-AI review synthesis), skill (external Agent Skills Standard skill)"
104
104
  },
105
105
  "role": { "type": "string" },
106
106
  "file": { "type": "string" },
@@ -121,6 +121,14 @@
121
121
  "type": "string",
122
122
  "description": "Script path for worker executors"
123
123
  },
124
+ "skill": {
125
+ "type": "string",
126
+ "description": "Agent Skills Standard skill identifier (for type: 'skill'). E.g. '@anthropic/code-review'"
127
+ },
128
+ "source": {
129
+ "type": "string",
130
+ "description": "Skill source path or package. E.g. 'npm:@org/skill', './skills/my-skill/'"
131
+ },
124
132
  "domain": {
125
133
  "type": "string",
126
134
  "description": "Specialized domain for assistant executors"
@@ -198,11 +206,85 @@
198
206
  "order": { "type": "integer", "minimum": 1 },
199
207
  "file": { "type": "string", "description": "Path to the task .md file" },
200
208
  "input": { "type": "string", "description": "What this task receives" },
201
- "output": { "type": "string", "description": "What this task produces" }
209
+ "output": { "type": "string", "description": "What this task produces" },
210
+ "review_loop": {
211
+ "type": "boolean",
212
+ "default": false,
213
+ "description": "Enable evaluator-optimizer loop: dev implements, qa evaluates, repeat up to max_review_iterations"
214
+ },
215
+ "review_criteria": {
216
+ "type": "array",
217
+ "items": { "type": "string" },
218
+ "description": "Criteria the evaluator uses to PASS/FAIL the output (used with review_loop: true)"
219
+ },
220
+ "max_review_iterations": {
221
+ "type": "integer",
222
+ "minimum": 1,
223
+ "maximum": 5,
224
+ "default": 3,
225
+ "description": "Maximum dev→qa iterations before escalating to human (used with review_loop: true)"
226
+ },
227
+ "voting": {
228
+ "type": "object",
229
+ "description": "Sampling-and-Voting: run N parallel instances and reach consensus. Best for critical decisions.",
230
+ "properties": {
231
+ "instances": {
232
+ "type": "integer",
233
+ "minimum": 2,
234
+ "maximum": 10,
235
+ "default": 3,
236
+ "description": "Number of parallel instances to spawn"
237
+ },
238
+ "threshold": {
239
+ "type": "number",
240
+ "minimum": 0.5,
241
+ "maximum": 1,
242
+ "default": 0.66,
243
+ "description": "Minimum consensus fraction to accept result (0.66 = 66%)"
244
+ },
245
+ "on_no_consensus": {
246
+ "type": "string",
247
+ "enum": ["escalate", "use_majority", "fail"],
248
+ "default": "escalate",
249
+ "description": "What to do when consensus < threshold"
250
+ }
251
+ }
252
+ }
202
253
  }
203
254
  },
204
255
  "description": "Granular tasks within this executor, executed in order"
205
256
  },
257
+ "research": {
258
+ "type": "object",
259
+ "description": "Configuration for research executor type (type: 'research')",
260
+ "properties": {
261
+ "topic": { "type": "string", "description": "Cache key / topic slug (e.g. 'youtube-shorts-2026')" },
262
+ "urls": {
263
+ "type": "array",
264
+ "items": { "type": "string" },
265
+ "description": "URLs to scrape for this research topic"
266
+ },
267
+ "cache_hours": { "type": "integer", "default": 168, "description": "Cache TTL in hours (default 168 = 7 days)" },
268
+ "cache_dir": { "type": "string", "default": "researchs/", "description": "Base directory for research cache" },
269
+ "max_sources": { "type": "integer", "default": 5, "description": "Maximum number of URLs to scrape" }
270
+ }
271
+ },
272
+ "cross_ai": {
273
+ "type": "boolean",
274
+ "description": "If true (for reviewer type), send to multiple AI CLIs and synthesize responses"
275
+ },
276
+ "review": {
277
+ "type": "object",
278
+ "description": "Configuration for reviewer executor type",
279
+ "properties": {
280
+ "detect_clis": {
281
+ "type": "array",
282
+ "items": { "type": "string", "enum": ["claude", "gemini", "codex"] }
283
+ },
284
+ "exclude_current": { "type": "boolean", "default": true },
285
+ "synthesize_to": { "type": "string", "description": "Output path for REVIEWS.md" }
286
+ }
287
+ },
206
288
  "formats": {
207
289
  "type": "array",
208
290
  "items": { "type": "string" },
@@ -705,5 +787,44 @@
705
787
  }
706
788
  }
707
789
  },
790
+ "depends_on": {
791
+ "type": "array",
792
+ "description": "Inter-squad dependencies: this squad will consume published events from these squads before starting a run",
793
+ "items": {
794
+ "type": "object",
795
+ "required": ["squad", "event"],
796
+ "properties": {
797
+ "squad": {
798
+ "type": "string",
799
+ "pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$",
800
+ "description": "Slug of the squad whose events this squad depends on"
801
+ },
802
+ "event": {
803
+ "type": "string",
804
+ "description": "Event pattern to subscribe to (e.g. 'episode.created', 'review.*', '*')"
805
+ },
806
+ "input_mapping": {
807
+ "type": "object",
808
+ "description": "Maps event payload fields to task context fields",
809
+ "additionalProperties": { "type": "string" }
810
+ }
811
+ }
812
+ }
813
+ },
814
+ "hooks": {
815
+ "type": "object",
816
+ "description": "Hook scripts that gate squad execution (exit 0=allow, exit 2=deny)",
817
+ "properties": {
818
+ "pre_run": {
819
+ "type": "string",
820
+ "description": "Shell command to run before squad:autorun starts. Exit code 2 aborts the run."
821
+ }
822
+ }
823
+ },
824
+ "subscriptions": {
825
+ "type": "array",
826
+ "description": "Event patterns this squad subscribes to (consumed at the start of each autorun). Short form of depends_on[*].event.",
827
+ "items": { "type": "string" }
828
+ },
708
829
  "additionalProperties": true
709
830
  }
@@ -4,6 +4,8 @@ Read after `design-tokens.md`. Add to context only when motion materially improv
4
4
 
5
5
  Motion is **purposeful and restrained**. Dashboards use minimal motion. Landing pages use more dramatic entrances and scroll effects.
6
6
 
7
+ > **For landing pages / sales pages / event pages:** also load `skills/static/landing-page-forge.md` — it provides GSAP and AnimeJS integration patterns for horizontal scroll, magnetic mouse effects, hero sequences, and the full performance + tracking checklist.
8
+
7
9
  ---
8
10
 
9
11
  ## Principles
@@ -0,0 +1,31 @@
1
+ {
2
+ "id": "pt.squarespace.com",
3
+ "name": "Squarespace Design System",
4
+ "source": "https://pt.squarespace.com/",
5
+ "extractedAt": "2026-03-31",
6
+ "theme": "light-dark",
7
+ "baseUnit": "4px",
8
+ "referenceSkill": null,
9
+ "type": "extracted",
10
+ "designPillars": [
11
+ "Sharp minimalism — zero border-radius",
12
+ "Bold typographic hierarchy — Clarkson font family",
13
+ "High contrast — black/white with teal accents"
14
+ ],
15
+ "colors": {
16
+ "primary": "#000000",
17
+ "accent": "#1E4C41",
18
+ "background": "#FFFFFF",
19
+ "surface": "#F5F5F4"
20
+ },
21
+ "fonts": {
22
+ "display": "Clarkson, Helvetica, sans-serif",
23
+ "body": "Helvetica Neue, Helvetica, Arial, sans-serif",
24
+ "serif": "Clarkson Serif, Georgia, serif"
25
+ },
26
+ "breakpoints": {
27
+ "desktop": 1440,
28
+ "tablet": 768,
29
+ "mobile": 390
30
+ }
31
+ }
@@ -0,0 +1,66 @@
1
+ # Squarespace (pt.squarespace.com) Design System
2
+
3
+ > Extracted from https://pt.squarespace.com/ on 2026-03-31.
4
+ > Deep analysis completed 2026-04-01 via static file extraction (CSS/JS/fonts/media from saved site).
5
+ > Visual clone skill — do not use in unrelated projects without adapting the tokens.
6
+
7
+ ## Identity
8
+
9
+ **Theme:** light (with dark hero/footer sections)
10
+ **Personality:** Clean, professional SaaS aesthetic with strong typographic hierarchy, minimal decoration, and bold black-white contrast punctuated by occasional teal accents.
11
+
12
+ ## Design pillars
13
+
14
+ 1. **Sharp minimalism** — Zero border-radius throughout; geometric precision dominates
15
+ 2. **Bold typographic hierarchy** — Large headlines (Clarkson 300), clear size differentiation
16
+ 3. **High contrast** — Black and white with teal accent; no gradients, no shadows
17
+
18
+ ## Animation philosophy
19
+
20
+ **CSS-first, zero third-party libraries.** No GSAP, no Framer Motion, no AOS, no Lottie.
21
+ All animations are pure `@keyframes` + class toggling + `IntersectionObserver`.
22
+
23
+ Signature effects:
24
+ - CTA hover: `mix-blend-mode: difference` pseudo-element (not a color transition)
25
+ - Mobile menu: `clip-path: polygon()` swipe animation (not `translateX`)
26
+ - Link underline: `background-position` animated on two linear-gradients
27
+ - Scroll reveals: `IntersectionObserver` adds `.in-view`, CSS handles transition
28
+
29
+ ## Local assets available
30
+
31
+ These files were extracted from the saved site and are ready to use directly:
32
+
33
+ **Fonts** (`public/fonts/`):
34
+ - `clarkson-300.woff2` — Clarkson Light (hero headlines)
35
+ - `clarkson-400.woff2` — Clarkson Regular (body, nav)
36
+ - `clarkson-500.woff2` — Clarkson Medium (CTAs, labels)
37
+ - `clarkson-serif-300.woff2` — Clarkson Serif Light
38
+ - `clarkson-serif-400.woff2` — Clarkson Serif Regular
39
+
40
+ **Videos** (`public/videos/pt.squarespace.com/`):
41
+ - `video-desktop.webm` + `.mp4` — Hero background video (1280×720)
42
+ - `video-mobile.webm` + `.mp4` — Hero background video, portrait-optimized
43
+ - `templates.webm` + `.mp4` — Template showcase animation
44
+ - `blueprint-ai.webm` + `.mp4` — AI blueprint feature demo
45
+ - `design-intelligence-3.mp4` — Design intelligence card video
46
+ - `conversion-centered.mp4` — Final CTA section video
47
+
48
+ > Reference files — replace with your own assets before publishing.
49
+
50
+ ## When to use
51
+
52
+ Activate when building projects that need a professional, clean SaaS website aesthetic inspired by Squarespace's homepage — minimal, typography-forward, with dark hero sections and teal accents.
53
+
54
+ ## Activation
55
+
56
+ Load `references/design-tokens.md` before writing any component.
57
+ Load `references/motion.md` before implementing any animation or interaction.
58
+ Load `references/components.md` to get the real class naming conventions and hover mechanics.
59
+
60
+ ## Skill files
61
+
62
+ - `references/design-tokens.md` — CSS custom properties (colors, typography, spacing, real easing curves)
63
+ - `references/components.md` — Component patterns, real class names, CTA hover mechanics
64
+ - `references/patterns.md` — Page layout patterns with real section IDs
65
+ - `references/motion.md` — All 12 extracted @keyframes, exact timings, animation usage map
66
+ - `references/websites.md` — Complete page topology including all 11 sections