@jaimevalasek/aioson 1.4.0 → 1.6.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.
Files changed (301) hide show
  1. package/CHANGELOG.md +31 -1
  2. package/LICENSE +661 -21
  3. package/README.md +9 -1
  4. package/docs/design-previews/aurora-command-ui-website.html +884 -0
  5. package/docs/design-previews/aurora-command-ui.html +682 -0
  6. package/docs/design-previews/bold-editorial-ui-website.html +658 -0
  7. package/docs/design-previews/bold-editorial-ui.html +717 -0
  8. package/docs/design-previews/clean-saas-ui-website.html +1202 -0
  9. package/docs/design-previews/clean-saas-ui.html +549 -0
  10. package/docs/design-previews/cognitive-core-ui-website.html +1009 -0
  11. package/docs/design-previews/cognitive-core-ui.html +463 -0
  12. package/docs/design-previews/glassmorphism-ui-website.html +572 -0
  13. package/docs/design-previews/glassmorphism-ui.html +886 -0
  14. package/docs/design-previews/index.html +699 -0
  15. package/docs/design-previews/interface-design-website.html +1187 -0
  16. package/docs/design-previews/interface-design.html +513 -0
  17. package/docs/design-previews/neo-brutalist-ui-website.html +621 -0
  18. package/docs/design-previews/neo-brutalist-ui.html +797 -0
  19. package/docs/design-previews/premium-command-center-ui-website.html +1217 -0
  20. package/docs/design-previews/premium-command-center-ui.html +552 -0
  21. package/docs/design-previews/warm-craft-ui-website.html +684 -0
  22. package/docs/design-previews/warm-craft-ui.html +739 -0
  23. package/docs/en/cli-reference.md +20 -9
  24. package/docs/en/squad-dashboard.md +372 -0
  25. package/docs/openclaw-bridge.md +308 -0
  26. package/docs/pt/README.md +7 -0
  27. package/docs/pt/agent-sharding.md +132 -0
  28. package/docs/pt/agentes.md +131 -11
  29. package/docs/pt/busca-de-contexto.md +129 -0
  30. package/docs/pt/cache-de-contexto.md +156 -0
  31. package/docs/pt/cenarios.md +46 -2
  32. package/docs/pt/comandos-cli.md +88 -1
  33. package/docs/pt/design-hybrid-forge.md +107 -0
  34. package/docs/pt/inicio-rapido.md +72 -5
  35. package/docs/pt/inteligencia-adaptativa.md +324 -0
  36. package/docs/pt/monitor-de-contexto.md +104 -0
  37. package/docs/pt/recuperacao-de-sessao.md +125 -0
  38. package/docs/pt/sandbox.md +125 -0
  39. package/docs/pt/skills.md +98 -6
  40. package/docs/pt/squad-dashboard.md +373 -0
  41. package/docs/testing/genome-2.0-matrix.md +5 -5
  42. package/docs/testing/genome-2.0-rollout.md +9 -9
  43. package/package.json +2 -2
  44. package/src/agent-loader.js +280 -0
  45. package/src/backup-local.js +74 -0
  46. package/src/cli.js +192 -0
  47. package/src/commands/agent-loader.js +85 -0
  48. package/src/commands/backup-local-cmd.js +25 -0
  49. package/src/commands/context-cache.js +90 -0
  50. package/src/commands/context-monitor.js +92 -0
  51. package/src/commands/context-search.js +66 -0
  52. package/src/commands/design-hybrid-options.js +385 -0
  53. package/src/commands/health.js +214 -0
  54. package/src/commands/init.js +54 -13
  55. package/src/commands/install.js +52 -13
  56. package/src/commands/learning-evolve.js +355 -0
  57. package/src/commands/live.js +34 -0
  58. package/src/commands/recovery.js +43 -0
  59. package/src/commands/runtime.js +242 -0
  60. package/src/commands/sandbox.js +37 -0
  61. package/src/commands/setup-context.js +29 -4
  62. package/src/commands/setup.js +178 -0
  63. package/src/commands/skill.js +79 -32
  64. package/src/commands/squad-daemon.js +209 -0
  65. package/src/commands/squad-dashboard.js +39 -0
  66. package/src/commands/squad-deploy.js +64 -0
  67. package/src/commands/squad-doctor.js +52 -0
  68. package/src/commands/squad-mcp.js +270 -0
  69. package/src/commands/squad-processes.js +56 -0
  70. package/src/commands/squad-recovery.js +42 -0
  71. package/src/commands/squad-roi.js +291 -0
  72. package/src/commands/squad-score.js +250 -0
  73. package/src/commands/squad-status.js +37 -1
  74. package/src/commands/squad-validate.js +62 -1
  75. package/src/commands/squad-webhook.js +160 -0
  76. package/src/commands/squad-worker.js +191 -0
  77. package/src/commands/squad-worktrees.js +75 -0
  78. package/src/commands/tool-registry-cmd.js +232 -0
  79. package/src/commands/update.js +7 -0
  80. package/src/commands/web-map.js +70 -0
  81. package/src/commands/web-scrape.js +71 -0
  82. package/src/constants.js +17 -0
  83. package/src/context-cache.js +159 -0
  84. package/src/context-search.js +326 -0
  85. package/src/context-writer.js +45 -1
  86. package/src/design-variation-catalog.js +503 -0
  87. package/src/i18n/messages/en.js +159 -3
  88. package/src/i18n/messages/es.js +147 -2
  89. package/src/i18n/messages/fr.js +147 -2
  90. package/src/i18n/messages/pt-BR.js +158 -3
  91. package/src/install-animation.js +260 -0
  92. package/src/install-profile.js +143 -0
  93. package/src/install-wizard.js +474 -0
  94. package/src/installer.js +38 -10
  95. package/src/lib/webhook-server.js +328 -0
  96. package/src/mcp-connectors/registry.js +602 -0
  97. package/src/parser.js +7 -1
  98. package/src/recovery-context-session.js +154 -0
  99. package/src/runtime-store.js +355 -2
  100. package/src/sandbox.js +177 -0
  101. package/src/squad/external-session.js +180 -0
  102. package/src/squad/inter-squad.js +74 -0
  103. package/src/squad/recovery-context.js +201 -0
  104. package/src/squad/worktree-manager.js +114 -0
  105. package/src/squad-daemon.js +490 -0
  106. package/src/squad-dashboard/api.js +223 -0
  107. package/src/squad-dashboard/attachment-handler.js +93 -0
  108. package/src/squad-dashboard/context-monitor.js +157 -0
  109. package/src/squad-dashboard/execution-logs.js +115 -0
  110. package/src/squad-dashboard/hunk-review.js +209 -0
  111. package/src/squad-dashboard/metrics.js +133 -0
  112. package/src/squad-dashboard/process-monitor.js +125 -0
  113. package/src/squad-dashboard/renderer.js +858 -0
  114. package/src/squad-dashboard/server.js +232 -0
  115. package/src/squad-dashboard/styles.js +525 -0
  116. package/src/squad-dashboard/token-tracker.js +99 -0
  117. package/src/tool-executor.js +94 -0
  118. package/src/updater.js +11 -3
  119. package/src/web.js +284 -0
  120. package/src/worker-runner.js +339 -0
  121. package/template/.aioson/agents/analyst.md +62 -3
  122. package/template/.aioson/agents/architect.md +42 -0
  123. package/template/.aioson/agents/design-hybrid-forge.md +127 -0
  124. package/template/.aioson/agents/dev.md +223 -11
  125. package/template/.aioson/agents/deyvin.md +65 -0
  126. package/template/.aioson/agents/neo.md +152 -0
  127. package/template/.aioson/agents/orache.md +17 -0
  128. package/template/.aioson/agents/orchestrator.md +26 -0
  129. package/template/.aioson/agents/pm.md +58 -0
  130. package/template/.aioson/agents/product.md +88 -12
  131. package/template/.aioson/agents/qa.md +80 -0
  132. package/template/.aioson/agents/setup.md +128 -22
  133. package/template/.aioson/agents/sheldon.md +704 -0
  134. package/template/.aioson/agents/squad.md +191 -0
  135. package/template/.aioson/agents/tester.md +410 -0
  136. package/template/.aioson/agents/ux-ui.md +12 -0
  137. package/template/.aioson/config.md +21 -0
  138. package/template/.aioson/context/forensics/.gitkeep +0 -0
  139. package/template/.aioson/context/seeds/seed-example.md +27 -0
  140. package/template/.aioson/context/user-profile.md +42 -0
  141. package/template/.aioson/locales/en/agents/analyst.md +8 -0
  142. package/template/.aioson/locales/en/agents/architect.md +8 -0
  143. package/template/.aioson/locales/en/agents/dev.md +66 -7
  144. package/template/.aioson/locales/en/agents/deyvin.md +8 -0
  145. package/template/.aioson/locales/en/agents/neo.md +8 -0
  146. package/template/.aioson/locales/en/agents/orchestrator.md +26 -0
  147. package/template/.aioson/locales/en/agents/qa.md +49 -0
  148. package/template/.aioson/locales/en/agents/setup.md +35 -2
  149. package/template/.aioson/locales/en/agents/sheldon.md +340 -0
  150. package/template/.aioson/locales/en/agents/ux-ui.md +8 -0
  151. package/template/.aioson/locales/es/agents/analyst.md +8 -0
  152. package/template/.aioson/locales/es/agents/architect.md +8 -0
  153. package/template/.aioson/locales/es/agents/dev.md +66 -7
  154. package/template/.aioson/locales/es/agents/deyvin.md +8 -0
  155. package/template/.aioson/locales/es/agents/neo.md +48 -0
  156. package/template/.aioson/locales/es/agents/orchestrator.md +26 -0
  157. package/template/.aioson/locales/es/agents/qa.md +26 -0
  158. package/template/.aioson/locales/es/agents/setup.md +35 -2
  159. package/template/.aioson/locales/es/agents/sheldon.md +192 -0
  160. package/template/.aioson/locales/es/agents/squad.md +63 -0
  161. package/template/.aioson/locales/es/agents/ux-ui.md +8 -0
  162. package/template/.aioson/locales/fr/agents/analyst.md +8 -0
  163. package/template/.aioson/locales/fr/agents/architect.md +8 -0
  164. package/template/.aioson/locales/fr/agents/dev.md +66 -7
  165. package/template/.aioson/locales/fr/agents/deyvin.md +8 -0
  166. package/template/.aioson/locales/fr/agents/neo.md +48 -0
  167. package/template/.aioson/locales/fr/agents/orchestrator.md +26 -0
  168. package/template/.aioson/locales/fr/agents/qa.md +26 -0
  169. package/template/.aioson/locales/fr/agents/setup.md +35 -2
  170. package/template/.aioson/locales/fr/agents/sheldon.md +192 -0
  171. package/template/.aioson/locales/fr/agents/squad.md +63 -0
  172. package/template/.aioson/locales/fr/agents/ux-ui.md +8 -0
  173. package/template/.aioson/locales/pt-BR/agents/analyst.md +19 -0
  174. package/template/.aioson/locales/pt-BR/agents/architect.md +19 -0
  175. package/template/.aioson/locales/pt-BR/agents/dev.md +75 -12
  176. package/template/.aioson/locales/pt-BR/agents/deyvin.md +8 -0
  177. package/template/.aioson/locales/pt-BR/agents/neo.md +147 -0
  178. package/template/.aioson/locales/pt-BR/agents/orchestrator.md +26 -0
  179. package/template/.aioson/locales/pt-BR/agents/product.md +8 -3
  180. package/template/.aioson/locales/pt-BR/agents/qa.md +60 -0
  181. package/template/.aioson/locales/pt-BR/agents/setup.md +35 -2
  182. package/template/.aioson/locales/pt-BR/agents/sheldon.md +192 -0
  183. package/template/.aioson/locales/pt-BR/agents/squad.md +105 -0
  184. package/template/.aioson/locales/pt-BR/agents/ux-ui.md +8 -0
  185. package/template/.aioson/schemas/squad-blueprint.schema.json +21 -0
  186. package/template/.aioson/schemas/squad-manifest.schema.json +178 -1
  187. package/template/.aioson/skills/design/aurora-command-ui/SKILL.md +243 -0
  188. package/template/.aioson/skills/design/aurora-command-ui/references/art-direction.md +293 -0
  189. package/template/.aioson/skills/design/aurora-command-ui/references/components.md +827 -0
  190. package/template/.aioson/skills/design/aurora-command-ui/references/dashboards.md +250 -0
  191. package/template/.aioson/skills/design/aurora-command-ui/references/design-tokens.md +585 -0
  192. package/template/.aioson/skills/design/aurora-command-ui/references/motion.md +365 -0
  193. package/template/.aioson/skills/design/aurora-command-ui/references/patterns.md +482 -0
  194. package/template/.aioson/skills/design/aurora-command-ui/references/websites.md +387 -0
  195. package/template/.aioson/skills/design/bold-editorial-ui/SKILL.md +205 -0
  196. package/template/.aioson/skills/design/bold-editorial-ui/references/art-direction.md +338 -0
  197. package/template/.aioson/skills/design/bold-editorial-ui/references/components.md +977 -0
  198. package/template/.aioson/skills/design/bold-editorial-ui/references/dashboards.md +218 -0
  199. package/template/.aioson/skills/design/bold-editorial-ui/references/design-tokens.md +326 -0
  200. package/template/.aioson/skills/design/bold-editorial-ui/references/motion.md +461 -0
  201. package/template/.aioson/skills/design/bold-editorial-ui/references/patterns.md +293 -0
  202. package/template/.aioson/skills/design/bold-editorial-ui/references/websites.md +352 -0
  203. package/template/.aioson/skills/design/clean-saas-ui/SKILL.md +210 -0
  204. package/template/.aioson/skills/design/clean-saas-ui/references/art-direction.md +319 -0
  205. package/template/.aioson/skills/design/clean-saas-ui/references/components.md +365 -0
  206. package/template/.aioson/skills/design/clean-saas-ui/references/dashboards.md +196 -0
  207. package/template/.aioson/skills/design/clean-saas-ui/references/design-tokens.md +244 -0
  208. package/template/.aioson/skills/design/clean-saas-ui/references/motion.md +235 -0
  209. package/template/.aioson/skills/design/clean-saas-ui/references/patterns.md +215 -0
  210. package/template/.aioson/skills/design/clean-saas-ui/references/websites.md +295 -0
  211. package/template/.aioson/skills/design/cognitive-core-ui/SKILL.md +55 -9
  212. package/template/.aioson/skills/design/cognitive-core-ui/references/art-direction.md +339 -0
  213. package/template/.aioson/skills/design/cognitive-core-ui/references/components.md +1 -1
  214. package/template/.aioson/skills/design/cognitive-core-ui/references/dashboards.md +100 -0
  215. package/template/.aioson/skills/design/cognitive-core-ui/references/design-tokens.md +43 -9
  216. package/template/.aioson/skills/design/cognitive-core-ui/references/motion.md +40 -0
  217. package/template/.aioson/skills/design/cognitive-core-ui/references/patterns.md +1 -1
  218. package/template/.aioson/skills/design/cognitive-core-ui/references/websites.md +99 -12
  219. package/template/.aioson/skills/design/glassmorphism-ui/SKILL.md +222 -0
  220. package/template/.aioson/skills/design/glassmorphism-ui/references/art-direction.md +159 -0
  221. package/template/.aioson/skills/design/glassmorphism-ui/references/components.md +498 -0
  222. package/template/.aioson/skills/design/glassmorphism-ui/references/dashboards.md +236 -0
  223. package/template/.aioson/skills/design/glassmorphism-ui/references/design-tokens.md +274 -0
  224. package/template/.aioson/skills/design/glassmorphism-ui/references/motion.md +355 -0
  225. package/template/.aioson/skills/design/glassmorphism-ui/references/patterns.md +198 -0
  226. package/template/.aioson/skills/design/glassmorphism-ui/references/websites.md +307 -0
  227. package/template/.aioson/skills/design/neo-brutalist-ui/SKILL.md +213 -0
  228. package/template/.aioson/skills/design/neo-brutalist-ui/references/art-direction.md +228 -0
  229. package/template/.aioson/skills/design/neo-brutalist-ui/references/components.md +855 -0
  230. package/template/.aioson/skills/design/neo-brutalist-ui/references/dashboards.md +334 -0
  231. package/template/.aioson/skills/design/neo-brutalist-ui/references/design-tokens.md +342 -0
  232. package/template/.aioson/skills/design/neo-brutalist-ui/references/motion.md +286 -0
  233. package/template/.aioson/skills/design/neo-brutalist-ui/references/patterns.md +458 -0
  234. package/template/.aioson/skills/design/neo-brutalist-ui/references/websites.md +723 -0
  235. package/template/.aioson/skills/design/warm-craft-ui/SKILL.md +209 -0
  236. package/template/.aioson/skills/design/warm-craft-ui/references/art-direction.md +324 -0
  237. package/template/.aioson/skills/design/warm-craft-ui/references/components.md +508 -0
  238. package/template/.aioson/skills/design/warm-craft-ui/references/dashboards.md +223 -0
  239. package/template/.aioson/skills/design/warm-craft-ui/references/design-tokens.md +374 -0
  240. package/template/.aioson/skills/design/warm-craft-ui/references/motion.md +356 -0
  241. package/template/.aioson/skills/design/warm-craft-ui/references/patterns.md +288 -0
  242. package/template/.aioson/skills/design/warm-craft-ui/references/websites.md +289 -0
  243. package/template/.aioson/skills/premium-visual-design/SKILL.md +83 -0
  244. package/template/.aioson/skills/premium-visual-design/components/agent-badge.md +92 -0
  245. package/template/.aioson/skills/premium-visual-design/components/dependency-node.md +102 -0
  246. package/template/.aioson/skills/premium-visual-design/components/mention-autocomplete.md +136 -0
  247. package/template/.aioson/skills/premium-visual-design/components/notification-center.md +136 -0
  248. package/template/.aioson/skills/premium-visual-design/components/review-action-bar.md +188 -0
  249. package/template/.aioson/skills/premium-visual-design/components/team-switcher.md +131 -0
  250. package/template/.aioson/skills/premium-visual-design/patterns/agent-message-thread.md +198 -0
  251. package/template/.aioson/skills/premium-visual-design/patterns/notification-panel.md +275 -0
  252. package/template/.aioson/skills/premium-visual-design/patterns/review-workflow-ui.md +234 -0
  253. package/template/.aioson/skills/premium-visual-design/patterns/task-dependency-graph.md +147 -0
  254. package/template/.aioson/skills/premium-visual-design/tokens/status-extended.md +142 -0
  255. package/template/.aioson/skills/process/aioson-spec-driven/SKILL.md +45 -0
  256. package/template/.aioson/skills/process/aioson-spec-driven/references/approval-gates.md +109 -0
  257. package/template/.aioson/skills/process/aioson-spec-driven/references/artifact-map.md +44 -0
  258. package/template/.aioson/skills/process/aioson-spec-driven/references/classification-map.md +37 -0
  259. package/template/.aioson/skills/process/aioson-spec-driven/references/hardening-lane.md +49 -0
  260. package/template/.aioson/skills/process/aioson-spec-driven/references/maintenance-and-state.md +66 -0
  261. package/template/.aioson/skills/process/aioson-spec-driven/references/ui-language.md +75 -0
  262. package/template/.aioson/skills/process/design-hybrid-forge/SKILL.md +144 -0
  263. package/template/.aioson/skills/process/design-hybrid-forge/references/crossover-protocol.md +221 -0
  264. package/template/.aioson/skills/process/design-hybrid-forge/references/naming-registry.md +88 -0
  265. package/template/.aioson/skills/process/design-hybrid-forge/references/output-contract.md +291 -0
  266. package/template/.aioson/skills/process/design-hybrid-forge/references/pair-compatibility.md +117 -0
  267. package/template/.aioson/skills/process/design-hybrid-forge/references/quality-gates.md +188 -0
  268. package/template/.aioson/skills/process/design-hybrid-forge/references/variation-library.md +125 -0
  269. package/template/.aioson/skills/squad/formats/catalog.json +15 -0
  270. package/template/.aioson/skills/squad/formats/content/blog-post.md +47 -0
  271. package/template/.aioson/skills/squad/formats/content/newsletter.md +47 -0
  272. package/template/.aioson/skills/squad/formats/creative/podcast-script.md +43 -0
  273. package/template/.aioson/skills/squad/formats/creative/video-script.md +41 -0
  274. package/template/.aioson/skills/squad/formats/social/instagram-feed.md +42 -0
  275. package/template/.aioson/skills/squad/formats/social/linkedin-post.md +42 -0
  276. package/template/.aioson/skills/squad/formats/social/tiktok.md +39 -0
  277. package/template/.aioson/skills/squad/formats/social/twitter-thread.md +39 -0
  278. package/template/.aioson/skills/squad/formats/social/youtube-long.md +47 -0
  279. package/template/.aioson/skills/squad/formats/social/youtube-shorts.md +39 -0
  280. package/template/.aioson/skills/squad/patterns/multi-platform-pattern.md +108 -0
  281. package/template/.aioson/skills/squad/patterns/persona-based-pattern.md +98 -0
  282. package/template/.aioson/skills/squad/patterns/pipeline-pattern.md +106 -0
  283. package/template/.aioson/skills/squad/patterns/review-loop-pattern.md +81 -0
  284. package/template/.aioson/skills/squad/references/checklist-templates.md +122 -0
  285. package/template/.aioson/skills/squad/references/executor-archetypes.md +123 -0
  286. package/template/.aioson/skills/squad/references/workflow-templates.md +169 -0
  287. package/template/.aioson/skills/static/debugging-protocol.md +42 -0
  288. package/template/.aioson/skills/static/git-worktrees.md +36 -0
  289. package/template/.aioson/tasks/implementation-plan.md +19 -0
  290. package/template/.aioson/tasks/squad-design.md +28 -0
  291. package/template/.aioson/tasks/squad-profile.md +48 -0
  292. package/template/.aioson/tasks/squad-review.md +61 -0
  293. package/template/.aioson/tasks/squad-task-decompose.md +66 -0
  294. package/template/.claude/commands/aioson/agent/neo.md +5 -0
  295. package/template/.claude/commands/aioson/agent/tester.md +5 -0
  296. package/template/.gemini/GEMINI.md +1 -0
  297. package/template/.gemini/commands/aios-neo.toml +4 -0
  298. package/template/.gemini/commands/aios-tester.toml +6 -0
  299. package/template/AGENTS.md +26 -1
  300. package/template/CLAUDE.md +6 -2
  301. package/template/OPENCODE.md +2 -0
@@ -0,0 +1,142 @@
1
+ # Status Extended Tokens
2
+
3
+ Extended state and status tokens for Squad Dashboard v3 inter-squad UI.
4
+
5
+ ## Agent & Task State Tokens
6
+
7
+ ```css
8
+ :root {
9
+ /* --- Blocked --- */
10
+ --state-blocked: #f87171;
11
+ --state-blocked-bg: rgba(248, 113, 113, 0.12);
12
+ --state-blocked-border: rgba(248, 113, 113, 0.30);
13
+
14
+ /* --- Ready --- */
15
+ --state-ready: #4ade80;
16
+ --state-ready-bg: rgba(74, 222, 128, 0.12);
17
+ --state-ready-border: rgba(74, 222, 128, 0.30);
18
+
19
+ /* --- Solo (no squad context) --- */
20
+ --state-solo: #8b8fa3;
21
+ --state-solo-bg: rgba(139, 143, 163, 0.12);
22
+ --state-solo-border: rgba(139, 143, 163, 0.25);
23
+
24
+ /* --- Auto (fully autonomous agent) --- */
25
+ --state-auto: #22d3ee;
26
+ --state-auto-bg: rgba(34, 211, 238, 0.12);
27
+ --state-auto-border: rgba(34, 211, 238, 0.30);
28
+
29
+ /* --- Human (human-in-the-loop) --- */
30
+ --state-human: #fbbf24;
31
+ --state-human-bg: rgba(251, 191, 36, 0.12);
32
+ --state-human-border: rgba(251, 191, 36, 0.30);
33
+
34
+ /* --- Review (awaiting review) --- */
35
+ --state-review: #c084fc;
36
+ --state-review-bg: rgba(192, 132, 252, 0.12);
37
+ --state-review-border: rgba(192, 132, 252, 0.30);
38
+
39
+ /* --- Running (animated pulse) --- */
40
+ --state-running: #6c8aff;
41
+ --state-running-bg: rgba(108, 138, 255, 0.12);
42
+
43
+ /* --- Idle --- */
44
+ --state-idle: #8b8fa3;
45
+ --state-idle-bg: rgba(139, 143, 163, 0.10);
46
+
47
+ /* --- Error --- */
48
+ --state-error: #f87171;
49
+ --state-error-bg: rgba(248, 113, 113, 0.12);
50
+
51
+ /* --- Done --- */
52
+ --state-done: #4ade80;
53
+ --state-done-bg: rgba(74, 222, 128, 0.10);
54
+ }
55
+ ```
56
+
57
+ ## Running Pulse Animation
58
+
59
+ Apply to indicators when `state = running`:
60
+
61
+ ```css
62
+ @keyframes state-pulse {
63
+ 0%, 100% { opacity: 1; }
64
+ 50% { opacity: 0.45; }
65
+ }
66
+
67
+ .state-dot-running {
68
+ background: var(--state-running);
69
+ animation: state-pulse 1.6s ease-in-out infinite;
70
+ }
71
+ ```
72
+
73
+ ## Agent Type Tokens
74
+
75
+ Used by `agent-badge` component.
76
+
77
+ | Type | Token | Color |
78
+ |------|-------|-------|
79
+ | `auto` | `--state-auto` | Cyan `#22d3ee` |
80
+ | `human` | `--state-human` | Amber `#fbbf24` |
81
+ | `solo` | `--state-solo` | Muted `#8b8fa3` |
82
+
83
+ ## Priority Tokens
84
+
85
+ ```css
86
+ :root {
87
+ --priority-critical: #f87171; /* red */
88
+ --priority-high: #fb923c; /* orange */
89
+ --priority-medium: #fbbf24; /* amber */
90
+ --priority-low: #8b8fa3; /* muted */
91
+ }
92
+ ```
93
+
94
+ ## Notification Type Tokens
95
+
96
+ Map event types to colors for notification icons:
97
+
98
+ | Event type | Token | Notes |
99
+ |-----------|-------|-------|
100
+ | `info` | `--accent` `#6c8aff` | General info |
101
+ | `warning` | `--warning` `#fbbf24` | Soft warning |
102
+ | `error` | `--danger` `#f87171` | Errors |
103
+ | `success` | `--success` `#4ade80` | Completions |
104
+ | `merge_conflict` | `--purple` `#c084fc` | Git conflicts |
105
+ | `context_warning` | `--warning` | Context at 85% |
106
+ | `context_critical` | `--danger` | Context at 95% |
107
+ | `task_completed` | `--success` | Task done |
108
+ | `task_needs_revision` | `--state-review` | Hunk rejected |
109
+ | `handoff` | `--accent` | Agent handoff |
110
+ | `decision` | `--cyan` `#22d3ee` | Decision recorded |
111
+
112
+ ## Usage
113
+
114
+ Reference tokens in component CSS. Always fall back gracefully:
115
+
116
+ ```css
117
+ .task-status-badge[data-status="blocked"] {
118
+ background: var(--state-blocked-bg);
119
+ color: var(--state-blocked);
120
+ border: 1px solid var(--state-blocked-border);
121
+ }
122
+ ```
123
+
124
+ Map exhaustive status values:
125
+
126
+ ```javascript
127
+ const STATE_TOKEN = {
128
+ blocked: 'blocked',
129
+ ready: 'ready',
130
+ solo: 'solo',
131
+ auto: 'auto',
132
+ human: 'human',
133
+ review: 'review',
134
+ running: 'running',
135
+ idle: 'idle',
136
+ error: 'error',
137
+ done: 'done',
138
+ pending: 'idle', // alias
139
+ active: 'running', // alias
140
+ completed:'done' // alias
141
+ };
142
+ ```
@@ -0,0 +1,45 @@
1
+ # Skill: aioson-spec-driven
2
+
3
+ > Process methodology skill. Covers: phase sequencing, artifact contracts, approval gates, and hardening lane.
4
+ > Load this file first. Then load only the `references/` file relevant to your current role and phase.
5
+
6
+ ## When to use
7
+
8
+ Load this skill when:
9
+ - starting spec work for a new feature or project (any agent)
10
+ - deciding phase depth based on classification (MICRO / SMALL / MEDIUM)
11
+ - preparing a clean handoff to the next agent
12
+ - retaking work after a session break (check `last_checkpoint` + `phase_gates` first)
13
+
14
+ Do NOT load the entire `references/` folder. Load only the file matching your current need.
15
+
16
+ ## What phases exist
17
+
18
+ | Phase | AIOSON artifact | Primary agent | MICRO | SMALL | MEDIUM |
19
+ |-------|----------------|---------------|-------|-------|--------|
20
+ | Specify | `prd*.md` | @product | lite | full | full |
21
+ | Research/Discuss | `sheldon-enrichment*.md` | @sheldon | optional | recommended | required |
22
+ | Requirements | `requirements-{slug}.md` | @analyst | skip | required | required |
23
+ | Design | `architecture.md`, `design-doc*.md` | @architect | skip | selective | required |
24
+ | Tasks/Plan | `implementation-plan*.md` | @dev | optional | recommended | required |
25
+ | Execute | code, commits, spec updates | @dev, @deyvin | — | — | — |
26
+ | State/Resume | `spec*.md`, runtime | @dev, @deyvin | — | — | — |
27
+
28
+ ## Phase depth by classification
29
+
30
+ - **MICRO**: Specify (lite) + Execute. Skip Requirements, Design, Plan unless complexity warrants it.
31
+ - **SMALL**: Specify + Requirements + selective Design + Plan. @sheldon recommended before downstream.
32
+ - **MEDIUM**: Full pack — all phases, all artifacts, @sheldon validation before @analyst, implementation plan required.
33
+
34
+ ## References available
35
+
36
+ Load the file that matches your current context — do not load all at once:
37
+
38
+ | File | Load when |
39
+ |------|-----------|
40
+ | `references/artifact-map.md` | You need to know which artifact lives where and who owns it |
41
+ | `references/classification-map.md` | You need to decide phase depth for a project or feature |
42
+ | `references/approval-gates.md` | You are preparing a handoff and need to know what must be ready |
43
+ | `references/hardening-lane.md` | The input is vague, exploratory, or "vibe-style" and needs to be converted |
44
+ | `references/maintenance-and-state.md` | You are writing or reading `spec*.md`, checkpoints, or retaking work |
45
+ | `references/ui-language.md` | You need to present options, status symbols, or checkpoints to the user with consistent visual standards |
@@ -0,0 +1,109 @@
1
+ # Approval Gates — Spec-Driven Phase Transitions
2
+
3
+ > Use when preparing a handoff or checking if a phase is ready to proceed.
4
+ > Gates are blocking in MEDIUM. Informational in MICRO/SMALL.
5
+
6
+ ## Gate A — Requirements approval
7
+
8
+ **Before leaving @product / @analyst → @architect or @dev**
9
+
10
+ Required for the gate to pass:
11
+ - [ ] Objectives are clear and unambiguous
12
+ - [ ] Expected behaviors are described (not just features — what happens when X)
13
+ - [ ] Constraints are explicit (what this version does NOT do)
14
+ - [ ] Out of scope is listed
15
+ - [ ] Open ambiguities are documented (not silently ignored)
16
+ - [ ] Requirement IDs exist for all business rules: `REQ-{slug}-{N}`
17
+ - [ ] Acceptance criteria exist for all behavioral requirements: `AC-{slug}-{N}`
18
+
19
+ **Signal in `spec-{slug}.md`:** set `phase_gates.requirements: approved`
20
+
21
+ **Not ready if:**
22
+ - Requirements reference behavior that hasn't been decided
23
+ - ACs are not independently verifiable (e.g., "works correctly" is not an AC)
24
+ - There are contradictions between PRD and requirements
25
+
26
+ ---
27
+
28
+ ## Gate B — Design approval
29
+
30
+ **Before leaving @architect → @dev**
31
+
32
+ Required for the gate to pass:
33
+ - [ ] Technical approach is chosen and documented
34
+ - [ ] Module/folder structure is defined
35
+ - [ ] Dependencies between components are explicit
36
+ - [ ] Risks and non-goals are documented
37
+ - [ ] Decision rationale exists for non-obvious choices
38
+ - [ ] @dev can start without having to invent business logic or architecture
39
+
40
+ **Signal in `spec-{slug}.md`:** set `phase_gates.design: approved`
41
+ **Signal in `architecture.md`:** closing line `> **Gate B:** Architecture approved — @dev can proceed.`
42
+
43
+ **Not ready if:**
44
+ - There are open decisions that @dev would need to make up during implementation
45
+ - The architecture introduces patterns not supported by the project's stack
46
+ - There are circular dependencies in the module structure
47
+
48
+ ---
49
+
50
+ ## Gate C — Plan approval
51
+
52
+ **Before @dev or @deyvin executes a significant batch**
53
+
54
+ Required for the gate to pass:
55
+ - [ ] Execution sequence is defined
56
+ - [ ] Checkpoints are listed with criteria of done
57
+ - [ ] Context package is listed (which files to read before each phase)
58
+ - [ ] Review / QA requirements are noted
59
+ - [ ] Decisions marked "pre-taken" are FINAL — @dev does not re-discuss
60
+
61
+ **Signal in `spec-{slug}.md`:** set `phase_gates.plan: approved`
62
+ **Signal in `implementation-plan-{slug}.md`:** status field = `approved`
63
+
64
+ **Not ready if:**
65
+ - The plan has phases with unclear done criteria
66
+ - There are external dependencies not yet resolved
67
+ - @dev would need to re-read the full spec from scratch to start
68
+
69
+ ---
70
+
71
+ ## Gate D — Execution verification (must_haves)
72
+
73
+ **Before marking a phase or feature as complete**
74
+
75
+ Required:
76
+ - [ ] All truths verified (behavioral — not just "I think it works")
77
+ - [ ] All artifacts verified (substantive — not stubs)
78
+ - [ ] All key_links verified (wiring — imports, registrations, middleware)
79
+
80
+ **Not complete if:**
81
+ - Any truth has no passing test or manual verification step
82
+ - Any artifact is empty, a stub, or missing required exports
83
+ - Any key_link shows the code exists but isn't connected
84
+
85
+ **Signal:** update `last_checkpoint` in `spec-{slug}.md` with which must_haves passed and which failed.
86
+
87
+ ---
88
+
89
+ ## Checkpoint taxonomy reference
90
+
91
+ Quando qualquer agente precisa de interação humana durante execução:
92
+
93
+ | Tipo | Quando | Frequência esperada |
94
+ |------|--------|---------------------|
95
+ | `verify` | Confirmar comportamento visível | Comum — após cada entrega testável |
96
+ | `decision` | Bifurcação arquitetural ou de produto | Rara — apenas quando não especificado |
97
+ | `action` | Passo que o agente não consegue executar | Muito rara — <1% dos steps |
98
+
99
+ Regra: se o agente consegue executar sem risco, execute. Não peça confirmação desnecessária.
100
+
101
+ ---
102
+
103
+ ## How agents communicate gate status
104
+
105
+ Each agent, at session end, should:
106
+ 1. Update `phase_gates` in `spec-{slug}.md`
107
+ 2. Tell the user clearly: "Gate [A/B/C] passed — activate [@next-agent]" OR "Gate [A/B/C] blocked — [reason]. Resolve before continuing."
108
+
109
+ Never silently assume a gate is passed.
@@ -0,0 +1,44 @@
1
+ # Artifact Map — AIOSON Spec-Driven
2
+
3
+ > Source of truth: which artifact lives where, who writes it, who reads it.
4
+
5
+ ## Artifact chain
6
+
7
+ ```
8
+ prd*.md
9
+ → sheldon-enrichment-{slug}.md (optional enrichment layer)
10
+ → requirements-{slug}.md (entities, rules, ACs — @analyst)
11
+ → spec-{slug}.md (feature memory — @analyst seeds, @dev fills)
12
+ → architecture.md (tech decisions — @architect)
13
+ → design-doc*.md (scope-specific decisions — @architect)
14
+ → implementation-plan-{slug}.md (execution sequence — @dev)
15
+ → spec-{slug}.md (updated) (living state during execution — @dev)
16
+ ```
17
+
18
+ ## Artifact ownership
19
+
20
+ | Artifact | Written by | Enriched by | Read by |
21
+ |----------|-----------|-------------|---------|
22
+ | `prd.md` / `prd-{slug}.md` | @product | @sheldon (via sheldon-enrichment) | all downstream |
23
+ | `sheldon-enrichment-{slug}.md` | @sheldon | @sheldon | @sheldon (re-entry), @analyst |
24
+ | `sheldon-validation.md` | @sheldon | — | all agents before starting MEDIUM |
25
+ | `discovery.md` | @analyst | — | @architect, @dev |
26
+ | `requirements-{slug}.md` | @analyst | — | @architect, @dev, @qa |
27
+ | `spec-{slug}.md` | @analyst (skeleton) | @dev (execution state) | @dev, @deyvin, @qa |
28
+ | `spec.md` | @dev | @dev | @dev, @deyvin |
29
+ | `architecture.md` | @architect | — | @dev, @ux-ui |
30
+ | `design-doc*.md` | @architect | — | @dev, @ux-ui |
31
+ | `implementation-plan-{slug}.md` | @dev | — | @dev, @deyvin |
32
+
33
+ ## Naming conventions
34
+
35
+ - Project-level artifacts: `prd.md`, `discovery.md`, `spec.md`, `architecture.md`
36
+ - Feature-level artifacts: always use `{slug}` suffix — `prd-{slug}.md`, `requirements-{slug}.md`, `spec-{slug}.md`
37
+ - Enrichment: `sheldon-enrichment.md` (project) or `sheldon-enrichment-{slug}.md` (feature)
38
+ - Plans: `.aioson/plans/{slug}/manifest.md` + `plan-{slug-fase}.md` files
39
+
40
+ ## What NOT to create
41
+
42
+ - Do not create `.specs/` folders — use the artifact names above
43
+ - Do not rename existing artifacts to match TLC conventions
44
+ - Do not create a new artifact if an existing one covers the same purpose
@@ -0,0 +1,37 @@
1
+ # Classification Map — Phase Depth by Project Size
2
+
3
+ > Use this when deciding which phases to run and how deep to go.
4
+
5
+ ## Depth table
6
+
7
+ | Phase | MICRO (0–1) | SMALL (2–3) | MEDIUM (4–6) |
8
+ |-------|-------------|-------------|--------------|
9
+ | Specify (PRD) | 1 conversation, lite template | Full PRD conversation | Full PRD + `## Specify depth` section |
10
+ | Research (@sheldon) | Skip unless links/external sources provided | Recommended — run before @analyst | Required — run Modo C (full validation) |
11
+ | Requirements (@analyst) | Skip — go @product → @dev | Required — `requirements-{slug}.md` | Required — with requirement IDs + ACs |
12
+ | Design (@architect) | Skip unless auth or external integration | Selective — only if new architecture pattern | Required — full `architecture.md` |
13
+ | Plan (implementation-plan) | Optional — suggest only if @dev asks | Recommended | Required — with gate approval + verification criteria |
14
+ | Execute (@dev) | Direct from PRD | From requirements + spec | From approved plan only |
15
+ | State (@dev, @deyvin) | Minimal `spec.md` note | `spec-{slug}.md` with phase_gates | Full spec pack — phase_gates + checkpoints + maintenance notes |
16
+
17
+ ## Scoring (from @analyst)
18
+
19
+ | Dimension | Score |
20
+ |-----------|-------|
21
+ | User types: 1 | 0 |
22
+ | User types: 2 | 1 |
23
+ | User types: 3+ | 2 |
24
+ | External integrations: 0 | 0 |
25
+ | External integrations: 1–2 | 1 |
26
+ | External integrations: 3+ | 2 |
27
+ | Business rule complexity: none | 0 |
28
+ | Business rule complexity: some | 1 |
29
+ | Business rule complexity: complex | 2 |
30
+
31
+ **0–1 = MICRO / 2–3 = SMALL / 4–6 = MEDIUM**
32
+
33
+ ## Gate behavior by classification
34
+
35
+ - **MICRO**: gates are informational, never blocking. @dev may proceed without explicit approval.
36
+ - **SMALL**: Gate A (requirements) is recommended before design. Gate B is optional.
37
+ - **MEDIUM**: Gates A, B, C are required. Do not proceed to next phase without explicit user confirmation.
@@ -0,0 +1,49 @@
1
+ # Hardening Lane — From Exploration to Reliable Execution
2
+
3
+ > Use when input is vague, exploratory, or "vibe-style" and needs to be converted into a spec pack before implementation.
4
+
5
+ ## Two lanes
6
+
7
+ ### Lane 1 — Exploration / Vibe
8
+ - Goal: discover value, direction, and feasibility
9
+ - Tolerates: back-and-forth, open questions, incomplete scope
10
+ - Good for: MVPs, ideas, experiments, early discovery
11
+ - Output: notes, rough PRD, conversation log
12
+
13
+ ### Lane 2 — Spec Hardening
14
+ - Goal: convert exploration into reliable, maintainable execution
15
+ - Requires: requirements, design decisions, checkpoints, and tests
16
+ - Good for: code that will survive, grow, and be maintained
17
+ - Output: spec pack (PRD + requirements + architecture + implementation plan)
18
+
19
+ **AIOSON's identity is Lane 2.** It does not compete with vibe coding — it is the hardening layer that converts exploration into software that works in production.
20
+
21
+ ## When to harden
22
+
23
+ Harden before coding when ANY of these are true:
24
+ - The feature involves new entities or database changes
25
+ - The feature integrates with an external service
26
+ - Multiple user types are involved
27
+ - The behavior in error or edge cases matters for production quality
28
+ - Another developer (or AI session) will need to continue this work later
29
+
30
+ Skip hardening (go direct from PRD to @dev) ONLY when:
31
+ - Classification is confirmed MICRO
32
+ - No new entities, no integrations, pure UI/CRUD
33
+ - The full spec can fit in one session context without losing state
34
+
35
+ ## Signals that input is in vibe mode (not yet hardenable)
36
+
37
+ - "I want something like X" without defining what X actually does
38
+ - Requirements expressed as UI descriptions ("there should be a button that does Y")
39
+ - No mention of what happens when things go wrong
40
+ - No mention of who can do what (permissions, roles)
41
+ - Scope keeps expanding during the conversation
42
+
43
+ ## What to do when input is in vibe mode
44
+
45
+ Do not start implementation. Instead:
46
+ 1. Acknowledge: "This is still in exploration mode — let's harden it before coding."
47
+ 2. Route to @product if no PRD exists yet.
48
+ 3. Route to @sheldon if PRD exists but has gaps.
49
+ 4. Only proceed to @analyst / @architect / @dev after Gate A is passed.
@@ -0,0 +1,66 @@
1
+ # Maintenance and State — Writing Useful Checkpoints
2
+
3
+ > Use when writing or reading `spec*.md`, updating checkpoints, or retaking work after a session break.
4
+
5
+ ## The purpose of spec-{slug}.md
6
+
7
+ It is not just an implementation log. It is the **living memory** of a feature across all sessions, agents, and tools.
8
+
9
+ A well-written `spec-{slug}.md` allows:
10
+ - @deyvin to resume from the last checkpoint without re-reading the entire spec pack
11
+ - @qa to know what was decided and what was deferred
12
+ - A future developer (or AI) to understand *why* the code was written the way it was
13
+
14
+ A poorly written `spec-{slug}.md` forces every new session to rediscover what was already decided.
15
+
16
+ ## What to write in phase_gates
17
+
18
+ ```yaml
19
+ phase_gates:
20
+ requirements: approved # requirements are locked — no new scope without PRD change
21
+ design: approved # architecture is locked — no structural changes without @architect
22
+ plan: approved # execution sequence is locked — @dev follows plan, not instinct
23
+ ```
24
+
25
+ Never mark a gate as `approved` if there are unresolved items in that phase.
26
+
27
+ ## What to write in last_checkpoint
28
+
29
+ Format: `{phase-name}: {what was completed} — {what is next}`
30
+
31
+ Examples:
32
+ - `migration: users table created and seeded — next: implement CreateUser action`
33
+ - `auth: login and register complete, password reset pending — next: implement ResetPassword action`
34
+ - `api: GET /products and POST /products done — next: implement PATCH /products/{id}`
35
+
36
+ This one line is what @deyvin reads first. Make it actionable.
37
+
38
+ ## What to write in pending_review
39
+
40
+ List items that need human verification before the next phase begins:
41
+
42
+ ```yaml
43
+ pending_review:
44
+ - "Confirm: should password reset expire after 1h or 24h? (decision was deferred)"
45
+ - "Review: CreateUser action sends email — confirm SMTP config in staging before testing"
46
+ ```
47
+
48
+ ## What to write in Key decisions
49
+
50
+ Format: `[ISO-date] [decision] — [reason this decision reduces future debug or maintenance cost]`
51
+
52
+ Bad example:
53
+ - `2026-03-28 Used soft deletes`
54
+
55
+ Good example:
56
+ - `2026-03-28 Used soft deletes on users table — reason: billing history must remain intact after account deletion; hard delete would orphan invoices`
57
+
58
+ The reason is what makes the decision useful in 6 months.
59
+
60
+ ## How @deyvin should use this file
61
+
62
+ 1. Read `phase_gates` first — know which phases are locked
63
+ 2. Read `last_checkpoint` — start from there, not from the beginning
64
+ 3. Read `pending_review` — these may need user input before proceeding
65
+ 4. Read `Key decisions` only if the next task involves re-touching those areas
66
+ 5. Do NOT re-read the full spec pack unless `last_checkpoint` is null or unclear
@@ -0,0 +1,75 @@
1
+ # UI Language — AIOSON Visual Standards
2
+
3
+ > Carregue quando um agente precisa apresentar opções, status ou checkpoints ao usuário.
4
+
5
+ ## Status symbols
6
+ ✓ completo / aprovado
7
+ ✗ falhou / bloqueado
8
+ ◆ em progresso
9
+ ○ pendente
10
+ ⚠ atenção necessária
11
+ ⚡ auto-aprovado
12
+
13
+ ## Stage banner
14
+ Usar ao iniciar fase principal:
15
+ ```
16
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
17
+ AIOSON ► @{AGENT} — {FASE}
18
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
19
+ ```
20
+
21
+ ## Checkpoint verify (confirmação visual)
22
+ Usar: após implementação que o usuário precisa ver
23
+ ```
24
+ ┌─────────────────────────────────────────────┐
25
+ │ ✓ VERIFICAR: {título} │
26
+ │ {instrução específica} │
27
+ │ Confirmar? [s/n] │
28
+ └─────────────────────────────────────────────┘
29
+ ```
30
+
31
+ ## Checkpoint decision (AskUserQuestion — radio)
32
+ Usar: quando há bifurcação com outcomes diferentes
33
+ → AskUserQuestion com multiSelect: false, 2-4 opções
34
+
35
+ ```
36
+ ┌─────────────────────────────────────────────┐
37
+ │ ◆ DECISÃO NECESSÁRIA │
38
+ │ │
39
+ │ {contexto da decisão} │
40
+ │ │
41
+ │ 1. {opção A} — {consequências} │
42
+ │ 2. {opção B} — {consequências} │
43
+ │ │
44
+ │ Escolha [1/2]: │
45
+ └─────────────────────────────────────────────┘
46
+ ```
47
+
48
+ ## Checkpoint action (passo manual)
49
+ Usar: apenas para passos que o agente literalmente não pode executar
50
+ ```
51
+ ┌─────────────────────────────────────────────┐
52
+ │ ⚠ AÇÃO MANUAL NECESSÁRIA │
53
+ │ │
54
+ │ {instrução específica} │
55
+ │ {onde executar} │
56
+ │ │
57
+ │ Avise quando estiver pronto. │
58
+ └─────────────────────────────────────────────┘
59
+ ```
60
+
61
+ ## Checkpoint multi-select (AskUserQuestion — checkbox)
62
+ Usar: seleção múltipla (skills, requirements, itens de sprint)
63
+ → AskUserQuestion com multiSelect: true
64
+
65
+ ## Progress bar
66
+ Usar para fases longas com steps definidos:
67
+ ```
68
+ Progresso: ████████░░ 80% (4/5 steps)
69
+ ```
70
+
71
+ ## Regras
72
+ - Header máximo 12 caracteres
73
+ - Máximo 4 opções em radio; máximo 8 em checkbox
74
+ - Incluir opção "Nenhuma/Pular" em checkbox quando pertinente
75
+ - Não usar checkbox para decisões que mudam arquitetura (use radio)